modify
Edit a banner type.
Request format
https://adfox.yandex.com/api/v1
? object=bannerType
& action=modify
& objectID=<integer>
& [name=<string>]
& [isOn=<integer>]
& [width=<string>]
& [height=<string>]
|
|
ID of the object that the action is performed on. |
|
|
Object name. An entry can contain Russian and Latin letters, numbers, and any special characters. |
|
|
Enable/disable the object. Acceptable values:
|
|
|
Width in pixels. Specified for:
Acceptable values: an integer from |
|
|
Height in pixels. Specified for:
Acceptable values: an integer from |
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=bannerType&action=modify&objectID=543&name=240х400Response:
<response> <status> <code>0</code> </status> </response>
Other actions with the object
See more actions with the bannerType object:
- Add a banner type.
- Get a list of banner types.
- Delete a banner type.
- Add a backup ad for a banner type.
- Get a list of templates.
ID of the object that the action is performed on.
Object name.
An entry can contain Russian and Latin letters, numbers, and any special characters.
Enable/disable the object.
Acceptable values:
0: Disable.1: Enable.
Width in pixels. Specified for:
- The Standard banner type.
- The Nondimensional banner type for system templates.
Acceptable values: an integer from 1 to 2147483647.
Height in pixels. Specified for:
- The Standard banner type.
- The Nondimensional banner type for system templates.
Acceptable values: an integer from 1 to 2147483647.
Required parameter.