Hi,
Has this been resolved? I have the same issue and it seems a bit random as I have a campaign in which I upload the same data and no errors came up.
Here is the error:
partial_failure_error {
code: 3
message: "The error code is not in this version., at mutate_operations[0].ad_group_criterion_operation.create.keyword.match_type"
details {
type_url: "
type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure"
value: "\n\300\001\n\003\200\002\001\022&The error code is not in this version.\032\010*\006PHRASE\"Z\022\025\n\021mutate_operations\030\000\022\036\n\034ad_group_criterion_operation\022\010\n\006create\022\t\n\007keyword\022\014\n\nmatch_type*+\n)CriterionError.KEYWORD_MATCH_TYPE_INVALID\022\026GShrECOBszUTj-1nMZgdHQ"
}
}
mutate_operation_responses {
ad_group_criterion_result {
}
}
Here is the info I'm sending to Google Ads API(mutate_request.mutate_operations):
Operations:
[ad_group_criterion_operation {
create {
ad_group: "customers/XXXXXXXXX/adGroups/XXXXXXXXX"
type_: KEYWORD
keyword {
text: "Ford Bronco Sport For Sale"
match_type: PHRASE
}
}
}]
The error says "KEYWORD_MATCH_TYPE_INVALID" but the match type is correct. I tried changing the match type from "PHRASE" (<KeywordMatchType.PHRASE: 3>) to "BROAD"(<KeywordMatchType.BROAD: 4>) and it worked, so it seems the PHRASE match type is not found.
Python library: google.ads.googleads.v17
Version: 24.1.0
Thanks,
Berto