PERMISSION_DENIED when sending Google Ads API conversion adjustment

64 views
Skip to first unread message

Alex Ershov

unread,
Nov 5, 2024, 7:19:33 PM11/5/24
to Google Ads API and AdWords API Forum
Hello!
We have multiple Google Ads Account.
Conversions are send through GTM with order id.
Conversion actions are set on manager account level.

When I'm sending the following payload with specifying the conversion_action_id that I got from Google Ads UI (ctId=X) and manager account ID, I get PERMISSION_DENIED

When I'm sending with the Google Ads Customer ID, I'm getting NO_CONVERSION_ACTION_FOUND

{
  "conversion_action": "customers/ACCOUNT_ID/conversionActions/CONVERSION_ID",
  "adjustment_type": 2,
  "order_id": "CORRECT_ORDER_ID",
  "adjustment_date_time": "2024-11-04 22:18:00+00:00"
}

Could you please let me know what ACCOUNT_ID should be used, when sending conversion adjustments for accounts, where conversion actions are set on a manager account level?

Alex Ershov

unread,
Nov 5, 2024, 8:03:34 PM11/5/24
to Google Ads API and AdWords API Forum
To be more specific, I've read the following in the URL

Please let me know if this is the solution and I should get access/refresh tokens for Manager account email and always specify it in "customer_id" payload

> Only the account that manages conversion actions is able to upload adjustments. Use the conversion tracking setup instructions to determine which account is managing conversions for your Google Ads account.
>Attempting to upload an adjustment using a different account results in a NO_CONVERSION_ACTION_FOUND error. This error also occurs if the conversion action of the adjustment is not enabled.

Alex Ershov

unread,
Nov 5, 2024, 8:30:25 PM11/5/24
to Google Ads API and AdWords API Forum
Example of the response
Method: /google.ads.googleads.v18.services.ConversionAdjustmentUploadService/UploadConversionAdjustments, RequestId: 1XtAM7jpFy7wz8RK7KRrNA, IsFault: True, FaultMessage: 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

Alex Ershov

unread,
Nov 6, 2024, 12:00:06 PM11/6/24
to Google Ads API and AdWords API Forum
The issue has been resolved
Creating separate OAuth2 credentials and authorizing from manager account helped.
Also, when specifying the customerId in payload, manager account Id was needed.


Google Ads API Forum Advisor

unread,
Nov 6, 2024, 1:56:13 PM11/6/24
to adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

Glad to hear that the issue has been resolved. If you have any more queries, please feel free to get back to us.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGiWD:ref" (ADR-00274609)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages