class Google::Apis::DfareportingV2_3::AudienceSegment

Audience Segment.

Attributes

allocation[RW]

Weight allocated to this segment. Must be between 1 and 1000. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. 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 [String]

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 generated/google/apis/dfareporting_v2_3/classes.rb, line 1250
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_3/classes.rb, line 1255
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