Class DaiEncodingProfile
A DaiEncodingProfile contains data about a publisher's encoding profiles. Ad Manager Dynamic Ad Insertion (DAI) uses the profile information about the content to select an appropriate ad transcode to play for the particular video.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class DaiEncodingProfile : IMessage<DaiEncodingProfile>, IEquatable<DaiEncodingProfile>, IDeepCloneable<DaiEncodingProfile>, IBufferMessage, IMessage
Constructors
DaiEncodingProfile()
Declaration
public DaiEncodingProfile()
DaiEncodingProfile(DaiEncodingProfile)
Declaration
public DaiEncodingProfile(DaiEncodingProfile other)
Parameters
| Type | Name | Description |
|---|---|---|
| DaiEncodingProfile | other |
Properties
AudioSettings
Optional. Information about the audio media, if present. This field will only be set if the media contains audio. Only MEDIA and IFRAME variant types can set audio.
Declaration
public AudioSettings AudioSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| AudioSettings |
ContainerType
Required. The digital container type of the underlying media. This is required for MEDIA and IFRAME variant types.
Declaration
public ContainerTypeEnum.Types.ContainerType ContainerType { get; set; }
Property Value
| Type | Description |
|---|---|
| ContainerTypeEnum.Types.ContainerType |
DaiEncodingProfileName
DaiEncodingProfileName-typed view over the Name resource name property.
Declaration
public DaiEncodingProfileName DaiEncodingProfileName { get; set; }
Property Value
| Type | Description |
|---|---|
| DaiEncodingProfileName |
DisplayName
Required. The name of the DaiEncodingProfile. It may be at most 64 characters. The name field can contain alphanumeric characters and symbols other than the following: ", ', =, !, +, #, , ~, ;, ^, (, ), <, >, [, ], the white space character.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasContainerType
Gets whether the "container_type" field is set
Declaration
public bool HasContainerType { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasDisplayName
Gets whether the "display_name" field is set
Declaration
public bool HasDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasStatus
Gets whether the "status" field is set
Declaration
public bool HasStatus { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasVariantType
Gets whether the "variant_type" field is set
Declaration
public bool HasVariantType { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Identifier. The resource name of the DaiEncodingProfile.
Format:
networks/{network_code}/daiEncodingProfiles/{dai_encoding_profile_id}
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Status
Output only. The status of this DaiEncodingProfile.
DAI encoding profiles are created in the [DaiEncodingProfileStatus.ACTIVE][] state by default.
Only active profiles will be allowed to be associated with live streams.
Declaration
public DaiEncodingProfileStatusEnum.Types.DaiEncodingProfileStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| DaiEncodingProfileStatusEnum.Types.DaiEncodingProfileStatus |
VariantType
Required. The variant playlist type that this DaiEncodingProfile represents.
Declaration
public DaiEncodingProfileVariantTypeEnum.Types.DaiEncodingProfileVariantType VariantType { get; set; }
Property Value
| Type | Description |
|---|---|
| DaiEncodingProfileVariantTypeEnum.Types.DaiEncodingProfileVariantType |
VideoSettings
Optional. Information about the video media, if present. This field will only be set if the media contains video, or is an IFRAME variant type.
Declaration
public VideoSettings VideoSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| VideoSettings |