Hi,

If you are using our client libraries, then the token there is the refresh 
token (withRefreshToken('XXXX')) which is used to generate the access token 
in the backend. Before the access token expires or when it expires, the refresh 
token is used to automatically update 
<https://developers.google.com/adwords/api/docs/guides/authentication#access_token_expiration>
 it 
in the backend so you can continue to use the AdWords API services.

Since you are using our PHP client library, then you don't need to worry 
for the access token's expiration. You only have two options here, either 
you need to set the OAuth2 credentials in the property file 
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/adsapi_php.ini>
 as 
we recommended or you can set them in your example file as I have provided 
in my sample code snippet. 

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 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/9b83c5ef-2a9b-433b-bf08-bb4337a4c8e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Get a list of co... Евгений Шевцов
    • Re: Get a l... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
      • Re: Get... Евгений Шевцов
        • Re:... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
          • ... Евгений Шевцов
          • ... Евгений Шевцов
            • ... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum

Reply via email to