Google API SCope

103 views
Skip to first unread message

Vamshi Bommana

unread,
Nov 20, 2024, 4:07:47 PM11/20/24
to Google Ads API and AdWords API Forum
Hi, 
we are trying to upload store sales when i try to run the code thats in the article 
i am getting an ACCESS_TOKEN_SCOPE_INSUFFICIENT error.

in the error headers i saw its looking for below scopes 
but when i try to update the scope i dont see any values that starts with https://adwords
 image001.png
if they are deprecated  what scopes should i have in order to upload  data for store sales.

Thanks,
Vamshi

Google Ads API Forum Advisor

unread,
Nov 20, 2024, 9:33:04 PM11/20/24
to vbom...@techstyle.com, adwor...@googlegroups.com
Hi Vamshi,

Thank you for reaching out to the Google Ads API support team.

I could see that you are encountering the "ACCESS_TOKEN_SCOPE_INSUFFICIENT" error when using the Google Ads API. To resolve this issue, please ensure that your access token has the requested authorization scopes of access. You can check the scopes associated with your access token by visiting the Google Developers Console. 

That being said, uploading your store sales data requires the following OAuth scope:

Since you can't find the scope you would like to add in the table you can scroll down and enter the above OAuth 2.0 scope in the field under "Manually add scopes" and then click "ADD TO TABLE". I would recommend you refer to this guide for more information on how to configure the OAuth consent screen.

I hope this helps.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGlNn:ref" (ADR-00276286)

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5



Vamshi Bommana

unread,
Nov 21, 2024, 12:51:59 PM11/21/24
to Google Ads API and AdWords API Forum
Hi team, 
we did have auth/adwords included ins cope but still getting the same error.

Untitled.png

Google Ads API Forum Advisor

unread,
Nov 21, 2024, 3:06:40 PM11/21/24
to vbom...@techstyle.com, adwor...@googlegroups.com

Hi,

Since you are facing the issue of updating the API scopes in the Google API Console, I would highly recommend you reach out to the GCP Product Support team via this link.

Kindly note that this support channel specializes in Google Ads API related concerns and technical implementations only. 

Borough Sauce

unread,
Nov 21, 2024, 7:17:52 PM11/21/24
to vbom...@techstyle.com, Google Ads API and AdWords API Forum
Plz stop sending me theeseeeeeew

Thanks @google


Dylan, Founder 


Check us out: online or on instagram


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
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 "Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/adwords-api/fd7290ee-d604-4360-b3d2-94593047daf4n%40googlegroups.com.

Vamshi Bommana

unread,
Dec 5, 2024, 2:31:04 PM12/5/24
to Google Ads API and AdWords API Forum
Hi, 
i have the scope that google doc mentioned for my app,  but still i am unable to submit a request to conversations  API.

Thanks,
Vamshi


Google Ads API Forum Advisor

unread,
Dec 5, 2024, 3:37:35 PM12/5/24
to vbom...@techstyle.com, adwor...@googlegroups.com
Hi,

I would recommend that you try using the OAuth 2.0 Playground to generate the refresh and access tokens. Select the scope as Adwords API and authorize API using your account. Exchange the authorization code for tokens. Now, you may configure your request and make the API call.

Let us know if you are still getting the same issue.
Reply all
Reply to author
Forward
0 new messages