Retrieving AdWord's client_customer_id using refresh token

211 views
Skip to first unread message

Kevin Coxe

unread,
Jun 1, 2015, 8:43:24 AM6/1/15
to adwor...@googlegroups.com
Hey everyone,

I am working on a google app that will allow users grant me permission to view their AdWords campaigns.
I wish for it to be a one click sign in. I have it set up using oauth2 so that they are sent to the Google consent form and I am successful in retrieving the access and refresh token.

I see that in the example given in the python client libraries:
that there is a googleads.yaml file needed containing the some information.

I am able to retrieve all of the fields needed except for the client_customer_id.

Is there a way for me to retrieve the client_customer_id without needing the customer to enter it from their AdWords dashboard?

Thank you
    Kevin Coxe

Danial Klimkin

unread,
Jun 1, 2015, 8:51:13 AM6/1/15
to adwor...@googlegroups.com, kev...@gmail.com
Hello Kevin,


Yes, you can use CustomerService with client customer ID to retrieve it.


-Danial, AdWords API Team.

Kevin Coxe

unread,
Jun 1, 2015, 1:57:00 PM6/1/15
to adwor...@googlegroups.com, kev...@gmail.com
Thank You! It works!

- Kevin Coxe

Tanmay Kansara

unread,
Oct 20, 2015, 1:52:17 PM10/20/15
to AdWords API Forum
Hi Kevin,

Were you able to get the customerID from the refreshToken withou using the yaml file ?

Thanks
Reply all
Reply to author
Forward
0 new messages