Before starting to upload a metadata file, YouTube reviews the data for these types of errors:Improper formatting
The validator confirms that your feed is formatted properly. For example, it must specify a value for all required fields, and date values must be specified in the proper format.
The Custom ID refers to a unique value used to identify an asset. This can be an ID created specifically for the asset (such as a production code or UPC) or a standard industry identifier (such as EIDR or TMS ID). This field supports a maximum length of 64 bytes and may contain alphanumeric characters, hyphens (-), underscores (_), periods (.), arrobas (@), or forward slashes (/).
Please note that there are two different types of Custom ID, and that using the same ID for both avails and ingestion helps improve tracking and reporting.
- The Avails Custom ID is the ID the partner provides to Google as metadata in the avails. Although this Custom ID is optional, it is highly encouraged because it is invaluable for the Operations Team to track and audit titles internally.
- The Ingestion Custom ID is provided in the XML or CSV during ingestion. It is also optional but highly encouraged, because this is a title-specific number that will appear on your CMS transactional reports, and will aid in effective revenue tracking.
The validator confirms that:
- Every <asset>, <playlist>, <reference>, or <video> referenced by its external YouTube ID exists in your account. This rule applies to the id attribute values for any of these elements and to any resources identified by the path attribute of an <item> or <related_item> tag in a <relationship> element.
- No <video> elements refer to videos that have already been deleted.
- Every <rights_policy> referenced by a <name> exists in your list of saved policies.
- Every <owner> identified by a name attribute is an active owner.
The validator displays an error if you attempt to:
- Update a <video> element whose owner is not a YouTube user account linked to your YouTube partner account.
- Add a video to a channel whose owner is not a YouTube user account linked to your YouTube partner account.
- Add a sound recording to the AudioSwap program when you're not enrolled in AudioSwap.
Some XML elements, such as <file>, <ad_policy>, and <product>, are meaningful only when they’re related to other elements. The validator checks these relationships:
- Every <file> element must be related to an <artwork>, <asset>, <caption>, or <video> element.
- Every <video> element that creates a new video must have a related <file> element.
- Every <ad_policy>, <caption>, <content_rating>, <payment_policy> or <video_release_dates> element must be related to a <video> element.
- Every <product> element must be related to an <asset> element.
- Every season asset specifies an existing <show_custom_id>.
If your file has any of these issues, the validator writes into the status log an error message that identifies the offending element or tag.