Class: VAST::InlineAd
Overview
Contains all the information necessary to display the visual experience of one complete ad.
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#ad_title ⇒ Object
Common name of ad.
-
#survey_url ⇒ Object
URI of request to survey vendor.
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_title ⇒ Object
Common name of ad
11 12 13 |
# File 'lib/vast/inline_ad.rb', line 11 def ad_title source_node.at('AdTitle').content end |
#survey_url ⇒ Object
URI of request to survey vendor
6 7 8 |
# File 'lib/vast/inline_ad.rb', line 6 def survey_url URI.parse source_node.at('Survey').content.strip end |