GoogleApi.AdExchangeBuyer.V2beta1.Model.NativeContent (google_api_ad_exchange_buyer v0.36.0) View Source

Native content for a creative.

Attributes

  • advertiserName (type: String.t, default: nil) - The name of the advertiser or sponsor, to be displayed in the ad creative.
  • appIcon (type: GoogleApi.AdExchangeBuyer.V2beta1.Model.Image.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.V2beta1.Model.Image.t, default: nil) - A large image.
  • logo (type: GoogleApi.AdExchangeBuyer.V2beta1.Model.Image.t, default: nil) - A smaller image, for the advertiser's logo.
  • priceDisplayText (type: String.t, default: nil) - The price of the promoted app including currency info.
  • starRating (type: float(), default: nil) - The app rating in the app store. Must be in the range [0-5].
  • storeUrl (type: String.t, default: nil) - The URL to the app store to purchase/download the promoted app.
  • videoUrl (type: String.t, default: nil) - The URL to fetch a native video ad.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AdExchangeBuyer.V2beta1.Model.NativeContent{
  advertiserName: String.t(),
  appIcon: GoogleApi.AdExchangeBuyer.V2beta1.Model.Image.t(),
  body: String.t(),
  callToAction: String.t(),
  clickLinkUrl: String.t(),
  clickTrackingUrl: String.t(),
  headline: String.t(),
  image: GoogleApi.AdExchangeBuyer.V2beta1.Model.Image.t(),
  logo: GoogleApi.AdExchangeBuyer.V2beta1.Model.Image.t(),
  priceDisplayText: String.t(),
  starRating: float(),
  storeUrl: String.t(),
  videoUrl: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.