Class: Google::Apis::Adexchangebuyer2V2beta1::UrlTargeting
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::UrlTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adexchangebuyer2_v2beta1/classes.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#excluded_urls ⇒ Array<String>
A list of URLs to be excluded.
-
#targeted_urls ⇒ Array<String>
A list of URLs to be included.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UrlTargeting
constructor
A new instance of UrlTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UrlTargeting
Returns a new instance of UrlTargeting.
4032 4033 4034 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4032 def initialize(**args) update!(**args) end |
Instance Attribute Details
#excluded_urls ⇒ Array<String>
A list of URLs to be excluded.
Corresponds to the JSON property excludedUrls
4025 4026 4027 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4025 def excluded_urls @excluded_urls end |
#targeted_urls ⇒ Array<String>
A list of URLs to be included.
Corresponds to the JSON property targetedUrls
4030 4031 4032 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4030 def targeted_urls @targeted_urls end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4037 4038 4039 4040 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4037 def update!(**args) @excluded_urls = args[:excluded_urls] if args.key?(:excluded_urls) @targeted_urls = args[:targeted_urls] if args.key?(:targeted_urls) end |