(private) new Banners()
Methods
get(restrictionFilter) → {Object}
Gets details of specified banners.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
restrictionFilter |
Object | Filter with banner IDs. Properties
|
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. |
Returns:
List of banners.
- Type
- Object