Hi,
Thank you for reaching out to the Google Ads API support team.
By reviewing your concern, I understand that while retrieving the campaign cost data you have observed discrepancies between the information displayed in the Google Ads user interface and the data retrieved through the Google Ads API. Kindly note that the Google Ads API mirrors the Google Ads UI. We would like to specify first the following when comparing the value of the Google Ads UI and the Google Ads API.
- The segments and fields of the API and UI should be the same.
- The date range should also be the same.
- Comparing the API and UI at the same level as possible.
With that, please provide us with the complete API logs (
request and
response with
request-id and
request header) generated along with the uncropped UI screenshot of the Google Ads account of where you are facing this issue to assist you better.
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.
This message is in relation to case "ref:!00D1U01174p.!5004Q02qBQ0Q:ref"
Thanks,
 |
Google Ads API Team |
