-
Notifications
You must be signed in to change notification settings - Fork 1
/
bidding-template-3.html
44 lines (39 loc) · 1.47 KB
/
bidding-template-3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<script> // don't copy this line
/*
These two blocks tell the wrapper and DFP about the inventory on your page
Paste it into the wrapper javascript in the <head> of your page
And update the placement ID with your specific placement
*/
var adUnits = [{
code: 'div-gpt-ad-1486479040361-0',
sizes: [[300, 250]],
bids: [{
bidder: 'audienceNetwork',
params: {
placementId: '<YOUR PLACEMENT_ID e.g. 123_456>', // TODO: your placement ID
tagVersion: '5.5.web',
fullwidth: true, // or native, 300x250, 320x50
}
}]
},];
pbjs.addAdUnits(adUnits);
// Tell DFP about the inventory we have on the page
googletag.cmd.push(function () {
googletag.defineSlot('/1023632/hb_300x250_LIG', [[300, 250]], 'div-gpt-ad-1486479040361-0').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
/*
End of code to paste - don't copy this block!
*/
</script>
</head>
<!--
This block marks the position in the page where the ad is shown.
Paste it into the <body> of the page
-->
<div id='div-gpt-ad-1486479040361-0'>
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1486479040361-0'); });
</script>
</div>