Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Real-Time Catalog Instructions 

Rotating Ad Unit

parameter: _m_site_publisher_id=PUBLISHER_SUBID. Replace PUBLISHER_SUBID with sub id.

Example

Code Block
<!--/*OpenAxe Product AdUnit v4.1.2


  * The backup image section of this tag has been generated for use on a
  * non-SSL page. If this tag is to be placed on an SSL page, change the
  *   'http://display.provenpixel.com/...'
  * to
  *   'https://display.provenpixel.com/...'
  *
  * This noscript section of this tag only shows image banners. There
  * is no width or height in these banners, so if you want these tags to
  * allocate space for the ad before it shows, you will need to add this
  * information to the <img> tag.
  *
  * If you do not want to deal with the intricities of the noscript
  * section, delete the tag (from <noscript>... to </noscript>). On
  * average, the noscript tag is called from less than 1% of internet
  * users.
  */-->

<div id="ra-b8505382"></div>
<script>
(function(u, uS, p, t){
'use strict';
var pxU = (window.location.protocol === 'https:') ? uS + p : u + p;
var el = document.createElement(t);
el.src = pxU;
document.body.append(el);
})('http://display.provenpixel.com/rau.php', 'https://display.provenpixel.com/rau.php', '?zoneid=7218&cb=INSERT_RANDOM_NUMBER_HERE&format=300x250&unitkey=b8505382&_m_site_publisher_id=PUBLISHER_SUBID'+'&referrer=' + encodeURIComponent(document.referrer) + '&loc=' + encodeURIComponent(window.location), 'scr'+'ipt');
</script><noscript><a href='https://lg.provenpixel.com/ck.php?n=a6d6689d&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='https://display.provenpixel.com/avw.php?zoneid=7218&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a6d6689d' border='0' alt='' /></a></noscript>

Advertiser API

Paramter: `subId=PUBLISHER_SUBID` . Replace PUBLISHER_SUBID with sub id.

Example:

Code Block
languagebash
curl -X GET "https://app.sourceknowledge.com/api/partner/advertisers?from=2020-01-01&to=2020-04-01&subId=PUBLISHER_SUBID" -H "accept: application/json"

It is strongly advised to always url encode the parameter. 
Note: Not supported for short urls

Ad Unit

Parameter: data-sub-id="PUBLISHER_SUBID”. Replace PUBLISHER_SUBID with sub id.

Example:

Code Block
languagehtml
<div class="px-adunit"
     style="width: 728px; height: 90px;"
     data-banner-id="BANNER_ID"
     data-zone-id="ZONE_ID"
     data-store-id="STORE_ID"
     data-click-tag="%%TTD_CLK%%"
     data-domain="%%TTD_SITE%%"
     data-format="728x90"
     data-sub-id="PUBLISHER_SUBID"
     data-processed="false">
 </div>
<script async src="https://feeds.provenpixel.com/assets/js/adunit.js"></script>

...