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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/90b808a2-e18d-4c94-b058-683d6c68590e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to