

Hello,
Greetings from the Google Ads API Team.
Can you please provide us with an uncropped screenshot of the Google Ads UI which shows your CID and the data you wish to obtain via API query and the Complete logs(request and response with request ID) of your API request where you are seeing discrepancies so we can provide precise guidance and recommendations?
If you're using one of our client libraries, you may check this documentation (https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging) which contains links to the appropriate logging guide for each client library. For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include the HTTP response headers in the output.
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
![]() |
Google Ads API Team |
Hi,
Thank you for your response and for providing us the requested information.
Upon checking, we've seen that you're using ad_group resource in your request. This might be the reason for the data not matching. We've tried to use the resource of customer (https://developers.google.com/google-ads/api/fields/v14/customer) to get the equal data. Upon trying the below query, we're able to get the matching data results. With that, kindly try it in your end.
"SELECT customer.id, customer.descriptive_name, segments.date, metrics.impressions, metrics.clicks FROM customer WHERE customer.id = 7778999633 AND segments.date >= '2023-09-01' AND segments.date <= '2023-09-07' ", "summaryRowSetting": "SUMMARY_ROW_WITH_RESULTS"