class Google::Apis::AdexchangebuyerV1_4::DimensionDimensionValue

Value of the dimension.

Attributes

id[RW]

Id of the dimension. Corresponds to the JSON property `id` @return [Fixnum]

name[RW]

Name of the dimension mainly for debugging purposes, except for the case of CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids. Corresponds to the JSON property `name` @return [String]

percentage[RW]

Percent of total impressions for a dimension type. e.g. `dimension_type: ' GENDER', [`dimension_value: `id: 1, name: 'MALE', percentage: 60“]` Gender MALE is 60% of all impressions which have gender. Corresponds to the JSON property `percentage` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 1745
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 1750
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
  @percentage = args[:percentage] if args.key?(:percentage)
end