class Google::Apis::Adexchangebuyer2V2beta1::NativeContent
Native content for a creative.
Attributes
The name of the advertiser or sponsor, to be displayed in the ad creative. Corresponds to the JSON property `advertiserName` @return [String]
An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. Corresponds to the JSON property `appIcon` @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
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 that the browser/SDK will load when the user clicks the ad. Corresponds to the JSON property `clickLinkUrl` @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]
An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. Corresponds to the JSON property `image` @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. Corresponds to the JSON property `logo` @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
The price of the promoted app including currency info. Corresponds to the JSON property `priceDisplayText` @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 `storeUrl` @return [String]
The URL to fetch a native video ad. Corresponds to the JSON property `videoUrl` @return [String]
Public Class Methods
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 2797 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 2802 def update!(**args) @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) @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_link_url = args[:click_link_url] if args.key?(:click_link_url) @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) @logo = args[:logo] if args.key?(:logo) @price_display_text = args[:price_display_text] if args.key?(:price_display_text) @star_rating = args[:star_rating] if args.key?(:star_rating) @store_url = args[:store_url] if args.key?(:store_url) @video_url = args[:video_url] if args.key?(:video_url) end