Reference documentation and code samples for the Google Ads Ad Manager V1 Client class CdnConfig.
A CdnConfig encapsulates information about where and how to ingest and deliver content enabled for DAI (Dynamic Ad Insertion).
Generated from protobuf message google.ads.admanager.v1.CdnConfig
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of the |
↳ display_name |
string
Required. The name of the CdnConfig. This value is required to create a CDN config and has a maximum length of 255 characters. |
↳ cdn_config_type |
int
Required. The type of CDN config represented by this CdnConfig. |
↳ source_content_config |
SourceContentConfig
Optional. 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. |
↳ ad_media_delivery_config |
AdMediaDeliveryConfig
Optional. Config of CDN to deliver ad media. |
↳ cdn_config_status |
int
Output only. The status of the CDN config. |
getName
Identifier. The resource name of the CdnConfig.
Format: networks/{network_code}/cdnConfigs/{cdn_config_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The resource name of the CdnConfig.
Format: networks/{network_code}/cdnConfigs/{cdn_config_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Required. The name of the CdnConfig. This value is required to create a CDN config and has a maximum length of 255 characters.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasDisplayName
clearDisplayName
setDisplayName
Required. The name of the CdnConfig. This value is required to create a CDN config and has a maximum length of 255 characters.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCdnConfigType
Required. The type of CDN config represented by this CdnConfig.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasCdnConfigType
clearCdnConfigType
setCdnConfigType
Required. The type of CDN config represented by this CdnConfig.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceContentConfig
Optional. 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.
| Returns | |
|---|---|
| Type | Description |
SourceContentConfig|null |
|
hasSourceContentConfig
clearSourceContentConfig
setSourceContentConfig
Optional. 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.
| Parameter | |
|---|---|
| Name | Description |
var |
SourceContentConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAdMediaDeliveryConfig
Optional. Config of CDN to deliver ad media.
| Returns | |
|---|---|
| Type | Description |
AdMediaDeliveryConfig|null |
|
hasAdMediaDeliveryConfig
clearAdMediaDeliveryConfig
setAdMediaDeliveryConfig
Optional. Config of CDN to deliver ad media.
| Parameter | |
|---|---|
| Name | Description |
var |
AdMediaDeliveryConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCdnConfigStatus
Output only. The status of the CDN config.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasCdnConfigStatus
clearCdnConfigStatus
setCdnConfigStatus
Output only. The status of the CDN config.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|