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.
- Under Advertising, specify the ad settings for all videos on your channel.
- Under Allowed domains, add the addresses of websites where videos from this channel can be played. 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 if required.
- To display 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 ID
and get the New status. -
Add the
Page ID
to 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. -
View statistics
on advertising and learn about technologies for increasing advertising efficiency .
Adding Page ID
- Open Channel settings.
- Under Advertising, specify:
- Provider:
Yandex Direct
. - Page ID you got after creating 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.