|
Name |
Value |
Requirement |
Info |
|
action |
addUpdateCampaign |
Mandatory |
|
|
organizationId |
Number |
Mandatory |
Icareus Suite Organization Identifier |
|
token |
String |
Mandatory |
Secret key of the Organization |
|
userId |
Number |
Mandatory |
Icareus Suite User Identifier (Must be a Affiliate Administrator or Ismaccount Administrator)
|
|
type |
String |
Mandatory |
The type of the Campaign being created / edited. One of: videoswap, switchin, activead, instreamvideo, invideooverlay |
|
data |
String |
Optional |
Encoded JSON Object containing the Campaign data. |
|
Key |
Value |
Requirement |
Info |
|
name |
String |
Mandatory |
Name of the Campaign |
|
cpmPrice |
Number |
Mandatory |
A number greater than or equal to 0 |
|
VASTProfileId |
Number |
Mandatory |
Icareus Suite VAST Profile Identifier |
|
channels |
Array |
Optional |
An array of Icareus Suite Linear Channel Identifiers. Video Swap Campaign can only have 1 Linear Channel identifier specified. |
|
safetyMargin |
Number |
Optional |
Safety Margin size. Default: 0 |
|
dataSource |
Number |
Optional |
Campaign Data Source. Either 1 (Digita Playlist) or 4 (CCMS Playlist). Default: 1 |
|
targeting |
Object |
Optional |
Campaign Targeting. See: Targeting Object |
|
deviceTypeBlacklist |
Array |
Optional |
An array of Icareus Suite Device Type Identifiers. Only provide either deviceTypeBlacklist or deviceTypeWhitelist, not both. |
|
deviceTypeWhitelist |
Array |
Optional |
An array of Icareus Suite Device Type Identifiers. Only provide either deviceTypeBlacklist or deviceTypeWhitelist, not both. |
|
adBreaks |
Array |
Optional |
|
|
Key |
Value |
Requirement |
Info |
|
name |
String |
Mandatory |
Name of the Campaign. |
|
bannerVisibleTime |
Number |
Mandatory |
Visible time in seconds. |
|
bannerInteractionTime |
Number |
Mandatory |
Interaction time in seconds. |
|
cpmPrice |
Number |
Mandatory |
A number greater than or equal to 0. |
|
channels |
Array |
Optional |
An array of Icareus Suite Linear Channel Identifiers. |
|
customInputData |
Object |
Optional |
Custom Channel Input Data Object
|
|
maxShowsPerCampaign |
Number |
Optional |
Maximum Campaign Impressions. |
|
mediaIds |
Array |
Optional |
An array of mediaId's |
|
displayTimes |
String |
Optional |
Comma separated list of timestamps. (milliseconds elapsed since the UNIX epoch (Jan 1, 1970)). |
|
adPlatform |
Number |
Optional |
Ad Platform. Either: 1 (Icareus Suite) or 2 (AdForm). Default: 1 |
|
adTagUrl |
String |
Optional |
Ad Tag URL. Required when Ad Platform is 2 (AdForm). |
|
adFormCreativeType |
Number |
Optional |
AdForm Creative Type. See: Valid Creative Types. Default: 1 (Only relevant when Ad Platform is 2 (AdForm) |
|
creativeId |
Number |
Optional |
Icareus Suite Creative Identifier. Default: 0 (Only relevant when Ad Platform is 1 (Icareus Suite) |
|
dataSource |
Number |
Optional |
Campaign Data Source. Either 2 (Pebble TV Playlist) or 3 (User/Custom Input). Default: 2 |
|
targeting |
Object |
Optional |
Campaign Targeting. See: Targeting Object |
|
reconcileKeys
|
Array |
Optional |
Reconcile Keys Array.
|
|
deviceTypeBlacklist |
Array |
Optional |
An array of Icareus Suite Device Type Identifiers. Only provide either deviceTypeBlacklist or deviceTypeWhitelist, not both.
|
|
deviceTypeWhitelist |
Array |
Optional |
An array of Icareus Suite Device Type Identifiers. Only provide either deviceTypeBlacklist or deviceTypeWhitelist, not both.
|
|
Key |
Value |
Requirement |
Info |
|
name |
String |
Mandatory |
Name of the Campaign. |
|
bannerVisibleTime |
Number |
Mandatory |
Visible time in seconds.
|
|
bannerInteractionTime
|
Number
|
Mandatory
|
Interaction time in seconds.
|
|
cpmPrice
|
Number
|
Mandatory
|
A number greater than or equal to 0.
|
|
channels |
Array |
Optional |
An array of Icareus Suite Linear Channel Identifiers. |
|
customInputData |
Object |
Optional |
Custom Channel Input Data Object |
|
adPlatform |
Number |
Optional |
Ad Platform. Either: 1 (Icareus Suite) or 2 (AdForm). Default: 1
|
|
dataSource |
Number |
Optional |
Campaign Data Source. Either 2 (Pebble TV Playlist) or 3 (User/Custom Input). Default: 2
|
|
mediaIds |
Array |
Optional |
An array of mediaId's (Only relevant when Ad Platform is 1 (Icareus Suite) |
|
creativeId |
Number |
Optional |
Icareus Suite Creative Identifier. Default: 0 (Only relevant when Ad Platform is 1 (Icareus Suite)
|
|
minShowTimePerDevice |
Number |
Optional |
Minimum time between ad impressions on device (minutes). (Only relevant when Ad Platform is 1 (Icareus Suite)
|
|
maxShowsPerDay |
Number |
Optional |
Maximum daily impressions per device. (Only relevant when Ad Platform is 1 (Icareus Suite)
|
|
maxWeeklyShowsPerDevice |
Number |
Optional |
Maximum weekly impressions per device. (Only relevant when Ad Platform is 1 (Icareus Suite)
|
|
maxShowsPerCampaign |
Number |
Optional |
Maximum Campaign Impressions. (Only relevant when Ad Platform is 1 (Icareus Suite)
|
|
campaignChannelStatusService |
String |
Optional |
Channel Status Service URL. (Only if status service should be used). |
|
campaignAdvertChannelStatus |
String |
Optional |
Status on which Advert can be shown (Only if campaignChannelStatusService is provided). Either "COMMERCIAL" or "PROGRAM" |
|
targeting |
Object |
Optional |
See: Targeting Object |
|
reconcileKeys |
Array |
Optional |
Reconcile Keys Array. |
|
adTagUrl
|
String |
Optional (Mandatory if adPlatform = 2) |
Ad Tag URL. Required when Ad Platform is 2 (AdForm).
|
|
adFormCreativeType
|
Number |
Optional |
AdForm Creative Type. See: Valid Creative Types. Default: 1 (Only relevant when Ad Platform is 2 (AdForm)
|
|
Key |
Value |
Requirement |
Info |
|
name |
String |
Mandatory |
Name of the Campaign.
|
|
adProfileId |
Number |
Mandatory |
Icareus Suite Ad Profile Identifier. (Must be of type: PREROLL or MIDROLL) |
|
cpmPrice |
Number |
Mandatory |
A number greater than or equal to 0.
|
|
channels |
Array |
Optional |
An array of Icareus Suite Linear Channel Identifiers. |
|
Key |
Value |
Requirement |
Info |
|
name |
String |
Mandatory |
Name of the Campaign.
|
|
adProfileId |
Number |
Mandatory |
Icareus Suite Ad Profile Identifier. (Must be of type: OVERLAY)
|
|
cpmPrice |
Number |
Mandatory |
A number greater than or equal to 0.
|
|
channels |
Arrary |
Optional |
An array of Icareus Suite Linear Channel Identifiers.
|
|
Key |
Value |
Requirement |
Info |
|
params |
Array |
Mandatory |
An array containing Param Objects |
|
Key |
Value |
Requirement |
Info |
|
name |
String |
Mandatory |
Expected value: "regionId" |
|
value |
String |
Mandatory |
The regionId as a String. i.e. "004" |
|
Name |
Value |
Requirement |
Info |
|
action |
addUpdateCampaignSchedule |
Mandatory |
|
|
organizationId |
Number |
Mandatory |
Icareus Suite Organization Identifier. |
|
token |
String |
Mandatory |
Secret key of the Organization. |
|
userId |
Number |
Mandatory |
Icareus Suite User Identifier. (Must be a Affiliate Administrator or Ismaccount Administrator)
|
|
campaignId |
Number |
Mandatory |
Icareus Suite Campaign Identifier |
|
scheduleId |
Number |
Optional |
Icareus Suite Schedule Identiefer. If provided, an existing Schedule will be updated. |
|
data |
String |
Optional |
Encoded JSON Object containing the Schedule data.
|
|
Key |
Value |
Requirement |
Info |
|
name |
String |
Mandatory |
Name of the Schedule. |
|
startDate |
String/Date |
Mandatory |
The start date of the Schedule. Format: "yyyy-MM-dd'T'HH:mm" i.e. "2019-11-25T12:00" |
|
duration
|
String
|
Mandatory |
Duration for the Schedule. Format: "HH:mm" i.e. "08:00" - duration of 8 hours. MAX. "24:00" |
|
timeZone |
Number |
Optional |
UTC offset for startDate, positive or negative integer. i.e. 1 for UTC+1 or -1 for UTC-1. |
|
repeatType |
String |
Optional |
Repeat type for the schedule. One of: "never", "daily", "weekly", "monthly", "yearly". Default: "never" |
|
endDate |
String/Date |
Optional |
The end date of the Schedule. Format: "yyyy-MM-dd" i.e. "2019-12-24". Default value is 1 year from startDate. |
|
dailyRepeatOptions |
Object |
Mandatory IF repeatType = daily |
See: dailyRepeatOptions Object |
|
weeklyRepeatOptions |
Object |
Mandatory IF repeatType = weekly |
See: weeklyRepeatOptions Object |
|
monthlyRepeatOptions |
Object |
Mandatory IF repeatType = monthly |
See: monthlyRepeatOptions Object |
|
yearlyRepeatOptions |
Object |
Mandatory IF repeatType = yearly |
See: yearlyRepeatOptions Object |
|
Key |
Value |
Requirement |
Info |
|
repeatType |
Number |
Optional |
Daily repeat type. Either: 0 (Recur every X day(s)), 1 (Every workday). Default: 0 |
|
repeatDays |
Number |
Mandatory IF repeatType = 0 |
Value for X in 'Recur every X days'. Default: 1. |
|
Key |
Value |
Requirement |
Info |
|
repeatWeeks |
Number |
Optional |
Value for X in 'Repeat every X weeks'. |
|
weekDays |
Array |
Optional |
Array of weekdays represented as integers the schedule should be active on. 1 (Sunday) - 7 (Saturday). i.e. [ 1, 7 ] for a Schedule that is active on Saturday and Sunday. Default: Empty array. |
|
Key |
Value |
Requirement |
Info |
|
repeatType |
Number |
Optional |
Monthly repeat type. Either: 0 (Day X of every N months) or 1 (The Xth <WEEKDAY> of every N months). Default: 0 |
|
repeatDayOfMonth |
Number |
Optional |
X in 'Day X of every N months'. Default: 1. Only relevant when repeatType = 0. |
|
repeatDayPosition |
Number |
Optional |
X in 'The Xth <WEEKDAY> of every N months'. One of: -1 (Last), 1 (First), 2 (Second), 3 (Third), 4 (Fourth). Default: 1. Only relevant when repeatType = 1. |
|
day |
Number |
Optional |
<WEEKDAY> in 'The Xth <WEEKDAY> of every N months'. Weekday represented as an integer. 1 (Sunday) - 7 (Monday). Default: 1. Only relevant when repeatType = 1 |
|
repeatMonth
|
Number
|
Optional
|
N in 'Day X of every N months' or 'The Xth <WEEKDAY> of every N months'. Default: 1. |
|
Key |
Value |
Requirement |
Info |
|
repeatType |
Number |
Optional |
Yearly repeat type. Either: 0 (Every <MONTH> <DATE> of every X years) or 1 (The Nth <WEEKDAY> of <MONTH> of every X years). Default: 0 |
|
date |
Number |
Optional |
<DATE> in 'Every <MONTH> <DATE> of every X years). Value between 1 and 31. Default: 1. Only relevant when repeatType = 0 |
|
repeatDayPosition |
Number |
Optional |
N in 'The Nth <WEEKDAY> of <MONTH> of every X years'. One of: -1 (Last), 1 (First), 2 (Second), 3 (Third), 4 (Fourth). Default: 1. Only relevant when repeatType = 1 |
|
day |
Number |
Optional |
<WEEKDAY> in 'The Nth <WEEKDAY> of <MONTH> of every X years'. Weekday represented as an integer. 1 (Sunday) - 7 (Monday). Default: 1. Only relevant when repeatType = 1
|
|
month |
Number |
Optionial |
<MONTH> in 'Every <MONTH> <DATE> of every X years' or 'The Nth <WEEKDAY> of <MONTH> of every X years'. Default: 1 |
|
repeatYear |
Number |
Optional |
X in 'Every <MONTH> <DATE> of every X years' or 'The Nth <WEEKDAY> of <MONTH> of every X years'. Default: 1
|
|
Name |
Value |
Requirement |
Info |
|
action |
addUpdateCampaignDailyCaps |
Mandatory |
|
|
organizationId |
Number |
Mandatory |
Icareus Suite Organization Identifier. |
|
token |
String |
Mandatory |
Secret key of the Organization. |
|
userId |
Number |
Mandatory |
Icareus Suite User Identifier. (Must be a Affiliate Administrator or Ismaccount Administrator)
|
|
campaignId |
Number |
Mandatory |
Icareus Suite Campaign Identifier |
|
data |
String |
Optional |
Encoded JSON Array containing the Daily Caps data.
|
|
Key |
Value |
Requirement |
Info |
|
day |
String/Date |
Mandatory |
The day of the. Format: "yyyy-MM-dd" i.e. "2023-12-08" |
|
cap
|
Number
|
Mandatory |
The cap number for that day, e.g. 1000 |
|
Name |
Value |
Requirement |
Info |
|
action |
getActiveCampaigns |
Mandatory |
|
|
organizationId |
Number |
Mandatory |
Icareus Suite Organization Identifier. |
|
campaignType |
String |
Optional |
If this parameter (a comma separated list) is present in the request, only campaigns of of those types are returned in the response. Valid campaign types include: switchIn, inStreamVideo, inVideoOverlay, activead and videoswap. |