Selecting a Customer ID

39 views
Skip to first unread message

Max Dupenois

unread,
Oct 3, 2018, 9:13:36 AM10/3/18
to AdWords API and Google Ads API Forum
After authenticating on our application we wish to ask the user to select an account (customer) for the application to operate on behalf of. In the old API this used to be possible by querying the CustomerService with a get, then by using the returned customer id to query against the ManagedCustomerService. I assumed that if this was possible in the new api it would work through the GoogleAdsService search function but we're coming up against two problems:

1.) We can't work out what the REST version of the search query should look like, we keep getting 404s from attempts to hit /googleAds.
2.) From reading the documentation it doesn't look like you can use the service without a customer id.

Is this something the new API supports and if so what does the RESTful query to do so look like?

Cheers,

Max

Luis Xander Talag (AdWords API Team)

unread,
Oct 3, 2018, 5:54:08 PM10/3/18
to AdWords API and Google Ads API Forum
Hi Max,

I'm afraid, making a request without specifying your client customer ID using the Google Ads API Beta is currently not possible as it is required base on the guide.

Thanks and regards,
Luis
AdWords API Team

Max Dupenois

unread,
Oct 4, 2018, 7:09:05 AM10/4/18
to AdWords API and Google Ads API Forum
Hi Luis,

Okay, that's what we expected.

Thanks for your reply,

Max
Reply all
Reply to author
Forward
0 new messages