Class: Google::Apis::DisplayvideoV4::AdPolicyTopicConstraintAdPolicyCountryConstraintList
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::AdPolicyTopicConstraintAdPolicyCountryConstraintList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb
Overview
A list of countries where the ad cannot serve due to policy constraints.
Instance Attribute Summary collapse
-
#countries ⇒ Array<Google::Apis::DisplayvideoV4::AdPolicyCriterionRestriction>
Countries where the ad cannot serve.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdPolicyTopicConstraintAdPolicyCountryConstraintList
constructor
A new instance of AdPolicyTopicConstraintAdPolicyCountryConstraintList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdPolicyTopicConstraintAdPolicyCountryConstraintList
Returns a new instance of AdPolicyTopicConstraintAdPolicyCountryConstraintList.
547 548 549 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 547 def initialize(**args) update!(**args) end |
Instance Attribute Details
#countries ⇒ Array<Google::Apis::DisplayvideoV4::AdPolicyCriterionRestriction>
Countries where the ad cannot serve.
Corresponds to the JSON property countries
545 546 547 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 545 def countries @countries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
552 553 554 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 552 def update!(**args) @countries = args[:countries] if args.key?(:countries) end |