Browse the help center

Copy and preview an ad tag

Copy a placement's default tag from the grid or tree without opening the editor, and check how the tag serves on the standalone preview page — container sizes and page mockups, request overrides (code type, IP, channel, custom parameters) and the shareable 30-day preview link — step by step, with the caveats and a fix-it checklist.

How-to network manager publisher admin Account → Publishers → site → zone → placement → Ad tags & API

What it is and why

Two shortcuts around the placement’s Ad tags & API card. The Copy ad tag quick action puts a placement’s default tag on the clipboard straight from a grid, without opening the editor. The Preview page shows the tag serving — in a resizable container or inside a page mockup, as a visitor from a chosen country would see it — and gives you a link that works without a login, so you can show a placement to a site owner or an advertiser. Choosing a tag type and setting it up are on Ad tags, invocation codes and the API.

Example. A network manager has just linked a German-only campaign to a publisher’s Homepage leaderboard 728×90. On the preview page she picks the Article page mockup, sets IP to a German address, clicks Apply and sees the creative render in context; then Copy puts a link on the clipboard that the publisher opens a week later, without an account, and still sees the same preview — the link stays valid for 30 days.

Typical scenarios

You wantDoWhere
Hand a publisher the tag for ten placements in a rowclick Copy ad tag at the end of each rowthe zone’s placements grid (Grids view)
Check a geo-targeted creative renders without flying to the countryRequest → IP = an address in that country, Applythe preview page
Show the ad in a realistic page to an advertiser who has no loginPage mockup = News portal, Copy, send the linkthe preview page
Check a placement that receives a section custom parameterRequest → Custom parameters section / sport, Applythe preview page
See the Simple Iframe tag serve rather than the Universal JS oneRequest → Invocation code typethe preview page
Judge the slot at a non-standard sizeContainer width / height, or a size chipthe preview page

Step by step

Copy-tag quick action

  1. Switch to the Grids view (a display preference in Preferences). In a zone’s placements grid — what opening a zone gives you there — and in the all-placements grid, placement rows end in a Copy ad tag icon.

    Copy ad tag icon at the end of each taggable placement row in the zone's placements grid

  2. Click it. The placement’s default tag goes to the clipboard and a Copied toast confirms it. Only placement types that have a tag get the icon — Site, Non-standard, Mobile Site, Video and Email; Native, Application and Click-through rows have none. The tree shows the same icon on a placement row and in its hover card, but only for placements the tree draws as active (with recent traffic).

  3. To copy a particular tag type instead of the default, open the placement’s card and copy from its tab.

Preview

  1. Click Preview in the placement editor’s header, or the eye icon next to the placement’s name in the placements grid. The standalone preview page opens in a new tab. The button depends on the placement type, not on your role: Site, Non-standard, Mobile Site, Video and Email placements have it.

    Placement preview page rendering a leaderboard banner inside an article page mockup

  2. Shape the Container — it applies live, with no reload: size chips for the common ad sizes, Container width and Container height, Top and Left offsets, and Page mockup — five CSS page shapes (Article, Video site, Gallery, Live stream, News portal) plus Off, which wrap the live ad container in a plausible page. The offsets are disabled while a mockup is on, because the mockup decides where the ad sits.

  3. Shape the Request, then press Apply to re-request the ad (choosing another type applies at once): Invocation code type, IP (serve as if from that address — its placeholder is your own), Channel, and Custom parameters as name / value rows with Add and a delete button per row.

  4. Click Copy to put a link with the current settings on the clipboard (pending Request edits are applied first), or Open to open it. The link opens a bare view — only the ad on its stage or mockup, no controls — and works for people who are not logged in: it carries a token that authorises that placement’s preview. There is no URL text field to copy it out of.

Caveats and exceptions

Who can do this. The quick action and the Preview button depend on the placement type, not on the role; the tag the quick action copies and the Invocation code type list on the preview page are limited to the tag types your role may generate — and, for Universal JS, to networks that have an ad-serving domain. Exact grants: User roles.

What has no quick action and no Preview. Native, Application and Click-through placements — nothing self-renders. On the preview page, the Request group is offered only when the placement has at least one tag type the preview can render for you; with none, the page opens with Not Supported inside the container and no Request group.

The quick action and the card do not pick the default the same way. The card opens on the first tab your permissions leave standing; the quick action resolves its type on the server by walking the code types in their own fixed order — Simple Iframe, Video Player, API, Direct URL, Email, Universal JS, Mount JS — and taking the first one your role may use. So it gives you Simple Iframe or Direct URL before Universal JS wherever your role holds them, and on a Mobile Site placement with the API permission it resolves to API, for which no snippet exists, so the action toasts “This placement type has no ad tag” (informational, not an error) on a placement whose card visibly has tabs. Open the card and copy from the tab you want.

A quiet placement has no icon in the tree. The tree draws the icon only on placements it shows as active (recent traffic); use the grid or the card for the others.

The preview needs the whole chain switched on. A placement, zone or site that is switched off cannot be previewed: the page says Preview is not currently available for deactivated placement/zone/site.

The shareable link expires after 30 days. The token is signed; a link older than that, or one made before release 152, opens nothing — copy a fresh one from the preview page. A placement’s token opens only that placement, not a creative that happens to share its id.

The old Background image URL field is gone. It survives only as a query parameter on links shared before it was removed, and while one is present the mockup picker is disabled.

Demo accounts. On a network that has a demo page configured, a demo account sees the Preview button for every placement type: Site, Native and Video placements open that demo page with the placement’s own tag attached; any other type opens the standard preview.

Not working?

  • No Copy ad tag icon on a row. Where: the placement type (Native, Application and Click-through have none) and the view — the tree shows it only on active placements; switch to the Grids view or open the card.
  • “This placement type has no ad tag” on a placement with tabs. Where: your role’s tag permissions — the server-side default resolved to a type without a snippet (API on a Mobile Site placement, for example). Copy from the card’s tab.
  • No Preview button. Where: the placement type — only Site, Non-standard, Mobile Site, Video and Email self-render.
  • “Preview is not currently available for deactivated placement/zone/site”. Where: the Active switch on the placement, its zone and its site — all three must be on.
  • “Not Supported” in the container and no Request group. Where: the tag types your role may generate for this placement, and for Universal JS the network’s ad-serving domains.
  • The shared link opens nothing. Where: its age — 30 days — and whether it was made before release 152. Copy a fresh link.
  • Top / Left offsets or the mockup picker are greyed out. Where: the mockup — offsets are disabled while a mockup is on; the picker is disabled while an old Background image URL parameter is in the link.
  • The ad does not change after editing the Request. Where: the Apply button — Request edits apply on Apply (a new code type applies at once); Container edits apply live.
  • The ad renders but not the creative you expected. Where: the IP, Channel and Custom parameters you sent — targeting on the placement and the campaigns applies to the simulated request as to a real one. See Tags and preview troubleshooting.

Reference

ControlGroupWhat it does
Copy / OpenheaderCopy puts the shareable link on the clipboard (applying pending Request edits first); Open opens it.
size chipsContainerThe common ad sizes, applied live.
Container width / Container heightContainerThe stage size, applied live.
Top / LeftContainerOffsets of the stage; disabled while a page mockup is on.
Page mockupContainerArticle, Video site, Gallery, Live stream, News portal, or Off.
Invocation code typeRequestWhich tag renders; limited to the types your role may generate. Applies at once.
IPRequestServe as if from that address; the placeholder is your own address.
ChannelRequestThe channel sent with the request.
Custom parametersRequestName / value rows with Add and a delete button per row.
ApplyRequestRe-requests the ad with the Request values.

Over the API: GET /rest-api/placements/{placementId}/preview-link.do returns the same shareable link, optionally for one codeType — see API tab, VAST tags and the JavaScript API.

Per-role notes

  • Every role — the quick action and the Preview button depend on the placement type, not on the role; the tag the quick action copies and the Invocation code type list on the preview page are limited to the tag types your role may generate.
  • Demo account — see the demo-page caveat above.

Exact grants: see User roles.

Related pages:

Related pages

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.