Sklik API

Keywords

keywords.set

Adds new nagative and/or positive keywords to group.

If particular keyword from keywords array currently exists in the group:

If cpc is not passed in the keyword attributes, group's default will be used.

Parameters

struct user {
string session Session (as retrieved from client.login())
int userId (optional) Managed user ID
}
int groupId Id of the group to which the keywords will be set or created
array keywords (
struct {
string name Keyword
string matchType Keyword match type:
  • broad: Broad match; query must contain all words from keyword, in any order (default)
  • phrase: Phrase match ("keyword"); keyword must match query with words in appropriate order
  • exact: Exact match ([keyword]); keyword must match exactly entire query
  • negativeBroad: Negative broad match (-keyword); query must not contain words from this keyword
  • negativePhrase: Negative phrase match (-"keyword"); query must not contain keyword words in appropriate order
  • negativeExact: Negative exact match (-[keyword]); query must not match this keyword exactly
int cpc (optional)(can be null) Keyword max cost per click (in halers), or use nil for the group default
string url (optional)(can be null) Target URL (or nil to set the no target URL, which is default)
}
)
bool removeOthers (optional) If set to True, remove all keywords (both negative and positive) from the group, that are not

Response

struct {
int status Status code
string statusMessage Status code description
string session Refreshed session
array keywordIds ( List of affected keyword IDs.
int
)
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-2018

www.seznam.cz   Help   Contact