Setting up a channel and advertising
Setting up a channel
- Open the Cloud Video home page
. - Select a channel.
- In the right-hand panel, select Channel settings.
- Enable the Show video in player before processing is complete option for playback to start as soon as the video is loaded without waiting for end of processing. In which case the video and metadata will be taken from the source file without transcoding. This feature works only in browsers supporting the source file format.
- Under Advertisement, specify the ad settings for all videos on your channel.
- Under Permitted domains, add the addresses of websites that can play back videos from this channel. Videos will not be played on other websites.
- Enable Check status.
- Click
Add domain. - Enter the address of a website or group of websites.
- Click Create.
- Add other domains as needed.
- To play back videos on all websites, disable Check status. The domains you added will be saved.
- Click Save.
Use the create or update REST API method for the Channel resource, ChannelService/Create or ChannelService/Update gRPC API call. Provide your settings in the settings parameter.
Configuring ads
You can monetize your video content using the Yandex Advertising Network.
To configure ads:
-
Review the requirements for placing video blocks
. -
Sign up
for the Yandex Advertising Network (YAN). -
Submit a request to support
to add your video resource.For more details, see the Yandex documentation: New partners
and Creating a video resource .After creating a video resource, the Video advertising section will appear in the Yandex Advertising Network interface, and the video resource itself will appear in the Video advertising → Video resources tab. It will be assigned a unique
Page IDand get the New status. -
Add the
Page IDto the Cloud Video channel settings. -
Wait until the moderation process is completed: the video resource status in YAN will change to Active. No statistics.
-
Configure
the display of ad blocks for your videos. -
Enable ads for each video individually.
-
View statistics
on advertising and learn about technologies for increasing advertising efficiency .
Adding Page ID
- Open Channel settings.
- Under Advertisement, specify:
- Provider:
Yandex Direct. - PageID you got after you created your video resource.
- Category (topic) of the videos on your channel.
- Provider:
- Click Save.
Use the create or update REST API method for the Channel resource, ChannelService/Create or ChannelService/Update gRPC API call.
Provide your advertising settings using the settings > advertisement parameter.