Configuring filter definition
- Applies to:
- Campaign Standard
- Topics:
- Data Model
CREATED FOR:
- Experienced
- Developer
In the Filter definition tab, you can create advanced filters that users can directly access when creating complex queries, such as when defining an audience.
This step is not mandatory as you will still be able to populate your resource and access its data through workflows, audiences and REST API.
These filters are used in the query editor in the form of pre-configured rules. They allow you to limit the number of steps necessary to get the desired configuration, which can be particularly beneficial for repetitive segmentations.
For example, you can create a filter enabling to select all transactions greater than a certain amount within the last three months.
To do this, you need to extend the Profiles resource and define a filter linking to a transaction table (that you have previously created) with a rule indicating that the transaction price must be greater than or equal to a given parameter and that the transaction date must fall within a range corresponding to the last three months.
-
Make sure you create and publish a transaction table. See Creating or extending the resource.
NOTE
This procedure uses the example of a custom transaction table. For your case, adjust it to your business needs. -
Before defining a filter related to the transaction table in the Profiles resource, make sure you define the link to this table and publish your changes. See Defining links with other resources and Updating the database structure.
-
In the Definition tab of your new filter’s definition screen, select the transaction table.
-
In the Add a rule - Profiles/Transactions window, drag and drop the transaction table into the workspace. In the next window that is displayed, select the field that you want to use.
-
In the Optional parameter settings of the Add a rule - Transactions window, check the Switch to parameters box.
In the Filter conditions, select the Greater than or equal to operator. In the Parameters field, enter a name and click the plus sign to create the new parameter.
-
Confirm your changes. This definition corresponds to a configurable field that the user must fill in later to execute the query.
-
Combine this rule with another rule specifying that the transaction date must fall within a range corresponding to the last three months.
-
Choose the category in which your filter will be displayed.
-
In the Parameters tab of the filter definition screen, modify the description and the label to clearly indicate the subject of your filter to the users. This information will appear in the query editor.
If you define multiple configurable fields, you can modify the order in which they appear in the interface.
-
Save your changes and publish the resources. For more on this, refer to the Updating the database structure section.
Once the Profiles resource extension is published, the users will see this filter under the shortcuts tab in the query editor interface.
This will allow the user to easily define their audience when creating an email to send to all of the clients that spent more than a certain amount over the last three months.
Rather than configuring it themselves, they simply have to enter the desired amount in the dialog box that appears.
Once a filter is configured, you can use it from Campaign Standard APIs using this syntax:
GET https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServicesExt/<resourceName>/by<customFilterName>?<customFilterparam>=<customFilterValue>
For more on this, refer to the Campaign Standard APIs documentation.
Campaign
- Campaign Standard documentation
- Release Notes
- Getting started
- Profiles and audiences
- Communication channels
- Get started with communication channels
- About communication channels
- Delivery best practices
- Email messages
- SMS messages
- Push notifications
- In-App messaging
- Direct mail
- Transactional messaging
- Landing pages
- Designing email content
- Testing and Sending
- Reporting
- Integrating with other solutions
- Get started with Campaign integrations
- Campaign and Experience Manager
- Campaign and Target
- Campaign and Analytics
- Campaign and Audience Manager or People core service
- Campaign and Analytics for Mobile
- Campaign and Triggers
- Campaign and Microsoft Dynamics 365
- Campaign and Adobe Experience Platform
- Managing processes and data
- Get started with data and processes management
- Workflow general operation
- Executing a workflow
- Calling a workflow with external parameters
- Targeting activities
- Execution activities
- Channel activities
- Data management activities
- Filtering data
- Importing and exporting data
- Use cases
- About workflow use cases
- Deliveries
- Creating deliveries with a complement
- Creating deliveries on profiles’ creation date
- Creating a weekly delivery
- Creating a cross-channel delivery
- Identifying duplicates before a delivery
- Birthday delivery
- Coupling email and direct mail deliveries
- Sending an email with enriched fields
- Personalizing an email with additional data
- Sending a recurring push notification
- Segmentation and targeting
- Data management
- Reconcile a File audience with the database
- Deduplicating the data from an imported file
- Enriching profile data with data contained in a file
- External signal activity and data import
- Updating the database with external data
- Updating data based on an automatic file download
- Data reconciliation using relations
- Data update using reconciliation
- Exporting profiles in an external file
- Updating multiple subscription statuses from a file
- Subscribing profiles from a file to a specific service
- Developing
- Administrating
- Get started with Campaign Standard administration
- Monitoring guidelines
- Audit Trail
- Configuration guidelines
- Users and security
- Configuring channels
- Configuring mobile channels
- Implementing Push tracking
- Adding images and videos iOS
- Understanding push notifications payload structure
- Implementing local notification tracking
- Tags in Adobe Experience Platform synchronization FAQ
- Experience Platform SDK integration FAQ
- Configuring tag rules to support Adobe Campaign Standard use cases
- Mobile use cases supported in Adobe Campaign Standard
- How to migrate your mobile application from SDK v4 to Adobe Experience Platform SDK
- Push Notification Channel changes
- Configuring SMS channel
- Application settings
- Working with APIs
- Get started with Campaign Standard APIs
- About Campaign Standard APIs
- Global concepts
- Interacting with custom resources
- Managing profiles
- Managing services and subscriptions
- Interacting with marketing history
- Privacy management
- Managing transactional messages
- Managing workflows
- Managing organizational units
- Managing geographical units
- Troubleshooting
- Campaign Control Panel