mutateAdGroupAds error : OPERATION_NOT_PERMITTED_FOR_CONTEXT

54 views
Skip to first unread message

sun zhujian

unread,
Jun 3, 2024, 1:48:42 AM6/3/24
to Google Ads API and AdWords API Forum
errors {
  error_code {
    context_error: OPERATION_NOT_PERMITTED_FOR_CONTEXT
  }
  message: "The operation is not allowed for the given context."
  trigger {
    string_value: "SEARCH"
  }
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
  }
}
request_id: "t19TJ7lDtxqMACaU2PGahA"



Google Ads API Forum Advisor

unread,
Jun 3, 2024, 8:18:11 AM6/3/24
to adwor...@googlegroups.com
Hi,

Thank you for contacting the Google Ads API support team.

I understand that you are getting OPERATION_NOT_PERMITTED_FOR_CONTEXT error, to assist you further please provide us with complete API request and response logs with request-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, .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 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.!5004Q02tJAUO:ref" (ADR-00237677)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages