GoogleApi.DFAReporting.V33.Model.Conversion (google_api_dfa_reporting v0.31.0)

View Source

A Conversion represents when a user successfully performs a desired action after seeing an ad.

Attributes

  • childDirectedTreatment (type: boolean(), default: nil) - Whether this particular request may come from a user under the age of 13, under COPPA compliance.
  • customVariables (type: list(GoogleApi.DFAReporting.V33.Model.CustomFloodlightVariable.t), default: nil) - Custom floodlight variables. This field may only be used when calling batchinsert; it is not supported by batchupdate.
  • encryptedUserId (type: String.t, default: nil) - The alphanumeric encrypted user ID. When set, encryptionInfo should also be specified. This field is mutually exclusive with encryptedUserIdCandidates[], matchId, mobileDeviceId and gclid. This or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid is a required field.
  • encryptedUserIdCandidates (type: list(String.t), default: nil) - 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 and gclid. This or encryptedUserId or matchId or mobileDeviceId or gclid is a required field.
  • floodlightActivityId (type: String.t, default: nil) - Floodlight Activity ID of this conversion. This is a required field.
  • floodlightConfigurationId (type: String.t, default: nil) - Floodlight Configuration ID of this conversion. This is a required field.
  • gclid (type: String.t, default: nil) - The Google click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId and mobileDeviceId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId is a required field.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversion".
  • limitAdTracking (type: boolean(), default: nil) - Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing.
  • matchId (type: String.t, default: nil) - 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 and gclid. This or encryptedUserId or encryptedUserIdCandidates[] or mobileDeviceId or gclid is a required field.
  • mobileDeviceId (type: String.t, default: nil) - The mobile device ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId and gclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or gclid is a required field.
  • nonPersonalizedAd (type: boolean(), default: nil) - Whether the conversion was for a non personalized ad.
  • ordinal (type: String.t, default: nil) - 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.
  • quantity (type: String.t, default: nil) - The quantity of the conversion.
  • timestampMicros (type: String.t, default: nil) - The timestamp of conversion, in Unix epoch micros. This is a required field.
  • treatmentForUnderage (type: boolean(), default: nil) - 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).
  • value (type: float(), default: nil) - The value of the conversion.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DFAReporting.V33.Model.Conversion{
  childDirectedTreatment: boolean() | nil,
  customVariables:
    [GoogleApi.DFAReporting.V33.Model.CustomFloodlightVariable.t()] | nil,
  encryptedUserId: String.t() | nil,
  encryptedUserIdCandidates: [String.t()] | nil,
  floodlightActivityId: String.t() | nil,
  floodlightConfigurationId: String.t() | nil,
  gclid: String.t() | nil,
  kind: String.t() | nil,
  limitAdTracking: boolean() | nil,
  matchId: String.t() | nil,
  mobileDeviceId: String.t() | nil,
  nonPersonalizedAd: boolean() | nil,
  ordinal: String.t() | nil,
  quantity: String.t() | nil,
  timestampMicros: String.t() | nil,
  treatmentForUnderage: boolean() | nil,
  value: float() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.