Missing Geo_target_constant from Location_view endpoint

165 views
Skip to first unread message

Omri Gal

unread,
Mar 16, 2020, 11:50:52 AM3/16/20
to AdWords API and Google Ads API Forum
Hi,
  1. I've run on Google Ads API the following query on Location_view endpoint:
    "SELECT segments.date, campaign.id, campaign.name, customer.currency_code, campaign.app_campaign_setting.app_id, campaign.app_campaign_setting.app_store, campaign.advertising_channel_type, campaign.advertising_channel_sub_type, metrics.impressions, metrics.clicks, metrics.cost_micros, campaign.final_url_suffix, campaign.tracking_url_template, campaign_criterion.location.geo_target_constant FROM location_view WHERE segments.date >= '2019-07-01' AND segments.date <= '2019-07-01' ORDER BY segments.date"
  2. some rows returns with empty value for "Geo_target_constant", but I do see the Geo_target_constant on the "resource_name" suffix.
  3. Moreover, when I run an analogous query on the Adwords API with the Campaign_location_target_report endpoint I don't get any empty location values.
Can you assist in this matter?

More info will be sent privately.
Thanks in advance,
Omri G.

Google Ads API Forum Advisor Prod

unread,
Mar 17, 2020, 2:45:35 PM3/17/20
to omr...@singular.net, adwor...@googlegroups.com
Hi Omri,

Can you please provide me your CID, report query and results through reply privately to author so I can take a closer look?

Thanks,
Anthony
Google Ads API Team

ref:_00D1U1174p._5001UXVDnb:ref

Ana Nuskheladze

unread,
Feb 22, 2022, 12:18:35 PM2/22/22
to Google Ads API and AdWords API Forum
Hello everyone, I have similar problem regarding locationTargetConstant .  I've tried to get the index from resource name and looked up  geoTargetConstants/THAT_INDEX in geo_target_constant, but of course I could not find anything. What should I do? I need locations names to do analytics. 

Best regards, 
Ana

Google Ads API Forum Advisor

unread,
Feb 23, 2022, 3:25:02 PM2/23/22
to ana.nus...@gmail.com, adwor...@googlegroups.com
Hi Ana,

Could you privately send us a full report definition with dates and account Id included where you cannot get the corresponding geoTargetConstants/THAT_INDEX in geo_target_constant?

Regards,

Google Logo
Aryeh
Google Ads API Team
 


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