Hello Shobhan,

Please make sure your hostname is configured as a redirect link for the 
OAuth client you are using, see:

  https://developers.google.com/accounts/docs/OpenIDConnect#setredirecturi

Alternatively, try using "Installed Application" (not "Web application") 
client type.

There is a very similar question on the Stack Overflow, please check it out:

  
http://stackoverflow.com/questions/11485271/google-oauth-2-authorization-error-redirect-uri-mismatch


-Danial, AdWords API Team.


On Monday, February 2, 2015 at 2:41:57 PM UTC+3, Shobhan Babu wrote:
>
> After executing GetRefreshtoken.php 
>
> I am getting the error like this
>
>
> *400.* That’s an error.
>
> *Error: redirect_uri_mismatch*
>
> Application: *Health Campaign*
>
> You can email the developer of this application at:[email protected] 
> <[email protected]>
>
> The redirect URI in the request: urn:ietf:wg:oauth:2.0:oob did not match a 
> registered redirect URI.
>
> Learn more 
> <http://developers.google.com/accounts/docs/OAuth2Login#setredirecturi>
> Request Details
>
>    - scope=https://www.googleapis.com/auth/adwords
>    - response_type=code
>    - access_type=offline
>    - redirect_uri=urn:ietf:wg:oauth:2.0:oob
>    - client_id=
>    325211923783-i4t71askkf0po9daojp8p9ueb43lk7ha.apps.googleusercontent.com
>
> That’s all we know.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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].
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/da505e3a-2848-4e56-b403-40faef271118%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to