- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ReportCompatibleFields
- Dimension
- Metric
- CrossMediaReachReportCompatibleFields
- ReachReportCompatibleFields
- PathToConversionReportCompatibleFields
- CrossDimensionReachReportCompatibleFields
- FloodlightReportCompatibleFields
- Try it!
Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions.
HTTP request
POST https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/reports/compatiblefields/query
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
profile |
The Campaign Manager 360 user profile ID. |
Request body
The request body contains an instance of Report
.
Response body
Represents a response to the queryCompatibleFields method. Next ID: 10
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "reportCompatibleFields": { object ( |
Fields | |
---|---|
report |
Contains items that are compatible to be selected for a report of type "STANDARD". |
cross |
Contains items that are compatible to be selected for a report of type "CROSS_MEDIA_REACH". |
reach |
Contains items that are compatible to be selected for a report of type "REACH". |
path |
Contains items that are compatible to be selected for a report of type "PATH_TO_CONVERSION". |
cross |
Contains items that are compatible to be selected for a report of type "CROSS_DIMENSION_REACH". |
floodlight |
Contains items that are compatible to be selected for a report of type "FLOODLIGHT". |
kind |
The kind of resource this is, in this case
. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfareporting
ReportCompatibleFields
Represents fields that are compatible to be selected for a report of type "STANDARD".
JSON representation |
---|
{ "dimensions": [ { object ( |
Fields | |
---|---|
dimensions[] |
Dimensions which are compatible to be selected in the "dimensions" section of the report. |
metrics[] |
Metrics which are compatible to be selected in the "metricNames" section of the report. |
dimension |
Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. |
pivoted |
Metrics which are compatible to be selected as activity metrics to pivot on in the "activities" section of the report. |
kind |
The kind of resource this is, in this case
. |
Dimension
Represents a dimension.
JSON representation |
---|
{ "name": string, "kind": string } |
Fields | |
---|---|
name |
The dimension name, e.g. advertiser |
kind |
The kind of resource this is, in this case
. |
Metric
Represents a metric.
JSON representation |
---|
{ "name": string, "kind": string } |
Fields | |
---|---|
name |
The metric name, e.g. impressions |
kind |
The kind of resource this is, in this case
. |
CrossMediaReachReportCompatibleFields
Represents fields that are compatible to be selected for a report of type "CROSS_MEDIA_REACH".
JSON representation |
---|
{ "dimensions": [ { object ( |
Fields | |
---|---|
dimensions[] |
Dimensions which are compatible to be selected in the "dimensions" section of the report. |
metrics[] |
Metrics which are compatible to be selected in the "metricNames" section of the report. |
dimension |
Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. |
kind |
The kind of resource this is, in this case
. |
ReachReportCompatibleFields
Represents fields that are compatible to be selected for a report of type "REACH".
JSON representation |
---|
{ "dimensions": [ { object ( |
Fields | |
---|---|
dimensions[] |
Dimensions which are compatible to be selected in the "dimensions" section of the report. |
metrics[] |
Metrics which are compatible to be selected in the "metricNames" section of the report. |
reach |
Metrics which are compatible to be selected in the "reachByFrequencyMetricNames" section of the report. |
dimension |
Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. |
pivoted |
Metrics which are compatible to be selected as activity metrics to pivot on in the "activities" section of the report. |
kind |
The kind of resource this is, in this case
. |
PathToConversionReportCompatibleFields
Represents fields that are compatible to be selected for a report of type "PATH_TO_CONVERSION".
JSON representation |
---|
{ "conversionDimensions": [ { object ( |
Fields | |
---|---|
conversion |
Conversion dimensions which are compatible to be selected in the "conversionDimensions" section of the report. |
per |
Per-interaction dimensions which are compatible to be selected in the "perInteractionDimensions" section of the report. |
metrics[] |
Metrics which are compatible to be selected in the "metricNames" section of the report. |
custom |
Custom floodlight variables which are compatible to be selected in the "customFloodlightVariables" section of the report. |
kind |
The kind of resource this is, in this case
. |
CrossDimensionReachReportCompatibleFields
Represents fields that are compatible to be selected for a report of type "CROSS_DIMENSION_REACH".
JSON representation |
---|
{ "dimensionFilters": [ { object ( |
Fields | |
---|---|
dimension |
Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. |
breakdown[] |
Dimensions which are compatible to be selected in the "breakdown" section of the report. |
metrics[] |
Metrics which are compatible to be selected in the "metricNames" section of the report. |
overlap |
Metrics which are compatible to be selected in the "overlapMetricNames" section of the report. |
kind |
The kind of resource this is, in this case
. |
FloodlightReportCompatibleFields
Represents fields that are compatible to be selected for a report of type "FlOODLIGHT".
JSON representation |
---|
{ "dimensionFilters": [ { object ( |
Fields | |
---|---|
dimension |
Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. |
dimensions[] |
Dimensions which are compatible to be selected in the "dimensions" section of the report. |
metrics[] |
Metrics which are compatible to be selected in the "metricNames" section of the report. |
kind |
The kind of resource this is, in this case
. |