Hi, I am trying to make a request to the Google Ads API. I am using the REST APIs and not the SDKs.
The requests that I am facing issues with are - - Updating Campaign Budget: I seem to be getting the following error { "error": { "code": 403, "message": "The caller does not have permission", "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "authorizationError": "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" } ], "requestId": "*******************" } ] } } When I'm making several other post requests, I am able to make those calls without any errors but only this particular call is giving 'Permission Denied' issue. I have referred the following link to structure the body of the request and get the url https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.campaignBudgets - Updating AdGroup Bid: I am getting the existing adGroupBidModifiers using the query SELECT campaign.id, ad_group.id, ad_group_bid_modifier.bid_modifier, ad_group_bid_modifier.criterion_id FROM ad_group_bid_modifier; Now, using the 'criterionId' returned, I am making the call to mutate the adgroupbidmodifier but getting the following error { "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "mutateError": "RESOURCE_NOT_FOUND" }, "message": "Resource was not found.", "trigger": { "int64Value": "*****" }, "location": { "fieldPathElements": [ { "fieldName": "operations", "index": 0 } ] } } ], "requestId": "*******************" } ] } } Now I am not able to understand what I am doing wrong here. I have referred the following link to structure the body of the request and get the url https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.adGroupBidModifiers Hope someone can help me out here. Please let me know if you need to have a look at the body and url of the requests. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/590d4de0-b2dc-4a38-9703-972bb296db86n%40googlegroups.com.