Class: VAST::WrapperAd
Overview
Points to another VAST document on a different server.
WrapperAds may include any number of tracking urls to allow CompanionCreatives to be served from an InlineAd response but tracked separately from the Impression. It may also include tracking elements for separately tracking LinearCreative or NonLinearCreative views or events.
The server providing the WrapperAd may not know exactly which creative elements are to be delivered downline in inline ads; in that case the WrapperAd should include placeholders for the maximum set of Creatives that could be played within the Video Player.
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#ad_tag_url ⇒ Object
URI of ad tag of downstream Secondary Ad Server.
Methods inherited from Ad
#ad_system, #companion_creatives, create, #error_url, #extensions, #id, #impression, #impressions, #linear_creative, #linear_creatives, #non_linear_creatives
Methods inherited from Element
Constructor Details
This class inherits a constructor from VAST::Element
Instance Method Details
#ad_tag_url ⇒ Object
URI of ad tag of downstream Secondary Ad Server
14 15 16 |
# File 'lib/vast/wrapper_ad.rb', line 14 def ad_tag_url URI.parse source_node.at('VASTAdTagURI').content.strip end |