Watermarks

  • A watermark resource displays an image during a channel's video playbacks, with the option to link to a target channel.

  • The API provides set and unset methods to upload and delete watermark images respectively.

  • The timing object controls when a watermark appears, using type to determine if it's measured from the start or end of a video and offsetMs for the time offset, with durationMs defining its display length.

  • The position object defines the watermark's location within the video, with cornerPosition specifically determining the corner.

  • The targetChannelId property is used to indicate the YouTube channel ID that the image links to when interacted with.

A watermark resource identifies an image that displays during playbacks of a specified channel's videos. You can also specify a target channel to which the image will link as well as timing details that determine when the watermark appears during video playbacks and the length of time it is visible.

Methods

The API supports the following methods for watermarks resources:

set
Uploads a watermark image to YouTube and sets it for a channel.
unset
Deletes a channel's watermark image. Try it now.

Resource representation

The JSON structure below shows the format of a watermarks resource:

{
  "timing": {
    "type": string,
    "offsetMs": unsigned long,
    "durationMs": unsigned long
  },
  "position": {
    "type": string,
    "cornerPosition": string
  },
  "imageUrl": string,
  "imageBytes": bytes,
  "targetChannelId": string
}

Properties

The following table defines the properties that appear in this resource: