Playwire Banner Advertising unlocks revenue potential for your sites and helps you maximize your earning potential with our cutting-edge header bidding integration. We make the process of adding banner advertising to your site seamless and efficient. Here is a summary of implementation to the steps listed below.


Create Test Page


Playwire Tags in Your Ad Server


Ad Server Implementation


Create Test Page

Please duplicate a common or frequently visited page, for example – the homepage and article layout. Make sure the URL is publicly accessible (i.e. – https://mydomain.com/playwire-test) and provide any log in credentials if applicable. The test pages will help our advertising partners audit the ad experience and will also help Playwire test custom campaigns and ad creatives in future.

Playwire Ad Tags in Your Ad Server

Your Playwire Account Manager will provide you with on-boarding links specific to your account and website.

  1. Make sure to select Third-party as the creative type
  2. HTML Type must only be set to Standard
  3. Serve into a SafeFrame must be unchecked
  4. The Playwire Publisher Team will provide you with the exact code snippets that correspond to ad unit sizes for your site
  5. Line item must limited to serve up to 2 sizes only

Ad Server Implementation (Code to be pasted into Google Ad Manager Creative)

Medium Rectangle 300×250

<div id="dfp-med-rect"></div>
<script type="text/javascript">
function init(){ 
    .catch(('e')=>{console.log('med rect failed', error)});
var tyche = { 
    mode: "tyche", 
    config: "https://config.playwire.com/1023264/v2/websites/71249/banner.json",
    forcePath: '300x250',
    passiveMode: true, onReady: function () { window.init() } 

Serving to your Webpage

Playwire Third Party Tags are flexible and can be used in any Ad Server environment. In this example, we will walk you through the most common use case – using Google Ad Manager as the Ad Server and serving to the page via Google’s Publisher Tag. If you need a refresher on Google Publisher Tag, please refer to the Google Publisher Tag Documentation. In the code and demo below, Google Publisher Tag is serving demo Playwire Third Party Tags code as the ad creative.

On Page Implementation

Standard Googletag <head> scripts
    <!-- Example googletag implementation -->
    <script async='async' src='https://www.googletagservices.com/tag/js/gpt.js'></script>
      var googletag = googletag || {};
      googletag.cmd = googletag.cmd || [];
    googletag.cmd.push(function() {
        googletag.defineSlot('/AccountID/APAdX//Ad_unit_name', [300, 250],
        'div-gpt-ad-XXXXXXXXXXXXX-0').addService( googletag.pubads() );
Standard Googletag <body> scripts to display the units
    <div id="div-gpt-ad-1550229350329-0" style="height:250px; width:300px;">

Demo – Medium Rectange 300×250 Unit being served via Googletag

Send Test Page for Review

The last step in the process before putting Playwire’s Code live on your site, is to send your test pages for review.Once you’ve completed the checklist below, send your test page links to your Playwire Account Manager for approval. Once approved, we will set a launch date to implement on your live site.

Publisher Test Page Checklist

Are the appropriate ads showing up on your site?

Is the old ad code off the site?

Is the test page a publicly accessible URL?

Provide login info and test page URLs to your Playwire Account Manager

  • Was this Support Article Helpful ?
  • yes   no