REST Interface

66 views
Skip to first unread message

Rohit Lalwani

unread,
Aug 9, 2022, 1:04:46 PM8/9/22
to Google Ads API and AdWords API Forum
Is using REST Interface stable enough to use? (ref: https://developers.google.com/google-ads/api/rest/common/search)
  1. Do we need to take care of any configuration?  Like timeout, invalid query, refreshing tokens etc?

Google Ads API and AdWords API Forum

unread,
Aug 11, 2022, 9:41:43 AM8/11/22
to Google Ads API and AdWords API Forum
Reposting the last inquiry (https://groups.google.com/g/adwords-api/c/l6F3J7HI33s) from the forum as it wasn't routed to our support queue.

Regards,
Heidi
Google Ads API Team

Google Ads API Forum Advisor

unread,
Aug 11, 2022, 9:59:58 AM8/11/22
to adwor...@googlegroups.com
Hi,

Thank you for reaching out to us.

Moving forward, Yes, the Google Ads API can be called either using gRPC or REST. Both interfaces expose a resource-oriented design shared with other Google Cloud APIs.

Since this is for Google Ads API, You need both OAuth 2.0 application credentials and a developer token. You may check this documentation for more details as this  describes how to set these values and documents several additional API-specific HTTP headers that are sent and received when using the REST interface.

Moving forward to timeout and invalid query, you may note that the REST interface is indeed not connected to these. If you have problem to timeout then this might be connected to the specific request you are making and for invalid query, this might be connected on how you struct your query, for this, i would suggest to use the Google Ads Query Builder and Query Validator tools for constructing queries.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dJhLd:ref
Reply all
Reply to author
Forward
0 new messages