pub struct InLine<'a> {Show 15 fields
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_serving_id: Cow<'a, str>,
pub ad_title: Cow<'a, str>,
pub ad_verifications: Option<AdVerifications<'a>>,
pub advertiser: Option<Cow<'a, str>>,
pub categories: Vec<Category<'a>>,
pub creatives: Creatives<'a>,
pub description: Option<Cow<'a, str>>,
pub expires: Option<i32>,
pub surveys: Option<Survey<'a>>,
}Expand description
Second-level element surrounding complete ad data for a single ad.
<xs:element name="InLine">
<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:element name="AdServingId" minOccurs="1" maxOccurs="1" type="xs:string">
<xs:element name="AdTitle" minOccurs="1" maxOccurs="1" type="xs:string">
<xs:element name="AdVerifications" minOccurs="0" maxOccurs="1" type="vast:AdVerifications_type" />
<xs:element name="Advertiser" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:element name="Category" minOccurs="0" maxOccurs="unbounded">
<xs:element name="Creatives" minOccurs="1" maxOccurs="1">
<xs:element name="Description" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:element name="Expires" minOccurs="0" maxOccurs="1" type="xs:integer">
<xs:element name="Survey" minOccurs="0" maxOccurs="1">
</xs:sequence>
</xs:complexType>
</xs:element>Fields§
§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_serving_id: Cow<'a, str>Any ad server that returns a VAST containing an <InLine> ad must generate a pseudo-unique
identifier that is appropriate for all involved parties to track the lifecycle of that ad.
This should be inserted into the <AdServingId> element, and also be included on all
outgoing tracking pixels. The value should be different for each Inline in a VAST. Usage of
a GUID is recommended.
ad_title: Cow<'a, str>Common name of ad
ad_verifications: Option<AdVerifications<'a>>The container for zero or one <AdVerifications> element.
advertiser: Option<Cow<'a, str>>Name of advertiser as defined by the ad serving party.
categories: Vec<Category<'a>>The container for zero or more <Category> elements.
creatives: Creatives<'a>The <Creatives> elements.
description: Option<Cow<'a, str>>Longer description of ad.
expires: Option<i32>An integer value that defines the expiry period (in seconds).
surveys: Option<Survey<'a>>The container for zero or one <Survey> elements.