https://icareus-cache.secure2.footprint.net/hbbtv/libs/adverts/SuiteAdsLib2.8.min.js
| Parameter |
Info |
Type |
Values/Format |
|---|---|---|---|
| organizationId |
Can be queried from Icareus or can also be seen in the admin UI under Channels > Select a Channel > Value of organization ID |
Number |
|
| applicationId |
It is the ID of the HbbTV Broadband Launcher type application instance that is relevant to a particular campaign. |
Number |
|
| deviceId |
Some device ID for the HbbTV Device |
String/Text |
|
| channelName |
Precise name of the channel as is visible on the TV |
String/Text |
|
| serverType |
Type of the Icareus Suite server used |
Number |
0 = Beta, 1 = Production |
| broadcastObjectId |
ID attribute of the video/broadcast type HTML object (if exists) |
String/Text |
|
| customId |
Any external or custom ID to reference third party elements. e.g. ID of various regions |
String/Text |
"001", "012" etc. supported for now |
| debug |
If want to enable or disable debug logs |
Boolean |
|
| applicationTypeId |
Application typeId from suite |
Boolean |
|
| parentEventId |
If of parent event if any |
Boolean |
|
| sendExternalReports |
Whether to send reports to external sources (implemented per customer/requirement) |
Boolean |
|
| interactionKey |
Which color key to use for interacting with the ad(s) |
String |
BLUE,YELLOW |
| keyReserveCallback |
A callback function to call when/if a key is reserved by the Ads Library |
Function |
|
| suiteChannelId |
A valid linear channel ID from Icareus Suite Account |
Number |
|
| audienceEnabled |
Whether to report audience data or not |
Boolean |
|
| channelStartReportCallback |
Function to call when channel_start is reported |
Function. For use with Icareus Suite launcher only |
|
| addressableEnabled |
Whether to report addressabletv (advertising) data or not |
Boolean |
|
| adFormDeviceTracker |
Whether to use device tracking from Adform |
Boolean. Set to false if unsure |
|
| channelCookieName |
Name of channel tracking cookie |
String. Digita Only |
|
| gaEnabled |
Enable Google Analytics |
Boolean. For use with Icareus Suite launcher only |
|
| channelCookieName |
Name of channel tracking cookie |
String. For use with Icareus Suite launcher only |
|
The keyReserveCallback will be called as keyReserveCallback(true/false, key_code_of_key), and example can be seen below:
// In the host (code that includes the Ads JS)
var keyReserveCallback = function(reserved, keyCode) {
if
(reserved) {
// The key with code keyCode is now reserved by adlibrary, manage local flags etc. as necessary
}
};
SuiteAdsLib.init(.........., keyReserveCallback);
|
https://suitecache.icareus.com/hbbtv/libs/test/SuiteAdsLib2.10.js
|
Parameter
|
Info
|
Type
|
Values/Format
|
|
destroyBroadcastObject
|
Whether or not to destroy/re-create the broadcastObject before adding the streamEventListener to it.
Defaults to false if omitted.
|
Boolean
|
|