Hello guys! I'm working on an web application where clients can connect their AW account and get reports. Until now I was using v201607 with OAuth2 and offline access and for each user I was saving the access token and the refresh token... all was working like a charm. Now I'm upgrading to v201705 and the things seem to be a little bit different. I can't manage to access the accounts using the access tokens. In the past I was using this code to get the customers of an account:
if(!$user->GetOAuth2Handler()->IsAccessTokenValid($connectionData)) $connectionData = $user->GetOAuth2Handler()->RefreshAccessToken( $connectionData); $user->SetOAuth2Info($connectionData); $customerService = $user->GetService('CustomerService'); $customers = $customerService->GetCustomers(); How can I do this in v201705? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/db4f9023-53bf-4133-8c9d-2865d7bac5c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.