How get CustomerId with OAuth 2.0

19 views
Skip to first unread message

dav...@garagecoders.net

unread,
Jul 13, 2017, 7:00:57 PM7/13/17
to AdWords API Forum
Hello 


I want to get the customerID with an auth auntenticacion



help

Ivan Bautista

unread,
Jul 14, 2017, 2:55:08 AM7/14/17
to AdWords API Forum
Hi,

Just to clarify, do you wish to get the Customer ID associated with your generated OAuth2 credentials?

If yes, then you may do so by using the CustomerService.getCustomers() along with the OAuth2 credentials generated without specifying any clientCustomerId in the request header. After which, you may then retrieve the Customer ID from the returned Customer object.

Let me know if this is what you are looking for or if you need further assistance.

Regards,
Ivan 
AdWords API Team
Reply all
Reply to author
Forward
0 new messages