Google Cloud Video Stitcher V1 Client - Class CompanionAds (0.5.1)

Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class CompanionAds.

Metadata for companion ads.

Generated from protobuf message google.cloud.video.stitcher.v1.CompanionAds

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ display_requirement
int

Indicates how many of the companions should be displayed with the ad.

↳ companions
array< Google\Cloud\Video\Stitcher\V1\Companion >

List of companion ads.

getDisplayRequirement

Indicates how many of the companions should be displayed with the ad.

Returns
Type
Description
int

setDisplayRequirement

Indicates how many of the companions should be displayed with the ad.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getCompanions

List of companion ads.

Returns
Type
Description

setCompanions

List of companion ads.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: