Ad Server Configuration

Document created by pubmatic-archivist on Mar 27, 2017Last modified by catherine.racette on Aug 23, 2017
Version 4Show Document
  • View in full screen mode

Trafficking Wrapper Line Items

This step is required so the ad server, based on actual bid price, can allocate impressions to the winning partner. These bids are passed using key-value pairs added to the ad server tags dynamically, as explained in the previous sections.

Note: The preferred option is for the PubMatic solution engineering team to support the order creation in DFP. You must provide trafficker-level access. PubMatic's order insertion tool can be used to insert the relevant order into DFP and create granular line items.

 

Step 1: Create a new order in DFP for a Wrapper as PubMatic / PubMatic-Wrapper as the advertiser and add the relevant details.

 

Step 2: Set the price and priority of the line items.  

 

Step 3: Set targeting on the pwtbst value as 1 from the. In addition to pwtbst, you will also need to set targeting on pwtecp.  For more information, please refer to the Best Practices to Create Line Items section below.

 

Step 4: Add the Wrapper creative provided by PubMatic to the line item you created.  

<script type='text/javascript'>
var i = 0, w = window.self;
while{w!== window.top && !(w.PWT && w.PWT.displayCreative) && i,10){
w = window.self.parent; i++;
}
trye{ w.PWT.displayCreative(document, '%%PATTERN:pwtsid%%');} catch(e){}
</script></script>

  

Best Practices for Creating Line Items

Note: If DFP is the ad server,ensure the line items do NOT have Google safe frame setting enabled. After June 27th, 2016, line items are automatically created in DFP with safe frame enabled by default. This setting will cause the creative to appear as blank. This requires that users manually uncheck "safe frame," regardless of whether it was manually or automatically enabled.

To control monetization through Wrapper Solution at a granular level, you may:

  • Create multiple line items in the ad server for each ad unit/ad size/CPM range/geo.
  • Use pwtecp as the targeting attribute.
  • Place the line items at different priorities based on the desired configuration.

While creating line items at multiple price points, we recommend you create line items with more granular pricing where the bid density is high.

 

EXAMPLES:
If 80% of the bids are between $0 to $3, create line items at a $0.1 granularity. For other ranges you can create line items at a coarse granularity.

 

Please see more details below.

 

30 line items between $0-$3 with rate increment of $0.1
LineItem 1 (covers $0-$0.09) Targeting: pwtecp=0.01*,pwtecp=0.02*....,pwtecp=0.09*, rate=$0.05
LineItem 2 (covers $0.10-$0.19) Targeting: pwtecp=0.1*, rate=$0.15
and so on for next 28 line items

 

 

15 Line items between $3-$8 with rate increment of $0.30
LineItem 31 (covers $3.0-$3.29) Targeting: pwtecp=3.0*,pwtecp=3.1*,pwtecp=3.2*, rate=$3.15
LineItem 32 (covers $3.30-$3.59) Targeting: pwtecp=3.3*,pwtecp=3.4*,pwtecp=3.5*, rate=$3.45
and so on for next 13 line items

 

12 Line items between $9-$20 with rate increment of $1.0
LineItem 46 (covers $9.0-$9.99) Targeting: pwtecp=9.*, rate=$9.5
LineItem 47 (covers $10.0-$10.99) Targeting: pwtecp=10.*, rate=$3.45
and so on for next 10 line items

 

A final high- priority line item for very high bids
Line Item 58 (Covers $20 and above) Targeting : pwtecp=20*,pwtecp=21*,pwtecp=22*...... pwtecp=50*) rate= $21

 

Attachments

    Outcomes