class Google::Apis::Adexchangebuyer2V2beta1::UrlTargeting

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.

Attributes

excluded_urls[RW]

A list of URLs to be excluded. Corresponds to the JSON property `excludedUrls` @return [Array<String>]

targeted_urls[RW]

A list of URLs to be included. Corresponds to the JSON property `targetedUrls` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 4079
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 4084
def update!(**args)
  @excluded_urls = args[:excluded_urls] if args.key?(:excluded_urls)
  @targeted_urls = args[:targeted_urls] if args.key?(:targeted_urls)
end