Error ON UpdateCampaign API for performance max

35 views
Skip to first unread message

Moideen Shihab Vaisyar Kandi

unread,
Oct 21, 2024, 8:33:51 AM10/21/24
to Google Ads API and AdWords API Forum
Hi,

I am receiving following while updating the status pf Performance Max campaign.

Status(StatusCode="InvalidArgument", Detail="Request contains an invalid argument.", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1729511937.913000000","description":"Error received from peer ipv4:172.217.19.234:443","file":"..\..\..\src\core\lib\surface\call.cc","file_line":953,"grpc_message":"Request contains an invalid argument.","grpc_status":3}")
Failure: { "errors": [ { "errorCode": { "contextError": "OPERATION_NOT_PERMITTED_FOR_CONTEXT" }, "message": "The operation is not allowed for the given context.", "trigger": { "stringValue": "UBERVERSAL" }, "location": { "fieldPathElements": [ { "fieldName": "operations", "index": 0 }, { "fieldName": "update" }, { "fieldName": "network_settings" }, { "fieldName": "target_search_network" } ] } } ], "requestId": "Nk0vP7lUIqMlZ4fFbkBJ5Q" }
Request ID: Nk0vP7lUIqMlZ4fFbkBJ5Q

Thanks in advance.

Google Ads API Forum Advisor

unread,
Oct 21, 2024, 2:00:13 PM10/21/24
to moidee...@gmail.com, adwor...@googlegroups.com
Hi,

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

Based on the provided information, I understand that you are encountering an "OPERATION_NOT_PERMITTED_FOR_CONTEXT" error while updating the status Performance Max campaign. 

I understand you have provided the error logs but kindly note that error logs are not sufficient to investigate the issue so please provide us complete API logs (requestresponserequest-id and request header) generated at your end.

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.NetPHPPythonRuby or Perl to enable logging at your end. You can enable logging via the curl command by using the -i flag for REST interface requests.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGfZn:ref" (ADR-00272402)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages