Sklik API

Keywords

keywords.negative.check

Check keywords attributes before updating a keyword or creating a new one.
You can not change name or matchType of an existing keyword (you can remove this keyword and create a new one).
Therefore if keyword definition in keywords array contains id - it cannot contain name or matchType.

Parameters

struct user {
string session

Session (as retrieved from client.loginByToken())

int userId

(optional) Managed user ID

}
array keywords (
struct {
long id

(optional) Keyword ID, that will be updated (excludes: name, matchType)

int groupId

(optional) Group ID, where the keyword will be created (have to be set name and matchType fields)

string name

(optional) Keyword

string matchType

(optional) Keyword match type:

  • negativeBroad: Broad match; query must contain all words from keyword, in any order (default)
  • 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 {
int status

Status code

string statusMessage

Status code description

string session

Refreshed session

array diagnostics (

(optional) Various diagnostics(warnings, errors, other information)

struct {
...
}
)
}

Response status codes:

List of all possible response status codes:

Diagnostics:

List of all possible diagnostics:

Copyright © 1996-2024

www.seznam.cz Help Contact