Lookup Locations Codes that are Countries Only

17 views
Skip to first unread message

Scot Schroeder

unread,
Jun 10, 2016, 12:13:13 PM6/10/16
to AdWords API Forum
I'm trying to do some Location Targeting and want to get all of Criterion IDs of Countries through the API (php). I basically want to grab all Locations that don't have a Parent ID correct? How would I do that, or is it even possible?

I just started learning the API a few days ago so any help or guidance would be appreciated. 

Anthony Madrigal

unread,
Jun 10, 2016, 3:39:25 PM6/10/16
to AdWords API Forum
Hi Scot,

Unfortunately, there is currently no way to filter by either parent Id or display type (DisplayType = Country) through the API. You can look at this table and filter the Targeting Type to Country.

Please see our blog for any updates on this feature being available in the API.

Regards,
Anthony
AdWords API Team
Reply all
Reply to author
Forward
0 new messages