The Website > Invocation Code tab allows you to enter the information necessary to generate ad tags. These tags will be pasted into your website's HTML in order to invoke (call) OpenX to deliver ads.
The types of tags you generate depend on the choices made on this page:
The featured options are:
- Don't show the banner again on the same page: tick yes if you don't want to see the banner again on this page view.
- Don't show a banner from the same campaign again on the same page: tick yes if you do not want to show any other banner from this campaign on this page view.
- Target Frame: This value sets the HTML TARGET attribute in the tags. The Default option opens the target page in a new browser tab, or you can change it to open in a new window or in the same window.
- Source: Enter a source value if you want to limit banner delivery based on source, such as 'sports' or 'news'. [See banner delivery options for more information.]
- Show text below banner: Tick yes if you want to display text below a banner. Enter this text in the Banner Properties tab.
- Character set: Select the character set you want ads to display in on your website. (In general it is only necessary to alter the default Autodetect setting when certain tags - such as local mode tags - are in use.)
- Option - SSL: Select this option if you would like the tags generated to be used on SSL pages. (By default the generated tags will make plain HTTP calls to get the ads to display. When serving these tags into an SSL page a 'mixed content' browser security warning may be displayed to the end user.)
- Include comments: tick yes if you want implementation instructions to be included in your generated tags.
Once you have made your choices click Generate to view your tags:
- Header script: this script should be inserted at the top of every page on the desired website. It belongs between the and tags, before any ad scripts on the page.
- Ad script: copy and paste this script into the site where you want the ad to display.
Once you're done, click Close Window to return to the Invocation Code screen