google_api_ad_exchange_buyer v0.15.0 GoogleApi.AdExchangeBuyer.V2beta1.Model.NativeContent View Source

Native content for a creative.

Attributes

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

Link to this function

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

Unwrap a decoded JSON object into its complex fields.