class Google::Apis::DfareportingV3_5::PlacementAssignment

Placement Assignment.

Attributes

active[RW]

Whether this placement assignment is active. When true, the placement will be included in the ad's rotation. Corresponds to the JSON property `active` @return [Boolean]

active?[RW]

Whether this placement assignment is active. When true, the placement will be included in the ad's rotation. Corresponds to the JSON property `active` @return [Boolean]

placement_id[RW]

ID of the placement to be assigned. This is a required field. Corresponds to the JSON property `placementId` @return [Fixnum]

placement_id_dimension_value[RW]

Represents a DimensionValue resource. Corresponds to the JSON property `placementIdDimensionValue` @return [Google::Apis::DfareportingV3_5::DimensionValue]

ssl_required[RW]

Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated. Corresponds to the JSON property `sslRequired` @return [Boolean]

ssl_required?[RW]

Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated. Corresponds to the JSON property `sslRequired` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 8777
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_5/classes.rb, line 8782
def update!(**args)
  @active = args[:active] if args.key?(:active)
  @placement_id = args[:placement_id] if args.key?(:placement_id)
  @placement_id_dimension_value = args[:placement_id_dimension_value] if args.key?(:placement_id_dimension_value)
  @ssl_required = args[:ssl_required] if args.key?(:ssl_required)
end