Hi Ritesh, You may refer to this section <https://developers.google.com/adwords/api/docs/guides/authentication#access_and_refresh_token> of our OAuth2 guide <https://developers.google.com/adwords/api/docs/guides/authentication> on how to manually generate or request for access tokens if you are not using any of the available client libraries. Additionally, I'm afraid that you will not be able to manually set an expiration date for your access token and you will need to refresh it as soon as it expires as indicated in the *expires_in* value.
However, as stated also in this section <https://developers.google.com/adwords/api/docs/guides/authentication#access_token_expiration>, if you use any of our supported client libraries <https://developers.google.com/adwords/api/docs/guides/first-api-call#get_a_client_library>, then you will no longer need to manually request for access tokens as they are automatically refreshed each time you make a request using the client library. Thanks and regards, Peter 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/459a6fb7-6c81-4431-b809-01c8b867aa9d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
