> 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

This section covers campaign management

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="https://2789002490-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkbip9hFgRFwIv4mXJPnz%2Fuploads%2Fna66Z9pGDfo7dHK5xuu7%2Fimage.png?alt=media&amp;token=c55958a8-642d-46e7-986f-689f367df8ce" alt=""><figcaption></figcaption></figure>

2. Save the campaign\ <br>

   <figure><img src="https://2789002490-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkbip9hFgRFwIv4mXJPnz%2Fuploads%2F7Ul4GxSiED631seinZLL%2Fimage.png?alt=media&amp;token=d84388b7-8ebe-4d7e-acf0-72e81c8570c2" 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="https://2789002490-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkbip9hFgRFwIv4mXJPnz%2Fuploads%2Ffr1bsoevxVBYsGm7Vren%2Fimage.png?alt=media&amp;token=2bbd43cd-58e9-4cb2-a3f8-3b4327601e6f" 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="https://2789002490-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkbip9hFgRFwIv4mXJPnz%2Fuploads%2FSoIPYm6IIxJrFsexWj74%2Fimage.png?alt=media&amp;token=4a6eb43d-3cb9-4b25-842a-71567aefc75e" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
