class Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Context
Attributes
auction_type[RW]
Only set when contextType=AUCTION_TYPE. Represents the auction types this correction applies to. Corresponds to the JSON property `auctionType` @return [Array<String>]
context_type[RW]
The type of context (e.g., location, platform, auction type, SSL-ness). Corresponds to the JSON property `contextType` @return [String]
geo_criteria_id[RW]
Only set when contextType=LOCATION. Represents the geo criterias this correction applies to. Corresponds to the JSON property `geoCriteriaId` @return [Array<Fixnum>]
platform[RW]
Only set when contextType=PLATFORM. Represents the platforms this correction applies to. Corresponds to the JSON property `platform` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 815 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 820 def update!(**args) @auction_type = args[:auction_type] if args.key?(:auction_type) @context_type = args[:context_type] if args.key?(:context_type) @geo_criteria_id = args[:geo_criteria_id] if args.key?(:geo_criteria_id) @platform = args[:platform] if args.key?(:platform) end