This topic describes how you can create automatic feeds for the TubeMogul OneLoad distribution service, using the the read methods in the Video Cloud Media API.
TubeMogul OneLoad is a service you can use to distribute videos from your Video Cloud Media Library to dozens of different video and social networking sites, including YouTube, MySpace, Facebook, Twitter, Yahoo! Video, and Viddler. Using the Video Cloud Media API, you can create feeds of videos from your Media Library that automate wide distribution of your videos through TubeMogul. Read more about TubeMogul OneLoad.
In order to set up feeds from your Video Cloud account to TubeMogul, you need the following:
The main steps in setting up a feed from your Video Cloud Media Library to TubeMogul are:
You need to set up a custom metadata field in your account named tm_category. Since the TubeMogul category needs to be set to one (and only one) of a specific list of category names, use the List type for this custom metadata field. For the list values, use the valid categories for TubeMogul, which are: Arts, Comedy, Entertainment, Music, News, Science, Sports, Travel, Video, Games, Animals, Pets, Autos, People, How To, Instructional, Commercials, Promotional, Family, and Kids. If the tm_category field is set to an invalid value (but not null), the video will be treated as if the category were Entertainment.

The internal name of the custom field must be tm_category. The display name can be anything; in this example, we have named it TubeMogul category.
For information about using custom metadata fields, read Setting Up Custom Metadata. For specific information about setting up custom metadata fields, read Creating Custom Metadata Fields.
Since sites like YouTube require a category for every upload, you will need to set up a custom metadata field that stores each video's category. Only videos that have a value in the custom tm_category field can be returned in a TubeMogul OneLoad feed. You need to edit all the videos that you want to include in feeds to include a valid value in this field. You can edit the custom tm_category field using your choice of several techniques:

Since many video distribution destination sites require videos to include tags, each of your videos must have some value set in the tags field in order to be included in a TubeMogul feed. Tags help your viewers find your videos, and can also determine which videos are considered "related." What you choose for the tags value can depend on the content and purpose of your videos. You might want to include brand-related tags as well as tags that indicate the action and contents of the video, including the names of performers, works (song, movie, show), or products.
Your feeds are based on one or more Media API read method calls. You can create multiple feeds, customized by playlist, tags, or other variables. You might want to create separate feeds for separate brands or shows, for example.
The Media API call has 4 required arguments: command, token, media_delivery, and output.
The command argument specifies which Media API method to use. Which API method you use depends on what videos you want included in the feed. If you want to include all your videos, you would use the find_all_videos method, with a command like this:
http://api.brightcove.com/services/library?command=find_all_videos&token=01234.&media_delivery=http&output=tm
In the token argument, use the Media API read token with URL access for your Video Cloud account. Read more about getting a Media API token.
The media_delivery argument should be set to http, since TubeMogul feeds require progressive download, rather than Flash streaming delivery.
The output argument specifies the format of the output from the Media API method. When you set the value of the output argument to tm, the Media API read methods return a form of MRSS that is customized to work with TubeMogul OneLoad, following these rules:
Pass the feed URL to TubeMogul. This takes the form of the complete Media API method call. In the TubeMogul OneLoad user interface, navigate to the MRSS Feeds page and enter the Media API method call into the Feed URL field.
TubeMogul uses the pubDate field to exclude older videos you may already have included in feeds.