Contact support

Sitebar

Overview

The "Sitebar" creative template displays a sticky ad on the right side of the page.

Most common sizes

Most common RTB sizes of this ad format: 300x600, 120x600.

Demo

Sitebar demo

Compliancy

Criterion Compliancy
Creative rotation

Friendly iFrame

Multi-instance

Responsive web design

RTB

Safe frame

Viewability counting (MRC standard)

Creatives 

This section applies for the direct creative template only.

Supported file formats:

  • image
  • creative scripts
  • HTML5

To ensure the best quality, image creatives are only scaled down but never scaled up. HTML5 creatives and creative scripts always take the full available space (iframe 100% x 100%). The correct aspect ratio must be ensured directly in the creative itself. 

Creative template parameters

Name Description Default value
Close button Specifies if a close button appears. false
Content id or class

If the "JSON object or URL to file with data"  option above is not used, enter the ID or the class of the element wrapping the website content so that the Sitebar can take the right position. Example: "#myId" or ".myClass"

⚠️In special kind of integration instead of page id or class the tagId might be provided (the sticky option may not work in that scenario).

 
Creative feedback Shows creative feedback button. true
Is sticky? If set to true, the ad is positioned relative to the browser window. true
JSON object or url to file with data

To serve the insertion on multiple websites, add a JSON in this format:

[
  {
   "url":"www.subdomain.domain.com",
   "id":"myContentId",
   "css":"#sas_sitebarDiv_[sas_insertionId]{left:0px;}",
  },
  {
   "url":"www.another-website.net",
   "class":"myContentClass",
   "offsetTop":150,
   "offsetLeft":10
  }
]

Each url represents a website where the Sitebar ad will be displayed. For the url value, make sure you use the location.hostname (including www, if applicable) of the given website.

To determine the location.hostname:

  • open the website
  • go to the developer tools of your browser
  • type location.hostname in the console.

Additionally, make sure you specify the id or class that wraps the website’s content. Alternatively, you can also paste a URL pointing to a remote JSON file, which must comply with all the requirements stated above. ⚠️This field must at least contain: []

⚠️In special kind of integration instead of page id or class the tagId might be provided (the sticky option may not work in that scenario).

css represents a custom CSS that will be added to the page elements. You can use these macros to define the CSS selector: [sas_insertionId], [sas_formatId], [sas_tagId]. These macros will be replaced by real values in the template script. For example: { "css": "#sas_sitebarDiv_[sas_insertionId]:{left:0px}" }

[]
Open in same window Choose if the ad should open in the same window or not. The option works only with image creatives. false
Render in Safeframe Specifies if ad creative will be rendered inside the safeframe. false
Z-index The z-index specifies the stack order of the ad. An element with greater stack order is always in front of an element with a lower stack order. 1000
RTB options (only for the RTB template)
Acceptable sizes for RTB Acceptable sizes as a comma-separated list of w*h pairs (no spaces). Example : 250*300,320*250  
Activate ad refresh Toggle to activate automatic ad refresh functionality (5 refreshes max) false
Duration (seconds) Specifies for what duration must the ad be visible (provided the tab is active for the entire duration specified) to be considered for ad refresh. 30
Render as banner In some particular cases use this option to render this ad as a classic banner. false
Viewability threshold (px %) Specifies what minimum percentage of creative must be visible to be considered for ad refresh. 50

Features

Click management for HTML5 creatives

The Sitebar ad format is able to identify the click destination for HTML5 creatives by using:

  • the click counting library; for more information, see Manage click counting
  • the clicktag variables passed in the source of the iframe; Important: HTML5 creatives must have the click destination recognition implemented:

Safeframe

If the creative is a third party creative script or if the RTB version of the creative template is used, the creative can be delivered inside a Safeframe. To enable this option, enable the Safeframe checkbox in the General settings section of the insertion.

Release notes

  • 05-03-2025 - Update for action pixels generation
  • 02-09-2024 - Added close button
  • 01-07-2024 - Added support for DSA module. Update Feedback module for Direct and RTB versions
  • 13-05-2024 - Added parameter Render as banner
  • 15-02-2024 - Allow 10s, 15s values in the "duration" parameter in ad refresh
  • 24-01-2024 - Removed support for obsolete macros
  • 30-10-2023 - Added ad refresh section to template parameters for RTB version
  • 17-10-2023 - Added feedback module to the RTB Sitebar
  • 18-07-2023 - Added new RTB macros
  • 04-05-2023 - Added parameter Render in Safeframe
  • 20-04-2023 - Added parameter Open in same window
  • 16-03-2023 - Official release of the creative template