Hi Anash,

I have generated API token through google console. In that I have added a 
Reidrect URL. But when I am running command from generating refresh token 
for google adwords APi. I am getting redirect_url_mismatch error. Below I 
have attached screenshot of it.

<https://lh3.googleusercontent.com/-1fkXNKDCtII/WtSfP4epN6I/AAAAAAAAAAM/JEzbLnKkNpUFfYtbgdOZ-QPU7HoECxm3gCLcBGAs/s1600/URL%2Bmismatch.png>


On Friday, March 27, 2015 at 1:31:08 AM UTC+5:30, Anash P. Oommen (AdWords 
API Team) wrote:
>
> Hi Michael,
>
> I would recommend checking your OAuth2 console project once more - ensure 
> that it is of type "Installed application" as mentioned on 
> https://github.com/googleads/googleads-php-lib/wiki/Using-OAuth-2.0#creating-an-application-identifier
> .
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Tuesday, March 24, 2015 at 1:38:04 PM UTC-4, Michael Barlow wrote:
>>
>> Hope someone can help.
>>
>> Im attempting to set up a test environment to interact with Google adword 
>> campaigns using php.
>>
>> I've downloaded the Google Ads APIs Client Library for PHP and entered my 
>> developerToken, userAgent, clientCustomerId, client_id and client_secret as 
>> per the instructions (https://github.com/googleads/googleads-php-lib)
>>
>> I've ran GetRefreshToken.php via php in console and visited the link it 
>> generated but it just says
>>
>> 400. That’s an error. Error: redirect_uri_mismatch Application: Google 
>> Statistics
>>
>> I researched the error and it said i needed to have the correct REDIRECT 
>> URIS in my Google Developer Console. I've tried lots of variations but 
>> nothing seems to work. It's currently set at:
>>
>> http://localhost:8888/
>>
>> I'm running the API on localhost using MAMP, what should the redirect URI 
>> be?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/cacfbd6b-1306-418f-807e-627e2baaf05b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Re: redi... khanjanadword1
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
      • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to