redirect_uri_mismatch in google adwords

91 views
Skip to first unread message

firmgad...@gmail.com

unread,
Sep 6, 2016, 3:54:58 PM9/6/16
to AdWords API Forum
Hi

Trying to access Google Adword API

I am following below steps and failing @step 5  and giving error like (400. That’s an error. Error: redirect_uri_mismatch)
  1. Request a developer token.
  2. Create test accounts.
  3. Get a client library.
  4. Set up authentication via OAuth2. (Created Other for the Application type)
  5. Get an OAuth2 refresh token and configure your client. ( OAuth2 Playground and entered client ID and secret when when click authorize API giving above error , am i missing any thing)
  6. Make your first API call.

Please let me know

Joyce Lava

unread,
Sep 6, 2016, 10:24:37 PM9/6/16
to AdWords API Forum
Hello,

Could you please confirm if you are doing the steps for OAuth2 Playground to generate the credentials? If yes, based on the doc, the allowed app type when using the OAuth2 Playground is to choose the web app.

If you choose the app type = installed app, then you can use the client library-based approach in generating the credentials as discussed here.

Thanks,
Joyce, AdWords API Team
Reply all
Reply to author
Forward
0 new messages