> For the complete documentation index, see [llms.txt](https://help.theaffiliateplatform.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.theaffiliateplatform.com/affiliate-platform/managing-deals/campaigns.md).

# Campaigns

Campaigns are used to track and optimize affiliate marketing efforts. They help measure performance, attribute conversions, and manage commission structures based on traffic sources.

### &#x20;**How to create campaigns for the affiliate?**

1. Go to *'Affiliate profile'* and access *'Campaigns'* bar
2. Click *'Create'*&#x20;

<figure><img src="/files/dcJp1MjenCVdm1dDNY5d" alt=""><figcaption></figcaption></figure>

2. Save the campaign\ <br>

   <figure><img src="/files/BytyKLBag8olwheDGqyA" alt=""><figcaption></figcaption></figure>

### Manage deals for specific campaigns

Deals can be set based on different criterias (Countries, Brands, Campaigns, Product).<br>

**How Campaign-Based Deals Work**

* A campaign can be assigned to an affiliate deal, ensuring that commissions are calculated specifically for that campaign.
* Deals can be set to apply only when traffic comes from a particular **campaign.**
* Affiliates may have different payouts depending on the campaign they are promoting, allowing for flexible and targeted compensation.

{% hint style="success" %}
**Example:**\
A deal set for *Campaign Halloween* will reward the affiliate with 200 CPA for each player from Campaign Halloween that makes an FTD of 100 EUR
{% endhint %}

<figure><img src="/files/FO4aUknN4YVqgIzI8f83" alt=""><figcaption></figcaption></figure>

### Build tracking links for a specific campaign

By using campaign-specific tracking links, affiliates can ensure their promotions are accurately recorded, and performance can be analyzed at a campaign level.\
\
Go to *Destination links*  > *Build link* to generate a link for a specific campaign.<br>

<figure><img src="/files/FyAWRh4UKTSOqaQ35MpP" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.theaffiliateplatform.com/affiliate-platform/managing-deals/campaigns.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
