# Adsterra integration

Source: https://skro.eu/docs/integrations/adsterra-and-skro-integration

Set up Adsterra tracking in Skro, configure traffic source parameters, and connect your advertising campaigns.

<Steps>

## Step 1. Create an Adsterra traffic source and configure the postback URL [#step-1-create-an-adsterra-traffic-source-and-configure-the-postback-url]

1. Go to **Traffic Sources** and click **+ Create**.

![How to set up Adsterra traffic source on Skro?](/images/docs/adsterra/adsterra_1.png)

2. Search for **adsterra** and click the **Adsterra** template.

![Choose Adsterra on the list](/images/docs/adsterra/adsterra_2.png)

3. Select the target **Workspace** and you need to modify your **Traffic Source Postback URL**.

![Set Adsterra postback URL](/images/docs/adsterra/adsterra_3.png)

4. Log in to your **Adsterra** account.

5. Go to the **Conversion Tracking** section.

6. Click **Custom**.

7. Select postback type as **Postback for variable payouts**.

8. Copy the generated **Postback URL**.

![Copy Adsterra Postback URL 2](/images/docs/adsterra/adsterra_4.png)

9. Final postback URL must look similar to this:

<Callout type="warn">

`https://www.pbterra.com/name/skro/at?subid_short={externalId}&atpay={payout}`

</Callout>

**`/name/skro/at`** - Adsterra Advertiser ID unique value.

**`subid_short={externalId}`** - Adsterra Click ID parameter with Skro macro.

**`atpay={payout}`** - Adsterra Payout parameter with Skro macro.

10. All tracking parameters are already prefilled for you.

![Pre-filled Adsterra Postback URL macros](/images/docs/adsterra/adsterra_6.png)

11. Here is list of different **Cost** macros. It depends on your campaigns setup.

![Pre-filled Adsterra Postback URL macros](/images/docs/adsterra/adsterra_5.png)

12. Click **Save & Close**.

Integration setup is complete, and you are now ready to create your first campaign.

## Step 2. Create a campaign in Skro [#step-2-create-a-campaign-in-skro]

1. Go to **Ads Manager** and click the **Create**.

2. Select your **Traffic source** and click **Next**.

![Create a campaign 1](/images/docs/adsterra/adsterra_7.png)

3. Select your target **Workspace** for your campaign.

4. Give a **name** to your campaign and click **Next**.

![Create a campaign 2](/images/docs/adsterra/adsterra_8.png)

5. Select or create all your **landings** and **offers**.

6. Click **Save**.

![Create a campaign 3](/images/docs/adsterra/adsterra_9.png)

7. Copy the **Campaign Tracking URL** to clipboard.

![Create a campaign 4](/images/docs/adsterra/adsterra_10.png)

## Step 3. Create a campaign in Adsterra [#step-3-create-a-campaign-in-adsterra]

1. Log in to your **Adsterra** account.

2. Go to the **Campaigns** → **Create**.

![Step 1. Create a campaign on Adsterra.](/images/docs/adsterra/adsterra_11.png)

3. Give a **Name** to your campaign.

4. Select your **Ad format**.

![Step 2. Create a campaign on Adsterra.](/images/docs/adsterra/adsterra_12.png)

4. Paste the **Skro campaign tracking link** into the **Landing URL** field, including all tracking parameters.

![Step 3. Create a campaign on Adsterra.](/images/docs/adsterra/adsterra_13.png)

5. Complete the remaining campaign settings, then click **Proceed to review**.

6. After your campaign is approved on the side of Adsterra, you can start driving traffic to your campaign and track all the data with Skro.

</Steps>

## Verify the setup [#verify-the-setup]

Open the generated campaign URL and check that the visit appears in Skro. Confirm that traffic source macros resolve to actual values. If you send conversions back to the source, verify a test conversion in both systems.

<Callout title="Troubleshooting">

If data is missing, check the selected workspace, integration, campaign, and reporting date range. Compare parameter names and macro values with the examples in this guide before repeating the test.

</Callout>

## Related guides [#related-guides]

<Cards>

<Card title="Postback URL parameters" href="/docs/postback/parameters-in-postback-urls" />

<Card title="Custom conversions" href="/docs/postback/custom-conversions" />

</Cards>
