class Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd
If nativeAd is set, HTMLSnippet and videoURL should not be set.
Attributes
Corresponds to the JSON property `advertiser` @return [String]
The app icon, for app download ads. Corresponds to the JSON property `appIcon` @return [Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::AppIcon]
A long description of the ad. Corresponds to the JSON property `body` @return [String]
A label for the button that the user is supposed to click. Corresponds to the JSON property `callToAction` @return [String]
The URL to use for click tracking. Corresponds to the JSON property `clickTrackingUrl` @return [String]
A short title for the ad. Corresponds to the JSON property `headline` @return [String]
A large image. Corresponds to the JSON property `image` @return [Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Image]
The URLs are called when the impression is rendered. Corresponds to the JSON property `impressionTrackingUrl` @return [Array<String>]
A smaller image, for the advertiser logo. Corresponds to the JSON property `logo` @return [Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Logo]
The price of the promoted app including the currency info. Corresponds to the JSON property `price` @return [String]
The app rating in the app store. Must be in the range [0-5]. Corresponds to the JSON property `starRating` @return [Float]
The URL to the app store to purchase/download the promoted app. Corresponds to the JSON property `store` @return [String]
Public Class Methods
# File generated/google/apis/adexchangebuyer_v1_4/classes.rb, line 790 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/adexchangebuyer_v1_4/classes.rb, line 795 def update!(**args) @advertiser = args[:advertiser] if args.key?(:advertiser) @app_icon = args[:app_icon] if args.key?(:app_icon) @body = args[:body] if args.key?(:body) @call_to_action = args[:call_to_action] if args.key?(:call_to_action) @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url) @headline = args[:headline] if args.key?(:headline) @image = args[:image] if args.key?(:image) @impression_tracking_url = args[:impression_tracking_url] if args.key?(:impression_tracking_url) @logo = args[:logo] if args.key?(:logo) @price = args[:price] if args.key?(:price) @star_rating = args[:star_rating] if args.key?(:star_rating) @store = args[:store] if args.key?(:store) end