Return correct errors for new BETA API

17 views
Skip to first unread message

cos...@gmail.com

unread,
Jun 25, 2018, 5:11:25 AM6/25/18
to AdWords API and Google Ads API Forum
The new beta API is a bit confusing because it always returns a 404. It would be really helpful if it would return the actual error.
For example, a post request to https://googleads.googleapis.com/v0/googleAdsFields/campaign would return a 404 instead of a method not allowed error. A Get request to the same URL works fine.

Teja Makani

unread,
Jun 25, 2018, 3:24:47 PM6/25/18
to AdWords API and Google Ads API Forum
Hello Costantin,

You will be able to find the sample request and response that is supported by the respective service in the documentation. In this case, please check the Resource metadata guide for details. Thanks for sharing your feedback about API being able to return a user-friendly error instead of 404 page not found. I will share this with the team. 

Regards,
Sai Teja, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages