Class: Google::Apis::DisplayvideoV3::AdPolicyTopicConstraintAdPolicyCountryConstraintList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb

Overview

A list of countries where the ad cannot serve due to policy constraints.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdPolicyTopicConstraintAdPolicyCountryConstraintList

Returns a new instance of AdPolicyTopicConstraintAdPolicyCountryConstraintList.



441
442
443
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 441

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#countriesArray<Google::Apis::DisplayvideoV3::AdPolicyCriterionRestriction>

Countries where the ad cannot serve. Corresponds to the JSON property countries



439
440
441
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 439

def countries
  @countries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



446
447
448
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 446

def update!(**args)
  @countries = args[:countries] if args.key?(:countries)
end