- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- DimensionValueRequest
- DimensionFilter
- Try it!
Retrieves list of report dimension values for a list of filters.
HTTP request
POST https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/dimensionvalues/query
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
profile |
The Campaign Manager 360 user profile ID. |
Query parameters
Parameters | |
---|---|
max |
Maximum number of results to return. |
page |
The value of the nextToken from the previous result page. |
Request body
The request body contains an instance of DimensionValueRequest
.
Response body
Represents the list of DimensionValue resources.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"items": [
{
object ( |
Fields | |
---|---|
items[] |
The dimension values returned in this response. |
kind |
The kind of list this is, in this case
. |
etag |
The eTag of this response for caching purposes. |
next |
Continuation token used to page through dimension values. To retrieve the next page of results, set the next request's "pageToken" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfareporting
DimensionValueRequest
Represents a DimensionValuesRequest.
JSON representation |
---|
{
"dimensionName": string,
"filters": [
{
object ( |
Fields | |
---|---|
dimension |
The name of the dimension for which values should be requested. |
filters[] |
The list of filters by which to filter values. The filters are ANDed. |
start |
The start date of the date range for which to retrieve dimension values. A string of the format
. |
end |
The end date of the date range for which to retrieve dimension values. A string of the format
. |
kind |
The kind of request this is, in this case
. |
DimensionFilter
Represents a dimension filter.
JSON representation |
---|
{ "dimensionName": string, "value": string, "kind": string } |
Fields | |
---|---|
dimension |
The name of the dimension to filter. |
value |
The value of the dimension to filter. |
kind |
The kind of resource this is, in this case
. |