API to set Location Options

47 views
Skip to first unread message

Che Hsu

unread,
Oct 14, 2020, 2:04:50 AM10/14/20
to AdWords API and Google Ads API Forum
Hi,

I'm look for the API to set campaign location options, similar to the UI functionality in the screenshot attached.

Once you set a country for targeting, where in API can I choose one of the following options:
  • People in, or who show interest in, your targeted locations (recommended)
  • People in or regularly in your targeted locations
  • People searching for your targeted locations
I did a quick search for "location option" or anything location-related in the online Reference but to no success.  Please point me to documentation or code samples to set this option.


Thanks,
Che
Screen Shot 2020-10-13 at 4.08.12 PM.png

Nadezhda Yakuba

unread,
Oct 14, 2020, 7:26:55 AM10/14/20
to AdWords API and Google Ads API Forum
Hi there,
I'm just a fellow google ads/|adwords  api user
For google ads api v5 it's here: https://developers.google.com/google-ads/api/reference/rpc/v5/Campaign.GeoTargetTypeSetting

I hope it helps!

Google Ads API Forum Advisor Prod

unread,
Oct 14, 2020, 8:58:28 AM10/14/20
to kyky...@gmail.com, adwor...@googlegroups.com
Hi Che,

Please let me know if you have any issues with the solution that was provided.

Cheers,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q2696mL:ref

Che Hsu

unread,
Oct 14, 2020, 1:12:31 PM10/14/20
to AdWords API and Google Ads API Forum
Got it! This looks right! I'll try it out today.

Thanks Nadezhda and Anthony!
Che
Reply all
Reply to author
Forward
0 new messages