Show / Hide Table of Contents

Class Creative

The Creative resource.

Inheritance
object
Creative
Implements
IMessage<Creative>
IEquatable<Creative>
IDeepCloneable<Creative>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class Creative : IMessage<Creative>, IEquatable<Creative>, IDeepCloneable<Creative>, IBufferMessage, IMessage

Constructors

Creative()

Declaration
public Creative()

Creative(Creative)

Declaration
public Creative(Creative other)
Parameters
Type Name Description
Creative other

Properties

AdBadgingEnabled

Optional. Non-empty default. Whether the creative has ad badging enabled.

Defaults to false for VastRedirectCreative, ThirdPartyCreative, AudioRedirectCreative, ProgrammaticCreative, LegacyDfpMobileCreative, FlashOverlayCreative, GraphicalInterstitialCreative, LegacyDfpCreative, MobileAdNetworkCreative, MobileVideoInterstitialCreative, SdkMediationCreative, and FlashCreative types.

Defaults to true for all other creative types.

Declaration
public bool AdBadgingEnabled { get; set; }
Property Value
Type Description
bool

AdExchangeCreative

Optional. An Ad Exchange dynamic allocation creative.

Declaration
public AdExchangeCreativeDetails AdExchangeCreative { get; set; }
Property Value
Type Description
AdExchangeCreativeDetails

AdSenseCreative

Optional. An AdSense dynamic allocation creative.

Declaration
public AdSenseCreativeDetails AdSenseCreative { get; set; }
Property Value
Type Description
AdSenseCreativeDetails

Advertiser

Required. The resource name of the Company, which is of type Company.Type.ADVERTISER, to which this Creative belongs. Format: "networks/{network_code}/companies/{company_id}"

Declaration
public string Advertiser { get; set; }
Property Value
Type Description
string

AdvertiserAsCompanyName

CompanyName-typed view over the Advertiser resource name property.

Declaration
public CompanyName AdvertiserAsCompanyName { get; set; }
Property Value
Type Description
CompanyName

AppliedLabels

Optional. The set of labels applied directly to this creative.

Declaration
public RepeatedField<AppliedLabel> AppliedLabels { get; }
Property Value
Type Description
RepeatedField<AppliedLabel>

AspectRatioImageCreative

Optional. A Creative intended for mobile platforms that displays an image, whose size is defined as an aspect ratio. It can have multiple images whose dimensions conform to that aspect ratio.

Declaration
public AspectRatioImageCreativeDetails AspectRatioImageCreative { get; set; }
Property Value
Type Description
AspectRatioImageCreativeDetails

AudioCreative

Optional. A Creative that contains Ad Manager hosted audio ads and is served via VAST XML.

Declaration
public AudioCreativeDetails AudioCreative { get; set; }
Property Value
Type Description
AudioCreativeDetails

AudioRedirectCreative

Optional. A Creative that contains externally hosted audio ads and is served via VAST XML.

Declaration
public AudioRedirectCreativeDetails AudioRedirectCreative { get; set; }
Property Value
Type Description
AudioRedirectCreativeDetails

BuyerPlacementConfig

Optional. The buyer placement configuration for this creative.

Declaration
public BuyerPlacementConfig BuyerPlacementConfig { get; set; }
Property Value
Type Description
BuyerPlacementConfig

ClickTrackingCreative

Optional. A creative that is used for tracking clicks on ads that are served directly from the customers' web servers or media servers. NOTE: The size attribute is not used for click tracking creative and it will not be persisted upon save.

Declaration
public ClickTrackingCreativeDetails ClickTrackingCreative { get; set; }
Property Value
Type Description
ClickTrackingCreativeDetails

CreativeName

CreativeName-typed view over the Name resource name property.

Declaration
public CreativeName CreativeName { get; set; }
Property Value
Type Description
CreativeName

CustomCreative

Optional. A Creative that contains a custom HTML snippet and file assets.

Declaration
public CustomCreativeDetails CustomCreative { get; set; }
Property Value
Type Description
CustomCreativeDetails

CustomFieldValues

Optional. The values of the custom fields associated with this creative.

Declaration
public RepeatedField<CustomFieldValue> CustomFieldValues { get; }
Property Value
Type Description
RepeatedField<CustomFieldValue>

DetailsCase

Declaration
public Creative.DetailsOneofCase DetailsCase { get; }
Property Value
Type Description
Creative.DetailsOneofCase

DisplayName

Required. Display name of the Creative. This attribute has a maximum length of 255 characters.

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
string

HasAdBadgingEnabled

Gets whether the "ad_badging_enabled" field is set

Declaration
public bool HasAdBadgingEnabled { get; }
Property Value
Type Description
bool

HasAdvertiser

Gets whether the "advertiser" field is set

Declaration
public bool HasAdvertiser { 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

HasPreviewUrl

Gets whether the "preview_url" field is set

Declaration
public bool HasPreviewUrl { get; }
Property Value
Type Description
bool

HasSelfDeclaredEuropeanUnionPoliticalContent

Gets whether the "self_declared_european_union_political_content" field is set

Declaration
public bool HasSelfDeclaredEuropeanUnionPoliticalContent { get; }
Property Value
Type Description
bool

HasThirdPartyDataDeclarationStatus

Gets whether the "third_party_data_declaration_status" field is set

Declaration
public bool HasThirdPartyDataDeclarationStatus { get; }
Property Value
Type Description
bool

Html5Creative

Optional. A Creative that contains a zipped HTML5 bundle asset, a list of third party impression trackers, and a third party click tracker.

Declaration
public Html5CreativeDetails Html5Creative { get; set; }
Property Value
Type Description
Html5CreativeDetails

ImageCreative

Optional. A Creative that displays an image.

Declaration
public ImageCreativeDetails ImageCreative { get; set; }
Property Value
Type Description
ImageCreativeDetails

ImageOverlayCreative

Optional. An overlay Creative that displays an image and is served via VAST 2.0 XML. Overlays cover part of the video content they are displayed on top of.

Declaration
public ImageOverlayCreativeDetails ImageOverlayCreative { get; set; }
Property Value
Type Description
ImageOverlayCreativeDetails

ImageRedirectCreative

Optional. A Creative that loads an image asset from a specified URL.

Declaration
public ImageRedirectCreativeDetails ImageRedirectCreative { get; set; }
Property Value
Type Description
ImageRedirectCreativeDetails

ImageRedirectOverlayCreative

Optional. An overlay Creative that loads an image asset from a specified URL and is served via VAST XML. Overlays cover part of the video content they are displayed on top of. This creative is read only.

Declaration
public ImageRedirectOverlayCreativeDetails ImageRedirectOverlayCreative { get; set; }
Property Value
Type Description
ImageRedirectOverlayCreativeDetails

InternalRedirectCreative

Optional. A Creative hosted by Campaign Manager 360.

Similar to third-party creatives, a Campaign Manager 360 tag is used to retrieve a creative asset. However, Campaign Manager 360 tags are not sent to the user's browser. Instead, they are processed internally within the Google Marketing Platform system.

Declaration
public InternalRedirectCreativeDetails InternalRedirectCreative { get; set; }
Property Value
Type Description
InternalRedirectCreativeDetails

LegacyDfpCreative

Optional. A Creative that isn't supported by Google DFP, but was migrated from DART. Creatives of this type cannot be created or modified.

Declaration
public LegacyDfpCreativeDetails LegacyDfpCreative { get; set; }
Property Value
Type Description
LegacyDfpCreativeDetails

Name

Identifier. The resource name of the Creative. Format: networks/{network_code}/creatives/{creative_id}

Declaration
public string Name { get; set; }
Property Value
Type Description
string

PreviewUrl

Output only. The URL of the creative for previewing the media.

Declaration
public string PreviewUrl { get; set; }
Property Value
Type Description
string

ProgrammaticCreative

Optional. A Creative used for programmatic trafficking. This creative will be auto-created with the right approval from the buyer. This creative cannot be created through the API. This creative can be updated.

Declaration
public ProgrammaticCreativeDetails ProgrammaticCreative { get; set; }
Property Value
Type Description
ProgrammaticCreativeDetails

RichMediaStudioCreative

Optional. A Creative that is created by a Rich Media Studio. You cannot create this creative, but you can update some fields of this creative.

Declaration
public RichMediaStudioCreativeDetails RichMediaStudioCreative { get; set; }
Property Value
Type Description
RichMediaStudioCreativeDetails

SelfDeclaredEuropeanUnionPoliticalContent

Optional. Whether this creative contains self-declared European Union political content.

Declaration
public bool SelfDeclaredEuropeanUnionPoliticalContent { get; set; }
Property Value
Type Description
bool

SetTopBoxCreative

Optional. A Creative that will be served into cable set-top boxes. There are no assets for this creative type, as they are hosted by external cable systems.

Declaration
public SetTopBoxCreativeDetails SetTopBoxCreative { get; set; }
Property Value
Type Description
SetTopBoxCreativeDetails

Size

Required. Immutable. The Size of the creative.

Declaration
public Size Size { get; set; }
Property Value
Type Description
Size

TemplateCreative

Optional. A Creative that is created by the specified creative template.

Declaration
public TemplateCreativeDetails TemplateCreative { get; set; }
Property Value
Type Description
TemplateCreativeDetails

ThirdPartyCreative

Optional. A Creative that is served by a 3rd-party vendor.

Declaration
public ThirdPartyCreativeDetails ThirdPartyCreative { get; set; }
Property Value
Type Description
ThirdPartyCreativeDetails

ThirdPartyDataDeclaration

Optional. The third party companies associated with this creative. This is distinct from any associated companies that Google may detect programmatically.

Declaration
public ThirdPartyDataDeclaration ThirdPartyDataDeclaration { get; set; }
Property Value
Type Description
ThirdPartyDataDeclaration

ThirdPartyDataDeclarationStatus

Output only. The status of the publisher's ThirdPartyDataDeclaration, when compared with the set of third party companies detected via automated scanning.

For example, if automated scanning detects more companies than have been declared, this status will be [CreativeThirdPartyDataDeclarationStatus.INCOMPLETE][google.ads.admanager.v1.CreativeThirdPartyDataDeclarationStatusEnum.CreativeThirdPartyDataDeclarationStatus.INCOMPLETE].

Declaration
public CreativeThirdPartyDataDeclarationStatusEnum.Types.CreativeThirdPartyDataDeclarationStatus ThirdPartyDataDeclarationStatus { get; set; }
Property Value
Type Description
CreativeThirdPartyDataDeclarationStatusEnum.Types.CreativeThirdPartyDataDeclarationStatus

UpdateTime

Output only. The instant this Creative was last modified.

Declaration
public Timestamp UpdateTime { get; set; }
Property Value
Type Description
Timestamp

VastRedirectCreative

Optional. A Creative that points to an externally hosted VAST ad and is served via VAST XML as a VAST Wrapper.

Declaration
public VastRedirectCreativeDetails VastRedirectCreative { get; set; }
Property Value
Type Description
VastRedirectCreativeDetails

VideoCreative

Optional. A Creative that contains Ad Manager hosted video ads and is served via VAST XML.

Declaration
public VideoCreativeDetails VideoCreative { get; set; }
Property Value
Type Description
VideoCreativeDetails

VideoRedirectCreative

Optional. A Creative that contains externally hosted video ads and is served via VAST XML.

Declaration
public VideoRedirectCreativeDetails VideoRedirectCreative { get; set; }
Property Value
Type Description
VideoRedirectCreativeDetails
In this article
Back to top Generated by DocFX