Hello Yaniv,
Were you logged in with the developer account when acquiring the refresh
token? Please try to log out and log in as AdWords account user when
prompted.
-Danial.
On Monday, December 23, 2013 3:21:09 PM UTC+4, Yaniv wrote:
Daniel,
Thanks so much for clearing this out!
While
Hi Yaniv,
In the cloud console, when you create a new client ID, you need to select
Installed Application as the first choice and Other as the second.
You'll see redirect URL of the created client as:
Redirect URIs:
urn:ietf:wg:oauth:2.0:oob
http://localhost
Danial, AdWords API Team.
On
Daniel,
Thanks so much for clearing this out!
While this worked and I was able to run the refresh token script included
in your python client library I now encountered a different error
after running the config script to store all my credentials for client
calls it seems like I still missing
Hi Daniel can you please provide more details on where exactly should I
check that the client id is register with the OOB redirect URL? (I'm having
the same issue..)
Thanks
Y.
On Thursday, August 1, 2013 4:08:57 PM UTC+3, Danial Klimkin wrote:
Hello Luke,
Can you please double-check the
Hello Luke,
Can you please double-check the client application ID is the installed
application client ID with the OOB redirect URI listed as a valid redirect
in the API Console?
I can't see any other reason for this error.
-Danial, AdWords API Team.
On Thursday, August 1, 2013 4:34:50 AM
Danial,
My issue involved using a service account rather than an installed
application. It wasn't very clear in the documentation exactly what type of
account was necessary. Nonetheless, creating a new installed application
client id did the trick and I now have my refresh token. Thanks for
Hello,
What is the type of the client you use? For Web application type you need
to explicitly list allowed redirect URLs in the API console.
From your request it looks like you need an offline (standalone)
application type.
-Danial, AdWords API Team.
On Tuesday, July 30, 2013 12:17:18 AM
I am also receiving the same error (redirect uri mismatch) when running the
generate_refresh_token.py script, even with an offline application type.
Request Details
- from_login=1
- cookie_policy_enforce=false
- scope=https://adwords.google.com/api/adwords
- response_type=code
-
I am currently trying to access the monthly search volume of a given
keyword. To do this, I need to generate a refresh token using
generate_refresh_token. The URL it gives me to access the verification code
is broken, returning the error: redirect_uri_mismatch. It states: The
redirect URI in