category
Edit category parameters.
Request format
https://adfox.yandex.com/api/v1
? object=account
& action=modify
& actionObject=category
& actionObjectID=<integer>
& [name=<string>]
& [type=<integer>]
& [timeout=<integer>]
|
Parameter that points to one object with the specified ID. |
|
Category name. An entry can contain Russian and Latin letters, numbers, and any special characters. |
|
Category type. Acceptable values:
|
|
Category activity in days. |
* Required
Response format
<response>
<status>
<code>{integer}</code>
</status>
</response>
Response parameters
|
Request processing status. If the value is |
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=account&action=modify&actionObject=category&actionObjectID=136&name=top
Response:
<response> <status> <code>0</code> </status> </response>
Other actions with the object
See more actions with the category
object:
Category activity in days.
Required
Parameter that points to one object with the specified ID.
Category name. An entry can contain Russian and Latin letters, numbers, and any special characters.
Category type.
Acceptable values:
-
0
: Permanent category. -
1
: Temporary category.
Copied
Copied