Skip to main content
Version: v2.0

How to create an Ad Unit?

To have PremiumAds team create ad units & generate ad tags for you, please contact your assigned account manager.

To independently add an ad unit on Publisher Dashboard, please follow the instructions below.

Prequesitions:

Before generating any ad unit, make sure that the ads.txt file is installed correctly on your site.

  1. Go to the "Inventory" tab on the Publisher Dashboard

  2. Click the "Add Inventory" button

  3. Choose the website/mobile website you want to place your ad unit on

  4. Name the new ad unit. It's good practice to include position, size, and device targeting in the ad unit name.

  5. Select the type (HTML or AMP) & format of ad unit. Depends on which format, you will be asked to choose size or toggle some display options on/off

  6. Select ad unit's "Device Targeting". For fullscreen (interstitial), we recommend creating separate ad units for desktop and for mobile and tablets

How to get & implement your Ad Tag?

  1. In the "Codes" tab of the Ad Unit, copy the ad unit code (ad tags)

  2. Paste the ad unit code in between the <body></body> tags of your pages where you want the ads to appear. This step is not necessary for fullscreen (interstitial) ads.

Important updates:

Web Interstitials in Ad Manager are similar to the Vignette ads (Auto ads format) in AdSense.

The latter should be disabled prior to the activation of the new Web Interstitial.

Special Guidelines for AMP Ad Tags:

AMP (AutoAds)

  1. Remove all existing <amp-ad> tags first

  2. Insert the HTML <script> into <head> of AMP-Pages

  3. Insert the <amp-auto-ads> TAG just after the <body> TAG

  4. All formats will appear automatically on page load.

AMP (pre-defined ad positions)

  1. Insert the HTML <script> into <head> of AMP-Pages

  2. Implement the <amp-ad> TAG in the desired ad positions changing the data-slot attribute if need.