Skip to content
Ads APIReferences / Targets / Get Geo Targets

Get Geo Targets

Returns data for a specific targetable geo (country, region, DMA, or city) based on name.

Request

  • q
    string
    Required

    Search for geo location by name. Ex: 'New', 'New York'

    Allowed values: "geo"

Response

  • Required
    • country_code
      string
      Example: "US"
    • id
      integer [int32]
      Required
    • name
      string
      Required
    • type
      string
      Allowed values: "COUNTRY", "REGION", "DMA_REGION", "CITY"Example: "COUNTRY"

Response sample

{  "geo-targets": [    {      "country_code": "US",      "id": "id",      "name": "United States of America",      "type": "COUNTRY"    }  ]}