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_5.Data
Assembly: Google.Apis.Dfareporting.v3_5.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 |
---|---|
bool? |
CustomVariables
Custom floodlight variables. This field may only be used when calling batchinsert; it is not supported by batchupdate.
Declaration
[JsonProperty("customVariables")]
public virtual IList<CustomFloodlightVariable> CustomVariables { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<T><CustomFloodlightVariable> |
Dclid
The display click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId and gclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid is a required field.
Declaration
[JsonProperty("dclid")]
public virtual string Dclid { get; set; }
Property Value
Type | Description |
---|---|
string |
EncryptedUserId
The alphanumeric encrypted user ID. When set, encryptionInfo should also be specified. This field is mutually exclusive with encryptedUserIdCandidates[], matchId, mobileDeviceId, gclid and dclid. This or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or dclid is a required field.
Declaration
[JsonProperty("encryptedUserId")]
public virtual string EncryptedUserId { get; set; }
Property Value
Type | Description |
---|---|
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 INVALID_ARGUMENT 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, matchId, mobileDeviceId, gclid and dclid. This or encryptedUserId or matchId or mobileDeviceId or gclid or dclid is a required field.
Declaration
[JsonProperty("encryptedUserIdCandidates")]
public virtual IList<string> EncryptedUserIdCandidates { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<T><string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
long? |
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 |
---|---|
long? |
Gclid
The Google click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId and dclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or dclid is a required field.
Declaration
[JsonProperty("gclid")]
public virtual string Gclid { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 |
---|---|
bool? |
MatchId
The match ID field. A match ID is your own first-party identifier that has been synced with Google using the match ID feature in Floodlight. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[],mobileDeviceId, gclid and dclid. This or encryptedUserId or encryptedUserIdCandidates[] or mobileDeviceId or gclid or dclid is a required field.
Declaration
[JsonProperty("matchId")]
public virtual string MatchId { get; set; }
Property Value
Type | Description |
---|---|
string |
MobileDeviceId
The mobile device ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, gclid and dclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or gclid or dclid is a required field.
Declaration
[JsonProperty("mobileDeviceId")]
public virtual string MobileDeviceId { get; set; }
Property Value
Type | Description |
---|---|
string |
NonPersonalizedAd
Whether the conversion was for a non personalized ad.
Declaration
[JsonProperty("nonPersonalizedAd")]
public virtual bool? NonPersonalizedAd { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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 |
---|---|
string |
Quantity
The quantity of the conversion.
Declaration
[JsonProperty("quantity")]
public virtual long? Quantity { get; set; }
Property Value
Type | Description |
---|---|
long? |
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 |
---|---|
long? |
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 |
---|---|
bool? |
Value
The value of the conversion.
Declaration
[JsonProperty("value")]
public virtual double? Value { get; set; }
Property Value
Type | Description |
---|---|
double? |