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

1534

Step 1 - Setup Order

If you already have order and you want to use it, move to "Step 2 - Setup Creative".

  1. Choose "Orders" in the Delivery group. Then click on "New order".
534
  1. Fill in three fields: Name, Advertiser, and Trafficker. Then click "SAVE"
778

Step 2 - Setup Creative

  1. Choose "Creatives" in the Delivery group. Then click on "New creative".
495
  1. Select the same Advertiser that you used when setting up an Order. Then click on "OK".
524
  1. Choose "Third party".
773
  1. 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.
642

Step 3 - Setup LineItem

  1. Choose "Orders" in the Delivery group.
  2. Choose a necessary Order from the list. Then click on "New line item"
  3. Choose "Display"
679
  1. On the next screen:
    a) Fill in the Name of line item.
    b) Set the "Line item type" to "Price Priority"
470
c) Select "Expected creatives".
682

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

561

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".

520

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.

996
  1. 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"
936
  1. Find creative and click on it.
963

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>