(Google Ads Api) Campaign Criterion's location needed more information

32 views
Skip to first unread message

jeonhwan won

unread,
Aug 27, 2019, 9:45:06 PM8/27/19
to AdWords API and Google Ads API Forum
Hi there, 

I tried to call to get locations information from my campaigns. 

Here is the SQL I used and It works well as I expected. 

 
 SELECT campaign.id, campaign.name, campaign_criterion.location.geo_target_constant FROM campaign_criterion

But to get detailed information(name,country_code,target_type) about this location. I need to call again to GeoTargetConstant,  
This is not good for us and your side because we may call at least two times more to your server to get detail location.


So my suggestion is simple to make it possible SQL like below, please

SELECT campaign.id, campaign.name, campaign_criterion.location.geo_target_constant, geo_target_constant.name, geo_target_constant.country_code, geo_target_constant.type FROM campaign_criterion


So with one query, we can get all the information and less stress to your server as well. 

Please let me know your opinion! Thank you 




Google Ads API Forum Advisor Prod

unread,
Aug 28, 2019, 11:06:58 AM8/28/19
to demopro...@gmail.com, adwor...@googlegroups.com
Hello Won, 

Appreciate your feedback. I have shared this internally with the team. Please keep an eye on our blog for more future updates. 

Thanks,
Bharani, Google Ads API Team

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