Zone properties > Invocation Code
If necessary, use the drop down menu to select the appropriate website, and then click on the appropriate zone name. This will take you to the Zone properties screen. Click on the Invocation Code tab.
Depending on the type of zone, you will either have been automatically allocated an invocation tag type, or you will need to select the type of invocation tag you wish to generate from the drop down menu. The available types are:
|Invocation tag type||Features||Supports Companion Positioning?||Available for zones of type|
Asynchronous JS Tag
|Allows banners to be displayed inside an HTML iFrame. However, because of the way iFrames are loaded in web browsers, many features available with other invocation code types are not available with the iFrame tag, such as avoiding duplicate banners on the same page. Banners are loaded asynchronously from the browser.|
Local Mode Tag
|A special tag for a singular use case - delivery of banners on a PHP-based website that is hosted on the same server as the Revive Adserver installation. This tag can provide an efficient means of delivering banners in a small, website + Revive Adserver on a single server setup, but be aware that if your website moves away from a PHP based solution, or your site or ad serving requirements expand and you need to separate the two installations to different servers, you will have to re-tag your website zones to another tag type.|
Similar to the Local Mode tag, the XML-RPC tag is for the delivery of banners on a custom PHP website only. However, unlike the Local Mode tag, the XML-RPC tag uses the XML-RPC protocol to remotely call the Revive Adserver installation, so it can be safely used on websites that are installed on a server that is different from the Revive Adserver installation; as with the Local Mode tag, though, if the website the zone is displayed on ever moves away from a PHP based solution, you will have to re-tag your website.
No Cookie Image Tag
|A special tag for the delivery of Interstitial or Floating DHTML banners. Automatically assigned tag type when generating the tag for an Interstitial or Floating DHTML zone.|
|A special tag for the delivery of popup or popunder banners. Automatically assigned tag type when generating the tag for a popup zone.|
Tag setting, Refresh
Once you have selected a zone invocation code type (if required), the Tag settings section may be displayed, with a number of options for how the tag should operate.
Alter the settings as desired, and click on the Refresh button. The page will be updated, and the zone invocation code will be generated and displayed.
Copy the zone invocation code, and insert this code into your website's HTML code in the place where you want the zone to be displayed (or, send the zone invocation code to the relevant contact at the website, and instruct them to insert the code where appropriate). Revive Adserver will now display the banners linked to the zone, via the zone invocation code.
Invocation code for Inline Video ad zone or Overlay Video ad zone
Revive Adserver uses a special form of invocation code to integrate into an online video player and display video advertising from your ad server.
The generic code for the ad call from your video player to your ad server is:
Using this example:
- Replace the part that reads
[with the domain of your own Revive Adserver installation ]
- Replace the part that reads
[YOUR-ZONE-ID-HERE]with the numeric zone ID of your specific zone
Please consult the documentation of your own video player to find out where you must enter the ad server call, so that the video player can perform ad requests and display the video ad that is returned.