APIs failing

58 views
Skip to first unread message

Media NV

unread,
Oct 3, 2024, 8:25:03 PM10/3/24
to Google Ads API and AdWords API Forum
Since last 24 hours Google Ads APIs and even GA4 apis are failing. 400 bad request. What could be wrong?
Screenshot 2024-10-04 at 12.08.08 AM.png

Google Ads API Forum Advisor

unread,
Oct 4, 2024, 3:16:38 AM10/4/24
to a...@medianv.com, adwor...@googlegroups.com

Hi,

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

I understand that you are encountering 400 bad request messages while using Google Ads API. Could you provide us with uncropped UI error screenshots while using Google Ads API.

Also, kindly provide us with the complete API logs (request and response logs with request-id and request header) generated at your end to better assist you further. 

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.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vGcDo:ref" (ADR-00270573)

Thanks,
 
Google Logo Google Ads API Team

 



Media NV

unread,
Oct 6, 2024, 8:31:56 PM10/6/24
to Google Ads API and AdWords API Forum
Thanks. I upgraded to v17 and it seems to be working well. However, I suggest the API console in GCP should give better indication of exactly what is the reason for failures.

Google Ads API Forum Advisor

unread,
Oct 7, 2024, 12:47:10 PM10/7/24
to a...@medianv.com, adwor...@googlegroups.com
Hi,

Thank you for your acknowledgement. Glad that the issue has been resolved. You can view a list of methods and services your project has recently called using the Google Cloud Console:
  1. Open the APIs & Services in the Google Cloud Console.
  2. Click Google Ads API in the table.
  3. On the METRICS subtab, you should see your recent requests plotted on each graph. You can see which methods you've sent requests to in the Methods table. The method name includes a Google Ads API version, a service, and a method name, such as google.ads.googleads.v17.services.GoogleAdsService.Mutate.
  4. (Optional) Choose the time frame you want to view for your requests.
Reply all
Reply to author
Forward
0 new messages