event
Edit banner events.
Request format
https://adfox.yandex.com/api/v1
? object=banner
& action=modify
& actionObject=event
& objectID=<integer>
& [event*Name=<string>]
& [event*HitURL=<string>]
& [events*Limit=<integer>]
& [events*LimitToday=<integer>]
& [events*LimitHour=<integer>]
& [actionObjectID=<integer>]
|
ID объекта, над которым производится действие. |
|
Event name, where An entry can contain Russian and Latin letters, numbers, and any special characters. |
|
Specify the click URL for calling events, where |
|
The maximum number of event calls after which banner impressions are limited, where Acceptable values: |
|
The maximum number of event calls per day after which banner impressions are limited, where Acceptable values: |
|
The maximum number of event calls per hour, after which banner impressions are limited, where Acceptable values: |
|
Event number from 1 to 30. Specify if you need to edit just one event. |
* Required
Response format
<response>
<status>
<code>{integer}</code>
</status>
</response>
Response parameters
|
Request processing status. For the key, see Error handling. |
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=banner&action=modify&actionObject=event&objectID=234532&event2Name=userAction
Response:
<response> <status> <code>0</code> </status> </response>
Other actions with the object
See more actions with the banner
object:
- Get a list of banners.
- Add a banner.
- Edit a banner.
- Get summary information on targeting at the banner level.
- Get information on banner placement.
- Edit banner placement.
- Get statistics on campaigns/banners/placements for the day.
- Target a banner by frequency.
- Target a banner by geography.
- Target a banner by keywords.
- Target a banner by gender, age, or income.
- Target a banner by user characteristics.
- Target a banner by time.
Event number from 1 to 30.
Specify if you need to edit just one event.
Required
ID of the object that the action is performed on.
Event name, where *
in the parameter name is the event number from 1 to 30.
An entry can contain Russian and Latin letters, numbers, and any special characters.
Specify the click URL for calling events, where *
in the parameter name is the event number from 1 to 30.
The maximum number of event calls after which banner impressions are limited, where *
in the parameter name is the event number from 1 to 30.
Acceptable values: Integer values from 1 to 2,147,483,647
.
The maximum number of event calls per day after which banner impressions are limited, where *
in the parameter name is the event number from 1 to 30.
Acceptable values: Integer values from 1 to 2,147,483,647
.
The maximum number of event calls per hour, after which banner impressions are limited, where *
in the parameter name is the event number from 1 to 30.
Acceptable values: Integer values from 1 to 2,147,483,647
.