class VAST::WrapperAd

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.

Public Instance Methods

ad_tag_url() click to toggle source

URI of ad tag of downstream Secondary Ad Server

# File lib/vast/wrapper_ad.rb, line 14
def ad_tag_url
  URI.parse source_node.at('VASTAdTagURI').content.strip
end