"This customer does not have an import conversion action that matches the conversion action provided., at conversions[0].conversion_action"
In attachment I share the snippet of code.
In the method "upload" there is the first parameter "mcc_id" with which I have developer token
The second parameter is "customer_id" with which I have to upload conversion
For clarify I share also the hierarchy in Google Manager Ads
In the code use mcc_id to upload conversion while I use customer_id to get click_conversion and click_action. Is that correct ?
My question is if to solve that error I have to upload conversion using the account master MCC(So I have to activate another developer token) or is better to use the conversion action inherited by agency MCC ?
|
||||||
Hi Andrea,
Thank you for reaching out. I'm a colleague of Ernie. This issue is nothing related to the developer token. You encountered the USER_PERMISSION_DENIED error as you are using the OAuth2 credentials generated from the child account to make API calls against the parent account. You could fix it by generating a set of OAuth2 credentials with email user from parent account and also set the login-customer-id to the parent account id.
Thanks and regards,
Xiaoming, Google Ads API Team
|
||||||
Hi Andrea,
Thank you for reaching out. This error indicates that the conversation action that you were uploading the clicks to does not exist in your account. You would need to make sure that the conversation action in your API call matches with conversion action in the account that you are making calls against.
Thanks and regards,
Xiaoming, Google Ads API Team
Hi Andrea,
Thank you for reaching out. Could you please share the complete request and response logs along with the code you used and the screenshots showing that the conversion action name in the API call matches with that in the UI via the Reply privately to the author option?
Thanks and regards,
Xiaoming, Google Ads API Team