by Overwolf
  • Nitro
  • Publishers
    PUBLISHERS
    How it Works Documentation Newsletter
  • Advertisers
    ADVERTISERS
    Advertisers Offering Top Sites
  • Resources
    RESOURCES
    Ad Unit Demos Blog & News Press Releases FAQ Case Studies
  • NitroDex
Log in

Ad Publishers

  • Special Ad Formats
  • Installing the ad script on your page
  • Creating an ad placement
  • Setting up your ads.txt file
  • Creating a Playlist and Adding Content
  • US Privacy law compliance steps
  • Creating a Video Placement
  • Ad script lifecycle events
  • Detecting ad-blocking users
  • Placement Configuration API

Data and Privacy

  • Passing Hashed Emails
  • Support for Google Analytics and Consent Mode
  • Adding custom consents or disclosures
  • Creating a link for the user to manage their consents

FAQs and Demos

  • FAQ
  • Ad Layout Best Practices
  • Nitro Glossary
  • Electron Apps and NitroPay
  • NitroPay
  • Docs
  • Ad Publishers
  • Creating an ad placement

Creating an ad placement

For your convenience, there is a placement creation tool located on your site entry in the panel.

Below is an example implementation for a placement generated using our setup tool.

<div id="placement-1"></div>

<script type="text/javascript">
  window["nitroAds"].createAd("placement-1", {
    refreshLimit: 10,
    refreshTime: 90,
    report: {
      enabled: true,
      wording: "Report Ad",
      position: "fixed-bottom-right"
    }
  });
</script>

The first parameter of the createAd api must match a DOM element id on the page. Use a unique element id for every ad placement on your page to avoid common implementation issues. We suggest using a human readable static id for each unique placement for your report building and tracking purposes in the panel.

The second parameter is an object with the ad’s configuration (see: API reference).

What are your Feelings
Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Updated on January 25, 2023
Installing the ad script on your pageSetting up your ads.txt file
We use cookies to improve your experience and increase the relevancy of content when using Nitro. Our cookies are used for analytics, optimization, and advertising operations. Learn more.Got it
  • Publishers

    • How it works
    • Documentation
    • Newsletter
  • Advertisers

    • Advertisers Offering
    • Top Sites
  • Resources

    • Ad Unit Demos
    • Blog & News
    • Press Releases
    • FAQ
    • Case Studies
  • Companions

    • Overwolf
    • CurseForge
    • Tebex
  • Nitrodex

© Overwolf. All rights reserved.
  • Terms of Service
  • Privacy Policy