class Google::Apis::DfareportingV3_4::AudienceSegment
Audience Segment.
Attributes
allocation[RW]
Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive. Corresponds to the JSON property `allocation` @return [Fixnum]
id[RW]
ID of this audience segment. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [Fixnum]
name[RW]
Name of this audience segment. This is a required field and must be less than 65 characters long. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 1280 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 1285 def update!(**args) @allocation = args[:allocation] if args.key?(:allocation) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) end