Setting up static ads
This guide will help you to set up orders for static ads in Google Ad Manager through App Events.
Access your account
Log in to your account on https://admanager.google.com. You will see a similar screen as below

Step 1 - Setup Order
If you already have order and you want to use it, move to "Step 2 - Setup Creative".
- Choose "Orders" in the Delivery group. Then click on "New order".

- Fill in three fields: Name, Advertiser, and Trafficker. Then click "SAVE"

Step 2 - Setup Creative
- Choose "Creatives" in the Delivery group. Then click on "New creative".

- Select the same Advertiser that you used when setting up an Order. Then click on "OK".

- Choose "Third party".

- Fill in these two fields: Name and Target ad unit size.
Choose "Standard" for "Code type" and insert the code snippet from the "Creative code snippet" (at the bottom of the page) in the field below.
Uncheck the SafeFrame checkbox.

Step 3 - Setup LineItem
- Choose "Orders" in the Delivery group.
- Choose a necessary Order from the list. Then click on "New line item"
- Choose "Display"

- On the next screen:
a) Fill in the Name of line item.
b) Set the "Line item type" to "Price Priority"

c) Select "Expected creatives".

d) Input "Start time" and "End time" in the "Delivery settings" group.

e) Pay attention to the "Child-directed ads" parameter, the value of which affects the fill rate.
The highest fill rate is achieved by selecting "Allow to serve on child-directed requests".

f) Select an ad unit from the list In the "Inventory" group. Add Custom targeting for BidMachine price. Value of custom parameter must contain 2 decimal points, for example, for price 2.9 - bm_pf:2.90
.

- After creating a line item, connect the creative with the line item. For that choose the line item, then choose "Creatives". Then click on "ADD CREATIVE" -> "Existing creative"

- Find creative and click on it.

Creative code snippets
Banner:
<html>
<head>
<script src="//www.gstatic.com/afma/api/v1/google_mobile_app_ads.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
admob.events.dispatchAppEvent("bidmachine-banner", "");
});
</script>
</head>
<body>
</body>
</html>
Interstitial:
<html>
<head>
<script src="//www.gstatic.com/afma/api/v1/google_mobile_app_ads.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
admob.events.dispatchAppEvent("bidmachine-interstitial", "");
});
</script>
</head>
<body>
</body>
</html>
Updated over 1 year ago