AuthorizationError.SERVICE_ACCESS_DENIED

2021-05-24 Thread teng shet
  i get msg from AdWords API Compliance

Dear Developer, 

Your tool has been updated to reflect intended use. Approved for basic 
access to Google AdWords API. Your tool can now make internal reporting api 
calls.

but also get a AuthorizationError.SERVICE_ACCESS_DENIED err when trying to 
make a call for get a daily report.

and i use cid like this

```

 Credential credential = new OfflineCredentials.Builder()

.forApi(OfflineCredentials.Api.ADWORDS)

.withClientSecrets(GoogleClientId, GoogleClientSecret)

.withRefreshToken(GoogleRefreshToken)

.build()

.generateCredential();

AdWordsSession session = new AdWordsSession.Builder()

.withDeveloperToken(GoogleDeveloperToken)

.withClientCustomerId(s)

.withOAuth2Credential(credential)

.build()

```

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/37a3ae85-8318-4e50-85b0-ed466d8c2942n%40googlegroups.com.


developer token basic access for the adWords Api

2021-05-20 Thread teng shet
Google Ads API Compliance Team tell me that   this application was approved 
for basic access for App analytics and remarketing API on 05/04/2021, and 
than i get back from  Google Ads API Direct Support That  why encountered 
the AuthorizationError.SERVICE_ACCESS_DENIED error when i made calls to the 
AdWords API. This token is only allowed to be used for the API you were 
granted the access.
when i  applying for the Basic access for adWords api ,i get that "Your 
token associated with MCC ID: 923-426-5635 was already approved with App 
Conversion API.

You need to create a separate Manager account and apply for access for the 
Google Ads API through that."
but  don't have another manager account,
how can i reset the access of this developer token ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/022e4ae1-eb7a-4dc6-9813-b036032c9941n%40googlegroups.com.


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

2021-05-11 Thread teng shet
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.

在2021年5月11日星期二 UTC+8 下午3:58:27 写道:

> 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,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2H9v6N: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/2d9729e6-2661-432f-8fdd-092717573920n%40googlegroups.com.


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

2021-05-11 Thread teng shet
Hi,
thsanks for you help,i can't unstand what's worry with my developer token 
and i  have reset this for hours ago,and i don't have anther product or api.

在2021年5月11日星期二 UTC+8 下午3:58:27 写道:

> 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,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2H9v6N: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/c724e12a-42c7-4df6-9855-925192f9681dn%40googlegroups.com.


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

2021-05-10 Thread teng shet
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 'AuthorizationError.SERVICE_ACCESS_DENIED',
 
trigger '' and field path ''

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0f9172fb-3522-4c43-bdc8-0ff24397dfden%40googlegroups.com.


SERVICE_ACCESS_DENIED when trying to call API

2021-05-09 Thread teng shet
[10 5月 2021 10:36:04,309-report_download:WARN:main] Request made: Service: 
reportdownload Method: POST clientCustomerId: 442-446-0272 URL: 
https://adwords.google.com//api/adwords/reportdownload/v201809 Request ID: 
null ResponseTime(ms): null OperationsCount: null IsFault: true 
FaultMessage: com.google.api.ads.adwords.lib.utils.ReportException: 400: 
Bad Request
[10 5月 2021 10:36:04,318-report_download:INFO:main] HTTP request:
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: 442-446-0272
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

[10 5月 2021 10:36:04,318-report_download:INFO:main] HTTP response:
400 Bad Request
cache-control: [private, max-age=0]
content-encoding: [gzip]
content-type: [text/xml]
date: [Mon, 10 May 2021 02:36:01 GMT]
expires: [Mon, 10 May 2021 02:36:01 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 'AuthorizationError.SERVICE_ACCESS_DENIED',
 
trigger '' and field path ''


cid=4424460272[image: 41776E69-672F-4e05-8A01-B45FD7CB13BF.png]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/caa3b40a-d065-4bc7-a216-c93a0f7386cfn%40googlegroups.com.


Re: client customer ID has data but i get nothing

2021-04-27 Thread teng shet
if i use ads api,can i get a report? 

在2021年4月27日星期二 UTC+8 下午3:22:29 写道:

> Hi Teng,
>
> Thank you for the reply.
>
> Upon checking your account, I can see that you have one campaign created 
> here. The type of this campaign is "*App*" while the sub-type is "*App 
> pre-registration*". Unfortunately, the campaign with sub-type "*App 
> pre-registration*" is currently not supported in AdWords API and this the 
> possible reason why you've generated an empty report.
>
> Let me know if you have further questions. Please also follow our blog 
>  as we will post there any 
> updates and new releases about the API.
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2GHT2J: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/d9b1e9a1-1dfb-43f4-b793-4ee71b5396bbn%40googlegroups.com.


Re: client customer ID has data but i get nothing

2021-04-26 Thread teng shet
i change the report type but has nothing change

[27 4月 2021 10:46:30,713-report_download:INFO:main] Request made: Service: 
reportdownload Method: POST clientCustomerId: 207-087-8398 URL: 
https://adwords.google.com//api/adwords/reportdownload/v201809 Request ID: 
null ResponseTime(ms): null OperationsCount: null IsFault: false 
FaultMessage: null
"CAMPAIGN_PERFORMANCE_REPORT (Apr 20, 2021-Apr 26, 2021)"
Campaign Group ID,Campaign ID,Active View viewable impressions
Total, --,0

在2021年4月26日星期一 UTC+8 下午11:09:32 写道:

> Hi Teng,
>
> Thank you for reaching out. The campaign in account 207-087-8398 is the 
> App Campaign. The ADGROUP_PERFORMANCE_REPORT is not one of the available 
> resorts to be queried for App Campaigns in the AdWords API. Please see the 
> list 
> 
>  
> of available reports for App Campaigns in the AdWords API.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>  
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2GHT2J: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/ed0ab4e8-173d-48a3-8c44-82681c68f4c9n%40googlegroups.com.


client customer ID has data but i get nothing

2021-04-25 Thread teng shet
the full request is:
[26 4月 2021 09:51:49,295-report_download:INFO:main] Request made: Service: 
reportdownload Method: POST clientCustomerId: 207-087-8398 URL: 
https://adwords.google.com//api/adwords/reportdownload/v201809 Request ID: 
null ResponseTime(ms): null OperationsCount: null IsFault: false 
FaultMessage: null
ADGROUP_PERFORMANCE_REPORT (All Time)
Campaign ID,Ad group ID,Impressions,Clicks,Cost
Total, --,0,0,0

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/50b34ecb-10d8-4159-a05a-6a950243b6c1n%40googlegroups.com.