Reference documentation and code samples for the Google Ads Ad Manager V1 Client class AdMediaDeliveryConfig.
Parameters about this CDN config of a CDN used for delivering ad media.
Generated from protobuf message google.ads.admanager.v1.AdMediaDeliveryConfig
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ override_default_delivery_settings |
bool
Optional. Whether to override the default delivery CDN. If false, |
↳ delivery_settings |
MediaLocation
Optional. Config for the delivery location that will override the default. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. Null if |
↳ additional_delivery_settings |
array<MediaLocation>
Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the |
getOverrideDefaultDeliverySettings
Optional. Whether to override the default delivery CDN. If false,
deliverySettings must be null.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasOverrideDefaultDeliverySettings
clearOverrideDefaultDeliverySettings
setOverrideDefaultDeliverySettings
Optional. Whether to override the default delivery CDN. If false,
deliverySettings must be null.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeliverySettings
Optional. Config for the delivery location that will override the default.
From MediaLocationDto, the URL prefix field represents the hostname of the
external CDN and the security policy will be ignored. Null if
overrideDefaultDeliverySettings is false.
| Returns | |
|---|---|
| Type | Description |
MediaLocation|null |
|
hasDeliverySettings
clearDeliverySettings
setDeliverySettings
Optional. Config for the delivery location that will override the default.
From MediaLocationDto, the URL prefix field represents the hostname of the
external CDN and the security policy will be ignored. Null if
overrideDefaultDeliverySettings is false.
| Parameter | |
|---|---|
| Name | Description |
var |
MediaLocation
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAdditionalDeliverySettings
Optional. List of additional delivery locations. From MediaLocationDto, the
URL prefix field represents the hostname of the external CDN and the
security policy will be ignored. In your stream create request, you can set
the value of the dai-dlid parameter to the name of the MediaLocation you
want to use.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<MediaLocation> |
|
setAdditionalDeliverySettings
Optional. List of additional delivery locations. From MediaLocationDto, the
URL prefix field represents the hostname of the external CDN and the
security policy will be ignored. In your stream create request, you can set
the value of the dai-dlid parameter to the name of the MediaLocation you
want to use.
| Parameter | |
|---|---|
| Name | Description |
var |
array<MediaLocation>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|