Hi,

Please read our OAuth 2.0 Authentication 
guide<https://developers.google.com/adwords/api/docs/guides/authentication>, 
particularly item #6 in the Getting started 
section<https://developers.google.com/adwords/api/docs/guides/authentication#getting_started_with_oauth_20_and_the_adwords_api>.
 
 This describes the use cases for the *installed application* and *web 
application *flows.

If after reading the documentation you decide that you will use the *web 
application* flow, then yes, you will need to point the redirect URL to a 
valid URL on your site that will exchange the authorization code for an 
access token as documented 
here<https://developers.google.com/accounts/docs/OAuth2WebServer#overview>. 
 If you request offline 
access<https://developers.google.com/accounts/docs/OAuth2WebServer#offline>then 
you will only need to do this once per account, after which you can 
use the refresh token to get new access tokens without further intervention 
by the user.

Note that the easiest setup by far is to organize all of your accounts 
under a single top level MCC as described 
here<https://developers.google.com/adwords/api/docs/guides/clientlogin-to-oauth2-single-mcc>
.

Thanks,
Josh, AdWords API Team

On Thursday, April 3, 2014 7:23:49 AM UTC-4, [email protected] wrote:
>
> hi,
> please help me out,v are thinking to develop adwords api.already we have 
> credentials and created project. now we r thinking to develop api  for this 
> project for that we need client id and client secrete id and redirect 
> url..when i logged into the account there is no redirect url so i started 
> creating new client id there its asking me to mention redirect url so i 
> gave my site url..went i tried to give http://www.cardekho.com in Redirect 
> URIsl its giving http://www.cardekho.com/oauth2callback and took this 
> client id,secret id and pasted into ads.properties and in 
> AdvancedCreateCredentialFromScratch we pasted all required fields and tried 
> to execute program from  console screen  copied  link and pasted in browser 
> then it showed two options one is cancle and accept, clicked accept nxt it 
> showed me following error
>    
>    - Requested page couldn't be found on 
> CarDekho.com<http://www.cardekho.com/>
>    - we havnt configured www.cardekho.com/oauth2callback url in our 
>    site,is it mandatory to configure oauth2callback in our project or will 
>    automatically taken by adword api and one more thing is it mandatory to 
>    configure consent screen. 
>
>
> Thanks in advance 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to