The license could not be verified: License Certificate has expired!Ad tags are used for many purposes in display advertising:
- Publishers place ad tags on a website in order to sell ad space
- Advertiser use ad tags to direct the browser to a particular image or flash creative
- Ad servers use ad tags to move ad calls along to the next step in the decisioning chain
- Third-party data providers use ad tags to collect segment information about users
These tags are all essentially the same in structure: they are all requests for content of a certain size and type from a certain URL. The content is either a creative or another ad tag and it may be returned immediately in one step or after multiple steps (an auction, redirects, etc.) each with its own tag. An ad tag may look very long and complicated if information about the ad call is included in the tag itself, or it might be very short and simple if ad call information is stored in the server to which the tag's URL is pointed.
How Ad Tags Work
- When the user visits a publisher web site, the browser sends an ad tag to the ad server. This ad tag contains information about the user and the ad placement.
- The ad server optionally passes an ad tag to a third-party data provider to retrieve information about user segmenting or contextual targeting.
- The ad server then passes an ad tag to the advertisers. Depending on the publisher-advertiser relationship, this may mean simply directly requesting ads for guaranteed buys, or it may involve requesting bids from multiple advertisers and carrying out an auction to determine the most profitable result for the publisher.
- The ad server delivers the creative (the ad) to the browser. Typically, this means returning an ad tag with a creative URL, with the creative itself hosted on an independent content server. For more information about creatives, see Creatives: An Overview.
What Does an Ad Tag Look Like?
An ad tag has two parts:
- A URL, from which the browser will request content
The purpose of the code is to tell the browser how to display the ad (or other content) that they get from the URL request. For example, the HTML
<iframe> tag tells the browser to open a mini browser window of a specified size inside the current window. This way the ad content cannot expand beyond the size specified and "take over" the screen.
For example, here's an AppNexus ad tag that a publisher would use to auction an impression.
This is what the different parts of the tag are doing:
- The HTML
- The HTML
src=tells the browser to retrieve content from the URL http://ib.adnxs.com/ttj?id=1234
- The URL points to the AppNexus Impression Bus, which processes all requests to the AppNexus platform.
id=1234is the ID that AppNexus has assigned to this ad tag. This allows information about the ad tag, such as ad size or reserve price for the ad, to be stored on the Impression Bus rather than on the page itself. This way the information can be changed at any time without requiring a new tag.
iframe frameborder="0" width="160" height="600"tells the browser to open a 160x600 iframe.
src="http://ad.yieldmanager.com/st?ad_type=iframe&ad_size=160x600§ion=560122&m6li=1302146"tells the browser to deposit specific content from the Yield Manager ad server into the iframe.
The Yield Manager URL does not point to an actual creative image file, because the Yield Manager ad server makes a dynamic decision about which image to pass to the browser. This URL's query string (everything after the "?") gives Yield Manager information that will help it decide which creative to pass back.
Most people dealing with ad tags (publishers, who need tags to put on their inventory pages, and advertisers, who may use tags to direct a browser to their creative) aren't hand building tags; they are inputting their page information or creatives into their ad server's user interface, which creates a properly formatted ad tag for them.
There are many permutations of ad tag syntax depending on what the tag is doing and whether the ad tag info is on the page or in a server.
A publisher ensures that the ad is an iframe.
A Google AdSense tag
In the NOSCRIPT section, the HREF link is the landing page of the ad and the SRC is the ad itself.