You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Account Setup Guide for Publishers (Sites & Ad Tags)

Creating a New Site

Sites are created in the system for reporting purposes. The ability to add different sites enables you to receive much more granular reports for your account.


  1. Select Inventory > Sites & Tags.
  2. Select Add a Site/App.
  3. Enter details such as site domain, site identifier (custom name you can give to the site), vertical, estimated ad impressions, and so on.
  4. Select Save Site or Save and Add Another Site (to save this and open a new form to complete for another site).

Creating an Ad Tag

An ad tag is a piece of HTML or JavaScript code that your webmaster or developer inserts into the source code of a web page. There is usually a separate ad tag for each ad that you want to display on your website. You can add an ad tag for every site you add. The more sites/tags you have, the more granular your reporting will be.

  1. Select Inventory > Sites & Tags.
  2. Select Create Ad Tag.
  3. Select the site for which the ad tag will be applied. 
  4. Enter the Format Type and Response Code.

    See also…

    For Video Ads see, Creating Video Ad Tags in PubMatic.
    For Native Ads see, Creating Native Ad Tags in PubMatic.
  5. Complete  Ad Slot Preferences:
    • Ad Placement: Select the placement of the ad relative to the page (Top, Bottom, Middle, Left or Right of Page).
    • Fold Placement: Select the placement of the ad relative to the fold (Above the Fold (ATF), Below the Fold (BTF), or Partially above the Fold).
    • Expansion: Select the direction the ad will expand (Up, Down, Left or Right).
  6. Select User Data Parameters. For Mobile/Video, add details such as location, DMA, and so on, adding as many details as possible.
  7. Add a passback by either using Select Existing Placement and selecting from the list or to add a new passback, choose Provide Passback Script. The PubMatic system will automatically recommend an ad tag name, however, this can be customized as needed. 

    Every tag requires a passback…

    This ensures that if PubMatic doesn’t fill an ad space, the system will prevent a blank ad occurrence.

Downloading Ad Tags

To download ad tags, select each in the left-hand column, then choose Download Selected Tag Codes. If more than one tag is selected, all will be placed in the same .txt file that downloads to your local drive.

The JavaScript, Iframe, and HTML ad tags for Desktop and Mobile Banner ads now contain the kadGdpr and kadGdprConsent fields, while the Desktop and Mobile Video ad tags will contain the gdpr and gdpr_consent fields. 

If the kadGdpr or gdpr field is set to 1, then it indicates that the given impression must be subjected to the GDPR compliance process. If set to 0, then the given impression is not GDPR compliant and will be processed as usual. 

The kadGdprConsent and gdpr_consent fields should contain the visitor’s GDPR consent data; that is, whether they have provided their consent for being targeted or not.

Ad Network Addition & Mapping

If you are working with an Ad Network, use these instructions to add them to the PubMatic system.

  1. Select Inventory > Ad Networks and Placements from the main navigation.
  2. Select Link Ad Network.
  3. Select Filters to expand the section, enter the name of your Ad Network in the Find box and choose Go to search for it.
  4. Once the Ad Network is located choose, .
  5. Complete the Add Placement details and edit the auto-populated name, if required, and choose Save Placement or Save and Add Another Placement.

Mapping Ad Network Placements to an Ad Tag

  1. Select Inventory > Sites & Tags from the main navigation.
  2. Select the Ad Tags tab and select the Ad Tag you want to map to a placement.
  3. Select Edit Ad Network Mapping.
  4. Select Select Ad Networks.
  5. Select the desired Ad Network. Then select the Placement it is associated with and choose Save.

    (The placement should be added to the list of mapped placements.)

  6. Select Save. The Ad Network Placement is now successfully mapped to the Ad Tag.

You can also confirm the mapping is successful by using View Placements on the Ad Tags page.

Passback Management

The process to add passback tags is similar to adding Ad Network tags. There are two ways to add passbacks:

  • Add a passback from the Ad Tag editing screen.
  • Add a passback Ad Network variant followed by the passback tags as placements. You can further map those placements to the respective ad tags.

Brand Control: Blocklist Manager

Blocklist Manager helps you avoid the display of unwanted creative to your visitors by blocking the advertiser, advertiser category, domain URL and/or creative attributes. Blocklist Manager enables you to view the domain URLs for an advertiser and block/unblock accordingly.


For instructions and best practices for using Blocklist Manager, refer to the following documentation in the Quality Controls section of the community:

Whitelisting Advertisers

The Whitelist Manager enables the display of specific creative to visitors by whitelisting URLs, advertisers or advertiser categories. The Whitelist Manager displays the advertiser URL for you to enable or disable for whitelisting. This process facilitates a safe and time-saving whitelisting of URLs within the PubMatic interface. 

The Whitelisting feature must be enabled on your account. If you would like to enable whitelisting for your account, contact your Customer Success Manager or Customer Success Operations Manager.

Using the Whitelisting Feature, you can:

  • Whitelist domain URL, advertiser, or advertiser category for all sites or select just a single, specific site.
  • View available domain URLs for whitelisting and can enable/disable the whitelist as needed. Note: if you disable the whitelist for a website, the blocklist configuration will be applicable for your inventory.
  • View, schedule, download and email whitelisted advertiser categories, advertiser and domain URLs for all or any specific sites.

For instructions and best practices for using Whitelist Manager, refer to the Whitelist Manager documentation in the  Quality Controls  section of the community.

⇧ Top

Do you have feedback on this document? Let us know: email us.

Table of Contents