Class: Google::Apis::DisplayvideoV4::AdPolicyTopicConstraintAdPolicyCountryConstraintList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdPolicyTopicConstraintAdPolicyCountryConstraintList

Returns a new instance of AdPolicyTopicConstraintAdPolicyCountryConstraintList.



553
554
555
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 553

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

Instance Attribute Details

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

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



551
552
553
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 551

def countries
  @countries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



558
559
560
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 558

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