I want to remove the audience from the ad group but get an error. I don't know how to fix it, can someone tell me where the error is.
Here is my code:
const operation = adGroup
.videoTargeting()
.newAudienceBuilder()
.withAudienceId(audience.audience_id)
.withAudienceType(audience.adGroupCriterion.type)
.exclude();
if (!operation.isSuccessful()) {
console.warn(
`Failed to exclude audience ${audience.adGroupCriterion.displayName} from ad group ${
audience.adGroup.name}. ` +
`Errors: ${operation.getErrors().join(', ')}'`
);
}

This is the error I get:
Errors: The field attempted to be mutated is immutable. ({"errorCode":{"fieldError":"IMMUTABLE_FIELD"},"message":"The field attempted to be mutated is immutable.","location":{"fieldPathElements":[{"fieldName":"mutate_operations" ,"index":0},{"fieldName":"ad_group_criterion_operation"},{"fieldName":"create"},{"fieldName":"negative"}]}})