Google Ads API: Change Status Report is returning 400 bad request error

42 views
Skip to first unread message

Piyush Gaud

unread,
Dec 20, 2023, 3:57:26 AM12/20/23
to Google Ads API and AdWords API Forum
Hey Everyone, 

I am trying to retrieve the change status history from the Google Ads API. I see that the API is not returning the data and throwing an error "The remote server returned an error: (400) Bad Request.
I am using the below GAQL query to retrieve the data.

SELECT
  change_status.ad_group_ad,
  change_status.ad_group,
  change_status.last_change_date_time
FROM change_status
WHERE
  change_status.last_change_date_time DURING LAST_7_DAYS 

Any help here would be highly appreciated.

Thanks,
Piyush

Google Ads API Forum Advisor

unread,
Dec 20, 2023, 8:28:09 AM12/20/23
to piyus...@we-love-x.com, adwor...@googlegroups.com
Hi Piyush,

Thank you for reaching out to the Google Ads API support team.

After reviewing your concern, I understand that you are encountering an error while fetching the change status history via the Google Ads API.

In order to assist you further, please provide us with the complete API logs (request and response with request-id and request header) generated at your end and the uncropped UI screenshot of the report that you are trying to fetch via the Google Ads API.

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.NetPHPPythonRuby 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.!5004Q02r2orY:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages