Class CustomEvent
Experimental feature (no support provided) A custom event represents a third party impression, a third party click, an annotation on a first party impression, or an annotation on a first party click.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Dfareporting.v3_4.Data
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class CustomEvent : IDirectResponseSchema
Properties
AnnotateClickEvent
Annotate a click event. This field is mutually exclusive with insertEvent and annotateImpressionEvent. This or insertEvent and annotateImpressionEvent is a required field.
Declaration
[JsonProperty("annotateClickEvent")]
public virtual CustomEventClickAnnotation AnnotateClickEvent { get; set; }
Property Value
Type | Description |
---|---|
CustomEventClickAnnotation |
AnnotateImpressionEvent
Annotate an impression. This field is mutually exclusive with insertEvent and annotateClickEvent. This or insertEvent and annotateClickEvent is a required field.
Declaration
[JsonProperty("annotateImpressionEvent")]
public virtual CustomEventImpressionAnnotation AnnotateImpressionEvent { get; set; }
Property Value
Type | Description |
---|---|
CustomEventImpressionAnnotation |
CustomVariables
Custom variables associated with the event.
Declaration
[JsonProperty("customVariables")]
public virtual IList<CustomVariable> CustomVariables { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<CustomVariable> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EventType
The type of event. If INSERT, the fields in insertEvent need to be populated. If ANNOTATE, the fields in either annotateClickEvent or annotateImpressionEvent need to be populated.
Declaration
[JsonProperty("eventType")]
public virtual string EventType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FloodlightConfigurationId
Floodlight configuration ID of the advertiser the event is linked to. This is a required field.
Declaration
[JsonProperty("floodlightConfigurationId")]
public virtual long? FloodlightConfigurationId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
InsertEvent
Insert custom event. This field is mutually exclusive with annotateClickEvent and annotateImpressionEvent. This or annotateClickEvent and annotateImpressionEvent is a required field.
Declaration
[JsonProperty("insertEvent")]
public virtual CustomEventInsert InsertEvent { get; set; }
Property Value
Type | Description |
---|---|
CustomEventInsert |
Kind
Identifies what kind of resource this is. Value: the fixed string "dfareporting#customEvent".
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Ordinal
The ordinal of this custom event. This is a required field.
Declaration
[JsonProperty("ordinal")]
public virtual string Ordinal { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TimestampMicros
The timestamp of this custom event, in Unix epoch micros. This is a required field.
Declaration
[JsonProperty("timestampMicros")]
public virtual long? TimestampMicros { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |