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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
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(),
  store: String.t(),
  videoURL: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.