keywords.negative.remove
Remove group negative keywords.
Negative keywords are matched and hard-deleted by their name and matchType within the group.
Parameters
| struct |
user { |
|
| string |
session |
Session (as retrieved from client.loginByToken())
|
| int |
userId |
(optional) Managed user ID
|
|
} |
|
|
| int |
groupId |
Id of the group the negative keywords belong to
|
| array |
keywords ( |
|
| struct |
{ |
|
| string |
matchType |
Keyword match type:
-
negativeBroad:
Broad match; query must contain all words from keyword, in any order
-
negativePhrase:
Phrase match (`"keyword"`); keyword must match query with words in correct order
-
negativeExact:
Exact match (`[keyword]`); keyword must match exactly entire query
|
|
} |
|
|
|
) |
|
|
Response
| struct |
{ |
|
| string |
statusMessage |
Status code description
|
| string |
session |
Refreshed session
|
| array |
diagnostics ( |
(optional) Various diagnostics(warnings, errors, other information)
|
|
|
) |
|
|
|
} |
|
|
Response status codes:
List of all possible response status codes:
200: OK
206: Partially OK
301: User is serviced
400: Bad arguments
401: Invalid session
403: Access Denied
404: Not found
406: Bad values of attributes
413: Too many items requested.
429: Too many requests. Has to wait.
500: Server Error.
409: Conflict
Diagnostics:
List of all possible diagnostics:
entity_not_found
floating_campaign_not_allowed
invalid_negative_keyword_name
keyword_duplicate
keyword_name_forbidden_chars
keyword_name_missing
keyword_name_too_long
keyword_name_with_too_many_words
no_access_to_entity
not_allowed_for_campaign_type
user_access_denied