Hello, Please find my responses inline:
- According step 4, i can use this data immediately, but will i have to use this tokens later? The guide that you are referring to is the correct one to check. As you might have seen in the step #3, you can store the refresh token in the adsapi_php.ini <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/adsapi_php.ini#L33>. This along with your client id and client secret can be used later to get the access token and make the API calls. This way, the client will only have to authorize once (provided the access of that user on the account does not change). - Can i use my ClientId and ClientSecret from Agency Account for that Clients and use only their ClientCustomerId and refresh token to build oautCredential? Yes, you should be using your client id and client secret along with the client's refresh token and client customer Id. - And is there an opportunity to use one file for different Clients and set clientCustomerId and RefreshToken programmatically? Yes, you can set the details dynamically using the OAuth2TokenBuilder <https://github.com/googleads/googleads-php-lib/blob/master/src/Google/AdsApi/Common/OAuth2TokenBuilder.php#L160> and AdWordsSessionBuilder <https://github.com/googleads/googleads-php-lib/blob/master/src/Google/AdsApi/AdWords/AdWordsSessionBuilder.php#L272>. Please check here <https://github.com/googleads/googleads-php-lib#basic-usage> for more details. Please let me know if you have any additional questions. Thanks, Sreelakshmi, AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 and Google Ads 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/f1304ddd-fb1f-4f3f-94f3-f7c299c944cb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.