GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAd (google_api_ad_exchange_buyer v0.36.0) View Source

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

Attributes

  • advertiser (type: String.t, default: nil) -
  • appIcon (type: GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAdAppIcon.t, default: nil) - The app icon, for app download ads.
  • body (type: String.t, default: nil) - A long description of the ad.
  • callToAction (type: String.t, default: nil) - A label for the button that the user is supposed to click.
  • clickLinkUrl (type: String.t, default: nil) - The URL that the browser/SDK will load when the user clicks the ad.
  • clickTrackingUrl (type: String.t, default: nil) - The URL to use for click tracking.
  • headline (type: String.t, default: nil) - A short title for the ad.
  • image (type: GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAdImage.t, default: nil) - A large image.
  • impressionTrackingUrl (type: list(String.t), default: nil) - The URLs are called when the impression is rendered.
  • logo (type: GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAdLogo.t, default: nil) - A smaller image, for the advertiser logo.
  • price (type: String.t, default: nil) - The price of the promoted app including the currency info.
  • starRating (type: float(), default: nil) - The app rating in the app store. Must be in the range [0-5].
  • videoURL (type: String.t, default: nil) - The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAd{
  advertiser: String.t(),
  appIcon: GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAdAppIcon.t(),
  body: String.t(),
  callToAction: String.t(),
  clickLinkUrl: String.t(),
  clickTrackingUrl: String.t(),
  headline: String.t(),
  image: GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAdImage.t(),
  impressionTrackingUrl: [String.t()],
  logo: GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAdLogo.t(),
  price: String.t(),
  starRating: float(),
  videoURL: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.