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,