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

# How to Find your MGID Client ID

> Find the Client ID in your MGID postback link and paste it into the MGID destination in Upstack Data.

> [!TIP]
>
> * In MGID Ads, open a campaign and go to **Conversion tracking → Tracking settings → Postback**.
> * Choose **Manual setup** and click **Get Postback URL**.
> * Copy the number after `https://a.mgid.com/postback/`.
> * Paste it into **Client ID** on the MGID destination in Upstack.

## What is the MGID Client ID?

It's the number after `/postback/` in your MGID postback link, and the same number as `cid` in the MGID pixel code. Upstack uses it to load the MGID pixel and to send postbacks to your MGID account. Every Tracking Method needs it.

## Where do I find my MGID Client ID?

1. In MGID Ads, open a campaign.
2. Go to **Conversion tracking**, then the **Tracking settings** tab.
3. Select **Postback**.
4. Choose **Manual setup**.
5. Click **Get Postback URL**.
6. Copy the number after `https://a.mgid.com/postback/`. In `https://a.mgid.com/postback/123456?c=...`, the Client ID is `123456`.

## How do I add the Client ID to Upstack?

1. In Upstack, open **Destinations**.
2. Open your **MGID** destination, or click **New Destination**, then click **Connect** next to **MGID**.
3. Paste the number into **Client ID**.
4. Click **Create Destination**, or **Save Changes** on an existing destination.

Full walkthrough: [How to Configure MGID Destination in Upstack Data](https://docs.upstackdata.com/destinations/catalog/mgid/how-to-configure-mgid-destination-in-upstack-data.md)

## Why does Upstack say my Client ID is invalid?

The **Client ID** field accepts only digits. Copy the number again and paste it without spaces or other characters.


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