class Google::Apis::AuthorizedbuyersmarketplaceV1::InventorySizeTargeting
Represents the size of an ad unit that can be targeted on a bid request.
Attributes
excluded_inventory_sizes[RW]
A list of inventory sizes to be excluded. Corresponds to the JSON property ‘excludedInventorySizes` @return [Array<Google::Apis::AuthorizedbuyersmarketplaceV1::AdSize>]
targeted_inventory_sizes[RW]
A list of inventory sizes to be included. Corresponds to the JSON property ‘targetedInventorySizes` @return [Array<Google::Apis::AuthorizedbuyersmarketplaceV1::AdSize>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 939 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 944 def update!(**args) @excluded_inventory_sizes = args[:excluded_inventory_sizes] if args.key?(:excluded_inventory_sizes) @targeted_inventory_sizes = args[:targeted_inventory_sizes] if args.key?(:targeted_inventory_sizes) end