Hi Graham,

Since you are using the Web app type of OAuth setup, you will need to set 
the valid redirect URI in the credentials page of the Google API Console 
<https://console.developers.google.com/apis/credentials>. Please read this 
guide 
<https://developers.google.com/identity/protocols/OAuth2WebServer#creatingcred> 
on 
OAuth for setting the redirect URI while using the web application. If you 
are going to follow the OAuth setup in the staging server too, you will 
need to have a valid URL in that context instead of localhost. Ideally, you 
will have to make sure that the redirect URL for the credentials of type 
Web is set correctly in the Google API Console Credentials page 
<https://console.developers.google.com/apis/credentials> and it matches the 
one set in your code. If it is not same, could you please update this and 
retry? If you would like to confirm the application type that is best 
suited for you, please check this guide 
<https://developers.google.com/adwords/api/docs/guides/authentication#determine_your_app_type>.
 
If you feel that web application is the right fit for you, you will need to 
choose "Web application" while creating the client credentials in the 
Google Developers console page. Let me know if you have any further 
questions.

Thanks,
Milind, 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 [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/e7643473-6d95-40c7-9d9c-d56285f37058%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Graham Bentin
    • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to