Hi,
If you want to compare the API data with respect to the provided UI screenshot, you can refer to the below query to get the exact number of clicks.
SELECT campaign.id, campaign.name, ad_group.id, ad_group.name, metrics.all_conversions, metrics.all_conversions_value, metrics.clicks, metrics.conversions, metrics.conversions_value, metrics.cost_micros, metrics.cross_device_conversions, metrics.impressions, metrics.video_views, metrics.interaction_event_types, metrics.interactions, metrics.view_through_conversions, segments.date FROM ad_group WHERE segments.date BETWEEN '2024-06-05' and '2024-06-05' AND metrics.clicks != '0'
I hope it helps. Kindly get back to us if you have any further issues or concerns related to the Google Ads API.
Hi,
Please ignore my previous email.
![]() |
Google Ads API Team |
Hi,
No, you can refer to that response and query in order to get the clicks as per the screenshot provided by you. However, for better visibility, I am adding the same query again below for your reference.
SELECT campaign.id, campaign.name, ad_group.id, ad_group.name
, metrics.all_conversions, metrics.all_conversions_value, metrics.clicks, metrics.conversions, metrics.conversions_value, metrics.cost_micros, metrics.cross_device_conversions, metrics.impressions, metrics.video_views,metrics.interaction_event_types, metrics.interactions, metrics.view_through_conversions, segments.date FROM ad_group WHERE segments.date BETWEEN '2024-06-05' and '2024-06-05' AND metrics.clicks != '0'
We have 2 endpoints that return different total impression totals.
This is a 1 endpoint (breakdown):
This is a 1 endpoint (non breakdown)
When you call the 2 different endpoints, they result in different impression numbers.
Hi,
Unfortunately, you missed adding the response data for both queries. So kindly get back to us with the response data also so that we can check the different impression numbers between both queries.