Class: Google::Apis::DisplayvideoV1::UrlAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::UrlAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb
Overview
Details for assigned URL targeting option. This will be populated in the
details field of an AssignedTargetingOption when targeting_type is
TARGETING_TYPE_URL
.
Instance Attribute Summary collapse
-
#negative ⇒ Boolean
(also: #negative?)
Indicates if this option is being negatively targeted.
-
#url ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UrlAssignedTargetingOptionDetails
constructor
A new instance of UrlAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UrlAssignedTargetingOptionDetails
Returns a new instance of UrlAssignedTargetingOptionDetails.
8261 8262 8263 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8261 def initialize(**args) update!(**args) end |
Instance Attribute Details
#negative ⇒ Boolean Also known as: negative?
Indicates if this option is being negatively targeted.
Corresponds to the JSON property negative
8250 8251 8252 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8250 def negative @negative end |
#url ⇒ String
Required. The URL, for example example.com
. DV360 supports two levels of
subdirectory targeting, for example www.example.com/one-subdirectory-level/
second-level
, and five levels of subdomain targeting, for example five.four.
three.two.one.example.com
.
Corresponds to the JSON property url
8259 8260 8261 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8259 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8266 8267 8268 8269 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8266 def update!(**args) @negative = args[:negative] if args.key?(:negative) @url = args[:url] if args.key?(:url) end |