Hi,
Thank you for reaching out to the Google Ads API support team.
Kindly note that the
campaign and
user_location_view reports are distinct and serve different purposes in the API. Therefore, they should not be compared when retrieving data from the API. For determining discrepancy you should compare it from the Google Ads UI to the Google Ads API. Also, to fetch a country-campaign-date dimension, you can use the
user_location_view or
geographic_view report.
From the logs, it appears that you are still using v16. Please be informed that the 'v16' is deprecated on February 21, 2024, and will be sunset by February 5, 2025. So, I would suggest you
upgrade to the latest version (v18) as soon as possible to benefit from new features. You may refer to this documentation on
deprecation and sunset for more information regarding the specific depreciation and sunset dates for each available version.
In order to analyze the issue further, please share the following details:
- customer ID / client customer id
- uncropped screenshot of the Google Ads UI by highlighting the cost field
- latest complete API logs (request and response with request-id and request header) generated at your end. If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.
You can send the details via
Reply privately to the author option, or
direct private reply to this email.
