Campaign
Campaigns
Search all Campaigns this user has access to
Filter by Campaign Id
Filter by Name
Filter by Tags
A flag indicating whether to treat the tags filter as an exact match
When filtering by multiple Tags, which logical operator should be used? AND|OR
Filter by has layouts
Filter by whether this Campaign is specific to a Layout or User added
Filter by retired
Should we total the duration?
Embed related data such as layouts, permissions, tags and events
Filter by Folder ID
Specifies which field the results are sorted by. Used together with sortDir
Sort direction
successful operation
GET /api/campaign HTTP/1.1
Accept: */*
successful operation
[
{
"campaignId": 1,
"ownerId": 1,
"type": "text",
"campaign": "text",
"isLayoutSpecific": 1,
"numberLayouts": 1,
"totalDuration": 1,
"tags": [
{
"tag": "text",
"tagId": 1,
"value": "text"
}
],
"folderId": 1,
"permissionsFolderId": 1,
"cyclePlaybackEnabled": 1,
"playCount": 1,
"listPlayOrder": "text",
"targetType": "text",
"target": 1,
"startDt": 1,
"endDt": 1,
"plays": 1,
"spend": 1,
"impressions": 1,
"lastPopId": 1,
"ref1": "text",
"ref2": "text",
"ref3": "text",
"ref4": "text",
"ref5": "text"
}
]Add a Campaign
Type of campaign, either list|ad
Name for this Campaign
Folder ID to which this object should be assigned to
An array of layoutIds to assign to this Campaign, in order.
When cycle based playback is enabled only 1 Layout from this Campaign will be played each time it is in a Schedule loop. The same Layout will be shown until the 'Play count' is achieved.
In cycle based playback, how many plays should each Layout have before moving on?
In layout list, how should campaigns in the schedule with the same play order be played?
For ad campaigns, how do we measure the target? plays|budget|imp
For ad campaigns, what is the target count for playback over the entire campaign
successful operation
POST /api/campaign HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 151
"type='text'&name='text'&folderId=1&layoutIds=[1]&cyclePlaybackEnabled=1&playCount=1&listPlayOrder='text'&targetType='text'&target=1"successful operation
{
"campaignId": 1,
"ownerId": 1,
"type": "text",
"campaign": "text",
"isLayoutSpecific": 1,
"numberLayouts": 1,
"totalDuration": 1,
"tags": [
{
"tag": "text",
"tagId": 1,
"value": "text"
}
],
"folderId": 1,
"permissionsFolderId": 1,
"cyclePlaybackEnabled": 1,
"playCount": 1,
"listPlayOrder": "text",
"targetType": "text",
"target": 1,
"startDt": 1,
"endDt": 1,
"plays": 1,
"spend": 1,
"impressions": 1,
"lastPopId": 1,
"ref1": "text",
"ref2": "text",
"ref3": "text",
"ref4": "text",
"ref5": "text"
}Get the Campaign object specified by the provided campaignId
Numeric ID of the Campaign to get
Embed related data such as layouts, permissions, tags and events
successful operation
Class Campaign
The Campaign Id
The userId of the User that owns this Campaign
The type of campaign, either list, ad, playlist or media
The name of the Campaign
A 0|1 flag to indicate whether this is a Layout specific Campaign or not.
The number of Layouts associated with this Campaign
The total duration of the campaign (sum of layout's durations)
The id of the Folder this Campaign belongs to
The id of the Folder responsible for providing permissions for this Campaign
Flag indicating whether this Campaign has cycle based playback enabled
In cycle based playback, how many plays should each Layout have before moving on?
In list campaign types, how should the layouts play out?
For an ad campaign, what's the target type, plays|budget|imp
For an ad campaign, what's the target (expressed in targetType)
For an ad campaign, what's the start date
For an ad campaign, what's the end date
The number of plays achived by this campaign
The amount of spend in cents/pence/etc
The number of impressions achived by this campaign
The latest proof of play ID aggregated into the stats
Reference field 1
Reference field 1
Reference field 1
Reference field 1
Reference field 1
GET /api/campaign/{campaignId} HTTP/1.1
Accept: */*
successful operation
{
"campaignId": 1,
"ownerId": 1,
"type": "text",
"campaign": "text",
"isLayoutSpecific": 1,
"numberLayouts": 1,
"totalDuration": 1,
"tags": [
{
"tag": "text",
"tagId": 1,
"value": "text"
}
],
"folderId": 1,
"permissionsFolderId": 1,
"cyclePlaybackEnabled": 1,
"playCount": 1,
"listPlayOrder": "text",
"targetType": "text",
"target": 1,
"startDt": 1,
"endDt": 1,
"plays": 1,
"spend": 1,
"impressions": 1,
"lastPopId": 1,
"ref1": "text",
"ref2": "text",
"ref3": "text",
"ref4": "text",
"ref5": "text"
}Edit an existing Campaign
The Campaign ID to Edit
Name for this Campaign
Folder ID to which this object should be assigned to
Flag indicating whether to manage layouts or not. Default to no.
An array of layoutIds to assign to this Campaign, in order.
When cycle based playback is enabled only 1 Layout from this Campaign will be played each time it is in a Schedule loop. The same Layout will be shown until the 'Play count' is achieved.
In cycle based playback, how many plays should each Layout have before moving on?
In layout list, how should campaigns in the schedule with the same play order be played?
For ad campaigns, how do we measure the target? plays|budget|imp
For ad campaigns, what is the target count for playback over the entire campaign
For ad campaigns, what is the start date
For ad campaigns, what is the start date
For ad campaigns, which display groups should the campaign be run on?
An optional reference field
An optional reference field
An optional reference field
An optional reference field
An optional reference field
successful operation
Class Campaign
The Campaign Id
The userId of the User that owns this Campaign
The type of campaign, either list, ad, playlist or media
The name of the Campaign
A 0|1 flag to indicate whether this is a Layout specific Campaign or not.
The number of Layouts associated with this Campaign
The total duration of the campaign (sum of layout's durations)
The id of the Folder this Campaign belongs to
The id of the Folder responsible for providing permissions for this Campaign
Flag indicating whether this Campaign has cycle based playback enabled
In cycle based playback, how many plays should each Layout have before moving on?
In list campaign types, how should the layouts play out?
For an ad campaign, what's the target type, plays|budget|imp
For an ad campaign, what's the target (expressed in targetType)
For an ad campaign, what's the start date
For an ad campaign, what's the end date
The number of plays achived by this campaign
The amount of spend in cents/pence/etc
The number of impressions achived by this campaign
The latest proof of play ID aggregated into the stats
Reference field 1
Reference field 1
Reference field 1
Reference field 1
Reference field 1
PUT /api/campaign/{campaignId} HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 321
"name='text'&folderId=1&manageLayouts=1&layoutIds=[1]&cyclePlaybackEnabled=1&playCount=1&listPlayOrder='text'&targetType='text'&target=1&startDt='2026-01-01T00:00:00.000Z'&endDt='2026-01-01T00:00:00.000Z'&displayGroupIds[]=[1]&ref1='text'&ref2='text'&ref3='text'&ref4='text'&ref5='text'"successful operation
{
"campaignId": 1,
"ownerId": 1,
"type": "text",
"campaign": "text",
"isLayoutSpecific": 1,
"numberLayouts": 1,
"totalDuration": 1,
"tags": [
{
"tag": "text",
"tagId": 1,
"value": "text"
}
],
"folderId": 1,
"permissionsFolderId": 1,
"cyclePlaybackEnabled": 1,
"playCount": 1,
"listPlayOrder": "text",
"targetType": "text",
"target": 1,
"startDt": 1,
"endDt": 1,
"plays": 1,
"spend": 1,
"impressions": 1,
"lastPopId": 1,
"ref1": "text",
"ref2": "text",
"ref3": "text",
"ref4": "text",
"ref5": "text"
}Assign a Layout to a Campaign. Please note that as of v3.0.0 this API no longer accepts multiple layoutIds.
The Campaign ID
Layout ID to Assign: Please note that as of v3.0.0 this API no longer accepts multiple layoutIds.
Ad campaigns: restrict this to certain days of the week (iso week)
Ad campaigns: restrict this to a day part
Ad campaigns: restrict this to a geofence
successful operation
No content
POST /api/campaign/layout/assign/{campaignId} HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 65
"layoutId=1&daysOfWeek[]=[1]&dayPartId=1&geoFence='text'"successful operation
No content
Remove a Layout from a Campaign.
The Campaign ID
Layout ID to remove
The display order. Omit to remove all occurences of the layout
successful operation
No content
DELETE /api/campaign/layout/remove/{campaignId} HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 31
"layoutId=1&displayOrder=1"successful operation
No content
Select Folder for Campaign, can also be used with Layout specific Campaign ID
The Campaign ID or Layout specific Campaign ID
Folder ID to which this object should be assigned to
successful operation
Class Campaign
The Campaign Id
The userId of the User that owns this Campaign
The type of campaign, either list, ad, playlist or media
The name of the Campaign
A 0|1 flag to indicate whether this is a Layout specific Campaign or not.
The number of Layouts associated with this Campaign
The total duration of the campaign (sum of layout's durations)
The id of the Folder this Campaign belongs to
The id of the Folder responsible for providing permissions for this Campaign
Flag indicating whether this Campaign has cycle based playback enabled
In cycle based playback, how many plays should each Layout have before moving on?
In list campaign types, how should the layouts play out?
For an ad campaign, what's the target type, plays|budget|imp
For an ad campaign, what's the target (expressed in targetType)
For an ad campaign, what's the start date
For an ad campaign, what's the end date
The number of plays achived by this campaign
The amount of spend in cents/pence/etc
The number of impressions achived by this campaign
The latest proof of play ID aggregated into the stats
Reference field 1
Reference field 1
Reference field 1
Reference field 1
Reference field 1
PUT /api/campaign/{id}/selectfolder HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 14
"folderId=1"successful operation
{
"campaignId": 1,
"ownerId": 1,
"type": "text",
"campaign": "text",
"isLayoutSpecific": 1,
"numberLayouts": 1,
"totalDuration": 1,
"tags": [
{
"tag": "text",
"tagId": 1,
"value": "text"
}
],
"folderId": 1,
"permissionsFolderId": 1,
"cyclePlaybackEnabled": 1,
"playCount": 1,
"listPlayOrder": "text",
"targetType": "text",
"target": 1,
"startDt": 1,
"endDt": 1,
"plays": 1,
"spend": 1,
"impressions": 1,
"lastPopId": 1,
"ref1": "text",
"ref2": "text",
"ref3": "text",
"ref4": "text",
"ref5": "text"
}Last updated
Was this helpful?

