Hi support team,
We have noticed that when we querying the ad_group_ad resource, Local Campaigns are missing. This also happens when we use the ad_group resource but when using the campaign resource the campaigns are included in the response?
Here is an example query that uses the ad_group_ad resource which excluded Local Campaigns in the response:
"SELECT customer.descriptive_name, campaign.advertising_channel_type, campaign.advertising_channel_sub_type, campaign.id, campaign.name, ad_group_ad.ad.id, ad_group_ad.ad.local_ad.headlines, ad_group_ad.ad.local_ad.descriptions, ad_group_ad.ad.local_ad.call_to_actions, segments.date, metrics.clicks, metrics.cost_micros, metrics.impressions, customer.currency_code FROM ad_group_ad WHERE segments.date BETWEEN '2021-12-01' AND '2022-01-27'"
Here is an example query that uses the campaign resource which include Local Campaigns in the response:
"SELECT customer.descriptive_name, campaign.advertising_channel_type, campaign.advertising_channel_sub_type, campaign.id, campaign.name, segments.date, metrics.clicks, metrics.cost_micros, metrics.impressions, customer.currency_code FROM campaign WHERE segments.date BETWEEN '2021-12-01' AND '2022-01-27'"
In your documentation regarding Local Campaigns and reporting you have an example query which uses the ad_group_ad resources to query local campaigns.
Is it a bug on your end that is causing us to miss out of Local Campaigns or are we doing something wrong in the GAQL ?
Kind regards,
Maria Ravander,
Developer @ Funnel
Hi Maria,
Thanks for reaching out to the Google Ads API Forum.
You may double check if local campaign data indeed already exists between '2021-12-01' and '2022-01-27' dates, and can be seen using Ads UI. If you can see the Ad UI, and are unable to fetch via Google Ads API, you may provide us with the complete request and response logs with the request-id, so our team can better check.
If you’re using a client library, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.
Kindly take note to send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias by referring this forum thread instead.
Regards,
|
||||||