Ad TagsTable of Contents1. Generating the ad tag 2. Live Preview 3. Iframe Tags 4. Modifying Ad Tags Generating the ad tagOpen a auto_storiesZone, then click the blue Ad Tag button at the top right. From there, you can see and copy the tag.
Live PreviewThe Live Preview Page in the ad server provides a dynamic way to visualize how ads will appear within a specific zone before they go live. This feature is crucial for ensuring that auto_storiesCreatives are displayed correctly and meet the intended design specifications. When using the Live Preview Page, your own user data such as device type and country may be utilized to accurately simulate how ads will appear and perform. This data helps in providing a realistic preview of ad delivery based on the specific characteristics of the user's environment. In other words, if you've targeted the campaign to users from Brasil and you're in the USA, the ads may not show up.Iframe TagsMany publishers prefer iframe tags over JavaScript-based tags because iframes ensure a consistent ad display across different browsers and devices. Since iframes encapsulate the ad content, they are less likely to be influenced by variations in the publisher's page code or CSS styles. This encapsulation helps maintain a predictable appearance for ads, regardless of the surrounding content.To generate iframe tags, make sure your Zone is of the type 'Display Ad'. When generating the tag, activate the Iframe Version toggle. Modifying Ad TagsDisplay Ad tags can be modified using the JavaScript API that AdGlare provides. Let's take this ad tag as an example:<script async src="https://try.engine.adglare.net/?js"></script>
The only line that is eligible for modification is: AdGlare.setZone(710732824).load();
The rest of the code should be left untouched. Ad Sizes
To define which auto_storiesAd Sizes are supported in the zone, use the adSizes() function:
Keywords
To set keywords used for Keyword Targeting, use the keyWords() function:
Key/values
To set key/values used for keyValue Targeting, use the keyValues() function:
Custom Macros
To create custom auto_storiesMacros that are available at runtime, use the customMacros() function:
Click Tracking URL
If you're a publisher, and your advertiser provided you with a click tracking URL in order to log click on their end, you can add this as follows:
Page URL
If you're an advertiser and your ad tag is loaded inside a publisher's iframe, you can add the URL on which your ad is shown as follows:
Reach out to emailAdGlare Support in case you need further help. You can expect a reply in less than 24 hours. |
More guides
Understanding the UI
Creatives
Zones
Ad Tags
Custom Dimensions
Data Shipping
Viewability
Bot Filter
White Label
Tracking Pixels
Custom Metrics
Creative Optimization
Lazy Loading
Frequency Capping
Best Practices
Terms & Definitions
AdGlare Subscription