Docs
搜索文档...⌘K

Create Keyword list

仅限 API
POST/v3/management/keyword-lists

Requests to this endpoint are free and do not consume any API units.

查询参数

outputstring

输出格式。

允许的值:jsonphpxml

请求正文

namestringRequired

The name of the keyword list.

locationstringRequired

The location of the keyword list. Specify a country code for one country, or 'all' for all locations. When using 'all', optionally provide 'countries' to restrict the list to selected countries. All locations and selections of multiple countries require Global Mode.

允许的值:allafaldzasadaoaiagaramauatazbs…
countriesarray<string>

Up to 15 country codes to select when location is 'all'. Omit for all locations.

允许的值:adaeafagaialamaoarasatauawazba…
Max:15
Default:[]
keywordsarray<string>

Initial keywords to add. Each may contain at most 255 characters.

Default:[]
accessstring

The access type of the keyword list.

允许的值:privateshared
Default:private
owned_bystring

The email of the keyword list owner. Defaults to the API key's owner.

folder_idinteger

The ID of the folder to assign the keyword list to.

响应

keyword_listobject
accessstring

The access type of the keyword list.

允许的值:privateshared
countriesarray<string>

Up to 15 country codes to select when location is 'all'. Omit for all locations.

folder_idstring or null

The ID of the keyword list's folder, if any.

keyword_countinteger

The number of keywords in the list.

keyword_list_idstring

The ID of the keyword list.

locationstring or null

The location of the keyword list. Specify a country code for one country, or 'all' for all locations. When using 'all', optionally provide 'countries' to restrict the list to selected countries. All locations and selections of multiple countries require Global Mode.

允许的值:allafaldzasadaoaiagaramauatazbs…
namestring

The name of the keyword list.

owned_bystring or null

The email of the keyword list owner, if available.