reportData

POST /userprofiles/{profileId}/reportdata/query

Changed on

Executes an ad-hoc query and returns structured JSON payload data.

Request

  • Base URL
    https://dfareporting.googleapis.com/dfareporting/v5
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/dfareporting
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/dfareporting
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

profileIdstring int64 required

Required. The Campaign Manager 360 user profile ID.

Request body

dimensionNamesstring[]

Optional. The list of dimension names to group by.

maxResultsinteger

Optional. Maximum number of result rows to return per page. The default value is 100. The maximum allowed value is 1000. Values above 1000 will be coerced (clamped) down to 1000. Negative values will be rejected.

metricNamesstring[]

Required. The list of metric names to include.

pageTokenstring

Optional. Continuation token for paginating results.

Response

Successful response

nextPageTokenstring

Output only. Token to retrieve the next page of rows, or empty if end of results.

Changes