Scenario
Create a system-defined report for LinkedIn Ads data. LinkedIn data is stored across these tables:Walkthrough
1
Add dictionary entries
Create metrics for each level in
report_data_dictionary:Create entries at every level even though the system report only uses Account level. Campaign, AdSet, and Ads level entries are used for custom reports and drill-down views.
2
Map metrics to source
Insert all dictionary IDs into Now the LinkedIn source only exposes LinkedIn metrics.
report_custom_fields:3
Create the report
Insert into
report_master:4
Map report to source
Insert into
report_source_master:5
Configure the template
Add Account-level only metrics to
report_template_master:6
Verify
The report should now appear automatically in the UI. The reporting engine will:
- Read metrics from
report_data_dictionaryfor IDs 101, 102, 103 - Filter by source (LinkedIn Ads)
- Apply the template configuration (display order, labels)
- Build SQL queries against
interaction_insight_ads_tracker - Render the report
.png?fit=max&auto=format&n=Frm2GFbmok4D-yJA&q=85&s=93c3ebd47542af65d1cd06d8563a7f6e)