> For the complete documentation index, see [llms.txt](https://uniocode.gitbook.io/stack-discounts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://uniocode.gitbook.io/stack-discounts/4.-campaign-explained-in-details.md).

# 4. Campaign Explained In Details

{% embed url="<https://www.youtube.com/watch?index=4&list=PLGASFo0vRDpks4cfL2V9D0z3Cm78A92Hq&v=0u13jhC05xI>" %}

The main idea of a campaign is to group multiple discounts together, allowing them to work in unison. However, it is not mandatory to have multiple discounts within a campaign. In some cases, you might want to have just one discount, such as a volume discount.

All properties of a campaign apply to every discount within that campaign.

Campaigns always have active dates: a start date and an end date. If you do not specify an end date, the campaign will never expire.

You can disable, enable, or delete a campaign at any time.

There are two types of campaigns: Automatic and Campaign Code.

Automatic Campaigns function automatically for all customers.

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

For Campaign Code campaigns, you specify a campaign code that customers need to apply for the campaign to take effect. When a customer applies the campaign code, all discounts within that campaign become functional.

You can also specify customer eligibility and set a maximum number of times the discount can be used.

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

After creating a campaign, the app will generate a special type of discount in your Shopify admin discounts page.

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

Please never modify or delete these discounts from the Shopify Discounts page. Perform all your actions directly from the app.
