Hi Mohan,
Thank you for reaching out to the Google Ads API support team.
Based on the information provided, I understand that you are seeing discrepancy in metrics between the ad_group_ad and search_term_view reports using the Google Ads API. One important thing to note is that it's generally never a good practice, in the Google Ads API, to compare two different reports against each other. The reports accrue stats on different events, at different levels, etc. depending on the specific report types. At any given time, you need to consider what view you actually need for your current use case, and then use only the view that gives you those stats.
Upon checking your campaign ID (23232141), it is associated with the Google Ads account
(204-227-5380). Can you confirm whether you are trying to retrieve the data using the same account? If yes, note that we have tried to fetch the data using your GAQL query and we are getting a
CUSTOMER_NOT_ENABLED error. This error occurs when the customer account hasn't finished signup or has been deactivated. Upon checking the account
(204-227-5380), I could see that its status is in an canceled state. Also, note that I don't see the ad_group names and ad IDs from this account
(204-227-5380), so I would request you to share the uncropped UI screenshot of the Google Ads account (with visible customer ID) by highlighting the fields and metrics for which you want to retrieve using the Google Ads API.
In order to investigate your issue further, kindly provide us with the complete API logs (
request and
response logs with
request-id and
request header) generated at your end to further assist you better. As you are using the Python client library, I would request you to enable the logging using this
guide.
You can send the details via
Reply privately to the author option, or
direct private reply to this email.
