Geotargets list update

303 views
Skip to first unread message

Oksana Sulyma

unread,
May 8, 2017, 5:35:04 AM5/8/17
to AdWords API Forum
Hi guys,
I'm looking for automatic opportunity to retrieve the latest version of geotargets list: https://developers.google.com/adwords/api/docs/appendix/geotargeting
I can't see this information available to be loaded via API, am I missing something?
Is there any way to know that geotargets were updated, may be I can get the update date from API somehow?
Just want to be sure.
Thanks in advance!

Oksana Sulyma

unread,
May 8, 2017, 6:30:26 AM5/8/17
to AdWords API Forum
Additionally, can I rely on URl https://goo.gl/IoeiSx to get latest geotargeting file, or for new updated file there might be new URL?
I see our product relies on https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv to get geo-table and wonder if this URL is static.
Thanks so much!

Shwetha Vastrad (AdWords API Team)

unread,
May 8, 2017, 11:28:12 AM5/8/17
to AdWords API Forum
Hi Oskana,

I would not recommend on using the static URLs. If the GeoTargets table is updated, it could be available at a different URL. Instead, you can use LocationCriteironService in AdWords API to lookup the LocationCriterion constants that match a specified name or list of criterion id(s) as specified in the input selector. The code snippet provided here shows how to look up location codes for a region. The LocationCriterion returned in the response corresponds to the locations listed in the Geo targets table provided here. The LookupLocation Java example shows how to get location criteria by name. Example code in other languages is provided here.

Regards,
Shwetha, AdWords API Team.

Oksana Sulyma

unread,
May 12, 2017, 9:24:45 AM5/12/17
to AdWords API Forum
Thanks Shwetha,
It is exactly what I was searching for.
Thanks so much!
Reply all
Reply to author
Forward
0 new messages