CreativeNativeAd class

If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)

Constructors

CreativeNativeAd()
CreativeNativeAd.fromJson(Map _json)

Properties

advertiser ↔ String
read / write
appIcon CreativeNativeAdAppIcon
The app icon, for app download ads.
read / write
body ↔ String
A long description of the ad.
read / write
callToAction ↔ String
A label for the button that the user is supposed to click.
read / write
clickLinkUrl ↔ String
The URL that the browser/SDK will load when the user clicks the ad.
read / write
clickTrackingUrl ↔ String
The URL to use for click tracking.
read / write
headline ↔ String
A short title for the ad.
read / write
image CreativeNativeAdImage
A large image.
read / write
impressionTrackingUrl ↔ List<String>
The URLs are called when the impression is rendered.
read / write
A smaller image, for the advertiser logo.
read / write
price ↔ String
The price of the promoted app including the currency info.
read / write
starRating ↔ double
The app rating in the app store. Must be in the range 0-5.
read / write
store ↔ String
The URL to the app store to purchase/download the promoted app.
read / write
videoURL ↔ String
The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited