Use dynamic tokens to automatically name campaigns, ad sets, and ads with consistent, readable naming conventions.
Naming patterns (also called naming conventions) let you define a template for how campaigns, ad sets, and ads are named when published to Meta. Instead of typing names manually, use tokens — placeholders wrapped in curly braces that get replaced with real values at publish time. This keeps your naming conventions consistent across every launch.
Tokens resolve to actual values from your draft — targeting, creatives, campaign settings, and more. Any token that has no value is removed automatically, and leftover separators are cleaned up so you never get names like CBO | | 2025-03-15.
When Creative Testing Mode is enabled, each ad set corresponds to a single creative. This unlocks creative-related tokens at the ad set level so you can identify which creative each ad set contains:
Token
Example Value
Description
{headline}
Shop Now
Ad headline (truncated to 20 characters)
{primary_text_preview}
Get 50% off today
First 5 words of primary text
{cta}
SHOP_NOW
CTA button
{creative_type}
IMAGE
Creative format — IMAGE or VIDEO
{landing_page}
example.com
Destination URL domain
{creative_template_name}
Summer Sale
Name of the creative template
{media_filename}
summer-sale
Media asset filename
In Creative Testing Mode, a pattern like {audience_template_name} | {creative_template_name} | {media_filename} makes it easy to see both the audience and creative for each ad set at a glance in Meta Ads Manager.
When you publish a campaign, AdStellar resolves tokens in order:
Campaign name is generated first using campaign-level tokens.
Ad set names are generated next — the {campaign_name} token is available here because the campaign name was already resolved.
Ad names are generated last — both {campaign_name} and {adset_name} tokens are available because both were already resolved.
If a token has no value (for example, {custom_audiences} when no custom audiences are used), it’s removed from the name and any surrounding separators are cleaned up automatically.