As i try to create a campaign budget using my ads manager  it shows a 
error saying caller doesn't have permission. I have tried with clientid & 
clientsecret of the ad account ,developer token of the manager account , 
refresh token generated from client id & client secret of ad account. 


Below is the request & response
MethodName: 
google.ads.googleads.v17.services.CampaignBudgetService/MutateCampaignBudgets
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=2718646939, 
x-goog-api-client=gl-java/1.8.0_391__Oracle-Corporation gccl/32.0.0 
gapic/32.0.0 gax/2.48.1 grpc/1.62.2}
Body: customer_id: "2718646939"
operations {
  create {
    delivery_method: STANDARD
    name: "GoogleadsTest123 Budget #"
    amount_micros: 1000000
  }
}


Response
--------
Headers: 
Metadata(content-type=application/grpc,request-id=dpQRSUgH1tA8JcptkmnunQ,date=Tue,
 
13 Aug 2024 05:39:18 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000)
Body: null
Failure message: errors {
  error_code {
    authorization_error: USER_PERMISSION_DENIED
  }
  message: "User doesn\'t have permission to access customer. Note: If 
you\'re accessing a client customer, the manager\'s customer id must be set 
in the \'login-customer-id\' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid";
}
request_id: "dpQRSUgH1tA8JcptkmnunQ"

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ce6c39ea-30d9-41d8-94eb-b12614e4af54n%40googlegroups.com.
  • Us... rahul krishnan
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to