(private) new Campaigns()
Methods
get(campaignIds)
Gets details of campaigns with specified IDs.
Parameters:
Name | Type | Description |
---|---|---|
campaignIds |
number | Array.<number> | ID of campaign or array with campaign IDs. |
list(restrictionFilter) → {Object}
Lists campaigns in the account.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
restrictionFilter |
Object | Filters. Properties
|
Returns:
List of campaigns.
- Type
- Object
listPredefinedRegions() → {Object}
List of predefined regions.
Returns:
List of predefined regions.
- Type
- Object
listSearchServices() → {Object}
List of search services.
Returns:
List of search services.
- Type
- Object
stats(campaignIds, params) → {Object}
Gets statistis for campaigns with specified IDs.
Parameters:
Name | Type | Description |
---|---|---|
campaignIds |
number | Array.<number> | ID of campaign or array with campaign IDs. |
params |
Object | Parameters for the statistics report. |
Returns:
Campaign statistics.
- Type
- Object