Filters

πŸ“˜

Guidelines

  1. The chosen dimension determines which filters are supported.

    Unsupported filters are typically ignored.

  2. Certain filters can be passed as a comma-separated list.

    For more detail, refer to the notes below and the Dimensions Cheat Sheet.

🚧

Date range

  1. The maximum date range is 24 hours (and in some cases 1 hour).

    For more detail, see the notes in the Dimensions Cheat Sheet.

  2. Reports should be run against the most recent 24 hours of data.

    If data is no longer available, 0 rows of data will be returned.

FilterModifierFormat and descriptionNotes and examples
start_dateRequiredA date-time, indicating the start of the reporting period. Example:
start_date=2023-03-28T00:00:00

----
🚧 See the Date range note above.
end_dateRequiredA date-time, indicating the end of the reporting period.Example:
end_date=2023-03-28T23:59:59

----
🚧 See the Date range note above.
itemRequired
or
Not supported

----
🚧 See the 2 notes below.
1 or more numeric Item IDs (aka Ad IDs), as a comma-separated list.Examples:
item=1001
item=1001,1002,1003
campaign🚧 See the 2 notes below.1 or more numeric Campaign IDs, as a comma-separated list.Examples:
campaign=101
campaign=101,102,103
platformOptional1 or more platform enums, as a comma-separated list.

Possible values:
DESK
PHON
TBLT
Examples:
platform=DESK
platform=PHON,TBLT
countryOptional1 or more 2-letter ISO-3166 country codes, passed as a comma-separated list.

Possible values:
Use the Dictionary to fetch a list of supported values.
Examples:
country=us
country=us,ca
site_idOptional1 or more numeric Site IDs (publisher Account IDs), as a comma-separated list.Examples:
site_id=123
site_id=123,124

🚧

by_item_by_smallest_time_bucket

When using the by_item_by_smallest_time_bucket dimension, the item filter is required.

As such, the recommended practice is not to pass a campaign filter.

(The items passed will determine the relevant campaigns.)

🚧

by_item

When using the by_item dimension, the item filter is not suppoprted.

You can, however, filter on 1 or more campaigns.