I need to get the code of the country in the AD group

178 views
Skip to first unread message

ql z

unread,
Oct 19, 2021, 6:37:34 AM10/19/21
to AdWords API and Google Ads API Forum
hi
QQ截图20211019150456.png


The geographic_view resource doesn't seem to have a country-returning code such as US, FR

Google Ads API Forum Advisor

unread,
Oct 20, 2021, 2:16:03 AM10/20/21
to zqlj...@gmail.com, adwor...@googlegroups.com
Hi, 

You can perform a separate request using the geo_target_constant report to retrieve the geo_target_constant.country_code while filtering using the geo_target_constant.id = 2643.

Let us know how it goes on your end.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PKn20:ref

ql z

unread,
Oct 20, 2021, 3:39:57 AM10/20/21
to AdWords API and Google Ads API Forum
Can I use it with other reports

ql z

unread,
Oct 20, 2021, 3:40:48 AM10/20/21
to AdWords API and Google Ads API Forum
For example: ad_group

Google Ads API Forum Advisor

unread,
Oct 20, 2021, 1:48:19 PM10/20/21
to zqlj...@gmail.com, adwor...@googlegroups.com
Hi,

It should work with all geo target criterion in all report views, including ad_group.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PKn20:ref

ql z

unread,
Oct 20, 2021, 10:29:31 PM10/20/21
to AdWords API and Google Ads API Forum
QQ截图20211021093534.png

ql z

unread,
Oct 20, 2021, 11:47:16 PM10/20/21
to AdWords API and Google Ads API Forum
How do I use two reporting resources

Google Ads API Forum Advisor

unread,
Oct 21, 2021, 3:43:54 PM10/21/21
to zqlj...@gmail.com, adwor...@googlegroups.com
Hi,

I answered your latest question on this thread.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PKn20:ref
Reply all
Reply to author
Forward
0 new messages