Include a sound recording in AudioSwap

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.
To include audio tracks in the AudioSwap program, you must have already signed an AudioSwap contract agreement with YouTube.

YouTube's AudioSwap program enables users to use audio tracks from participating music artists and record labels as the soundtracks for their videos. The AudioSwap program is designed to benefit artists and record labels while enabling YouTube users to create more exciting, engaging videos.

If you include a sound recording asset in the AudioSwap program, YouTube applies the match policy for the sound recording to the videos of any users who select the recording.

To include a sound recording in AudioSwap:

  1. Insert the <audioswap> tag in your XML feed. The tag, which does not have any attributes, is a child of the <feed> tag.

  2. Create a sound recording asset that includes a title, artist, and genre.

  3. Create a reference for the sound recording.

  4. Create a relationship that associates the reference file with the asset and the <audioswap> element.

      <asset type="sound_recording" tag="YOUR_ID_HERE">
        <title>Title required for AudioSwap</title>
        <artist>John Smith and the AudioSwap Requirements</artist>
        <!-- more asset metadata -->
      <file type="audio" tag="foo.mp3">
        <item path="/feed/file[@tag='foo.mp3']"/>
        <related_item path="/feed/asset[@tag='YOUR_ID_HERE']"/>
        <related_item path="/feed/audioswap"/>
      <!-- FP reference (created above) needs a match composite license  -->
        <item path="/external/rights_policy[@name='External rights policy']"/>
        <related_item path="/feed/asset[@tag='YOUR_ID_HERE']"/>


Removing a sound recording from AudioSwap

There are two ways to remove a track from the AudioSwap program:

  • Update the reference for the sound recording to turn off AudioSwap. To do this, include a <reference> tag in your feed with its action attribute set to audioswap and its active attribute set to false:

    <reference action="audioswap" active="false" id="REFERENCEID"/>
  • Deactivate the reference for the sound recording. This action automatically removes the recording from the AudioSwap library, but does not impact any claims on existing videos that use the recording.

Was this article helpful?
How can we improve it?