class Google::Apis::AuthorizedbuyersmarketplaceV1::MarketplaceTargeting

Targeting represents different criteria that can be used to target inventory. For example, they can choose to target inventory only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise.

Attributes

daypart_targeting[RW]

Represents Daypart targeting. Corresponds to the JSON property ‘daypartTargeting` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::DayPartTargeting]

geo_targeting[RW]

Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. This cannot be filtered using list filter syntax. Corresponds to the JSON property ‘geoTargeting` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting]

inventory_size_targeting[RW]

Represents the size of an ad unit that can be targeted on a bid request. Corresponds to the JSON property ‘inventorySizeTargeting` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::InventorySizeTargeting]

placement_targeting[RW]

Represents targeting about where the ads can appear, for example, certain sites or mobile applications. Different placement targeting types will be logically OR’ed. Corresponds to the JSON property ‘placementTargeting` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::PlacementTargeting]

technology_targeting[RW]

Represents targeting about various types of technology. Corresponds to the JSON property ‘technologyTargeting` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::TechnologyTargeting]

user_list_targeting[RW]

Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. This cannot be filtered using list filter syntax. Corresponds to the JSON property ‘userListTargeting` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting]

video_targeting[RW]

Represents targeting information about video. Corresponds to the JSON property ‘videoTargeting` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::VideoTargeting]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 1179
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 1184
def update!(**args)
  @daypart_targeting = args[:daypart_targeting] if args.key?(:daypart_targeting)
  @geo_targeting = args[:geo_targeting] if args.key?(:geo_targeting)
  @inventory_size_targeting = args[:inventory_size_targeting] if args.key?(:inventory_size_targeting)
  @placement_targeting = args[:placement_targeting] if args.key?(:placement_targeting)
  @technology_targeting = args[:technology_targeting] if args.key?(:technology_targeting)
  @user_list_targeting = args[:user_list_targeting] if args.key?(:user_list_targeting)
  @video_targeting = args[:video_targeting] if args.key?(:video_targeting)
end