Method: validator.validateAsync
Stay organized with collections
Save and categorize content based on your preferences.
validator.validate a metadata file asynchronously.
HTTP request
POST https://youtubepartner.googleapis.com/youtube/partner/v1/validatorAsync
The URL uses gRPC Transcoding
syntax.
Query parameters
Parameters |
onBehalfOfContentOwner
|
string
The onBehalfOfContentOwner
parameter identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners.
|
Request body
The request body contains an instance of ValidateAsyncRequest
.
Response body
Response to a validator.validateAsync
request.
If successful, the response body contains data with the following structure:
Fields |
status
|
string
The validation status.
|
validationId
|
string
The validation ID.
|
kind
|
string
The type of the API resource. For this operation, the value is youtubePartner#validateAsyncResponse
.
|
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/youtubepartner
For more information, see the OAuth 2.0 Overview
.
ValidateAsyncRequest
Request to a validator.validateAsync
metadata.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis webpage documents how to use the \u003ccode\u003evalidator.validateAsync\u003c/code\u003e method to asynchronously validate a metadata file for YouTube Partner.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is made using a POST request to \u003ccode\u003ehttps://youtubepartner.googleapis.com/youtube/partner/v1/validatorAsync\u003c/code\u003e, which follows gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eonBehalfOfContentOwner\u003c/code\u003e query parameter to identify the content owner and the request body is defined by \u003ccode\u003eValidateAsyncRequest\u003c/code\u003e which has a JSON representation that includes \u003ccode\u003euploaderName\u003c/code\u003e, \u003ccode\u003econtent\u003c/code\u003e, and \u003ccode\u003ekind\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003eThe response body provides the validation \u003ccode\u003estatus\u003c/code\u003e, \u003ccode\u003evalidationId\u003c/code\u003e, and \u003ccode\u003ekind\u003c/code\u003e in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eThe API uses OAuth 2.0 authorization and requires the \u003ccode\u003ehttps://www.googleapis.com/auth/youtubepartner\u003c/code\u003e scope for successful access.\u003c/p\u003e\n"]]],["This document details the `validator.validateAsync` API for asynchronous metadata file validation. A `POST` request to `https://youtubepartner.googleapis.com/youtube/partner/v1/validatorAsync` is sent, including a `ValidateAsyncRequest` in the request body that requires an uploader name and file contents, with an optional content owner parameter. The API then responds with validation status, validation ID, and resource type in JSON format. OAuth authorization is needed with the `https://www.googleapis.com/auth/youtubepartner` scope.\n"],null,["# Method: validator.validateAsync\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ValidateAsyncResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [ValidateAsyncRequest](#ValidateAsyncRequest)\n - [JSON representation](#ValidateAsyncRequest.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nvalidator.validate a metadata file asynchronously.\n\n### HTTP request\n\n`POST https://youtubepartner.googleapis.com/youtube/partner/v1/validatorAsync`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `onBehalfOfContentOwner` | `string` The `onBehalfOfContentOwner` parameter identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners. |\n\n### Request body\n\nThe request body contains an instance of [ValidateAsyncRequest](/youtube/partner/reference/rest/v1/validator/validateAsync#ValidateAsyncRequest).\n\n### Response body\n\nResponse to a `validator.validateAsync` request.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------|\n| ``` { \"status\": string, \"validationId\": string, \"kind\": string } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------------------------------------|\n| `status` | `string` The validation status. |\n| `validationId` | `string` The validation ID. |\n| `kind` | `string` The type of the API resource. For this operation, the value is `youtubePartner#validateAsyncResponse`. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/youtubepartner`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2).\n\nValidateAsyncRequest\n--------------------\n\nRequest to a `validator.validateAsync` metadata.\n\n| JSON representation |\n|-----------------------------------------------------------------------|\n| ``` { \"uploaderName\": string, \"content\": string, \"kind\": string } ``` |\n\n| Fields ||\n|----------------|----------------------------------------------------------------------------------------------------------------|\n| `uploaderName` | `string` The uploader name. |\n| `content` | `string` The metadata file contents. |\n| `kind` | `string` The type of the API resource. For this operation, the value is `youtubePartner#validateAsyncRequest`. |"]]