Banners

SklikApi. Banners

(private) new Banners()

Methods

get(restrictionFilter) → {Object}

Gets details of specified banners.

Parameters:
Name Type Description
restrictionFilter Object

Filter with banner IDs.

Properties
Name Type Description
bannerIds number | Array.<number>

ID of banner or array of banner IDs.

See:
Returns:

Banner details.

Type
Object

list(restrictionFilter, displayOptionsopt) → {Object}

Gets the list of banners in the account.

Parameters:
Name Type Attributes Description
restrictionFilter Object

Filter (array of group IDs etc.).

displayOptions Object <optional>

Defines what information will be returned for each banner in the list.

See:
Returns:

List of banners.

Type
Object