class Google::Apis::Adexchangebuyer2V2beta1::PlacementTargeting

Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR' ed.

Attributes

mobile_application_targeting[RW]

Mobile application targeting settings. Corresponds to the JSON property `mobileApplicationTargeting` @return [Google::Apis::Adexchangebuyer2V2beta1::MobileApplicationTargeting]

url_targeting[RW]

Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn't apply. Corresponds to the JSON property `urlTargeting` @return [Google::Apis::Adexchangebuyer2V2beta1::UrlTargeting]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 3037
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 3042
def update!(**args)
  @mobile_application_targeting = args[:mobile_application_targeting] if args.key?(:mobile_application_targeting)
  @url_targeting = args[:url_targeting] if args.key?(:url_targeting)
end