Class Content
A piece of Content from a Publisher's CMS.
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class Content : IMessage<Content>, IEquatable<Content>, IDeepCloneable<Content>, IBufferMessage, IMessage
Constructors
Content()
Declaration
public Content()
Content(Content)
Declaration
public Content(Content other)
Parameters
| Type | Name | Description |
|---|---|---|
| Content | other |
Properties
CmsMetadataValues
Output only. The resource names of the [CmsMetadataValues]
[google.ads.admanager.v1.CmsMetadataValue] that
are associated with this Content.
Declaration
public RepeatedField<string> CmsMetadataValues { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
CmsMetadataValuesAsCmsMetadataValueNames
CmsMetadataValueName-typed view over the CmsMetadataValues resource name property.
Declaration
public ResourceNameList<CmsMetadataValueName> CmsMetadataValuesAsCmsMetadataValueNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<CmsMetadataValueName> |
CmsSources
Output only. Information about the Content from the CMS it was ingested
from.
Declaration
public RepeatedField<CmsContent> CmsSources { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<CmsContent> |
ContentBundles
Output only. The resource names of the
[ContentBundles][google.ads.admanager.v1.ContentBundle] of
which this Content is a member.
Declaration
public RepeatedField<string> ContentBundles { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
ContentBundlesAsContentBundleNames
ContentBundleName-typed view over the ContentBundles resource name property.
Declaration
public ResourceNameList<ContentBundleName> ContentBundlesAsContentBundleNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<ContentBundleName> |
ContentName
ContentName-typed view over the Name resource name property.
Declaration
public ContentName ContentName { get; set; }
Property Value
| Type | Description |
|---|---|
| ContentName |
ContentStatusSource
Output only. Whether the content status was defined by the user, or by the
source CMS from which the Content was ingested.
Declaration
public ContentStatusSourceEnum.Types.ContentStatusSource ContentStatusSource { get; set; }
Property Value
| Type | Description |
|---|---|
| ContentStatusSourceEnum.Types.ContentStatusSource |
DashIngestErrors
Output only. The list of any errors that occurred during the most recent
DAI ingestion process of the DASH media. This attribute will be empty if
the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the Content is
not eligible for dynamic ad insertion or if the Content does not have
DASH media.
Declaration
public RepeatedField<DaiIngestError> DashIngestErrors { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<DaiIngestError> |
DashIngestStatus
Output only. The current DAI ingest status of the DASH media for the
Content. This attribute is unset if the Content is not eligible for
dynamic ad insertion or if the Content does not have DASH media.
Declaration
public DaiIngestStatusEnum.Types.DaiIngestStatus DashIngestStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| DaiIngestStatusEnum.Types.DaiIngestStatus |
DisplayName
Output only. The name of the Content.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Duration
Output only. The duration of the Content.
Declaration
public Duration Duration { get; set; }
Property Value
| Type | Description |
|---|---|
| Duration |
HasContentStatusSource
Gets whether the "content_status_source" field is set
Declaration
public bool HasContentStatusSource { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasDashIngestStatus
Gets whether the "dash_ingest_status" field is set
Declaration
public bool HasDashIngestStatus { 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 |
HasHlsIngestStatus
Gets whether the "hls_ingest_status" field is set
Declaration
public bool HasHlsIngestStatus { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasStatus
Gets whether the "status" field is set
Declaration
public bool HasStatus { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HlsIngestErrors
Output only. The list of any errors that occurred during the most recent
DAI ingestion process of the HLS media. This attribute will be empty if the
hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the Content is
not eligible for dynamic ad insertion or if the Content does not have
HLS media.
Declaration
public RepeatedField<DaiIngestError> HlsIngestErrors { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<DaiIngestError> |
HlsIngestStatus
Output only. The current DAI ingest status of the HLS media for the
Content. This attribute is unset if the Content is not eligible for
dynamic ad insertion or if the Content does not have HLS media.
Declaration
public DaiIngestStatusEnum.Types.DaiIngestStatus HlsIngestStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| DaiIngestStatusEnum.Types.DaiIngestStatus |
ImportTime
Output only. The timestamp at which this Content was published.
Declaration
public Timestamp ImportTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
LastDashIngestTime
Output only. The timestamp at which this Content's DASH media was last
ingested for DAI. This attribute will be unset if the Content is not
eligible for dynamic ad insertion or if the Content does not have DASH
media.
Declaration
public Timestamp LastDashIngestTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
LastHlsIngestTime
Output only. The timestamp at which this Content's HLS media was last
ingested for DAI. This attribute will be unset if the Content is not
eligible for dynamic ad insertion or if the Content does not have HLS
media.
Declaration
public Timestamp LastHlsIngestTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Name
Identifier. The resource name of the Content.
Format: networks/{network_code}/content/{content_id}
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Status
Output only. The status of this Content.
Declaration
public ContentStatusEnum.Types.ContentStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| ContentStatusEnum.Types.ContentStatus |
UpdateTime
Output only. The timestamp at which this Content was last modified.
The last modified date time will always be updated when a
[ContentBundle][google.ads.admanager.v1.ContentBundle]
association is changed, but will not always be updated when a
[CmsMetadataValue][google.ads.admanager.v1.CmsMetadataValue]
value is changed.
Declaration
public Timestamp UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |