Hi,

As we were trying to get API access, we did follow the following procedure 
but with only failure. 

We got error messages at two places while 



*1. Trying to get Authorization Code 'Error: redirect_uri_mismatch' 2. 
Trying to get Refresh Token 'Error: invalid_grant'   *
--------CASE # 1 :
   We have an active MCC account
   We are using Adwords PHP Client Library v201309
   We have valid and approved developer token
   We have generated client_id and client_secret using  URL : 
https://code.google.com/apis/console#access for Web Application
   We went to command line and executed GetRefreshToken.php
   We got URL to execute
   We  executed ,we got error #1*'Error: redirect_uri_mismatch'* 

--------CASE # 2 :
   From case # 1, We got URL to execute 
   We replaced redirect_uri manually by replacing with one of the urls 
defined as redirect urls during client id/secret generation
   We executed the modified URL
   We got an interface where it asked if we want to allow access to the 
application we defined
   We allowed *Clicked on allow button*
   We got an authorization code
   We supplied the same to the GetRefreshToken.php file as $code
   Again, we got an error *'Error: invalid_grant' *
   
We are not able to move ahead from this point. So, any help would be 
appreciated.

Note:
    With the same developer token, we are able to fetch data from a test 
MCC Account.

Thanks,
Deepak

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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