Table of Contents

Google Ad Manager - Getting started - How to show your first ad

About

A page on how to start with Google Ad Manager for a publisher.

Steps

Go to ad Manager

Admanager Homepage

Create a ad unit

A ad unit represents a location on a page where an ad will be shown.

Example: Two ad units representing two sidebar slot

Ad Unit Slot

For this getting started page, we created an ad unit just called Getting Started with a size of 300×250

Admanager Getting Started Adunit

Create a page with the ad unit tag

The ad is shown thanks to a tag (A javascript snippet).

To get the tag for the ad unit, go to the third tab called tag, click continue until you get to the tag results

In the tag results screen, you will have:

Ad Unit Tag

Example of a minimal page splits by parts.

<html>
<head>
<script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
<script>
  window.googletag = window.googletag || {cmd: []};
  googletag.cmd.push(function() {
	googletag.defineSlot('/xxxxxxxxx/0', [300, 250], 'div-gpt-ad-1590311928751-0').addService(googletag.pubads());
	googletag.pubads().enableSingleRequest();
	googletag.enableServices();
  });
</script>
</head>
<body>
<h1>AdManager template</h1>

<h2>The first ad below</h2>
<!-- /21796740876/0 -->
<div id='div-gpt-ad-1590311928751-0' style='width: 300px; height: 250px;'>
    <script>
    googletag.cmd.push(function() { googletag.display('div-gpt-ad-1590311928751-0'); });
  </script>
</div>
</body>
</html>

Create an order

An ad is shown if there is an active order.

Even if this is a house ad, you need to create a order.

An order groups all ad by advertiser.

Admanager Order Getting Started

Create a line item for the order

A line item groups:

In the order, create a new line item

Example with a line item with :

Admanager Line Item Getting Started

Add a creative to the line item

After saving the line item, ad manager shows the following message because we need to attach a creative to the line item

Admanager Needs Creative

You can start creating a creative:

Admanager Line Item Creatives Getting Started

Example: the below creative:

Admanager New Creative Getting Started

Line item and order activation

To be able to serve an ad:

must be activated

Activation:

Open your page

Opening the previously created html page admanager.html locally should be enough to show the ad.

It may take some times (a couple of minute before AdManager is internally able to serve the ad)

Admanager Getting Started Open Page Locally

Diagnostic - Delivery tool

To diagnose ad serving (delivery) problem, ad manager provides the delivery tool that will show:

Steps:

Ad Manager Delivery Tool Webpage Ad

You will see the creative, the line item, the order item and a lot of other information.

Admanager Delivery Tool Ad Present Getting Started

Support

My ad is not showing

See the Delivery tool section