Claim videos
A claim links a partner- or user-uploaded video to an asset that the video matches. The claim indicates whether the video matches the audio, video, or audiovisual (audio and video) components of the asset’s reference. The claim also identifies the rights administrator who controls the asset and who is claiming the video. Finally, the claim specifies the policy that the rights administrator wants to apply to the claimed video.
The <claim> tag has attributes (asset, video, rights_admin, rights_policy) that you can use to identify the various claim components. All of the attributes are optional, but a claim will only become usable if it is actually linked to a video, an asset, a rights administrator, and a rights policy. As such, if you do not use the <claim> element’s attributes to identify all of a claim’s components, you will need to use relationships to associate the claim with its remaining components.
In addition, if you are uploading a reference file that will be available as a YouTube video and claiming that video, then you must also create relationships between the file and the video and between the file and the asset that it represents.
The examples below demonstrate different ways to create claims. The examples also define relationships to associate the asset and the video with the appropriate reference file. In the first example, all of the claim components are defined using the <claim> element’s attributes. In the second example, the feed uses a relationship to link the claim components to the claim. In fact, your feed could also use a combination of these two approaches by setting values for some of the <claim> element’s attributes and then using a relationship to link the claim to its remaining components.
https://support.google.com/youtube/answer/4589348?hl=en&ref_topic=4588335
Define advertising policies
You use the <ad_policy> tag to specify which types of ads YouTube can show during a video or on a channel page or video watch page. As with ownership and rights policy tags, you can apply the same ad policy to as many videos as you like.
The subtags of <ad_policy> identify the permitted advertising formats:
In-stream ads play within the video player and are the only content displayed in the player while they are playing. In that sense, they are analogous to television commercials. In-stream ads can play either before a video (pre-roll), during a video at designated times (mid-roll), or at the end of a video (post-roll).
YouTube does not show in-stream ads by default. You must explicitly enable them in the ad policy, using the <instream> tag, and must specify the break times when the ads should run.
You also specify whether a video shows TrueView in-stream ads or standard in-stream ads. (Note that your partner account must be configured to allow you to show each type of in-stream ad.) YouTube allows both types of ads by default. If your partner account is configured to show both standard and TrueView in-stream ads, both of those types will be eligible to run unless you use the <instream> tag’s attributes to disable a particular type of in-stream ad from displaying.
- Overlay ads occupy the bottom 20 percent of the video player. (In the standard 640px by 360px player, the overlay is 640px by 72px.) The video that the user is watching continues playing while the overlay displays. Overlay ad settings also govern YouTube’s ability to show ads in a 300px by 250px companion ad slot that displays to the right of the video player.The list below explains the types of overlay ads that YouTube supports. By default, YouTube does show overlay ads for a video. Thus, you would need to use an ad policy to explicitly disallow the use of such ads.
- InVideo Ads have the following components:
- A transparent Flash overlay can occupy the bottom 20 percent of the video player.
- A 300px by 250px companion ad can display to the right of the video player.
If you enable a video to show InVideo Ads, then the video could show either the Flash overlay or the companion ad or both. If a Flash overlay and a companion ad both display, then both ads will be from the same campaign.
When a user clicks on either an InVideo overlay or companion ad, one of the following actions will occur:
- Another YouTube video will open and play inside the player. For some advertising campaigns, the other YouTube video will play automatically as a post-roll ad after the main video has ended.
- A new browser window will open the advertiser’s website.
- AdSense ads can be overlay ads, 300px by 250px Flash or image display ads, or text ads displayed in a 300px by 250px area. In addition, the overlay ads themselves could also be text, image or Flash ads.If you enable AdSense overlay ads for a video, then Youtube handles the 300px by 250px ad slot differently depending on whether the video is playing on a channel page or a video watch page:
- When the video plays on a channel page, the page could also display an AdSense for Content (AFC) Flash or image ad to the right of the channel’s video player.
- When the video plays on its video watch page, the page could also display AFC Flash, image or text ads in the space to the right of the video player.
- InVideo Ads have the following components:
The following examples show different types of ad policies:
- Example 1: Enabling pre-roll and post-roll ads – This example shows how to enable pre-roll and post-roll instream ads.
<ad_policy video="/external/video[@id='VIDEO_ID_1_']"> <instream/> </ad_policy> <video_breaks video="/external/video[@id='VIDEO_ID_1_']"> <break time="0"/> <!-- Enables pre-roll ads --> <break time="-1"/> <!-- Enables post-roll ads --> </video_breaks>
- Example 2: Enabling in-stream ads and disabling AdSense overlay ads – This example shows how to enable in-stream ads while disabling AdSense overlay ads.
<ad_policy video="/external/video[@id='VIDEO_ID_1_']"> <instream/> <overlay> <adsense_for_video>Deny</adsense_for_video> </overlay> </ad_policy> <video_breaks video="/external/video[@id='VIDEO_ID_1_']"> <break time="0"/> <!-- Enables pre-roll ads --> <break time="00:06:12"/> <break time="00:11:25"/> <break time="00:20:37"/> <break time="-1"/> <!-- Enables post-roll ads --> </video_breaks>
Set video breaks
A <video_breaks> tag identifies the times when advertisements can occur during a video. You can specify the break times as the number of seconds after the start of the video or as the time in HH:MM:SS format when the break occurs. You also have the option to show in-stream ads at break times automatically determined by YouTube, using the <break> tag’sauto_midrolls attribute instead of identifying specific times.
To display pre-roll ads (before the video starts), specify a break at time 0; to display post-roll ads (at the end of the video), specify a break time -1.
<video_breaks video="/external/video[@id='VIDEO_ID_1_']"> <break time="0"/> <!-- Enables pre-roll ads --> <break time="00:06:12"/> <break time="685"/> <!-- Break occurs at 00:11:25 --> <break time="00:20:37"/> <break time="-1"/> <!-- Enables post-roll ads --> </video_breaks>
To clear the video breaks previously set for a video, define a relationship between the video and an empty <video_breaks> tag.
<video_breaks tag="VIDEO_1_"/> <relationship> <item path="/external/video[@id='YH_OOaMUNoA']"/> <related_item path="/feed/video_breaks[@tag='VIDEO_1_']"/> </relationship>
YouTube’s partner ad serving feature enables you to use a third-party ad server to forecast, sell, traffic and report on in-video ads that YouTube shows on your videos. When you use a third-party ad server, the YouTube video player will send a request to the ad server when a user watches your video. The player will then handle the ad server’s response, which will contain information about the ads to show for the video, and display the appropriate ads.
If your account is enabled for this feature, you use subtags of the <video_breaks> tag to identify the third-party platform and provide ad targeting information for each ad break.
- The <third_party_ad_server> tag contains information that YouTube will need to request ads from a third-party ad server. This information includes the base URL for the third-party ad server as well as a value that uniquely identifies the video for which you are requesting ads.
- The <advertising> tag, which appears inside the <break> tag, contains advertising information about the break, such as a list of ad slots that should run in the break. For each slot, you can specify an ID, which can be communicated to the ad server. You can also specify the type of each slot – e.g. commercial, sponsorship, brand, etc. The slot type could affect YouTube’s fallback behavior if the third-party server does not return ads.
The XML snippet below shows a <video_breaks> tag that contains targeting information for a third-party ad server.
<video_breaks> <third_party_ad_server> <targeting_url>http://www.example.com/ad_server</targeting_url> <ad_server_video_id>xyz1941</ad_server_video_id> </third_party_ad_server> <!-- Pre-roll break shows several two commercials and a sponsorship ad --> <!-- The default slot type is "commercial" --> <break time="0"> <advertising> <ad_server> <slot id="x1"/> <slot id="x2"/> <slot id="x3"> <type>Sponsorship</type> </slot> </ad_server> </advertising> </break> <!-- Mid-roll break shows a commercial followed by a brand ad --> <break time="00:10:25"> <advertising> <ad_server> <slot id="x4"/> <slot id="x5"> <type>Brand</type> </slot> </ad_server> </advertising> </break> <!-- Post-roll break shows sponsorship ad, commercial, and a brand ad --> <break time="-1"> <advertising> <ad_server> <slot id="x6"> <type>Sponsorship</type> </slot> <slot id="x7"/> <slot id="x8"> <type>Brand</type> </slot> </ad_server> </advertising> </break> </video_breaks> <relationship> <item path="/external/video[@id='1ldklaqikdq']"/> <related_item path="/feed/video_breaks[0]"/> </relationship>
For more information on Multi Channel Network’s and YouTube how to videos please check back weekly or subscribe here.