---
title: "How to set a custom attribution window in Snapchat Marketing queries"
slug: "how-to-set-a-custom-attribution-window-in-snapchat-marketing-queries"
description: "Learn how to set the attribution window and timing in Snapchat Marketing queries using Supermetrics for accurate conversion metrics."
updated: 2026-05-06T11:45:47Z
published: 2026-05-06T13:34:26Z
---

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

# How to set a custom attribution window in Snapchat Marketing queries

This guide will walk you through how to define the attribution window — and the attribution timing used for the calculation — in Snapchat Marketing queries in Supermetrics.

> [!NOTE]
> Stay aligned
> 
> As these change the calculation, you might encounter [discrepancies between Snapchat Marketing’s data and what’s reported by Supermetrics](/v1/docs/how-to-fix-discrepancies-in-snapchat-marketing-data-in-supermetrics). Make sure the query’s attribution setting is the same as Snapchat’s to prevent this.

## Instructions

The "Show conversion metrics by" setting allows you to select if you want to see conversions based on the time of conversion (conversion time) or by the time the user saw the ad (exposure time).

****Google Sheets****

1. Open the Supermetrics sidebar.
2. Select a Snapchat Marketing query and click the pencil icon to edit it.
3. Go to **Options**.
4. Select your attribution window in the **Attribution window** dropdown.

You can also use the **Show conversion metrics by** dropdown to define the conversion configuration you want. If you need multiple conversion settings, you’ll need to create individual queries, each with this setting changed.

****Excel****

1. Open the Supermetrics sidebar.
2. Select a Snapchat Marketing query and click **Modify**.
3. Go to **Options**.
4. Select your attribution window in the **Attribution window** dropdown.

If you need multiple windows, you will need multiple queries, each with this setting changed.

To adjust the Attribution timing setting, select **Show conversion metrics by** instead of Attribution window. As with Attribution window, if you need multiple conversion settings, you’ll need multiple queries, each with this setting changed.

****Data Studio****

1. Open Supermetrics in a report.
2. Click **Snapchat Marketing** under Data source to open the connector setup page.
3. Click **Edit connection**.
4. Scroll down to the **Attribution window** dropdown.
5. Set your attribution window.

You can also use the **Show conversion metrics by** dropdown to define the conversion configuration you want.

If you need multiple conversion settings, you’ll need to create individual data source files, each with this setting changed. Alternatively, enabling the **Allow “Attribution window” to be modified in reports** setting in the connector setup page will allow you to define a unique attribution window for each object in a report.

****Power BI****

1. On the [Supermetrics Hub](https://hub.supermetrics.com/), go to **Power BI** under **Analyze**.
2. Select an existing Snapchat Marketing query to modify.
3. Select the connection to use.
4. Go to **Options**.
5. Select your attribution window in the **Attribution window** dropdown.

****The Supermetrics API****

1. On the [Supermetrics Hub](https://hub.supermetrics.com/), go to **API queries** under **Manage**.
2. Select the Snapchat Marketing data source and the query to modify.
3. In the sidebar, go to Options.
4. Select your attribution window in the **Attribution window** dropdown.
5. Click **Run** to run the query.

****Data warehouse****

[When setting up your data transfer](/v1/docs/how-to-create-a-transfer), navigate to **General settings** and select the attribution window to use.
