Function: advertisement
Result: the list of elements
Banner ads
Access level: admin
- id — Id
- name — Name
- selectclients — Client segment
- project — Provider
- weight — Weight
- state — Status
Edit properties of the selected ad
Function: advertisement.edit
Access level: admin
The function is simultaneously used to view object's parameters, to change an object, and create new one.
View object's parameters:
- Parameters:
- elid — unique identifier (id element of advertisement function)
- Result: object parameters list
Create an object:
- Parameters:
- sok — the parameter must not be empty, generally "ok".
- additional query parameters ...
- Result: successful operation or error message
Change an object:
- Parameters:
- sok — the parameter must not be empty, generally "ok".
- elid — unique identifier (id element of advertisement function)
- additional query parameters ...
- Result: successful operation or error message
The list object's parameters or additional query parameters (see above):
- name — Name. Enter a name for this payment method
- project — Provider. The ad will be displayed only to clients of the selected provider
- language — Language. The ad will be displayed only to users with this interface language. If no languages are selected, the ad will be shown to all clients
- weight — Weight. Weight determines how often this banner will be shown
- url — Banner address . Enter the banner URL
- selectclients — Client segment. Only selected clients will see this promotion
Delete
Function: advertisement.delete
Delete
Access level: admin
Parameters:
- elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of advertisement function.
Result: successful operation or error message
Suspend
Function: advertisement.suspend
Suspend
Access level: admin
Parameters:
- elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of advertisement function.
Result: successful operation or error message
Resume
Function: advertisement.resume
Resume
Access level: admin
Parameters:
- elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of advertisement function.
Result: successful operation or error message