There are 2 Methods I guess:
Using API: Yes, you can apply filters to your API request using the Adobe Analytics API. You can use the segmentId parameter in the request to apply a pre-built segment or create an inline segment to filter your data. An example of an inline segment in a request looks like this:
JSON CODE
{
"reportDescription": {
"reportSuiteID": "your_report_suite_id",
"dateFrom": "YYYY-MM-DD",
"dateTo": "YYYY-MM-DD",
"metrics": [
{
"id": "your_metric_id"
}
],
"elements": [
{
"id": "your_element_id"
}
],
"segments": [
{
"element": "your_element_id",
"selected": ["value_to_filter"]
}
]
}
}
Replace the placeholders with your specific values. This example shows an inline segment that filters the report based on a specific value of an element (column).
Using Data Warehouse: While you can apply filters in Data Warehouse, its filtering capabilities are limited compared to the API or Analysis Workspace. The scheduled report functionality, as mentioned in the reference, is set to be retired by Dec 2023. However, Adobe Analytics will continue to support and improve the Analysis Workspace, which offers advanced filtering options and the ability to schedule reports.
Given the situation, I recommend using the API for fetching data with filter conditions, as it provides more flexibility and control over your data requests. If you encounter any issues or need further assistance, feel free to reach out to Adobe Customer Support or consult the Adobe Analytics community.