Certain campaigns are not being returned from the API, but show in the UI

100 views
Skip to first unread message

Michael Gardner

unread,
Jan 11, 2023, 9:44:53 AM1/11/23
to Google Ads API and AdWords API Forum
Hi,

I have a user that says they are missing some campaigns from the data we are pulling from the API. They are able to see them in the UI, however they are not  being returned from the API. 

Some of the campaign IDs that are missing are:
  • 18513200562
  • 18538972442
  • 18532530921
This is the query we are building to pull the data from the API:

SELECT segments.date, 
customer.descriptive_name, 
campaign.status,
ad_group.status, 
ad_group.type, 
segments.ad_network_type, 
segments.device,
 metrics.impressions,
 metrics.clicks, 
metrics.cost_micros, 
metrics.conversions_value, 
metrics.conversions, 
metrics.all_conversions, 
metrics.all_conversions_value,
metrics.video_quartile_p100_rate, 
metrics.video_quartile_p25_rate, 
metrics.video_quartile_p50_rate, 
metrics.video_quartile_p75_rate, 
metrics.video_view_rate, 
metrics.video_views, 
metrics.view_through_conversions, 
ad_group.labels, 
metrics.search_absolute_top_impression_share, metrics.search_budget_lost_absolute_top_impression_share, metrics.search_budget_lost_top_impression_share, metrics.search_rank_lost_absolute_top_impression_share, metrics.search_rank_lost_impression_share, metrics.search_rank_lost_top_impression_share, 
metrics.search_top_impression_share, 
metrics.absolute_top_impression_percentage
 FROM ad_group 
WHERE segments.date BETWEEN '2022-11-01' AND '2022-11-30'

Thanks for the help

Google Ads API Forum Advisor

unread,
Jan 11, 2023, 1:29:57 PM1/11/23
to mgar...@channelmix.com, adwor...@googlegroups.com

Hi Michael,
 

Thanks for reaching out to the Google Ads API team. I hope you are doing well today.
 

With regards to your concern, to further investigate the issue, could you please provide a full screenshot of Google Ads UI that showing the three campaign ID that not return when you try to pull via API and  the complete response logs with request ID and request header generated on your end?  If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. I ask this so our team further investigates your concern and provides specific recommendations on the issue.


You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.


Regards,

Google Logo
Darwin
Google Ads API Team
 



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