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

# Create an Affiliate Campaign Link

> Create a tracking link from the affiliate dashboard with your template parameters included automatically

<Warning>
  Do not reuse a standard campaign link created outside your affiliate dashboard. It may not appear in your workspace or include the parameters your platform needs.
</Warning>

## Before you start

You need:

* An approved Linkrunner affiliate account
* Access to the advertiser project where you will run the campaign
* The macro names your platform uses for click ID, campaign ID, and any optional passthrough values

Read [Tracking Links](/affiliate-partners/tracking-links) if you need to review how Linkrunner uses click IDs and passthrough parameters.

## 1. Open the advertiser project

<Steps>
  <Step title="Sign in to the affiliate dashboard">
    Open [Linkrunner Dashboard](https://dashboard.linkrunner.io) and sign in with your approved affiliate account.
  </Step>

  <Step title="Select the advertiser project">
    Use the project selector to open the advertiser workspace connected to your affiliate account.
  </Step>

  <Step title="Open All Campaigns">
    Select **All Campaigns**, then click **Create Link**.
  </Step>
</Steps>

<img src="https://mintcdn.com/linkrunner-01ef8e08/eyrsa6qcuG3D7i1G/images/affiliate-partners/create-link-entry.png?fit=max&auto=format&n=eyrsa6qcuG3D7i1G&q=85&s=f0817feeac8a0a7b1b751417e3165b2f" alt="Create Link on the affiliate campaign page" width="3024" height="450" data-path="images/affiliate-partners/create-link-entry.png" />

## 2. Create the campaign

<Steps>
  <Step title="Name the campaign">
    Enter a name that your team can identify in the affiliate dashboard.
  </Step>

  <Step title="Set a display ID">
    Add an optional **Display ID** if you need a stable identifier for reporting or campaign operations.
  </Step>

  <Step title="Choose link behavior">
    Enable deferred deep linking if the campaign should open a specific in-app destination after installation. Open **Advanced Options** only when the advertiser has given you the required redirect or deep-link settings.
  </Step>

  <Step title="Create the campaign">
    Click **Create Campaign**. Linkrunner creates the campaign under your affiliate account and generates its tracking-link template.
  </Step>
</Steps>

<img src="https://mintcdn.com/linkrunner-01ef8e08/eyrsa6qcuG3D7i1G/images/affiliate-partners/create-link-form.png?fit=max&auto=format&n=eyrsa6qcuG3D7i1G&q=85&s=552e93db81512104d3aa79fe72770bcb" alt="Affiliate campaign creation form" width="1196" height="1096" data-path="images/affiliate-partners/create-link-form.png" />

## 3. Copy the generated template

Find the new campaign under **All Campaigns** and copy its link from the **Content** column.

The affiliate dashboard adds the template parameters configured for your account automatically. A template may look like this:

```text theme={null}
https://track.example.com/?c=CAMPAIGN_ID&tid={click_id}&s2={campaign_id}
```

Your template may use different macro names. Copy the exact URL shown in your dashboard.

<Warning>
  Do not manually rename, remove, or add template parameters. If your platform uses different macros, update the affiliate configuration with Linkrunner before sending traffic.
</Warning>

## 4. Configure your platform

Paste the generated template into your affiliate platform as the campaign's destination or tracking URL.

Your platform must replace its own macros before it sends the click to Linkrunner. For example, the final request should contain real values:

```text theme={null}
https://track.example.com/?c=CAMPAIGN_ID&tid=a1b2c3d4e5&s2=campaign_88
```

It should not reach Linkrunner with placeholders such as `{click_id}` or `{campaign_id}` still present.

## 5. Test before launch

1. Generate a test click from your affiliate platform.
2. Confirm the final URL contains a unique, resolved click ID.
3. Check that the link redirects to the advertiser's intended destination.
4. Confirm the click appears under the campaign in Linkrunner.
5. Use [Postbacks and Macros](/affiliate-partners/postbacks) to test install and event postbacks before increasing traffic.

## Troubleshooting

<AccordionGroup>
  <Accordion title="The advertiser project does not appear" description="Check whether your affiliate account has access to the project.">
    Your affiliate account does not have an active connection to that project. Ask the advertiser or Linkrunner support to connect the project to your approved affiliate account.
  </Accordion>

  <Accordion title="A campaign link does not appear in your dashboard" description="Create the link from the correct affiliate workspace.">
    The link was not created under your affiliate account. Open the advertiser project in the affiliate dashboard, then create a new link from **All Campaigns → Create Link**.
  </Accordion>

  <Accordion title="The generated link is missing a required parameter" description="Update the affiliate template instead of editing the link manually.">
    Do not add the parameter manually. Contact Linkrunner support to update the template configuration for your affiliate account, then create a new campaign link.
  </Accordion>

  <Accordion title="The final click URL still contains placeholders" description="Confirm that your platform replaces every macro before redirecting the click.">
    Your affiliate platform did not substitute its macros. Check the macro syntax configured on your platform before sending more traffic. The final URL must contain resolved values instead of placeholders such as `{click_id}` or `{campaign_id}`.
  </Accordion>

  <Accordion title="Postbacks have an empty click ID" description="Verify that every click sends a unique click ID value.">
    Confirm that every click sends a unique value in the generated template's click ID parameter. See [Tracking Links](/affiliate-partners/tracking-links) for examples.
  </Accordion>
</AccordionGroup>

**Need help?** Contact [support@linkrunner.io](mailto:support@linkrunner.io)
