GoogleApi.RealTimeBidding.V1.Model.NativeContent (google_api_real_time_bidding v0.13.2)

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.RealTimeBidding.V1.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.RealTimeBidding.V1.Model.Image.t, default: nil) - A large image.
  • logo (type: GoogleApi.RealTimeBidding.V1.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].
  • videoUrl (type: String.t, default: nil) - The URL to fetch a native video ad.
  • videoVastXml (type: String.t, default: nil) - The contents of a VAST document for a native video ad.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.RealTimeBidding.V1.Model.NativeContent{
  advertiserName: String.t() | nil,
  appIcon: GoogleApi.RealTimeBidding.V1.Model.Image.t() | nil,
  body: String.t() | nil,
  callToAction: String.t() | nil,
  clickLinkUrl: String.t() | nil,
  clickTrackingUrl: String.t() | nil,
  headline: String.t() | nil,
  image: GoogleApi.RealTimeBidding.V1.Model.Image.t() | nil,
  logo: GoogleApi.RealTimeBidding.V1.Model.Image.t() | nil,
  priceDisplayText: String.t() | nil,
  starRating: float() | nil,
  videoUrl: String.t() | nil,
  videoVastXml: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.