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
  • Step 1, Create a line item
  • Step 2, Assign creative.
  • Step 3, Go live
  1. Other Useful Information

Setup deals in GAM

Last updated 1 year ago

This guide aims to show you how to setup your Google Ad Manager (GAM) account to accept deals from Adnuntius Ad Server. In order to follow this guide we assume that you have knowledge in how to do the following:

  • Set up a campaign in GAM.

  • Understand how GAM targeting works.

  • Have setup Prebid line items before.

  • Proficient in using Adnuntius.

If you are missing any of the steps above, please follow this guide:

The main difference in setting up GAM for deals is that you won't need to create all those line items for different price buckets. Mainly you only need one line item per deal.

Step 1, Create a line item

Start by creating a line item in GAM wit the start and end dates for when you want the deal to be active. You will need to setup a new custom targeting key. Either you can use the global hb_deal, or you can be more specific using hb_deal_adnuntius to only have the deal match if it comes from Adnuntius. For the value you will set the expected deal coming from prebid.

If you wish to target a line item to a deal coming from Adnuntius with the deal id of deal_123, you would setup something like this:

If you want to make sure that this line item is allways prioritised and never can be shown in the regular prebid line items, it's strongly advised to set the line item either to a higher priority or sponsorship:

Step 2, Assign creative.

In order to tell google to select a specific bid from prebid you will need to assign a creative to your targeted line item. Start by creating a new third party creative and paste the text below into the third party code. This is the Prebid Universal Creative (PUC)

<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%%";
  ucTagData.adId = "%%PATTERN:hb_adid%%";
  
  try {
    ucTag.renderAd(document, ucTagData);
  } catch (e) {
    console.log(e);
  }
</script>

To note, is the parameters above that starts with %%PATTERN: and ends with %%, those values will select a bid from Prebid that will match those values that are between the start and the end. Prebid sends these values to the GAM per line item:

As you can see in the values above, it will always send two values for each parameter:

  • Prebid global value: hb_adid

  • And bidder specific value: hb_adid_adnuntius

This is created so that you can select specific bidders in your PATTERN: in the Prebid Universal Creative.

Bidder specific values are always bound to the alias you setup for the bidder. If no alias is defined it will default to the bidder code. Pattern matching will be sent to GAM like this:

hb_adid_{BIDDER}

Where {ALIAS} will be replaced with the alias you have setup for your bidder. If you use "bidder_123" as your alias for anuntius, the resulting pattern would look like this:

hb_adid_bidder_123

The hb_adid will always be unique for each creative in Prebid, so in order to select that value it has to be matching with this value in the Prebid Universal Creative setup:

ucTagData.adId = "%%PATTERN:hb_adid%%";

If you are located in Europe, make sure to specify the the technology providers in order to not be blocked by google:

Step 3, Go live

Now everything should be done and if it's working you will see delivery stats in both google and adnuntius. Make sure that the numbers add upp, and if they are you should be good to go. Good luck!

https://docs.prebid.org/adops/step-by-step.html