Exclude reference content from match consideration

30/11/2019
The YouTube XML format is being replaced by DDEX (music only) and CSV templates (all industries). YouTube strongly discourages any new implementations of the YouTube XML format. This page should be used solely as reference material for existing implementations. Visit Using the YouTube DDEX feed for more information about the new format.
The features described in this article are available only to partners who use YouTube's Content Manager to manage their copyrighted content.

YouTube's Content ID system uses a reference for an asset as the basis for determining matches and claiming videos. When a reference includes content that you don't own, you need to exclude that content from consideration when determining matches. For example, a news program might include footage received from other sources. You don't want to claim videos that match the footage you don't own.

A <reference_exclusions> tag specifies one or more time intervals in a reference that YouTube should exclude when determining Content ID matches. Each <interval> tag specifies a duration to exclude:


  <reference_exclusions>
    <interval start="0:00" end="0:10"/>
    <interval start="1:00:20" end="1:00:30"/>
  

To exclude portions of a reference from consideration during matching, include the <reference_exclusions> tag in your feed and define a relationship that associates the tag with the reference to which it applies. The feed supports two ways to associate the exclusions with a reference:

To remove the exclusions, associate an empty <reference_exclusions> tag with the reference.


  <reference_exclusions/>
  <relationship>
    <item path="/feed/reference_exclusions[1]"/>
    <related_item path="/external/reference[@id='REFERENCEID']"/>
  

* Nguồn: Youtube