google_api_ad_exchange_buyer v0.11.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: null.
  • appIcon (CreativeNativeAdAppIcon): Defaults to: null.
  • body (String.t): A long description of the ad. Defaults to: null.
  • callToAction (String.t): A label for the button that the user is supposed to click. Defaults to: null.
  • clickLinkUrl (String.t): The URL that the browser/SDK will load when the user clicks the ad. Defaults to: null.
  • clickTrackingUrl (String.t): The URL to use for click tracking. Defaults to: null.
  • headline (String.t): A short title for the ad. Defaults to: null.
  • image (CreativeNativeAdImage): Defaults to: null.
  • impressionTrackingUrl ([String.t]): The URLs are called when the impression is rendered. Defaults to: null.
  • logo (CreativeNativeAdLogo): Defaults to: null.
  • price (String.t): The price of the promoted app including the currency info. Defaults to: null.
  • starRating (float()): The app rating in the app store. Must be in the range [0-5]. Defaults to: null.
  • store (String.t): The URL to the app store to purchase/download the promoted app. Defaults to: null.
  • 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: null.

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: any(),
  appIcon: GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAdAppIcon.t(),
  body: any(),
  callToAction: any(),
  clickLinkUrl: any(),
  clickTrackingUrl: any(),
  headline: any(),
  image: GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAdImage.t(),
  impressionTrackingUrl: [any()],
  logo: GoogleApi.AdExchangeBuyer.V14.Model.CreativeNativeAdLogo.t(),
  price: any(),
  starRating: any(),
  store: any(),
  videoURL: any()
}

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.