Class Conversion
A Conversion represents when a user successfully performs a desired action after seeing an ad.
Implements
Inherited Members
Namespace: Google.Apis.Dfareporting.v4.Data
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class Conversion : IDirectResponseSchema
Properties
AdUserDataConsent
This represents consent for ad user data.
Declaration
[JsonProperty("adUserDataConsent")]
public virtual string AdUserDataConsent { get; set; }
Property Value
Type | Description |
---|---|
string |
CartData
The cart data associated with this conversion.
Declaration
[JsonProperty("cartData")]
public virtual CartData CartData { get; set; }
Property Value
Type | Description |
---|---|
CartData |
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.
Declaration
[JsonProperty("customVariables")]
public virtual IList<CustomFloodlightVariable> CustomVariables { get; set; }
Property Value
Type | Description |
---|---|
IList<CustomFloodlightVariable> |
Dclid
The display click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId, gclid, and impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or impressionId is a required field.
Declaration
[JsonProperty("dclid")]
public virtual string Dclid { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { 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, dclid, and impressionId. This or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or dclid or impressionId 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 dclid, and impressionId. This or encryptedUserId or matchId or mobileDeviceId or gclid or dclid or impressionId is a required field.
Declaration
[JsonProperty("encryptedUserIdCandidates")]
public virtual IList<string> EncryptedUserIdCandidates { get; set; }
Property Value
Type | Description |
---|---|
IList<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, dclid, and impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or dclid or impressionId is a required field.
Declaration
[JsonProperty("gclid")]
public virtual string Gclid { get; set; }
Property Value
Type | Description |
---|---|
string |
ImpressionId
The impression ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId, and gclid. One of these identifiers must be set.
Declaration
[JsonProperty("impressionId")]
public virtual string ImpressionId { 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, dclid, and impressionId. This or encryptedUserId orencryptedUserIdCandidates[] or mobileDeviceId or gclid or dclid or impressionIdis 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, dclid, and impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or gclid or dclid or impressionId 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. This is a required field.
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? |
UserIdentifiers
The user identifiers to enhance the conversion. The maximum number of user identifiers for each conversion is 5.
Declaration
[JsonProperty("userIdentifiers")]
public virtual IList<UserIdentifier> UserIdentifiers { get; set; }
Property Value
Type | Description |
---|---|
IList<UserIdentifier> |
Value
The value of the conversion. This is a required field.
Declaration
[JsonProperty("value")]
public virtual double? Value { get; set; }
Property Value
Type | Description |
---|---|
double? |