keyword.match_type cannot be modified by ‘'UPDATE' operation

69 views
Skip to first unread message

ran liu

unread,
May 13, 2024, 2:41:56 AM5/13/24
to Google Ads API and AdWords API Forum
com.google.ads.googleads.v16.errors.GoogleAdsException: errors {
  error_code {
    request_error: IMMUTABLE_FIELD
  }
  message: "Field \'keyword.match_type\' cannot be modified by \'UPDATE\' operation."
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
    field_path_elements {
      field_name: "update"
    }
    field_path_elements {
      field_name: "keyword"
    }
    field_path_elements {
      field_name: "match_type"
    }
  }
}
request_id: "U779YtuuD_p-CLJcT0gmKw"

Google Ads API Forum Advisor

unread,
May 14, 2024, 1:33:40 PM5/14/24
to liu....@gmail.com, adwor...@googlegroups.com
Hi,

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

From the provided logs, I understand you are getting an "IMMUTABLE_FIELD" error. Which means the field cannot be modified due to it being immutable. However, you may be able to modify it through the 'create' operation, but not the 'update' operation. Also, I could see you have provided partial logs which is not sufficient for us to investigate further. Kindly provide us with the complete API logs (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.!5004Q02tIx5d:ref" (ADR-00234690)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages