Ad Codes / Placement Tags. Overview
Updated 2 Oct 2020 02:34:59
Placement tags or Ad codes main task is to load an ad into the placement on a website or in an app. Additionally, ad codes are responsible for cookie management, impression tracking, ad rotation, visibility tracking and other tasks.
Ad code workflow
When a visitor navigates to the page where the code has been inserted, the browser go through the following workflow.
- Browser starts loading a page, e.g. http://adpublisher.com/,
- Ad code placed on the page loads and connects to AdVow Network server, initiating tracker code, which in turn triggers ad tracker object.
- Ad tracker makes a request to the database, querying for an ad markup to be loaded into the ad slot
- AdVow Network server responds with the ad markup code, having processed all targeting or campaign matching logic
- Ad code makes a request to the AdVow Network server, confirming the impression.
- In the event of a click on the Ad, the Ad code sends corresponding info to the AdVow Network server.
- Ad codes placed on publisher's page may handle additional task such as:
- Setting a cookie used for capping, re-targeting and post impression tracking
- Executing ad visibility or ad verification codes
- Setting timer for rotating an Ad - upon certain amount of time in view, ad is replaced with another one loaded from AdVow Network server
- Rotating ad(s) should the visitor navigate to another page of the same website
Type of Ad codes used by AdVow Network
There are three main types of ad codes (methods) used by AdVow Network to display Ads on publishers' websites:
- iframe tags
- Image tags
- Simple to use
- Can be used to handle responsive banner images for mobile phones
- can be used to embed expandable/resizable banners and rich media ads
- Ad code may be not parsed if the browser encounters problem parsing the page
- Prone to being easily detected and blocked by Ad blockers by default settings
2. Ad placement code: iframe tags
- web browsers comply to the same origin policy which prevents accessing the publisher domain information (especially the parent frame) from a 3rd party domain script (in this context – the ad tracker)
- Not easily detected/blocked by Ad blockers by default settings
- Can not not be used to embed responsive/resizable banners and rich media ads
- Much harder tracking ad visibility and running ad verification services
- Some Browsers don’t Support iFrames
3. Ad placement code: Direct Image tags