Sklik API

Keywords

keywords.create

Create new groups keywords.

Parameters

struct user {
string session Session (as retrieved from client.login())
int userId (optional) Managed user ID
}
array keywords (
struct {
string name Keyword
int groupId Id of the group in which will be the keyword created
string matchType (optional) Keyword match type: [default: broad]
  • 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 correct order
  • exact: Exact match ([keyword]); keyword must match exactly entire query
int cpc (optional) (can be null) Keyword max cost per click (in halers) or nil for using the group default
string url (optional) (can be null) Target URL (or nil for no target URL, which is default)
string status (optional) Keyword status: [default: active]
  • active: Active (default)
  • suspend: Suspended
}
)

Response

struct {
int status Status code
string statusMessage Status code description
string session Refreshed session
array positiveKeywordIds ( New positive keyword ids
long
)
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