Class Conversion
A Conversion represents when a user successfully performs a desired action after seeing an ad.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Dfareporting.v3_2.Data
Assembly: Google.Apis.Dfareporting.v3_2.dll
Syntax
public class Conversion : IDirectResponseSchema
Properties
ChildDirectedTreatment
Whether this particular request may come from a user under the age of 13, under COPPA compliance.
Declaration
[JsonProperty("childDirectedTreatment")]
public virtual bool? ChildDirectedTreatment { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
CustomVariables
Custom floodlight variables.
Declaration
[JsonProperty("customVariables")]
public virtual IList<CustomFloodlightVariable> CustomVariables { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<CustomFloodlightVariable> |
EncryptedUserId
The alphanumeric encrypted user ID. When set, encryptionInfo should also be specified. This field is mutually exclusive with encryptedUserIdCandidates[], mobileDeviceId and gclid. This or encryptedUserIdCandidates[] or mobileDeviceId or gclid is a required field.
Declaration
[JsonProperty("encryptedUserId")]
public virtual string EncryptedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
EncryptedUserIdCandidates
A list of the alphanumeric encrypted user IDs. Any user ID with exposure prior to the conversion timestamp will be used in the inserted conversion. If no such user ID is found then the conversion will be rejected with NO_COOKIE_MATCH_FOUND error. When set, encryptionInfo should also be specified. This field may only be used when calling batchinsert; it is not supported by batchupdate. This field is mutually exclusive with encryptedUserId, mobileDeviceId and gclid. This or encryptedUserId or mobileDeviceId or gclid is a required field.
Declaration
[JsonProperty("encryptedUserIdCandidates")]
public virtual IList<string> EncryptedUserIdCandidates { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FloodlightActivityId
Floodlight Activity ID of this conversion. This is a required field.
Declaration
[JsonProperty("floodlightActivityId")]
public virtual long? FloodlightActivityId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
FloodlightConfigurationId
Floodlight Configuration ID of this conversion. This is a required field.
Declaration
[JsonProperty("floodlightConfigurationId")]
public virtual long? FloodlightConfigurationId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
Gclid
The Google click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[] and mobileDeviceId. This or encryptedUserId or encryptedUserIdCandidates[] or mobileDeviceId is a required field.
Declaration
[JsonProperty("gclid")]
public virtual string Gclid { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Kind
Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversion".
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
LimitAdTracking
Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing.
Declaration
[JsonProperty("limitAdTracking")]
public virtual bool? LimitAdTracking { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
MobileDeviceId
The mobile device ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[] and gclid. This or encryptedUserId or encryptedUserIdCandidates[] or gclid is a required field.
Declaration
[JsonProperty("mobileDeviceId")]
public virtual string MobileDeviceId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NonPersonalizedAd
Whether the conversion was for a non personalized ad.
Declaration
[JsonProperty("nonPersonalizedAd")]
public virtual bool? NonPersonalizedAd { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Ordinal
The ordinal of the conversion. Use this field to control how conversions of the same user and day are de-duplicated. This is a required field.
Declaration
[JsonProperty("ordinal")]
public virtual string Ordinal { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Quantity
The quantity of the conversion.
Declaration
[JsonProperty("quantity")]
public virtual long? Quantity { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
TimestampMicros
The timestamp of conversion, 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> |
TreatmentForUnderage
Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR).
Declaration
[JsonProperty("treatmentForUnderage")]
public virtual bool? TreatmentForUnderage { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Value
The value of the conversion.
Declaration
[JsonProperty("value")]
public virtual double? Value { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |