ADNUNTIUS
  • Adnuntius Documentation
  • Adnuntius Advertising
    • Overview
    • Getting Started
      • Ad Server for Agencies
      • Ad Server for Publishers
    • User Interface Guide
      • Dashboards
      • Advertising
        • Advertisers
        • Orders
        • Line Items
        • Line Item Templates
        • Creatives
        • Library Creatives
        • Targeting
        • Booking Calendar
        • Reach Analysis
        • Smoothing
      • Inventory
        • Sites
        • Adunits
        • External Ad Units
        • Site Rulesets
        • Blocklists
        • Site Groups
        • Earnings Accounts
        • Ad Tag Generator
      • Reports and Statistics
        • The Statistics Defined
        • The 4 Impression Types
        • Templates and Schedules
        • Report Translations
      • Queries
        • Advertising Queries
        • Publishing Queries
      • Users
        • Users
        • Teams
        • Roles
        • Notification Preferences
        • User Profile
      • Design
        • Layouts and Examples
        • Marketplace Products
        • Products
        • Coupons
      • Admin
        • API Keys
        • CDN Uploads
        • Custom Events
        • Reference Data
        • Email Translations
        • Context Services
        • External Demand Sources
        • Data Exports
        • Tiers
        • Network
    • API Documentation
      • API Requests
      • Targeting object
      • API Filters
      • Endpoints
        • /adunits
        • /adunittags
        • /advertisers
        • /article2
        • /creativesets
        • /assets
        • /authenticate
        • /contextserviceconnections
        • /coupons
        • /creatives
        • /customeventtypes
        • /deliveryestimates
        • /devices
        • /earningsaccounts
        • /librarycreatives
        • /lineitems
        • /location
        • /orders
        • /reachestimate
        • /roles
        • /segments
        • /segments/upload
        • /segments/users/upload
        • /sitegroups
        • /sites
        • /sspconnections
        • /stats
        • /teams
        • /tiers
        • /users
    • Requesting Ads
      • Javascript
        • Requesting an Ad
        • Layout Support
        • Utility Methods
        • Logging Options
        • Prebid
      • HTTP
      • Cookieless Advertising
      • VAST
      • Open RTB
      • Recording Conversions
      • Prebid Server
      • Prebid
      • Android SDK
      • IOS SDK
    • Creative Guide
      • HTML5 Creatives
    • Page
  • Adnuntius Marketplace
    • Overview
    • Getting Started
      • For Network Owners
      • For Media Buyers
        • Marketplace Advertising
          • Advertisers
          • Orders
          • Line Items
          • Line Item Templates
          • Placements (in progress)
          • Creatives
            • High Impact Formats
          • Library Creatives
          • Booking Calendar
          • Reach Analysis
          • Targeting
          • Smoothing
      • For Publishers
        • Marketplace Inventory
          • Sites
          • Adunits
          • Site Groups
          • Rulesets (in progress)
          • Blocklists
          • Ad Tag Generator
        • Design
          • Layouts
          • Marketplace Products
  • Adnuntius Self-Service
    • Overview
    • Getting Started
    • User Interface Guide
    • Marketing Tips (Work in Progress)
  • Adnuntius Data
    • Overview
    • Getting Started
    • User Interface Guide
      • Segmentation
        • Triggers
        • Segments
        • Folders
      • Fields
        • Fields
        • Mappings
      • Queries
      • Admin
        • Users, Teams and Roles
        • Data Exports
        • Network
    • API documentation
      • Javascript API
        • User Profile Updates
        • Page View
        • User Synchronisation
        • Get user segments
      • HTTP API
        • /page
        • /visitor
        • /sync
        • /segment
      • Profile Fields
    • Segment Sharing
  • Adnuntius Connect
    • Integration Guide (Work in Progress)
      • Prebid - Google ad manager
      • Privacy GTM integration
      • Consents API
      • TCF API
    • UI Guide (Work in Progress)
      • Containers and Dashboards
      • Privacy (updates in progress)
      • Variables, Triggers and Tags
      • Integrations (in progress)
      • Prebid Configuration
      • Publish
  • Adnuntius Email Advertising
    • Getting Started
  • Other Useful Information
    • Macros for click tracker
    • Setup Adnuntius via prebid in GAM
    • Identification and Privacy
      • User Identification
      • Permission to use Personal Data (TCF2)
      • Data Collection and Usage
      • Am I Being Tracked?
    • Header bidding implementation
    • Adnuntius Slider
    • Whitelabeling
    • Firewall Access
    • Ad Server Logs
    • Send segments Cxense
    • Setup deals in GAM
    • Render Key Values in ad
    • Parallax for Ad server Clients
  • Troubleshooting
    • FAQs
    • How do I contact support?
    • Adnuntius System Status
  • Adnuntius High Impact
    • Publisher onboarding
    • High Impact configuration
    • Guidelines for High impact creatives
Powered by GitBook
On this page
  • 1 Setup a prebid connection
  • 2 Add a trigger for loading GAM
  • 3 Set up Google as a tag
  • 4 Publish your container
  • 5 Download Prebid.js
  • 6 Add code to the page
  1. Adnuntius Connect
  2. Integration Guide (Work in Progress)

Prebid - Google ad manager

Last updated 3 years ago

This guide will let you know how to integrate Google Ad Manager (hereafter called GAM) with Adnuntius Connect in order to serve ads through prebid. First there are some requirements that you will have to do in GAM: .

After you have completed these steps and set up your buckets in GAM, you will be able to continue with Adnuntius Connect. This part will be divided into the following steps.

  1. Setup a prebid connection.

  2. Add a trigger for loading google.

  3. Setup google as a tag.

  4. Publish your container.

  5. Download Prebid.js.

  6. Add code to the page.

1 Setup a prebid connection

after you have logged into Adnuntius Connect, navigate to the prebid section.

Next, navigate to the Options tab and select GAM as the requesting system. You will also have to specify the network id of the GAM account you wish to request. This is all you have to do for the prebid section, and you can now move onto adding a trigger.

2 Add a trigger for loading GAM

Navigate to the triggers section, and click "Add trigger", You should give it a name that represents the action, and in the example screenshot below we have called it "Pageview". The default values for a newly created trigger will be set to pageview. If you click on it, you can verify that it's set to Pageview. If you wish to only trigger on certain conditions this can be added in the highlighted section below:

An example use case can be that you would like to trigger different ad units on article pages than on the front page. This is where you can ensure that.

3 Set up Google as a tag

You are now ready to create your Google ad unit section. Please go to the "Tags" section in Adnuntius Connect, and create a new tag named "Google". Click on it to trigger the Edit page.

Under "Triggers" select the "Pageview" trigger that you created in step 2. Skip Purposes for now. Select Tag Type "Google". A new field appears for you to enter the adunit identifiers that you get from GAM and also what target div on which you want the ad to appear. Finally click Save.

4 Publish your container

Go to the "Publish" section in the UI. Here you can select what environment you would like to publish to. Currently there are two available: Development, and Production. The difference between these is that Production is minified as opposed to Development that is not. This is to make it easier for developers to find any issues with the code. Select the appropriate environment for you and click publish.

5 Download Prebid.js

6 Add code to the page

On the page where you will use your container, set up a link to the prebid.js you have downloaded and a link to the published script from Adnuntius Connect. After that you will have to tell google to show the correct ad in the correct placement. The final code you end up with should look something like this:

<html>
<head>
	<script async src="//www.googletagservices.com/tag/js/gpt.js"></script>
	<script async src="https://tags.adnuntius.com/pb/prebid.js"></script>
	<script src="https://tags.adnuntius.com/network_2/2_ylguT3o.dev.js" async></script>
	<script>
		window.googletag = window.googletag || { cmd: [] };
	</script>

</head>

<body>


	<div id='header-bid-tag-1'>
		<script type='text/javascript'>
			googletag.cmd.push(function () {
				googletag.display('header-bid-tag-1');
			});
		</script>
	</div>

	<br>

	<div id='header-bid-tag-0'>
		<script type='text/javascript'>
			googletag.cmd.push(function () {
				googletag.display('header-bid-tag-0');
			});

		</script>
	</div>

</body>

</html>

Make sure that the div IDs correspond to the IDs that you have setup in Adnuntius Connect.

Here you can add all the bidders that you wish to have in you bidder setup. If you wish to know more, please .

All tags that you add to Adnuntius Connect requires a trigger to tell the browser when to fire them. For this example we will add a page view trigger. .

Navigate to and select the bidders you want to have in your bidder setup (ref step 1). Click download. A javascript file will then be downloaded on your computer. This will be hosted by you so that your prebid setup can use the bidders you have set up.

read more about it in this section
https://docs.prebid.org/download.html
https://docs.prebid.org/adops/step-by-step.html
Learn more about Triggers here
The prebid section of Adnuntius Connect.
On the prebid page, first click "Options" and then choose "Google Ad Manager". Finally add your GAM account/network ID.
The "Tags" section in Adnuntius Connect.
The "Edit page" of a tag in Adnuntius Connect.