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

# Naming templates on every level

> Build structured campaign, ad set/ad group and ad names from parts like date, objective, country, group name and creative number — so hundreds of generated items stay readable. Facebook, TikTok, Taboola and NewsBreak.

When one launch creates dozens of campaigns and hundreds of ads, names are what keep them usable. A naming template builds each name from **parts** — the date, the objective, the country, the group, the creative number — so every generated item gets a unique, structured name that follows your convention, in TheOptimizer and in the ad network.

Native ad managers make you type each name by hand. In TheOptimizer you define the convention once per level, and it's applied to every combination your [groups](https://docs.theoptimizer.io/campaign-creator/groups-and-variations.md) generate. Save it in a [template](https://docs.theoptimizer.io/campaign-creator/overview.md#what-makes-theoptimizers-campaign-creator-different) and every future launch follows the same convention automatically.

![Taboola campaign naming template with Text, Date and Countries parts and the field and item separators](https://mintcdn.com/theoptimizer/VEIrpJY466A0RiYz/images/naming-template-builder.png?fit=max\&auto=format\&n=VEIrpJY466A0RiYz\&q=85\&s=115455b276eee9b5fa1c6f2e5e7324ea)

***

## Creating a naming template

**1. Open the builder**

Next to the name field on a level, click **Create Naming Template**. Once a level has one, the button reads **Edit Naming Template**.

**2. Add parts in the order you want**

Pick the parts the name should be made of. Add your own text where you want a fixed prefix or code, such as an offer or a buyer's initials.

**3. Save**

The name field now shows the template. The parts are filled in when each item is created, so every campaign, ad set/ad group or ad gets its own name.

Parts are joined with **\_** by default (for example `2026-11-09_Leads_US, CA`), and lists inside a part — such as several countries — are joined with \*\*, \*\*.

> [!TIP]
>
> Leave a name field empty and the creator generates a name for you. A template is better: it makes names you can filter on in the Campaign Manager and in [rules](https://docs.theoptimizer.io/automation/rules-guide.md).

***

## Group names keep variations apart

The most useful part is **Group name**: it fills in the names of the [groups](https://docs.theoptimizer.io/campaign-creator/groups-and-variations.md) an item was made from, such as *Budget 2 · US*. Give your groups meaningful names and every generated item explains itself.

Even without the part, the creators keep variations apart: on TikTok and NewsBreak the group names are added to the end of the name when a template doesn't include them, and on Taboola each generated campaign's name ends with the names of its groups (for example *Summer Sale - Budget Group 2 - US*).

***

## Parts available on each network

> [tab] Facebook
>
> Facebook's builder has the widest set of placeholders — targeting, placement, budget, bid amount and strategy, group names, nested names and more — plus quick suggestions and custom separators.
>
> See [Dynamic naming templates](https://docs.theoptimizer.io/ad-networks/facebook/campaign-uploader/naming-templates.md).

> [tab] TikTok
>
> | Level | Parts |
> | - | - |
> | **Campaign** | Text, Date, Objective, Mode, Budget, Group name, Timestamp |
> | **Ad group** | Text, Date, Campaign name, Locations, Age, Gender, Placement, Budget, Optimization goal, Bid strategy, Group name, Copy number, Timestamp |
> | **Ad** | Text, Date, Campaign name, Ad group name, Format, Creative number, Media name, Ad text, Call to action, Group name, Timestamp |
>
> Each level offers its own settings plus the names of the levels above it — so an ad can be named *US\_Purchase\_Video\_3*, with the campaign or ad group name in front if you like. Locations are written as country codes. When you add to a campaign or ad group that's already on TikTok, its real name fills the Campaign name or Ad group name part.
>
> Copies of an ad group end in *\_copy1*, *\_copy2*… unless the name includes the copy number. With **One ad per creative**, each ad ends in *\_1*, *\_2*… unless the name includes the creative number.

> [tab] Taboola
>
> | Level | Parts |
> | - | - |
> | **Campaign** | Text, Date, Start date, Objective, Brand name, Ad account, Countries, Campaign number, Timestamp |
> | **Ad** | Text, Date, Campaign name, Ad name, Headline, Media name, Format, Creative number, Timestamp |
>
> The ad template names **each creative** on Taboola, so Realize's reports show which headline and image an item is — something you can't do in bulk in Realize itself.
>
> The campaign group is named with plain text: it's created once per launch.

> [tab] NewsBreak
>
> | Level | Parts |
> | - | - |
> | **Campaign** | Text, Date, Objective, Timestamp |
> | **Ad set** | Text, Date, Campaign name, Budget, Bid, Locations, Gender, Age, Placement, Group name, Timestamp |
> | **Ad** | Text, Date, Campaign name, Ad set name, Format (Image, Video or GIF), Creative number, Media name, Headline, Brand name, Call to action, Group name, Timestamp |
>
> Each level offers its own settings plus the names of the levels above it.
>
> An empty name falls back to *NewsBreak Campaign*, *NewsBreak Ad Set* or *NewsBreak Ad*.

> [!NOTE]
>
> A name can't end up empty or too long: the builder warns you if a template would produce an empty name, or one over the network's limit (200 characters on Taboola).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.