Class CreativeAssignment
Creative Assignment.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Dfareporting.v3_2.Data
Assembly: Google.Apis.Dfareporting.v3_2.dll
Syntax
public class CreativeAssignment : IDirectResponseSchema
Properties
Active
Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.
Declaration
[JsonProperty("active")]
public virtual bool? Active { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
ApplyEventTags
Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.
Declaration
[JsonProperty("applyEventTags")]
public virtual bool? ApplyEventTags { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
ClickThroughUrl
Click-through URL of the creative assignment.
Declaration
[JsonProperty("clickThroughUrl")]
public virtual ClickThroughUrl ClickThroughUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| ClickThroughUrl |
CompanionCreativeOverrides
Companion creative overrides for this creative assignment. Applicable to video ads.
Declaration
[JsonProperty("companionCreativeOverrides")]
public virtual IList<CompanionClickThroughOverride> CompanionCreativeOverrides { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<CompanionClickThroughOverride> |
CreativeGroupAssignments
Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.
Declaration
[JsonProperty("creativeGroupAssignments")]
public virtual IList<CreativeGroupAssignment> CreativeGroupAssignments { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<CreativeGroupAssignment> |
CreativeId
ID of the creative to be assigned. This is a required field.
Declaration
[JsonProperty("creativeId")]
public virtual long? CreativeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
CreativeIdDimensionValue
Dimension value for the ID of the creative. This is a read-only, auto-generated field.
Declaration
[JsonProperty("creativeIdDimensionValue")]
public virtual DimensionValue CreativeIdDimensionValue { get; set; }
Property Value
| Type | Description |
|---|---|
| DimensionValue |
EndTime
System.DateTime representation of EndTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTime? EndTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> |
EndTimeRaw
Date and time that the assigned creative should stop serving. Must be later than the start time.
Declaration
[JsonProperty("endTime")]
public virtual string EndTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RichMediaExitOverrides
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
Declaration
[JsonProperty("richMediaExitOverrides")]
public virtual IList<RichMediaExitOverride> RichMediaExitOverrides { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<RichMediaExitOverride> |
Sequence
Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to 65535, inclusive.
Declaration
[JsonProperty("sequence")]
public virtual int? Sequence { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
SslCompliant
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.
Declaration
[JsonProperty("sslCompliant")]
public virtual bool? SslCompliant { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
StartTime
System.DateTime representation of StartTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTime? StartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> |
StartTimeRaw
Date and time that the assigned creative should start serving.
Declaration
[JsonProperty("startTime")]
public virtual string StartTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Weight
Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1.
Declaration
[JsonProperty("weight")]
public virtual int? Weight { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |