Variable Substitution in Assets
Use dynamic variables in your headlines and descriptions to create individually tailored ads for every keyword combination.
How Variables Work
Variables are placeholders in your ad text that get replaced with real values during generation. They are written using double curly braces: {{variable.name}}. Each variable resolves to a different value per keyword combination, so every ad group gets unique, tailored ad copy.
Available Variables
WonderAds supports several types of variables:
- {{account.name}} — Your account/business name.
- {{account.domain}} — Your website domain.
- {{lists.<slug>}} — The keyword value from a specific list. The slug is derived from the list name (e.g., "Services" becomes {{lists.services}}).
- {{account.infos[N]}} — Information snippets from your account settings (N is the index, starting at 0).
- {{account.ctas[N]}} — Calls-to-action from your account settings.
Variable Resolution Example
Suppose you have a headline template: "Best {{lists.services}} in {{lists.locations}}". If your Services list has "Plumber" and your Locations list has "London", this resolves to "Best Plumber in London" for that specific ad group.
Always test your variable-based headlines against the 30-character limit. Use the variant system (long, short, default) to provide fallbacks for longer combinations.
Character Limits and Variants
Headlines have a 30-character limit and descriptions have a 90-character limit. When a variable-resolved text exceeds the limit, WonderAds tries the short variant, then the default variant, and finally truncates if needed. Write your long variant as the ideal version, and provide shorter alternatives.
Screenshot showing variable substitution in a headline with variant fallback
Screenshot Instructions
What to Capture
Specific area — capture a headline asset group showing the variable syntax (e.g. "Best {{lists.services}} in {{lists.locations}}") with the long variant tab active. Ideally show all three variant tabs
Filename
variable-resolution.png
Save to Folder
public/help/variables/