jobs

Creates a job and returns it.

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

Query parameters

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).

Request body

createTimestring google-datetime

The creation date/time of the job.

expireTimestring google-datetime

The date/time when this job will expire/expired. After a job expired, no new reports are generated.

idstring

The server-generated ID of the job (max. 40 characters).

namestring

The name of the job (max. 100 characters).

reportTypeIdstring

The type of reports this job creates. Corresponds to the ID of a ReportType.

systemManagedboolean

True if this a system-managed job that cannot be modified by the user; otherwise false.

Response

Successful response

createTimestring google-datetime

The creation date/time of the job.

expireTimestring google-datetime

The date/time when this job will expire/expired. After a job expired, no new reports are generated.

idstring

The server-generated ID of the job (max. 40 characters).

namestring

The name of the job (max. 100 characters).

reportTypeIdstring

The type of reports this job creates. Corresponds to the ID of a ReportType.

systemManagedboolean

True if this a system-managed job that cannot be modified by the user; otherwise false.

Changes

    • breaking

      removed the request body

    • 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