Freewheel Ad Manager Plugin
Freewheel is a global advertising technology company that provides solutions for television and premium video content. The Freewheel offers Ad Manager platform to help publishers and broadcasters manage and monetize their digital advertising inventory.
Attribute | Type | Required | Description |
---|---|---|---|
enabled | boolean | Yes | Enable the plugin (Defaults to false if no value is given.) |
networkId | string | No | Network Id |
serverUrl | string | No | Server Url |
profileId | string | No | Profile Id |
siteSectionId | string | No | Site Section Id |
videoAssetId | string | No | Video Asset Id |
adSlots | Array | No | Positions for the ad slots |
adSlots.customId | string | No | Custom id for the ad slots |
adSlots.adUnit | "preroll" | "midroll" | "postroll" | No | Ad unit for the ad slots |
adSlots.timePosition | number | No | Time position for the ad slots |
adSlots.slotProfile | string | No | Slot profile for the ad slots |
adSlots.cuepointSequence | number | No | Cuepoint sequence for the ad slots |
adSlots.maxDuration | number | No | Max duration for the ad slots |
adSlots.minDuration | number | No | Min duration for the ad slots |
adSlots.acceptContentType | string | No | Accept content type for the ad slots |
adSlots.signalId | string | No | Signal id for the ad slots |
adSlots.maxAds | number | No | Max ads for the ad slots |
keyValueMap | {[key: string]: string} | No | Key value map to be passed to the Freewheel SDK |
parameters | Array<{name: string, value: any, level: any}> | No | Parameters to be passed to the Freewheel SDK |
const config = {
ads: {
clientSide: {
provider: "freewheel",
freewheel: {
enabled: true;
networkId?: "YOUR_NETWORK_ID";
serverUrl?: "YOUR_SERVER_URL";
profileId?: "YOUR_PROFILE_ID";
siteSectionId?: "YOUR_SITE_SECTION_ID";
videoAssetId?: "YOUR_VIDEO_ASSET_ID";
adSlots?: {
customId: string;
adUnit: "preroll" | "midroll" | "postroll";
timePosition: number;
slotProfile?: string;
cuepointSequence?: number;
maxDuration?: number;
minDuration?: number;
acceptContentType?: string;
signalId?: string;
maxAds?: number;
}[];
keyValueMap?: {
[key: string]: string;
};
parameters?: {
name?: string;
value?: any;
level?: any;
}[];
};
}
}
}