v8

OpenAPI 3.1.02026-08-033623795.0 MB
Ad Groups

Search Targeting Options

Searches the ad platform's targeting taxonomy for options to target an ad group with. Each result comes back in the exact shape the ad-group body accepts for its type, so it can be used in detailed_targeting, regions, or languages as-is. A blank query browses the small fixed lists (behaviors, demographic categories, languages); interests and locations need a search term.

get/ad_groups/targeting_options

Query parameters

account_idstring

Account to search on behalf of. Defaults to the authenticated account.

platform'meta' required

The ad network whose targeting taxonomy to search.

querystring

The search term. Blank browses the fixed lists; interests and locations return nothing without one.

typesstring[]

Kinds of targeting options to search. Defaults to all of them.

location_typesstring[]

Narrow location results to these kinds of places. Only applies when types includes locations.

countrystring

Narrow location results to one country, as an ISO 3166-1 code such as US. Only applies when types includes locations.

limitinteger

Maximum number of results per requested type.

Response

types narrows the search and accepts a comma-separated list

Example response

{
  "data": [
    {
      "type": "interests"
    }
  ]
}