---
updatedAt: 2026-11-02T20:24:28.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# Conversion

A conversion log is generated when event ID 1 (view), 2 (click), or 3 (server-to-server) from Custom Events, Purchase Event API as well as Conversion API is sent.

| Name                           | Type      | Description                                                                                                                                                                                                                                                                | Sample Data                                                                                                                                                                                                        |
| :----------------------------- | :-------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ConversionId                   | string    | Unique identifier for the conversion record, generated as MD5 hash of concatenated fields                                                                                                                                                                                  | "90e19b84e78f436286aa4195140c2998"                                                                                                                                                                                 |
| Id                             | string    | Original conversion identifier. A unique ID is generated for each conversion fired.                                                                                                                                                                                        | "a1b2c3d4e5f6g7h8i9j0"                                                                                                                                                                                             |
| EventCreatedOn                 | timestamp | Unix timestamp in milliseconds when the event, in this case conversion, was created                                                                                                                                                                                        | 1735689600000                                                                                                                                                                                                      |
| AdId                           | bigint    | Identifier for the ad                                                                                                                                                                                                                                                      | 123456789                                                                                                                                                                                                          |
| AdTypeId                       | bigint    | [Type](https://dev.kevel.com/docs/ad-sizes) identifier for the ad                                                                                                                                                                                                          | 1                                                                                                                                                                                                                  |
| AttributableItems              | json      | JSON array of items that can be attributed to the conversion                                                                                                                                                                                                               | MatchType: string<br />ProductId: string<br />BrandId: string<br />MainCategoryId: string<br />MerchantId: string<br />Promoted: boolean`[{"MatchType": "SameProduct", "ProductId": "prod123", "Promoted": true}]` |
| AttributedPurchaseMetadata     | json      |                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                    |
| AttributionClickLookbackWindow | integer   | Window period for click attribution                                                                                                                                                                                                                                        | 30                                                                                                                                                                                                                 |
| AttributionClickMatchType      | string    | Type of click attribution matching                                                                                                                                                                                                                                         | "exact"                                                                                                                                                                                                            |
| AttributionViewLookbackWindow  | integer   | Window period for view attribution                                                                                                                                                                                                                                         | 30                                                                                                                                                                                                                 |
| AttributionViewMatchType       | string    | Type of view attribution matching                                                                                                                                                                                                                                          | "exact"                                                                                                                                                                                                            |
| AdvertiserId                   | bigint    | Identifier for the advertiser                                                                                                                                                                                                                                              | 2325487                                                                                                                                                                                                            |
| CampaignId                     | bigint    | Identifier for the campaign                                                                                                                                                                                                                                                | 123456789                                                                                                                                                                                                          |
| ChannelId                      | bigint    | Identifier for the channel                                                                                                                                                                                                                                                 | 123456789                                                                                                                                                                                                          |
| CreativeId                     | bigint    | Identifier for the creative                                                                                                                                                                                                                                                | 123456789                                                                                                                                                                                                          |
| CustomEventCount               | bigint    | [Count](https://dev.kevel.com/reference/response#event-multipliers)  of the event that has been incremented by the Event Multiplier in either the Request placement or in the query parameter of the event.                                                                | 1                                                                                                                                                                                                                  |
| Datacenter                     | boolean   | Flag indicating if the conversion was served from a datacenter                                                                                                                                                                                                             | false                                                                                                                                                                                                              |
| DecisionId                     | string    | Identifier for the decision. A distinct value is created for each `placement` object in an ADR.                                                                                                                                                                            | "90e19b84e78f436286aa4195140c2998"                                                                                                                                                                                 |
| DeviceBrandName                | string    | Brand name of the device                                                                                                                                                                                                                                                   | "Apple"                                                                                                                                                                                                            |
| DeviceBrowser                  | string    | Browser name of the device                                                                                                                                                                                                                                                 | "Chrome"                                                                                                                                                                                                           |
| DeviceBrowserMajorVersion      | string    | Major version of the browser                                                                                                                                                                                                                                               | "120"                                                                                                                                                                                                              |
| DeviceBrowserMinorVersion      | string    | Minor version of the browser                                                                                                                                                                                                                                               | "0"                                                                                                                                                                                                                |
| DeviceBrowserRawVersion        | string    | Raw version string of the browser                                                                                                                                                                                                                                          | "120.0.6099.130"                                                                                                                                                                                                   |
| DeviceFormFactor               | string    | Form factor of the device                                                                                                                                                                                                                                                  | "mobile"                                                                                                                                                                                                           |
| DeviceModelName                | string    | Model name of the device                                                                                                                                                                                                                                                   | "iPhone 13"                                                                                                                                                                                                        |
| DeviceOsMajorVersion           | string    | Major version of the operating system                                                                                                                                                                                                                                      | "15"                                                                                                                                                                                                               |
| DeviceOsMinorVersion           | string    | Minor version of the operating system                                                                                                                                                                                                                                      | "4"                                                                                                                                                                                                                |
| DeviceOsRawVersion             | string    | Raw version string of the operating system                                                                                                                                                                                                                                 | "15.4.1"                                                                                                                                                                                                           |
| dt                             | string    | Date partition                                                                                                                                                                                                                                                             | "2024/1/1"                                                                                                                                                                                                         |
| Ecpm                           | float     | Calculated ECPM (Effective cost per thousand impressions) of the conversion                                                                                                                                                                                                | 2.50                                                                                                                                                                                                               |
| EventId                        | bigint    | ID of the custom event, in the case of conversion is 1, 2, or 3                                                                                                                                                                                                            | 3                                                                                                                                                                                                                  |
| FlightId                       | bigint    | Identifier for the flight                                                                                                                                                                                                                                                  | 123456789                                                                                                                                                                                                          |
| GdprComputed                   | boolean   | If true, the request has [GDPR consent](https://dev.kevel.com/docs/gdpr-compliance-and-consent-settings) either from the request itself, from a UserDB record etc                                                                                                          | true                                                                                                                                                                                                               |
| GdprSource                     | string    | Source of GDPR consent information. '+' separated string of values: 'blk', 'req', 'udb', 'req'. example: 'req+udb'.                                                                                                                                                        | "req" or "udb"                                                                                                                                                                                                     |
| Gmv                            | bigint    | Gross Merchandise Value. Sourced from the event URL if appended as a query parameter. Calculated by taking the gmv parameter on the event URL and multiplying by 1,000,000.                                                                                                | 1000000                                                                                                                                                                                                            |
| ImpressionCreatedOn            | timestamp | Unix timestamp in milliseconds when the request was created                                                                                                                                                                                                                | 1735689600000                                                                                                                                                                                                      |
| IsValidUa                      | boolean   | Flag indicating if the user agent is valid                                                                                                                                                                                                                                 | true                                                                                                                                                                                                               |
| Keywords                       | json      | JSON array of keywords                                                                                                                                                                                                                                                     | `["shoes", "sports"]`                                                                                                                                                                                              |
| LocationCity                   | string    | City name                                                                                                                                                                                                                                                                  | "San Francisco"                                                                                                                                                                                                    |
| LocationCountryCode            | string    | Country code. Can be referenced [here](https://dev.kevel.com/reference/list-geo-codes).                                                                                                                                                                                    | "US"                                                                                                                                                                                                               |
| LocationCountryName            | string    | Country name                                                                                                                                                                                                                                                               | "United States"                                                                                                                                                                                                    |
| LocationDmaCode                | string    | DMA code                                                                                                                                                                                                                                                                   | "807"                                                                                                                                                                                                              |
| LocationLatitude               | float     | Latitude coordinate                                                                                                                                                                                                                                                        | 37.7749                                                                                                                                                                                                            |
| LocationLongitude              | float     | Longitude coordinate                                                                                                                                                                                                                                                       | -122.4194                                                                                                                                                                                                          |
| LocationMetroCode              | string    | Metro code                                                                                                                                                                                                                                                                 | "SF"                                                                                                                                                                                                               |
| LocationPostalCode             | string    | Postal code                                                                                                                                                                                                                                                                | "94105"                                                                                                                                                                                                            |
| LocationRegion                 | string    | Region name                                                                                                                                                                                                                                                                | "California"                                                                                                                                                                                                       |
| LocationSubregion              | string    | Subregion name                                                                                                                                                                                                                                                             | "Bay Area"                                                                                                                                                                                                         |
| MatchedSearchTerm              | string    | The targeted term the shopper's query matched — the term configured on the Ad or Flight, not the raw query. See [Search Term Targeting](https://dev.kevel.com/docs/search-term-targeting).                                                                                                        | "dog food"                                                                                                                                                                                                         |
| MatchingKeywords               | json      | JSON array of matching keywords                                                                                                                                                                                                                                            | `["shoes", "sports"]`                                                                                                                                                                                              |
| ModifiedPrice                  | float     | Modified price value, for when [Bid Modifiers](https://dev.kevel.com/docs/bid-modifiers) are used                                                                                                                                                                          | 0.75                                                                                                                                                                                                               |
| NetworkId                      | string    | Identifier for the network                                                                                                                                                                                                                                                 | "12345"                                                                                                                                                                                                            |
| OptimizedPrice                 | float     | Optimized price value, after factoring in auto-bidding, second pricing and bid modifiers                                                                                                                                                                                   | 0.80                                                                                                                                                                                                               |
| PlacementName                  | string    | Name of the placement, as specified by 'divName' in the Ad Decision Request                                                                                                                                                                                                | "homepage\_leaderboard"                                                                                                                                                                                            |
| PurchasedItem                  | json      |                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                    |
| Price                          | float     | Price of the Flight that is associated with the conversion e.g. $20.70.                                                                                                                                                                                                    | 20.70                                                                                                                                                                                                              |
| PriorityId                     | bigint    | PriorityId of the Flight that is associated with the conversion                                                                                                                                                                                                            | 123456                                                                                                                                                                                                             |
| RateType                       | integer   | [Rate type](https://dev.kevel.com/docs/flights#flight-fields) of the Flight that is associated with the conversion                                                                                                                                                         | 1                                                                                                                                                                                                                  |
| RelevancyScore                 | float     | The relevancy score applied to the ad in this auction. See [relevancy score](https://dev.kevel.com/docs/relevancy-score)                                                                                                                                                   | 500.00                                                                                                                                                                                                             |
| Revenue                        | bigint    | Revenue generated from the conversion multiplied by 1,000,000 (in order to support very small prices, such as $0.01 CPC).May be altered by [revenue modifying parameters](https://dev.kevel.com/docs/metadata-on-impressions-and-clicks#revenue-aka-advertiser-ad-spend) . | 50000                                                                                                                                                                                                              |
| SearchTerm                     | string    | The shopper's search query, exactly as sent on the ad decision request.                                                                                                                                                                                                    | "puppy chow"                                                                                                                                                                                                       |
| SiteId                         | bigint    | Identifier for the Site that the conversion served in                                                                                                                                                                                                                      | 1234567                                                                                                                                                                                                            |
| TargetedSearchTerms            | json      | Search terms configured on the Ad or Flight, grouped by match type, each with `include` and `exclude` lists. See [Search Term Targeting](https://dev.kevel.com/docs/search-term-targeting).                                                                                                       | {"broad": {"include": ["dog food"], "exclude": ["cat food"]}}                                                                                                                                                      |
| Url                            | string    | URL of where the ad served, requires passing in the `url` field in the Ad Decision Request                                                                                                                                                                                 | "<https://example.com/page123">                                                                                                                                                                                    |
| UserKey                        | string    | Key identifying the user                                                                                                                                                                                                                                                   | "ue\_e8be4e08dc0345e1b94157f104a5b2ef"                                                                                                                                                                             |
| ZoneId                         | bigint    | Identifier for the Zone that the conversion served in                                                                                                                                                                                                                      | 1234567                                                                                                                                                                                                            |

<br />