Ads API •References / Targets / Get Geo Targets
Get Geo Targets
Returns data for a specific targetable geo (country, region, DMA, or city) based on name.
Request
- qstringRequired
Search for geo location by name. Ex: 'New', 'New York'
Allowed values:"geo"
Response
- Required
- country_codestringExample:
"US"
- idinteger [int32]Required
- namestringRequired
- typestringAllowed values:
"COUNTRY"
,"REGION"
,"DMA_REGION"
,"CITY"
Example:"COUNTRY"
Response sample
{ "geo-targets": [ { "country_code": "US", "id": "id", "name": "United States of America", "type": "COUNTRY" } ]}