Google Cloud Video Stitcher V1 Client - Class GamSettings (1.0.0-RC1)

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

Defines fields related to Google Ad Manager (GAM).

Generated from protobuf message google.cloud.video.stitcher.v1.LiveSession.GamSettings

Namespace

Google \ Cloud \ Video \ Stitcher \ V1 \ LiveSession

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ stream_id string

Required. The stream ID generated by Ad Manager. This must be set if GAM is being used for ads and the session uses client-side ad tracking.

↳ targeting_parameters array|Google\Protobuf\Internal\MapField

Targeting parameters to send to Ad Manager to generate a stream ID. This should only be set if the session uses server-side ad tracking.

getStreamId

Required. The stream ID generated by Ad Manager. This must be set if GAM is being used for ads and the session uses client-side ad tracking.

Returns
Type Description
string

setStreamId

Required. The stream ID generated by Ad Manager. This must be set if GAM is being used for ads and the session uses client-side ad tracking.

Parameter
Name Description
var string
Returns
Type Description
$this

getTargetingParameters

Targeting parameters to send to Ad Manager to generate a stream ID. This should only be set if the session uses server-side ad tracking.

Returns
Type Description
Google\Protobuf\Internal\MapField

setTargetingParameters

Targeting parameters to send to Ad Manager to generate a stream ID. This should only be set if the session uses server-side ad tracking.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this