jobs

GET /v1/jobs/{jobId}/reports

Changed on

Lists reports created by a specific job. Returns NOT_FOUND if the job does not exist.

Request

  • Base URL
    https://youtubereporting.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/yt-analytics-monetary.readonly
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/yt-analytics-monetary.readonly
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/yt-analytics.readonly
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/yt-analytics.readonly

Path parameters

jobIdstring required

The ID of the job.

Query parameters

createdAfterstring google-datetime

If set, only reports created after the specified date/time are returned.

onBehalfOfContentOwnerstring

The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).

pageSizeinteger

Requested page size. Server may return fewer report types than requested. If unspecified, server will pick an appropriate default.

pageTokenstring

A token identifying a page of results the server should return. Typically, this is the value of ListReportsResponse.next_page_token returned in response to the previous call to the ListReports method.

startTimeAtOrAfterstring google-datetime

If set, only reports whose start time is greater than or equal the specified date/time are returned.

startTimeBeforestring google-datetime

If set, only reports whose start time is smaller than the specified date/time are returned.

Response

Successful response

nextPageTokenstring

A token to retrieve next page of results. Pass this value in the ListReportsRequest.page_token field in the subsequent call to ListReports method to retrieve the next page of results.

Changes

    • breaking

      removed the media type */* for the response with the status

    • info

      the security scope https://www.googleapis.com/auth/yt-analytics-monetary.readonly was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/yt-analytics-monetary.readonly was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/yt-analytics.readonly was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/yt-analytics.readonly was removed from the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/yt-analytics-monetary.readonly was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/yt-analytics-monetary.readonly was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/yt-analytics.readonly was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/yt-analytics.readonly was removed from the endpoint's security scheme Oauth2c