Hello,

I am trying to get Google AdWords data via API.

I have Get_your_refreshed_token.py and googleads.yaml file triggered from 
my local machine.
When i execute it, i get the following error message:

"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";

I tried that the same with a client id and secret id from a Native "Desktop 
app" for Application Type when I created OAuth Client ID.

But I am seeing the same issue.

After seeing the suggestion here 
: 
https://stackoverflow.com/questions/44040824/error-redirect-uri-mismatch-in-googe-adwords-integration
I added http://localhost for "Authorized JavaScript origins" in my ClientID 
for Web Application page, but that doesn't seem to fix the issue either.

Any suggestions on how I can get the refreshed token?

Thank you!


-- 
CONFIDENTIAL COMMUNICATION:  The information contained in this message 
should be considered as legally privileged and confidential information 
intended only for the use of the individual or entity named here in above.  
If the reader of this message is not the intended recipient, you are hereby 
notified that any dissemination, distribution, or duplication of this 
transmission is strictly prohibited.  If you have received this 
communication in error, please notify us by telephone or e-mail 
immediately, return the original message to us and/or destroy all printed 
and electronic copies. 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dd434604-5664-49fe-873e-f571e69cc927n%40googlegroups.com.

Reply via email to