TheSizmek Ad Suite (SAS) AdKit API is a JavaScript suite that enables Workspace developers to create complex ads with almost no HTML/ JavaScript code. It contains many creative functionalities such as components, Dynamic Creative capabilities, and the ability to easily create responsive ads.
The AdKit JavaScript library is part of the SAS Workspace suite that includes the following configuration files.
config.js: The main Creative AdKit configuration file that controls ad behavior, playback, and functionality.
index.html: The ad’s main creative file and initialization code. Contains a script tag that injects and loads AdKit and Client (EB) scripts.

The AdKit setup requires that you add the Creative AdKit declaration to the index.html
file. This action automatically updates the index.html
with dynamic AdKit scripts when the ad is served.
-
Copy the following script tag to the
index.html:
<script type="text/javascript" src="http://ds.serving-sys.com/BurstingScript/adKit/adkit.js"> </script>
Important
Important: AdKit replaces the SAS HTML EB Workspace support. The Creative AdKit declaration replaces the standard EBLoader declaration. This action automatically updates the index.html
with dynamic AdKit scripts when the ad is served.
Note
Note: Ads running on secure HTTPS servers should use:
<script type="text/javascript" src="https://secure-ds.serving-sys.com/BurstingScript/adKit/adkit.js"></script>
Important
Important: To prevent issues caused by a 3rd party's methods declaration, any 3rd party libraries should be loaded before the AdKit script.
You are required to wrap your code inside a callback function that is provided to the onReady method. This confirms that the AdKit was properly initialized and all its API functionality is available. For more information, see AdKit: onReady Event.
The AdKit configuration is saved in a config.js
file, and must be placed in the workspace.
For more information, see AdKit Configuration.
Click a link to see the complete list of fields and a sample JSON for each item.
Clickthrough Method: Configures default and custom click-through interactions.
Custom Interaction Method: Reports a user action using custom interaction.
Panel Expansion/Collapse Methods and Events: Configures and handles expanding and collapsing of ad panels.
Components: Add rich and complex capabilities to your HTML5 ads.
Event Registration Methods: Handles HTML and ad events.
Selection Methods: Selects ad objects.
Smart Versioning/Catalog Ads (Dynamic Creative): Configures the HTML5 ad Dynamic Creative schema using dynamic data types and variables.
In-Stream VPAID: Configures and controls VPAID capabilities.
Reporting: Reports interactions.
Comments