RE: Error 403: Request had insufficient authentication scopes
Hi Ardhani, Thank you for raising this concern to Google Ads API team. To investigate the issue, could you provide the complete request and response logs with request ID and request header generated on your end? You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsapi-supp...@google.com. Regards, Carmela Google Ads API Team ref:_00D1U1174p._5004Q2ZLcZz:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/uwmOL0RA5LWJ00n9RzhjWSTpGBWuxLF2oJNA%40sfdc.net.
Error 403: Request had insufficient authentication scopes
googleapi: Error 403: Request had insufficient authentication scopes. Details: [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "domain": "googleapis.com", "metadata": { "method": "google.apps.sheets.v4.SpreadsheetsService.GetValues", "service": "sheets.googleapis.com" }, "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT" } ] More details: Reason: insufficientPermissions, Message: Insufficient Permission -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/045f742d-3785-4868-a647-950127294678n%40googlegroups.com.
Re: Error : 403 Request had insufficient authentication scopes
Hello, If the email you are using is a managing user and does not have direct access to the client customer, you must specify the login-customer-id header. This is a common cause for this error. You can read more about the login-customer-id here. Regards, Matt Google Ads API Team Matt Google Ads API Team ref:_00D1U1174p._5004Q2QFE1V:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@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 "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/6W15U0R1N2TA00LbB-zPVoS4O18HtpicNydQ%40sfdc.net.
Re: Error : 403 Request had insufficient authentication scopes
I use the same Email as my Google Ads account email to generate OAuth credentials To get refresh token I followed this instructions: https://developers.google.com/google-ads/api/docs/client-libs/python/oauth-desktop On Tuesday, October 26, 2021 at 9:04:42 PM UTC+7 adsapi wrote: > Hello, > > Thanks for reaching out. Can you please verify that the email used to > create the OAuth credentials also has access in the target Ads accounts? If > the user email does have access, can you please tell us how you retrieved > your refresh token? > > Thanks, > Matt > Google Ads API Team > > [image: Google Logo] > Matt > Google Ads API Team > > > ref:_00D1U1174p._5004Q2QFE1V:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@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 "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/9bca2144-4d91-465d-a06a-6d1eca4ea426n%40googlegroups.com.
RE: Error : 403 Request had insufficient authentication scopes
Hello, Thanks for reaching out. Can you please verify that the email used to create the OAuth credentials also has access in the target Ads accounts? If the user email does have access, can you please tell us how you retrieved your refresh token? Thanks, Matt Google Ads API Team Matt Google Ads API Team ref:_00D1U1174p._5004Q2QFE1V:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@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 "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/Hu1pT0R1L8F900Pcrqh3PYR4ixub8UAyfHVg%40sfdc.net.
Error : 403 Request had insufficient authentication scopes
Hello, I'm new to using Google Ads API, I'm trying to configure to be able to access reports via Google Ads API in Python. - I use the same Gmail Account for Google Account Manager - I have created a google cloud platform account with the same google ads account - I have got the developer_token, client_id, client_secret and refresh_token which I have stored in my .Yaml file. - then I tried to access the API with the aim of getting account information with the sample code provided here https://developers.google.com/google-ads/api/docs/samples/get-account-information -after that I get an error response like the following: grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.PERMISSION_DENIED details = "Request had insufficient authentication scopes." debug_error_string = "{"created":"@1635229473.19000","description":"Error received from peer ipv4:142.251.10.95:443","file":"src/core/lib/surface/call.cc"," file_line":1070,"grpc_message":"Request had insufficient authentication scopes.","grpc_status":7}" > The above exception was the direct cause of the following exception: Traceback (most recent call last): File "Test_API.py", line 64, in main(googleads_client, args.customer_id) File "Test_API.py", line 32, in main customer = customer_service.get_customer(resource_name=resource_name) File "C:\Users\Juan\miniconda3\envs\quick_p1\lib\site-packages\google\ads\googleads\v8\services\services\customer_service\client.py", line 434, in get_customer response = rpc( File "C:\Users\Juan\miniconda3\envs\quick_p1\lib\site-packages\google\api_core\gapic_v1\method.py", line 142, in __call__ return wrapped_func(*args, **kwargs) File "C:\Users\Juan\miniconda3\envs\quick_p1\lib\site-packages\google\api_core\grpc_helpers.py", line 68, in error_remapped_callable raise exceptions.from_grpc_error(exc) from exc google.api_core.exceptions.PermissionDenied: 403 Request had insufficient authentication scopes. What causes "403 Request had insufficient authentication scopes." ? how to i fixed? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@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 "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/a9afbe23-d7b2-4179-8c2a-84ed00c3acb6n%40googlegroups.com.