Hello, 

I am writing an application that after the user signs into his Google 
Account should determinate his Adwords Account Customer ID.

I created Client ID & Secret for web app and use 

https://github.com/googleads/googleads-python-lib/wiki/API-access-on-behalf-of-your-clients-(web-flow)#step-2---setting-up-the-client-library

for coding reference.


I got my credentials after approving the access in the consent screen.

Then I have problem with last code:

# Initialize the GoogleRefreshTokenClient using the credentials you received
# in the earlier steps.
oauth2_client = oauth2.GoogleRefreshTokenClient(
   client_id, client_secret, refresh_token)

# Initialize the AdWords client.
adwords_client = adwords.AdWordsClient(
   developer_token, oauth2_client, user_agent, *client_customer_id*)

 
I do not have client_customer_id!!! 

I want the application to know it by the Google Account authentication with 
email address.

How do I get the customer id of currently signed in user?

Thank you very much.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/395e5018-d3c6-4f52-87b4-ac21fff47c44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How to get Adwo... bidder
    • Re: How to... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to