Add Orders, LI and Creatives manually in the Google Ad Manager UI

Full manual is available as the following PDF document:
https://cp.headbidder.net/docs/How-To-Create-LI.pdf?1579790830 as well as below-given article. The following document describes how to create one order with a suitable number of line items separated by partcular increments value. These line items can apply to all ad sizes and require onlyone 1x1 creatve.

0. Step Zero. Create Key Values.

First, download “HB PB Values.txt“ file from your HeadBidder console. It's available in Site Creaton or Edit Dialog.

For new Key go to Inventory > Key-values > New Key

Name – ex: hb_pb

Display Name - ex: hb_pb

Values type — Leave it as is, the first option.

Click Add Value and paste frst 200 lines of values from the fle downloaded in your HeadBidder console.

GAM allows entering one value per line, up to 200 at a tme.  Click Apply. If you have more than 200 price values initally, keep adding values into the key by clicking Add Value > Paste up to 200 lines > Apply, untl all the values are added. Save this Key. Use it in further steps for targetng.

1. Create new ad units (or use existing ad units) for each ad placement on your page.

For a new Ad Unit go to Inventory > Ad Units > Ad Units > New Ad Unit

Enter these fields (all others leave as default):

Code – ex: Header_Bidding_Unit_1_300x250

Name - ex: Header_Bidding_Unit_1_300x250

Size – Fixed size

Enter one or more sizes – ex: 300×250

Target window – _blank

2. Create a new placement (or use an existing placement).

For a new placement go to Inventory > Ad Units > Placements > New Placement

Enter these fields:

Name – ex: Header_Bidding_Placement_1

Assigned Inventory – one for each ad unit on your page

 

Following fields are required:

Name – ex.: Headbidder_Order_1

Advertiser (Choose from existing or create new one) – ex.: Headbidder_Adv_1

Trafficker – your email address (usually, your email is set automatcally here)

Name – ex.: Headbidder_LI_1 – X.XX (X.XX equals the frst value from the list of key_values which you’ve downloaded from HeadBidder console.)

Inventory Sizes (Standard) – from the drop-down select all the ad sizes you will fill on your page. Ex.: 300×250,728×90,160×600,468x60,300x600,120x600,320x50

Type – Price priority

Start Time – Immediately

End Time – Unlimited

Limit – None

Rate – X.XX (startng price for your Line Items, equals the first value from the list of key_values which you’ve downloaded from HeadBidder console.)

Display creatves – As many as possible

Rotate creatves – Evenly

Inventory (Include the placement from Step 2 above) – ex.: Header_Bidding_Placement_1 

Key-values – Select a key “hb_pb” and enter value “X.XX” 

Save this line item.

Go to Delivery > Creatives

Select Add Creatives

Select Advertiser – Headbidder_Adv_1

Select Third Party and enter the required fields: Name – ex.: Header_Bidding_Creatve_1

Code Snippet (Exactly as is, see below. This is new Prebid universal creative which is SafeFrame compatible):

<script src = "https://cdn.jsdelivr.net/npm/prebid-universal-creative@latest/dist/creative.js"></script> <script> var ucTagData = {}; ucTagData.adServerDomain = ""; ucTagData.pubUrl = "%%PATTERN:url%%"; ucTagData.targetingMap = %%PATTERN:TARGETINGMAP%%; ucTagData.hbPb = "%%PATTERN:hb_pb%%"; try { ucTag.renderAd(document, ucTagData); } catch (e) { console.log(e); } </script>

Target ad unit size – 1×1 (allows this creatve to serve on all sizes)

 

Open the Line Item you just created, Select the Creatives tab.

For each size select Use existing creatives, disable filtering by selecting Show All.

Include the 1×1 Creative created above. Click on the Name of the creative once so it appears in the table.

Choose the Settings tab For Size overrides, select all available sizes for the Line Item.

Save the creative.

Open the Line Item you have just created, go to the Creatives Tab.

Select the check box next to your new Creative, select More Actions > Copy Creative.

Repeat these steps until you have enough Creatives to match the number of ad units you will be filling.

Rename the Creatives accordingly.

Go to the Order you created in Step 3. Check the box next to your 1st Line Item and select More Actions, Copy and share Creatives.

You now have two identical Line Items. Select both and copy them in the same manner for 4 Line Items. Etc...

Select all and repeat untl you have the number of Line Items which is equal to the number of hb_pb key values which you’ve downloaded from HeadBidders’ console. You have to have one actve Line Item for each of your hb_pb Key Value. 

From this point forward there is some repetton involved but fortunately GAM allows for changes right from the Dashboard view.

Sort your Line Items by name – the first item in the table should be your first Line Item created.

Click on the Edit icon and change the Name of the 2nd Line Item to your next X.XX increment. ex:  Headbidder_LI_2 – X.XX

Start Time defaults to 12:00 AM on the next day for copied items. If you want to use it right away, click on the Edit icon and change to a date and time in the near future. Change Rate to your next incremental CPM value. Example: If your GAM account currency is USD and you incremental value is USD 0.05, then the frst Line Item CPM Value was USD 0.05, your second Line Item CPM Value will be USD 0.10, etc. All the values required for your Line Items you may see in the file downloaded from your HeadBidder Console.

Finally, click on Targeting. The Targetng Editor will be opened. Change the hb_pb value to the rate related to this Line Item. Example: placement=(“Header_Bidding_Placement_1“) AND custom=(“hb_pb=0.10”) Save the row.

When the Header Code gets a bid back for one of your ad units, the GAM Targeting function will automatically target the Line Item with the price bucket nearest to the actual price. When the actual price is $3.45, your $3.40 price bucket will be targeted and your $3.40 Line Item will serve the ad creatve to the page.

Prebid documentation articles related to the topic are:

http://prebid.org/adops/send-all-bids-adops.html - “Send all bids to the ad server - Ad Ops setup”

http://prebid.org/adops/step-by-step.html - “Step by step guide to DFP setup”