Feature flags offer greater flexibility and control over specific elements within a Blueprint, such as campaigns, ad groups, and ads. Enable feature flags with valid when statements.
Example:
Let's say you set up a Blueprint to run campaigns for multiple channels (e.g., Search, Display, etc.), but you don't want to launch on all channels every time. A feature flag will allow you to launch campaigns on the channels you want, when you want.
Creating feature flags in Blueprints
Follow along with the video or use the instructions below.
Go to Automate (rocket icon) in the left menu.
Select Blueprint Editor.
Select a Blueprint. Note: You should see the Tags pane in the right sidebar.
Click Blueprint and select + Tag/Folder.
Select Flags in the dropdown (default selection is Text).
Input a name for the feature flag group and click the + icon. Note: In the screenshot, it's called Display Ads since we are creating flags to enable/disable different campaigns.
Your feature flag group will appear with a toggle icon next to it. To add specific flags to the group, hover over the group's name and click the pencil icon.
Input the flag's name in the New Flag Name field and click the + icon. In the screenshot, the flags reflect the names of the campaigns in the Blueprint.
(Optional) A feature flag called "Example" gets generated by default. You can delete the "Example" flag by clicking the trash can icon to the left of the flag group name. Click Close Window to return back to the Blueprint tags list.
Click the toggle icon next to a feature flag group to view the list of flags.
Note: Feature flags are typically turned off at the Blueprint level to avoid having all accounts contain the flagged element (campaign, ad group, etc.).
Creating feature flags in an ingestion sheet
Open an ingestion sheet (see sample).
Add a new column and name the header using this naming structure: flag:setname.flagname (e.g., flag:Adgroup Creation.Luxury Apartments).
In each row, enter True to turn the feature flag on and False to turn the feature flag off.
Using feature flags in a Blueprint
Navigate to the Valid When field for a campaign, ad group, or ad.
In the tags pane, hover over a feature flag and click on the clipboard icon to copy the flag to your clipboard.
Paste the feature flag into the Valid When field. Note: Feature flag syntax is [Feature Flag Group Name.Flag Name]. For example, [Display Ads.Branding].
Note: You don't need to add the function "EQUALS TRUE" to the feature flag. When a feature flag is added as a valid when statement, it's automatically set as "true."
Activating feature flags
From the Launch Queue
Go to Automate (rocket icon) in the left menu.
Select Launch.
Under the Review & Launch tab, click the toggle icon under the Features column for an account.
Toggle on the desired feature flags.
Click OK.
After an account has launched
Go to Manage (globe icon) in the left menu.
Select Accounts.
Click on an account in the list.
Go to Account Settings near the top.
Click the rocket icon in the settings menu on the left.
Select Feature Flags under Blueprint Tools in the settings menu.
Click a feature flag set and toggle on the desired feature flags.
Click Save.
Note: Turning on feature flags will republish the associated Blueprints. Check Launch Status to confirm.
Via an ingestion sheet
Open an ingestion sheet (see sample).
Add a new column and name the header featureFlag:setname.flagname (e.g., featureFlag:Adgroup Creation.Luxury Apartments)
In each row, enter True to turn the feature flag on and False to turn the feature flag off.
