Hello Avinash, Could you please elaborate this "encrypted user data saved in csv file" and the scenario you are trying to assist you further?
Please note that redirect_uri_mismatch may occurs because of different application type(Web or installed application), you have to use correct application type and then generate the OAuth credentials again. You could refer this guide <https://developers.google.com/adwords/api/docs/guides/authentication#generate_oauth2_credentials> to generate OAuth credentials. Let me know if you have any further questions. Regards, Sai Teja, AdWords API Team. On Monday, November 5, 2018 at 5:16:01 AM UTC-5, [email protected] wrote: > > I have hash encrypted user data saved in csv file. I want to run PHP cron > which will insert those records into Google adwords account. I checked for > googleads-php-lib > <https://github.com/googleads/googleads-php-lib/tree/master/examples/AdWords> > but don't know how to use this. Is there any other library or ready php > script. > > On another side when I tried to use googleads-php-lib, it need to > clientId, client-secret, developer token & refresh token. When trying to > get refresh token it throws an below error message: > *Error: redirect_uri_mismatch* > The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be > used by a Client ID for native application. It is not allowed for the WEB > client type. You can create a Client ID for native application at > https://console.developers.google.com/apis/credentials/oauthclient > > What exactly this error and how to solve. Please help. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/4c6db21c-2aa7-416a-813c-58274ab1c8ad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
