pub struct Wrapper<'a> {Show 13 fields
pub follow_additional_wrappers: Option<bool>,
pub allow_multiple_ads: Option<bool>,
pub fallback_on_no_ad: Option<bool>,
pub ad_system: AdSystem<'a>,
pub errors: Vec<Cow<'a, str>>,
pub extensions: Option<Extensions>,
pub impressions: Vec<Impression<'a>>,
pub pricing: Option<Pricing<'a>>,
pub viewable_impression: Option<ViewableImpression<'a>>,
pub ad_verifications: Option<AdVerifications<'a>>,
pub blocked_ad_categories: Vec<BlockedAdCategories<'a>>,
pub creatives: Option<Creatives<'a>>,
pub vast_ad_tag_uri: Cow<'a, str>,
}Expand description
Second-level element surrounding wrapper ad pointing to Secondary ad server.
<xs:element name="Wrapper">
<xs:complexType>
<xs:sequence>
<!-- AdDefinitionBase_type -->
<xs:element name="AdSystem" minOccurs="1" maxOccurs="1">
<xs:element name="Error" minOccurs="0" maxOccurs="unbounded" type="xs:anyURI">
<xs:element name="Extensions" minOccurs="0" maxOccurs="1">
<xs:element name="Impression" minOccurs="1" maxOccurs="unbounded" type="vast:Impression_type">
<xs:element name="Pricing" minOccurs="0" maxOccurs="1">
<xs:element name="ViewableImpression" minOccurs="0" maxOccurs="1" type="vast:ViewableImpression_type" />
</xs:sequence>
<xs:attribute name="followAdditionalWrappers" type="xs:boolean">
<xs:attribute name="allowMultipleAds" type="xs:boolean">
<xs:attribute name="fallbackOnNoAd" type="xs:boolean">
<xs:sequence>
<xs:element name="AdVerifications" minOccurs="0" maxOccurs="1" type="vast:AdVerifications_type" />
<xs:element name="BlockedAdCategories" minOccurs="0" maxOccurs="unbounded">
<xs:element name="Creatives" minOccurs="0" maxOccurs="1">
<xs:element name="VASTAdTagURI" minOccurs="1" maxOccurs="1" type="xs:anyURI">
</xs:sequence>
</xs:complexType>
</xs:element>Fields§
§follow_additional_wrappers: Option<bool>A Boolean value that identifies whether subsequent Wrappers after a requested VAST response is allowed. If false, any Wrappers received (i.e. not an Inline VAST response) should be ignored. Otherwise, VAST Wrappers received should be accepted (default value is “true.”)
allow_multiple_ads: Option<bool>A Boolean value that identifies whether multiple ads are allowed in the requested VAST response. If true, both Pods and stand-alone ads are allowed. If false, only the first stand-alone Ad (with no sequence values) in the requested VAST response is allowed. Default value is “false.”
fallback_on_no_ad: Option<bool>A Boolean value that provides instruction for using an available Ad when the requested VAST response returns no ads. If true, the media player should select from any stand-alone ads available. If false and the Wrapper represents an Ad in a Pod, the media player should move on to the next Ad in a Pod; otherwise, the media player can follow through at its own discretion where no-ad responses are concerned.
ad_system: AdSystem<'a>The <AdSystem> element.
errors: Vec<Cow<'a, str>>The container for zero or more <Error> elements.
extensions: Option<Extensions>The container for zero or one <Extensions> element.
impressions: Vec<Impression<'a>>The container for one or more <Impression> elements.
pricing: Option<Pricing<'a>>The container for zero or one <Pricing> element.
viewable_impression: Option<ViewableImpression<'a>>The container for zero or one <ViewableImpression> element.
ad_verifications: Option<AdVerifications<'a>>The container for zero or one <AdVerifications> element.
blocked_ad_categories: Vec<BlockedAdCategories<'a>>The container for zero or more <BlockedAdCategories> elements.
creatives: Option<Creatives<'a>>The container for zero or one <Creative> element.
vast_ad_tag_uri: Cow<'a, str>