Hello Google Ads API Support Team,

we have a peculiar problem with the API.

We are using an API token we got via an agency (9837879498) to manage an 
account (9845323299) 
for one of their clients (3213552882).
We using the same token for all clients of that agency. Other accounts from 
other clients of theirs work fine.

But for all accounts of one specific client (3213552882) we can only 
execute read operations. 
When we try to write something, we get 

Method Name: 
/google.ads.googleads.v7.services.CampaignBudgetService/MutateCampaignBudgets
Host: googleads.googleapis.com
Headers: {
    "x-goog-api-client": "gl-php\/7.4.21 gapic\/ gax\/1.7.1 grpc\/1.38.0",
    "x-goog-request-params": "customer_id=9845323299",
    "developer-token": "REDACTED",
    "login-customer-id": "9837879498"
}
Request:
{"customerId":"9845323299","operations":[{"create":{"name":"REDACTED","amountMicros":"REDACTED",
"deliveryMethod":"STANDARD","explicitlyShared":false,"referenceCount":"0"}}]}

Response
-------
Headers: {
    "request-id": "H-iJd-LaWtzDLB3ZJlu0Fw",
    "date": "Tue, 19 Apr 2022 15:21:53 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":"ACTION_NOT_PERMITTED"},
"message":"The user does not have permission to perform this action on the 
resource or call a method."}],
"requestId":"H-iJd-LaWtzDLB3ZJlu0Fw"}

When managing accounts of that specific customer via the Ads UI the 
managers of the agency can
change everything, it is not read only. They also tell us that the customer 
in question gave the agency complete
access (read and write) to his accounts.

@Google Ads API support team
Can you find out using the provided info what could be wrong with the 
target account?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7b0400b8-cb2d-4847-9d23-475ddf38355bn%40googlegroups.com.
  • Re... Konstantin Tarassow
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Konstantin Tarassow
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to