class Google::Apis::DfareportingV2_1::PlacementAssignment
Placement Assignment.
Attributes
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]
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]
ID of the placement to be assigned. This is a required field. Corresponds to the JSON property `placementId` @return [String]
Represents a DimensionValue resource. Corresponds to the JSON property `placementIdDimensionValue` @return [Google::Apis::DfareportingV2_1::DimensionValue]
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]
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
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 7465 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 7470 def update!(**args) @active = args[:active] unless args[:active].nil? @placement_id = args[:placement_id] unless args[:placement_id].nil? @placement_id_dimension_value = args[:placement_id_dimension_value] unless args[:placement_id_dimension_value].nil? @ssl_required = args[:ssl_required] unless args[:ssl_required].nil? end