The line item delivery allows to serve E-Planning SSP ads through a line item configured in Ad Manager. This is used in two scenarios:
AMP sites (Accelerated Mobile Pages) cannot execute an external Javascript code. In order to fulfill implementation, you must create a line item in Ad Manager to serve the ad as described in the AMP sites doc.
E-Planning Header Bidder ads can be delivered though a line item in Ad Manager. This way, the ads will only be displayed if they meet the requirements for this line item to be delivered, permitting to manage specific priorities within Ad Manager. This is how it all works in this modality:
Follow the steps below to implement a line item:
In order to create a key-value in Ad Manager, click on Inventory and then on Key-values.
Click on New key.
Enter the value EPL_HB in the fields Name (1) and Display Name (2). Select the option Users will enter targeting values when creating line items or verifying the inventory (3). Then click on Save (4) to apply the changes.
In order to create a line item in Ad Manager, click on Delivery (1) and then select Orders (2). Next, click on New order (3).
Complete the General settings and click on Ad Line Item
Click on Select Display Ad
Within Line item type, select Price priority
Within Expected creatives, add all sizes.
On Additional settings, turn on Same advertiser exception
On Delivery Settings, in Start time select Immediately (1), in End time select Unlimited (2), within Limit select None (3) and in Rate enter the value 500 (4).
On Adjust Delivery, within Deliver Impressions (1) select As fast as possible and Within Display creatives (2) select As many as possible.
On add targeting, within the targeting criteria, select Custom targeting(1) and then the key EPL_HB (2). Next, enter the values eat*, slot* (3).
Save the new order, select the Creatives tab (1), and click on Add creative (2).
Select Third-party.
On settings, select 1x1 on Target adunt size (1) and Within Code type (2) select Standard. Next, paste the HB CALLBACK TAG (described below the picture) in the code area (3). Finaly, uncheck Serve Into a Safeframe (4) and save
If the field Render in SafeFrame is checked, then E-Planning SSP will not monetize and generate blank impressions. |
This is the HB CALLBACK TAG to be implement
<script type="text/javascript"> (function(c){ function fs(e,s,u) {Object.keys(s).forEach(function(i){(u?e[u]:e)[i]=s[i]}); return e}; function mki(p, e, s) {return p.appendChild(fs(fs(document.createElement("iframe"), e, "style"),{scrolling:"no",src:s}))}; function m(p) {return (new RegExp(["Xg==","IFxTKw=="].map(atob).join(p))).test(c)}; if(m("slot")) top.hbepl.deferedRender(c); if(m("eat")) mki(document.body, {position:"absolute", top:"0px", left:"0px", width:"100%", height:"100%",margin:"0px",border:"none"}, decodeURIComponent(c.substring(4))); })("%%PATTERN:EPL_HB%%"); </script> |
To end, In the Lineitem creative association settings, check Override settings and select all sizes on Size overrides