Docs · Publishers

How to integrate your site and get the ad code

A website is the property you monetize; every ad placement (an ad zone) lives inside one. The order is always: add the site, wait for its review, create zones, paste each zone's code where the ad should appear.

The Adzones list for a publisher account with zone ID, name, type and website columns and the New Ad Zone button
Adzones: one row per placement, with Edit and the New Ad Zone, Create Multiple and Export Codes actions.

1. Add the website

  1. Open Websites in the publisher sidebar and click New Website.
  2. Enter a name, the full URL with https://, the content categories and the languages of your audience.
  3. Save. New sites are held for up to 24 hours and then moderated against the publisher policies; the status changes from pending to approved, and zones on an approved site start receiving paid ads.
  4. Where ownership verification is requested, add the meta tag to your home page's <head> or upload the verification file to the domain root, then click Verify.

2. Create ad zones

Open Adzones → New Ad Zone (or Create Multiple). Pick the website, a name and the type: Pop Ads (popunder), Banner (with a fixed size), Native, In-page push, Interstitial, Video or VAST, Redirect or Smartlink. The type is fixed once the zone is created, so create one zone per placement and format.

3. Place the code

FormatWhat you getWhere it goes
JavaScript tagAn asynchronous <script> that renders the ad in placeIn the page HTML at the ad's spot, or in the template
IframeThe ad isolated in its own frameBanner slots that must be sandboxed from the page
Pop URLA URL that opens the popunderWired to the click or trigger that fires the pop
VAST tagA VAST URL for your video playerThe player's ad-tag setting, not the page
JSONThe ad's data for your own renderingRequested by your code in an app or custom build

Each zone has its own code; never share one snippet between two placements. Reserve the space for banner slots with a container of the zone's size so the page does not jump. Export Codes downloads every zone's snippet at once.

4. Check it works

Open the page in a normal browser with ad blockers off. Paid fills begin once the site is approved and traffic flows; the Statistics page shows impressions per zone within the hour.

Full guide inside your account. Every option on this page, with screenshots of each screen, is documented in the platform under Documentation → Getting Your Ad Code after you log in.