When I try to create a new campaign using Google ads API, I get an error:
developer doesn't have permission to access service
I have authorized the highest authority
Please help me, thank you
Response logļ¼
[2022-02-18T15:28:46.080554+08:00] google-ads.INFO: Request made: Host:
"googleads.googleapis.com", Method:
"/google.ads.googleads.v8.services.CampaignBudgetService/MutateCampaignBudgets",
CustomerId: xxxxxxxxx, RequestId: "ILM4o8TE1b7DOO5jwWOhdQ", IsFault: 0,
FaultMessage: "None"
[2022-02-18T15:28:46.584000+08:00] google-ads.WARNING: Request made: Host:
"googleads.googleapis.com", Method:
"/google.ads.googleads.v8.services.CampaignService/MutateCampaigns",
CustomerId: xxxxxxxxx, RequestId: "VYj-nDqtyl-no9OjXxjVng", IsFault: 1,
FaultMessage: "["Developer doesn't have permission to access service."]"
[2022-02-18T15:28:46.586514+08:00] google-ads.NOTICE: Request
-------
Method Name:
/google.ads.googleads.v8.services.CampaignService/MutateCampaigns
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/7.3.4 gccl\/12.1.0 gapic\/12.1.0
gax\/1.10.0 grpc\/1.38.0RC1 rest\/1.10.0",
"x-goog-request-params": "customer_id=xxxxxxxxx",
"developer-token": "REDACTED",
"login-customer-id": "xxxxxxxxx"
}
Request:
{"customerId":"xxxxxxxxx","operations":[{"create":{"name":"yize_20220217_1","status":"PAUSED","advertisingChannelType":"DISPLAY","campaignBudget":"customers\/xxxxxxxxx\/campaignBudgets\/10388640663","startDate":"20220218","targetCpa":{"targetCpaMicros":"10000"}}}]}
Response
-------
Headers: {
"request-id": "VYj-nDqtyl-no9OjXxjVng",
"date": "Fri, 18 Feb 2022 07:28:46 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":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\""
}
Fault
-------
Status code: 7
Details: The caller does not have permission
Failure:
{"errors":[{"errorCode":{"authorizationError":"SERVICE_ACCESS_DENIED"},"message":"Developer
doesn't have permission to access
service."}],"requestId":"VYj-nDqtyl-no9OjXxjVng"}
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"Google Ads API and AdWords 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/8258efd5-87ce-4835-981c-14e2d072e0c8n%40googlegroups.com.