Google Ads Ad Manager V1 Client - Class SourceContentConfig (0.8.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class SourceContentConfig.

Parameters about this CDN config as a source of content. This facilitates fetching the original content for conditioning and delivering the original content as part of a modified stream.

Generated from protobuf message google.ads.admanager.v1.SourceContentConfig

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ ingest_settings MediaLocation

Required. Config for how DAI should ingest media. At ingest time, we match the URL prefix of media in a stream's playlist with an ingest location and use the authentication credentials from the corresponding ingest settings to download the media. This value is required for a valid source content config.

↳ default_delivery_settings MediaLocation

Required. Default config for how DAI should deliver the non-modified media segments. At delivery time, we replace the ingest location's URL prefix with the delivery location's URL prefix and use the security policy from the delivery settings to determine how DAI needs to deliver the media so that users can access it. This value is required for a valid source content config.

getIngestSettings

Required. Config for how DAI should ingest media. At ingest time, we match the URL prefix of media in a stream's playlist with an ingest location and use the authentication credentials from the corresponding ingest settings to download the media. This value is required for a valid source content config.

Returns
Type Description
MediaLocation|null

hasIngestSettings

clearIngestSettings

setIngestSettings

Required. Config for how DAI should ingest media. At ingest time, we match the URL prefix of media in a stream's playlist with an ingest location and use the authentication credentials from the corresponding ingest settings to download the media. This value is required for a valid source content config.

Parameter
Name Description
var MediaLocation
Returns
Type Description
$this

getDefaultDeliverySettings

Required. Default config for how DAI should deliver the non-modified media segments. At delivery time, we replace the ingest location's URL prefix with the delivery location's URL prefix and use the security policy from the delivery settings to determine how DAI needs to deliver the media so that users can access it. This value is required for a valid source content config.

Returns
Type Description
MediaLocation|null

hasDefaultDeliverySettings

clearDefaultDeliverySettings

setDefaultDeliverySettings

Required. Default config for how DAI should deliver the non-modified media segments. At delivery time, we replace the ingest location's URL prefix with the delivery location's URL prefix and use the security policy from the delivery settings to determine how DAI needs to deliver the media so that users can access it. This value is required for a valid source content config.

Parameter
Name Description
var MediaLocation
Returns
Type Description
$this