Jake,

In the cloud console, could I trouble you to navigate to the Consent Screen 
configuration and enter an application name (and any of the other required 
fields).

Please let me know if it works for you - and I can update relevant 
documentations.

Thanks,

On Friday, February 28, 2014 5:50:34 PM UTC-5, Jake Wilson wrote:
>
>
> I am building a simple web app to connect to our Adwords MMC and spit out 
> some reports.
>
> In the Google API Console I created a new Client ID.  I chose Installed 
> Application even though this is a web-based PHP tool I'm making.  This page:
>
>
> https://developers.google.com/adwords/api/docs/guides/authentication#access_and_refresh_token
>
> says to choose Installed Application if:
>
>    - You are just getting started for the first time.
>    - You want to test our example code and get started quickly.
>    - You are managing all of your AdWords accounts using a single top 
>    level MCC.
>
> All of which apply to us.  Also, the auth.ini says:
>
> ; If you do not have a client ID or secret, please create one of type
> ; "installed application" in the Google API console:
> ; https://cloud.google.com/console
>
> So anyways, I created an installed application client ID.  I get my Client 
> ID and Client Secret.  I add these to auth.ini along with my Adwords API 
> Key (which is approved) and a unique userAgentID string to identify my 
> application.
>
> At the command line I run the GetRefreshToken.php script, giving me:
>
> Log in to your AdWords account and open the following URL:
>
> https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=5XXXXXXXXXXXXXXXXXXXXXXXXXXleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2F&access_type=offline
>
> After approving the token enter the authorization code here:
>
> I log into my Adwords account and then paste in the above URL.  I get this 
> page:
>
> <http://imgur.com/vcilAXI.jpg>
>
> So what am I doing wrong here?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to