Hello Team,
I’m trying to add keyword targeting for a Search campaign via the API.
-
Negative keywords can be successfully added using CampaignCriteria.
-
However, when I try to add a positive keyword (campaign_criterion.negative = False), I receive the following error:
________________________________________________________________________
----------------------------------------------------------------------------------------------------------------------
errors {
error_code {
criterion_error: FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING
}
message: "The field is not allowed to be set when the negative field is set to true, for example, we don't allow bids in negative ad group or campaign criteria."
location {
field_path_elements {
field_name: "operations"
index: 0
}
field_path_elements {
field_name: "create"
}
field_path_elements {
field_name: "keyword"
}
}
}
________________________________________________________________________
----------------------------------------------------------------------------------------------------------------------
Could you please clarify the correct method or resource to use for adding positive keyword targeting to a Search campaign?
Thanks