Class: Google::Apis::DisplayvideoV3::RegionalLocationListAssignedTargetingOptionDetails

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

Targeting details for regional location list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_REGIONAL_LOCATION_LIST.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegionalLocationListAssignedTargetingOptionDetails

Returns a new instance of RegionalLocationListAssignedTargetingOptionDetails.



10952
10953
10954
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10952

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

Instance Attribute Details

#negativeBoolean Also known as: negative?

Indicates if this option is being negatively targeted. Corresponds to the JSON property negative

Returns:

  • (Boolean)


10942
10943
10944
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10942

def negative
  @negative
end

#regional_location_list_idFixnum

Required. ID of the regional location list. Should refer to the location_list_id field of a LocationList resource whose type is TARGETING_LOCATION_TYPE_REGIONAL. Corresponds to the JSON property regionalLocationListId

Returns:

  • (Fixnum)


10950
10951
10952
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10950

def regional_location_list_id
  @regional_location_list_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10957
10958
10959
10960
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10957

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