i have a AuthorizationError.SERVICE_ACCESS_DENIED when i try to get report

62 views
Skip to first unread message

teng shet

unread,
May 11, 2021, 1:26:21 AM5/11/21
to AdWords API and Google Ads API Forum
accept-encoding: [gzip]
authorization: REDACTED
user-agent: [unknown (AwApi-Java, AdWords-Axis/4.13.0, Common-Java/4.13.0, Axis/1.4, Java/11, maven, ReportDownloader, ReportQueryBuilder)]
developertoken: REDACTED
clientcustomerid: 4424460272
skipreportheader: false
skipcolumnheader: false
skipreportsummary: false
includezeroimpressions: true

Content:
__rdquery: SELECT CampaignId, Clicks, Cost FROM CAMPAIGN_PERFORMANCE_REPORT WHERE AdvertisingChannelType = "MULTI_CHANNEL" AND AdvertisingChannelSubType = "UNIVERSAL_APP_CAMPAIGN"
__fmt: CSV

[11 5月 2021 13:24:40,065-report_download:INFO:main] HTTP response:
400 Bad Request
cache-control: [private, max-age=0]
content-encoding: [gzip]
content-type: [text/xml]
date: [Tue, 11 May 2021 05:24:39 GMT]
expires: [Tue, 11 May 2021 05:24:39 GMT]
transfer-encoding: [chunked]
alt-svc: [h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"]
server: [GSE]
x-content-type-options: [nosniff]
x-frame-options: [SAMEORIGIN]
content-security-policy: [frame-ancestors 'self']
x-xss-protection: [1; mode=block]

Content:
REDACTED REPORT DATA
Report was not downloaded due to a DetailedReportDownloadResponseException with errorText '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><reportDownloadError><ApiError><type>AuthorizationError.SERVICE_ACCESS_DENIED</type><trigger></trigger><fieldPath></fieldPath></ApiError></reportDownloadError>', trigger '' and field path ''

Google Ads API Forum Advisor Prod

unread,
May 11, 2021, 3:58:27 AM5/11/21
to shete...@gmail.com, adwor...@googlegroups.com
Hi,

I can see that you've already raised this concern to another forum post and my colleague has already provided the suggestion on how to address it. Allow to re-iterate the provided suggestion on my response and you can find it below:

"Moving foward, the SERVICE_ACCESS_DENIED error indicates that the developer token you are using may have been approved for a different product or API. Since it appears that you are trying to generate an AdWords API report, you may confirm this with the Compliance Team, via this contact form, if your developer token was indeed approved for the AdWords API or for a different API."

Let me know if you have questions with this suggestion.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2H9v6N:ref
Message has been deleted

teng shet

unread,
May 11, 2021, 4:56:26 AM5/11/21
to AdWords API and Google Ads API Forum
Hi,

thanks for you help,i can't understand what's wrong with my developer token and i  have reset this for hours ago,and i don't have anther product or api.

Google Ads API Forum Advisor Prod

unread,
May 11, 2021, 11:50:16 AM5/11/21
to shete...@gmail.com, adwor...@googlegroups.com
Hello,

Please reply privately your manager account Id where your developer token is located so I can further investigate.

Regards,
Anthony

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q2H9v6N:ref
Reply all
Reply to author
Forward
0 new messages