Get metrics by Audience Item ID or Audience Item Name

Get Metrics. User can get metrics for a single Audience Item by audience item id or audience item name. If not passed audience item id or audicence item name, it will return full list of audience items. Query time range is start_date <= event_date < end_date.

Description

The Audience Item Reporting endpoint supports passing the Audience Item ID or Name in the request body.

The following metrics are supported for Audience Item reporting:

  • Tracked Ad Requests
  • Tracked Unique Users
  • Targeted Ad Impressions
  • Targeted Unique Users
  • Status

The endpoint will respond with a Job ID to use with the Get job info endpoint. This endpoint will contain a link to an S3 JSON file (example below).

"value": {
  "data": {
    "columns": {
      "AudienceItemID": "INT64",
      "AudienceItemName": "STRING",
      "TargetedAdImpression": "INT64",
      "TargetedUniqueUsers": "UINT64",
      "TrackedAdRequests": "INT64",
      "TrackedUniqueUsers": "UINT64",
      "Status": "INT64"
    },
    "rows": [
      {
        "AudienceItemID": 123,
        "AudienceItemName": "abc",
        "TargetedAdImpression": 343,
        "TargetedUniqueUsers": 434,
        "TrackedAdRequests": 567,
        "TrackedUniqueUsers": 678,
        "Status": 1
      },
      {
        "AudienceItemID": 223,
        "AudienceItemName": "def",
        "TargetedAdImpression": 454,
        "TargetedUniqueUsers": 545,
        "TrackedAdRequests": 678,
        "TrackedUniqueUsers": 789,
        "Status": 1
      }
    ]
  }
}

Request Body

Language
Click Try It! to start a request and see the response here!