Hi there. Please help me to get the access token.

I want to get a static access token which will not expire in hour (day, 
month). I will use it in the App which allows me to send only one HTTP 
request. So, I need static access token to include it the request one time 
and not to change it. Is it possble? If yes, which doc to learn?

Thanks and sorry for my bad english....

I tried to create access token for desktop app, but the next step was 
getting it with the request:

curl -s -d code=4/XxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX 
-d grant_type=authorization_code -d 
client_id=YyYyYyYyYyYyYyYyYyYyYyYyYyYyYyYyYyYyY.apps.googleusercontent.com 
-d client_secret=WwWwWwWwWwWwWwWwWwWwWwWw -d 
redirect_uri=urn:ietf:wg:oauth:2.0:oob 
https://www.googleapis.com/oauth2/v4/token

responce: 
{
 "error": "invalid_grant",
 "error_description": "Bad Request"
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/868787ca-785c-4dfc-8778-58409f440094%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Георгий Грязнов
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Георгий Грязнов
      • ... Георгий Грязнов
        • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
          • ... Георгий Грязнов

Reply via email to