Parameters

Parameters of a query or report.

JSON representation
{
  "type": enum (ReportType),
  "groupBys": [
    string
  ],
  "filters": [
    {
      object (FilterPair)
    }
  ],
  "metrics": [
    string
  ],
  "options": {
    object (Options)
  }
}
Fields
type

enum (ReportType)

The type of the report.

The type of the report will dictate what dimesions, filters, and metrics can be used.

groupBys[]

string

Data is grouped by the filters listed in this field.

filters[]

object (FilterPair)

Filters used to match traffic data in your report.

metrics[]

string

Metrics to include as columns in your report.

options

object (Options)

Additional query options.

ReportType

Possible types of report.

Enums
REPORT_TYPE_UNSPECIFIED Default value when report type is not specified or is unknown in this version.
STANDARD Standard report.
INVENTORY_AVAILABILITY Inventory Availability report.
AUDIENCE_COMPOSITION

Audience Composition report.

FLOODLIGHT Floodlight report.
YOUTUBE YouTube report.
GRP GRP report.
YOUTUBE_PROGRAMMATIC_GUARANTEED YouTube Programmatic Guaranteed report.
REACH Reach report.
UNIQUE_REACH_AUDIENCE Unique Reach Audience report.
FULL_PATH

Full Path report.

PATH_ATTRIBUTION

Path Attribution report.

FilterPair

Filter used to match traffic data in your report.

JSON representation
{
  "type": string,
  "value": string
}
Fields
type

string

Filter type.

value

string

Filter value.

Options

Additional query options.

JSON representation
{
  "includeOnlyTargetedUserLists": boolean
}
Fields
includeOnlyTargetedUserLists

boolean

Set to true and filter your report by FILTER_INSERTION_ORDER or FILTER_LINE_ITEM to include data for audience lists specifically targeted by those items.