Hello, I need assistant with AdWords Api (we are using PHP library). The task is to get reports for our Clients. We have Agency Account and Developer token for it. We need an opportunity to get reports for non-linked Clients. Client should be able to login to Api once and let us to use his account.
So i decided to use this https://github.com/googleads/googleads-php-lib/wiki/API-access-on-behalf-of-your-clients-(web-flow) as example for my task. I've impelented an opportunity to authorize to AdWords from different Client accounts and storing their tokens. According step 4, i can use this data immediatly, but will i have to use this tokens later? According this documentation https://github.com/googleads/googleads-php-lib#setting-up-your-oauth2-credentials i need to build OAuthCredential. Can i use my ClientId and ClientSecret from Agency Account for that Clients and use only their ClientCustomerId and refresh token to build oautCredential? And is there an opportunity to use one file for different Clients and set clientCustomerId and RefreshToken programmatically? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. 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/01720813-35e1-4b6c-83e1-ccc35ed17b4a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
