Hi,
Thank you for reaching out to the Google Ads API support team.
By reviewing your query, I understand that you are getting the '
OPERATION_NOT_PERMITTED_FOR_CONTEXT' error when trying to create a commission campaign via the API. This error indicates that you tried to perform an action that's not allowed in the current situation. I would recommend you follow the document
Create a Campaign Budget to get more information.
Upon checking the logs that you have provided, I would like to inform you that the logs do not contain the request method in them. In order to debug your issue further, kindly provide us with the complete API logs (
request and
response with
request-id and
request header) generated at your end to better assist you on this request.
If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides
Java,
.Net,
PHP,
Python,
Ruby or
Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.
You can share the requested details via
Reply privately to the author option or a
direct private reply to this email.
This message is in relation to case "ref:!00D1U01174p.!5004Q02s0CE1:ref" (ADR-00228504)
Thanks,
 |
Google Ads API Team |
