Documentation menu
Ads

Targeting options

Search Meta interests, behaviors, demographics, locations and languages, or list TikTok and LinkedIn options.

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

The targeting options a campaign can use. For Meta: search interests or locations by name with q, or list behaviors, demographics and languages (which q filters). A location's id is its key and comes with its locationType (country, region, city or zip), countryCode and region; a language's id is the locale number targeting takes; a demographic's type goes back with its id. Interests and behaviors carry Meta's audience size estimate. For TikTok: locations (regions), languages, or interests. For LinkedIn: locations, job_functions, seniorities, industries, or company_sizes, with q to search locations and industries by name; each id is the URN to target. Pass the returned ids in the targeting of Create campaign.

Query parameters

adAccountIdstringRequired
A Meta ad account id, TikTok advertiser id or LinkedIn ad account id.
typestringRequired
Meta: interests, behaviors, demographics, locations or languages. TikTok: regions, languages or interests. LinkedIn: locations, job_functions, seniorities, industries or company_sizes.
goalstring
TikTok: traffic, reach or video_views. Location availability depends on the goal; defaults to traffic.
qstring
Meta: search by name; required for interests and locations. LinkedIn: search locations or industries by name.
locationTypesstring
Meta locations: comma-separated from country, region, city and zip. All four by default.
countryCodestring
Meta locations: limit to one country, such as US.