Documentation menu
Ads

Daily insights

Daily performance, or a breakdown by age, gender, place or placement, with results, ROAS and cost per result.

GEThttps://app.tryadeli.com/api/v1/ads/insights
AuthorizationBearer <API key>How keys work

One point per day for an ad account, or for a single campaign, ad set or ad when objectId is given.

For Meta, every point also carries reach, ctr, cpc and cpm; every action Meta counted (actions), their value (actionValues, such as purchase revenue) and cost (costPerAction); conversionValue; roas (Meta's purchase ROAS when it reports one, otherwise conversionValue / spend); and results with costPerResult. A result is a conversion unless you name an action type with resultActionType, such as link_click. attributionWindows sets the windows those actions are counted in; the ad account's default otherwise. breakdown returns rows over the range instead, one per age band, gender, country, region, publisher platform, placement (labelled platform:position, such as instagram:story) or device platform, with the same figures.

For TikTok, pass level with objectId, and pass breakdown to get an audience breakdown over the range instead of the daily series: the response then carries rows, one per value (an age band, gender, country code or platform), with spend, impressions, clicks and reach.

For LinkedIn, level works the same way, and breakdown is a professional demographic: job_function, seniority, industry, company_size or country_code. Each row's value is a LinkedIn URN with its name in label. LinkedIn reports demographics up to a day late and leaves out small groups, so the response carries delayed: true and the rows need not add up to the totals.

Query parameters

adAccountIdstringRequired
An ad account id.
objectIdstring
A campaign, ad set or ad id. Defaults to the whole account.
levelstring
TikTok and LinkedIn: campaign, ad_group or ad, the level of objectId. Defaults to campaign.
breakdownstring
Meta: age, gender, country, region, publisher_platform, platform_position or device_platform. TikTok: age, gender, country_code or platform. LinkedIn: job_function, seniority, industry, company_size or country_code.
attributionWindowsstring
Meta: comma-separated, from 1d_click, 7d_click, 28d_click, 1d_view and 1d_ev.
resultActionTypestring
Meta: the action type that counts as a result, such as link_click or offsite_conversion.fb_pixel_purchase. Conversions when omitted.
sincedate
YYYY-MM-DD. Defaults to 28 days ago.
untildate
YYYY-MM-DD. Defaults to today.