> ## Documentation Index
> Fetch the complete documentation index at: https://docs.playtolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PlaytoliaAttribution

> Read marketing attribution that the SDK resolved

Select a provider under **Playtolia → Data & Diagnostics** in Project Settings. For the setup, see [Attribution](https://docs.playtolia.com/for-unity/attribution.md). On Windows, both methods return `null`.

### Methods

| Method | Parameters | Returns | Notes |
| - | - | - | - |
| `GetAttributionData()` | (none) | `AttributionData?` | Returns the parsed campaign data, or `null` if attribution is not resolved yet. |
| `GetInstallReferrer()` | (none) | `InstallReferrerInfo?` | Returns the Google Play install referrer (Android, **System** provider), or `null`. |

### AttributionData

| Field | Type | Notes |
| - | - | - |
| `Source` | `string` | `utm_source` |
| `Medium` | `string` | `utm_medium` |
| `Campaign` | `string` | `utm_campaign` |
| `Term` | `string` | `utm_term` |
| `Content` | `string` | `utm_content` |
| `Channel` | `string` | The channel, if the provider gives it |
| `AdGroup` | `string` | The ad group, if the provider gives it |
| `AdCreative` | `string` | The ad creative, if the provider gives it |

### InstallReferrerInfo

| Field | Type | Notes |
| - | - | - |
| `ReferrerUrl` | `string` | The raw referrer query string |
| `ReferrerClickTimestampSeconds` | `long` | Epoch seconds |
| `InstallBeginTimestampSeconds` | `long` | Epoch seconds |
| `GooglePlayInstant` | `bool` | |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.