AI-generated Key Takeaways
-
This resource allows you to query compatible fields for different types of reports based on existing selections and user permissions.
-
The HTTP request is a POST to a specific URL including the user's profile ID as a path parameter.
-
The request body requires an instance of a Report object.
-
The response body provides various objects containing compatible dimensions and metrics for different report types like STANDARD, CROSS_MEDIA_REACH, and FLOODLIGHT.
-
Authorization requires the
https://www.googleapis.com/auth/dfareportingOAuth scope.
- 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/v5/userprofiles/{profileId}/reports/compatiblefields/query
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId
|
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 | |
|---|---|
reportCompatibleFields
|
Contains items that are compatible to be selected for a report of type "STANDARD". |
crossMediaReachReportCompatibleFields
|
Contains items that are compatible to be selected for a report of type "CROSS_MEDIA_REACH". |
reachReportCompatibleFields
|
Contains items that are compatible to be selected for a report of type "REACH". |
pathToConversionReportCompatibleFields
|
Contains items that are compatible to be selected for a report of type "PATH_TO_CONVERSION". |
crossDimensionReachReportCompatibleFields
|
Contains items that are compatible to be selected for a report of type "CROSS_DIMENSION_REACH". |
floodlightReportCompatibleFields
|
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. |
dimensionFilters[]
|
Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. |
pivotedActivityMetrics[]
|
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. |
dimensionFilters[]
|
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. |
reachByFrequencyMetrics[]
|
Metrics which are compatible to be selected in the "reachByFrequencyMetricNames" section of the report. |
dimensionFilters[]
|
Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. |
pivotedActivityMetrics[]
|
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 | |
|---|---|
conversionDimensions[]
|
Conversion dimensions which are compatible to be selected in the "conversionDimensions" section of the report. |
perInteractionDimensions[]
|
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. |
customFloodlightVariables[]
|
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 | |
|---|---|
dimensionFilters[]
|
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. |
overlapMetrics[]
|
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 | |
|---|---|
dimensionFilters[]
|
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 . |

