<!-- 1. Once, in your page's <head>. Loads asynchronously, -->
<!-- so your content doesn't wait for it. -->
<script async src="https://sdk.zurla.com/v1/zurla.js"
data-zurla-publisher="ZRL-000000"></script>
<!-- 2. In your page body, exactly where the ad should appear -->
<!-- Native: the SDK sizes it from your approved template; -->
<!-- the space is held -->
<div data-zurla-slot="home-feed-2" data-zurla-format="native"
style="min-height:320px"></div>
<!-- Banner: either size can win; space for the taller -->
<!-- one is held so nothing jumps -->
<div data-zurla-slot="sidebar"
data-zurla-format="banner"
data-zurla-sizes="300x250,300x600"
style="min-height:600px"></div>
<!-- Phones, optional: data-zurla-sizes="320x50,320x100" -->
<!-- data-zurla-sticky="bottom" -->
// Illustrative: the Zurla adapter is coming to Prebid.js and
// Prebid Server; bidder code and params are placeholders.
// Already run Prebid? Add just the marked { bidder: 'zurla' }
// lines to your ad units; the rest shows a typical setup.
var pbjs = pbjs || {};
pbjs.que = pbjs.que || [];
var adUnits = [{
code: 'sidebar',
mediaTypes: { banner: { sizes: [[300, 250], [300, 600]] } },
bids: [{ bidder: 'zurla', params: { publisherId: 'ZRL-000000' } }]
}, {
code: 'home-feed-2',
mediaTypes: { native: { ortb: { assets: [
{ id: 1, required: 1, title: { len: 90 } },
{ id: 2, required: 1, img: { type: 3, wmin: 600, hmin: 314 } },
{ id: 3, required: 1, data: { type: 1 } } // advertiser name
] } } },
bids: [{ bidder: 'zurla', params: { publisherId: 'ZRL-000000' } }]
}];
pbjs.que.push(function () {
pbjs.setConfig({
// needs the consentManagementTcf and consentManagementGpp modules in your Prebid build
consentManagement: { // consent tool wait times (placeholders)
gdpr: { cmpApi: 'iab', timeout: 3000 }, // IAB TCF v2.3
gpp: { cmpApi: 'iab', timeout: 3000 } // GPP, including US states
}
});
pbjs.addAdUnits(adUnits);
pbjs.requestBids({
bidsBackHandler: function () { /* send bids to your ad server, as your Prebid setup does today */ }
});
});
# https://pellbrook.example/ads.txt
# Paste the exact line from your Zurla account. The ID below is illustrative.
zurla.com, ZRL-000000, DIRECT
The line, field by field
zurla.comZurla’s domain
,
ZRL-000000Your account ID
,
DIRECTA direct relationship
./ · unchanged