Content-Driven Native Header Bidding

Native ads blend seamlessly into pages. Content-Driven Native advertising takes a step further by matching ads with page content. As a result, your pages display relevant ads blending into content.

AdRelevantis SSP provides Content-Driven Native ads for publishers. With AdRelevantis Bidder Adapter, you get native ads that match with content of your pages.

To use AdRelevantis Bidder Adapter, add in your page head the following code.

<script async src="//www.adrelevantis.com/js/dev/prebid.js"></script>
<script src="//www.adrelevantis.com/js/contentdriventag.js"></script>
<script>
  var PREBID_TIMEOUT = 5000;
  var FAILSAFE_TIMEOUT = 6000;

  var adUnits = [{
    code: 'div_1',
    sizes: [
      [360, 360]
    ],
    mediaTypes: {
      native: {
        title: {
          required: true
        },
        image: {
          required: true
        },
        sponsoredBy: {
          required: true
        }
      }
    },
    bids: [{
      bidder: 'adrelevantis',
      params: {
        placementId: 13232354,
        allowSmallerSizes: true
      }
    }]
  },
  {
    code: 'div_2',
    sizes: [
      [250, 250]
    ],
    mediaTypes: {
      native: {
        title: {
          required: true
        },
        image: {
          required: true
        },
        sponsoredBy: {
          required: true
        }
      }
    },
    bids: [{
      bidder: 'adrelevantis',
      params: {
        placementId: 13232354,
        allowSmallerSizes: true,
        cpm: 0.50
      }
    }]
  },
  {
    code: 'div_3',
    sizes: [
      [1, 1]
    ],
    mediaTypes: {
      native: {
        title: {
          required: true
        },
        body: {
          required: true
        },
        image: {
          required: true
        },
        sponsoredBy: {
        required: true
        },
        icon: {
          required: false
        },
      }
    },
    bids: [{
      bidder: 'adrelevantis',
      params: {
        placementId: 13232354,
        allowSmallerSizes: true
      }
    }]
  }];
  var pbjs = pbjs || {};
  pbjs.que = pbjs.que || [];

</script>

<script>
  var adDivIds = ['div1','div2','div3'];
  document.addEventListener("DOMContentLoaded", function(event){ adrtags("D435C107A8844E15BAA5D4A9B7D94FC5", adUnits, adDivIds); });
</script>

Add the following <div> tags in your page body.

<div id='div1'>
</div><br>
<div id='div2'>
</div><br>
<div id='div3'>
</div>

The above code and tags display 3 Native ads in the page. You can add more or less <div> tags to your page to have more or less Native ads in the page.

When the page is open, the code will analyze the content and bid based on the content. In the end, you will see Native ads that match the page content.

Here are a few examples that show Native ads that match page content:

Just One Grand Slam Win Away From Federer, US Open Champ Nadal Knows His Time Is Limited
Essential French Onion Soup
Ex-Disney Star Laura Marano Is Determined To Prove Herself In The Music Industry
The Impracticality of Hardwood Flooring | Centsational Style

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s