class Google::Apis::DfareportingV3_4::CreativeAssignment
Creative
Assignment.
Attributes
Whether this creative assignment is active. When true, the creative will be included in the ad's rotation. Corresponds to the JSON property `active` @return [Boolean]
Whether this creative assignment is active. When true, the creative will be included in the ad's rotation. Corresponds to the JSON property `active` @return [Boolean]
Click-through URL Corresponds to the JSON property `clickThroughUrl` @return [Google::Apis::DfareportingV3_4::ClickThroughUrl]
Companion creative overrides for this creative assignment. Applicable to video ads. Corresponds to the JSON property `companionCreativeOverrides` @return [Array<Google::Apis::DfareportingV3_4::CompanionClickThroughOverride>]
Creative
group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments. Corresponds to the JSON property `creativeGroupAssignments` @return [Array<Google::Apis::DfareportingV3_4::CreativeGroupAssignment>]
ID of the creative to be assigned. This is a required field. Corresponds to the JSON property `creativeId` @return [Fixnum]
Represents a DimensionValue
resource. Corresponds to the JSON property `creativeIdDimensionValue` @return [Google::Apis::DfareportingV3_4::DimensionValue]
Corresponds to the JSON property `endTime` @return [DateTime]
Rich media exit overrides for this creative assignment. Applicable when the creative type is any of the following: - DISPLAY - RICH_MEDIA_INPAGE - RICH_MEDIA_INPAGE_FLOATING - RICH_MEDIA_IM_EXPAND - RICH_MEDIA_EXPANDING - RICH_MEDIA_INTERSTITIAL_FLOAT - RICH_MEDIA_MOBILE_IN_APP - RICH_MEDIA_MULTI_FLOATING - RICH_MEDIA_PEEL_DOWN - VPAID_LINEAR - VPAID_NON_LINEAR Corresponds to the JSON property `richMediaExitOverrides` @return [Array<Google::Apis::DfareportingV3_4::RichMediaExitOverride>]
Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to 65535, inclusive. Corresponds to the JSON property `sequence` @return [Fixnum]
Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated. Corresponds to the JSON property `sslCompliant` @return [Boolean]
Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated. Corresponds to the JSON property `sslCompliant` @return [Boolean]
Corresponds to the JSON property `startTime` @return [DateTime]
Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1. Corresponds to the JSON property `weight` @return [Fixnum]
Public Class Methods
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 4041 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 4046 def update!(**args) @active = args[:active] if args.key?(:active) @apply_event_tags = args[:apply_event_tags] if args.key?(:apply_event_tags) @click_through_url = args[:click_through_url] if args.key?(:click_through_url) @companion_creative_overrides = args[:companion_creative_overrides] if args.key?(:companion_creative_overrides) @creative_group_assignments = args[:creative_group_assignments] if args.key?(:creative_group_assignments) @creative_id = args[:creative_id] if args.key?(:creative_id) @creative_id_dimension_value = args[:creative_id_dimension_value] if args.key?(:creative_id_dimension_value) @end_time = args[:end_time] if args.key?(:end_time) @rich_media_exit_overrides = args[:rich_media_exit_overrides] if args.key?(:rich_media_exit_overrides) @sequence = args[:sequence] if args.key?(:sequence) @ssl_compliant = args[:ssl_compliant] if args.key?(:ssl_compliant) @start_time = args[:start_time] if args.key?(:start_time) @weight = args[:weight] if args.key?(:weight) end