I can't get a refresh token with getRefreshToken.php in the example, but I
did get the auth code.
Here's more information;
* I created a test MCC and two accounts in the MCC.
* I got my developer token from my test MCC and put it in auth.ini
* I got my clientCustomerId from an account in my MCC and put it in auth.ini
* I got my client_id and client_secret which I made in the Google console
and put it in auth.ini (it's an "installed program")
* I am running getRefreshToken.php from the console. I copied the URL in
the browser, granted access and got my auth code.
* I now put the auth code in the console and I get:
Your OAuth2 Credentials are incorrect.
Please see the GetRefreshToken.php example.
{
"error" : "invalid_grant",
"error_description" : "Invalid code."
}
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.