Login
Welcome
Login

Integrating Teads formats in header bidding with Prebid

On this page

Overview

Teads Prebid adapter is compliant with prebid v1.0 and above, we recommend using the latest available version.

Three Ad Types are supported:

  • Outstream Video
  • Viewable display
  • Banner

All configuration (demand types, pricing etc..) is done from the Teads platform, only pageId and placementId are required.

The adapter is designed to work on in-article slots (i.e 300x250 on mobile, 728x90 on desktop) and outstream slots where Teads can use its renderer.

Teads Bid Adapter 

The Teads bid adapter is accessible via prebid.org. The integration can be manual (see Teads adapter on Prebid's GitHub) or done via Prebid's download service.

Teads Bid Adapter Configuration

ParameterTypeDescription
placementIdmandatoryXXXXX
pageIdmandatoryYYYYY
{
   bidder: 'teads',
   params: {
       placementId: XXXXX,
       pageId: YYYYY
   }
}

Size Configuration

If you are using a sizeMapping/sizeConfig, please add 1x1 to serve outstream video and viewable display demand. Standard banner ads will return standard IAB sizes.

Ad Slot Selection

Your Teads representative will ask you to fill out the following table:

SiteAd Server Ad Unit codeSlot IDDeviceSize(s)Accepts Videoin-Articleauto-refreshMonthly Avails.




























Your Teads representative will request specific information from you regarding your available ad units/ad slots. Please prepare to share details below that will enable your Teads representative to identify the ad units/ad slots compatible with Teads formats.

Ad Unit Configuration

Per the prebid spec, we expect the adUnitCode to contain the ID of the div where you wish for our renderer to display.

As our outstream renderer needs to serve outside of the ad server iframe to be responsive and comply with the specs of our products, we apply the following:

Keeps the iframe in-view to make sure you still measure viewability on your end:

frameElement.parentElement.setAttribute("style", "width:1px !important; height:1px !important;");

Lets the adSlot being resized by our unit:

window.top.document.getElementById("AdUnitCode").setAttribute("style", "width:100% !important;height:auto!important;");

For that reason, the adUnitCode needs to match div#id. It should be div#adUnitCode.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.