Ad platforms
Filter an ad account by campaign name
Only track the campaigns that belong to this store when an ad account is shared.
If one ad account runs ads for more than one store, for example separate regions or brands, you can connect it to each store and filter it by campaign name. Each store then only tracks the campaigns whose names match, so each store's spend and campaign reports only include its own campaigns.
Campaign filters work with Meta, Google, Bing, TikTok, Pinterest, Snapchat, Criteo, AppLovin and ChatGPT Ads.
Set up a campaign filter
-
Open the ad platform integration
Go to Configure → Integrations and click Edit Integration on the ad platform's card.
-
Edit the ad account
Click Edit next to the ad account you want to filter.
-
Enter the filter
Under Campaign Filter Settings, enter the text the campaign names should contain in Campaign Contains. Turn on Enable Filtering and click Update.
-
Repeat for the same ad account in your other stores, using each store's own filter.
This works best when every campaign name includes the store it belongs to, such as US - Prospecting and UK - Prospecting.
How the filter matches
- A campaign is tracked if its name contains your text anywhere. All other campaigns in the account are ignored.
- The match is case sensitive. To ignore capitalization, start the filter with
(?i), for example(?i)demostore. - To match more than one value, separate them with
|. For example,US|CAtracks campaigns that contain US or CA. - The filter is a regular expression, so the characters
. ( ) [ ] + ? * | ^ $ \have special meanings. To match one of them literally, put a\in front of it. For example, useStore \(US\)to match "Store (US)".
A filter that isn't a valid regular expression, such as one with an unclosed parenthesis, can stop spend syncing for the whole ad account. After saving a filter, check that spend from the account keeps coming in.
When the filter takes effect
The filter applies within a few minutes of saving, from then on. Campaigns that were already imported before you added the filter stay in your reports with their past spend. Contact support if you need them removed.
If you turn the filter off later, campaigns it skipped come back for the last few days only.