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?