Page Summary
-
The Creative resource represents display creatives, and stores information such as creative ID, display name, and associated advertiser.
-
Creatives can optionally declare associated ad partners, specifying the type of declaration and the ad partners involved.
-
You can use the provided methods to get a specific creative or retrieve a list of creatives.
- Resource: Creative
- AdExchangeCreativeDetails
- AdSenseCreativeDetails
- AspectRatioImageCreativeDetails
- CreativeDestinationUrlType
- CreativeAsset
- ClickTag
- AssetImageDensity
- AudioCreativeDetails
- VastInfo
- VastAdIdType
- AudioRedirectCreativeDetails
- ClickTrackingCreativeDetails
- CustomCreativeDetails
- CreativeLockedOrientation
- CustomCreativeAsset
- Html5CreativeDetails
- ImageCreativeDetails
- ImageOverlayCreativeDetails
- ImageRedirectCreativeDetails
- ImageRedirectOverlayCreativeDetails
- InternalRedirectCreativeDetails
- CreativeSslScanResult
- CreativeSslOverride
- LegacyDfpCreativeDetails
- ProgrammaticCreativeDetails
- RichMediaStudioCreativeDetails
- RichMediaStudioCreativeFormat
- RichMediaStudioCreativeBillingAttribute
- RichMediaStudioChildAssetProperty
- RichMediaStudioChildAssetType
- SetTopBoxCreativeDetails
- TemplateCreativeDetails
- ThirdPartyCreativeDetails
- VastRedirectCreativeDetails
- VastRedirectType
- VideoCreativeDetails
- VideoRedirectCreativeDetails
- CreativeThirdPartyDataDeclarationStatus
- BuyerPlacementConfig
- Methods
Resource: Creative
The Creative resource.
| JSON representation |
|---|
{ "name": string, "updateTime": string, "customFieldValues": [ { object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the Creative. Format: |
updateTime |
Output only. The instant this Creative was last modified. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
customFieldValues[] |
Optional. The values of the custom fields associated with this creative. |
size |
Required. Immutable. The Size of the creative. |
thirdPartyDataDeclaration |
Optional. The third party companies associated with this creative. This is distinct from any associated companies that Google may detect programmatically. |
appliedLabels[] |
Optional. The set of labels applied directly to this creative. |
buyerPlacementConfig |
Optional. The buyer placement configuration for this creative. |
| The details of the creative specific to its type. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
adExchangeCreative |
Optional. An Ad Exchange dynamic allocation creative. |
adSenseCreative |
Optional. An AdSense dynamic allocation creative. |
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. |
audioCreative |
Optional. A Creative that contains Ad Manager hosted audio ads and is served via VAST XML. |
audioRedirectCreative |
Optional. A Creative that contains externally hosted audio ads and is served via VAST XML. |
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. |
customCreative |
Optional. A Creative that contains a custom HTML snippet and file assets. |
html5Creative |
Optional. A Creative that contains a zipped HTML5 bundle asset, a list of third party impression trackers, and a third party click tracker. |
imageCreative |
Optional. A Creative that displays an image. |
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. |
imageRedirectCreative |
Optional. A Creative that loads an image asset from a specified URL. |
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. |
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. |
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. |
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. |
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. |
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. |
templateCreative |
Optional. A Creative that is created by the specified creative template. |
thirdPartyCreative |
Optional. A Creative that is served by a 3rd-party vendor. |
vastRedirectCreative |
Optional. A Creative that points to an externally hosted VAST ad and is served via VAST XML as a VAST Wrapper. |
videoCreative |
Optional. A Creative that contains Ad Manager hosted video ads and is served via VAST XML. |
videoRedirectCreative |
Optional. A Creative that contains externally hosted video ads and is served via VAST XML. |
| End of mutually exclusive fields. | |
displayName |
Required. Display name of the |
advertiser |
Required. The resource name of the Company, which is of type Company.Type.ADVERTISER, to which this Creative belongs. Format: "networks/{networkCode}/companies/{companyId}" |
previewUrl |
Output only. The URL of the creative for previewing the media. |
thirdPartyDataDeclarationStatus |
Output only. The status of the publisher's For example, if automated scanning detects more companies than have been declared, this status will be |
selfDeclaredEuropeanUnionPoliticalContent |
Optional. Whether this creative contains self-declared European Union political content. |
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. |
AdExchangeCreativeDetails
An Ad Exchange dynamic allocation creative.
| JSON representation |
|---|
{ "nativeEligible": boolean, "interstitial": boolean, "allowsAllRequestedSizes": boolean, "slotId": string, "backfillSnippet": string } |
| Fields | |
|---|---|
nativeEligible |
Optional. Whether this creative is eligible for native ad-serving. This value is optional and defaults to false. |
interstitial |
Optional. True if this creative is interstitial. An interstitial creative will not consider an impression served until it is fully rendered in the browser. |
allowsAllRequestedSizes |
Optional. True if this creative is eligible for all requested sizes. |
slotId |
Output only. The ID of ad slot (inventory) that an advertiser might want to target. |
backfillSnippet |
Optional. The code snippet (ad tag) from Ad Exchange or AdSense to traffic the dynamic allocation creative. Only valid Ad Exchange or AdSense parameters will be considered. Any extraneous HTML or JavaScript will be ignored. |
AdSenseCreativeDetails
An AdSense dynamic allocation creative.
| JSON representation |
|---|
{ "slotId": string, "backfillSnippet": string } |
| Fields | |
|---|---|
slotId |
Output only. The ID of ad slot (inventory) that an advertiser might want to target. |
backfillSnippet |
Optional. The code snippet (ad tag) from Ad Exchange or AdSense to traffic the dynamic allocation creative. Only valid Ad Exchange or AdSense parameters will be considered. Any extraneous HTML or JavaScript will be ignored. |
AspectRatioImageCreativeDetails
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.
| JSON representation |
|---|
{ "imageAssets": [ { object ( |
| Fields | |
|---|---|
imageAssets[] |
Required. The images associated with this creative. The ad server will choose one based on the capabilities of the device. Each asset should have a size which is of the same aspect ratio as the Creative.size. This attribute is required and must have at least one asset. |
thirdPartyImpressionTrackingUrls[] |
Optional. Third party impression tracking URLs to ping when this creative is displayed. |
altText |
Optional. The text that is served along with the image creative, primarily for accessibility. If no suitable image size is available for the device, this text replaces the image completely. This field is optional and has a maximum length of 500 characters. |
destinationUrl |
Optional. The URL that the user is directed to if they click on the creative. This attribute is required unless the |
destinationUrlType |
Optional. The action that should be performed if the user clicks on the creative. This attribute defaults to |
CreativeDestinationUrlType
The valid actions that a destination URL may perform if the user clicks on the ad.
| Enums | |
|---|---|
CREATIVE_DESTINATION_URL_TYPE_UNSPECIFIED |
Default value. This value is unused. |
CLICK_TO_APP |
Start an application. |
CLICK_TO_CALL |
Make a phone call. |
CLICK_TO_WEB |
Navigate to a web page. (a.k.a. "Click-through URL"). |
NONE |
Destination URL not present. Useful for video creatives where a landing page or a product isn't necessarily applicable. |
CreativeAsset
A CreativeAsset is an asset that can be used in creatives.
| JSON representation |
|---|
{ "size": { object ( |
| Fields | |
|---|---|
size |
Output only. The size of the asset. Note that this may not always reflect the actual physical size of the asset, but may reflect the expected size. |
clickTags[] |
Output only. The click tags of the asset. |
asset |
Required. The resource name of the asset. This attribute is generated by Google upon creation. Format: |
assetByteArray |
Input only. The content of the asset as a byte array. This attribute is required when creating the creative that contains this asset if When updating the content, pass a new byte array, and set The A base64-encoded string. |
fileName |
Optional. The file name of the asset. This attribute is required when creating a new asset (e.g. when assetByteArray is not null). |
fileSize |
Output only. The file size of the asset in bytes. |
assetUrl |
Output only. A URL where the asset can be previewed. |
imageDensity |
Non-empty default. The display density of the image. This is the ratio between a dimension in pixels of the image and the dimension in pixels that it should occupy in device-independent pixels when displayed. This attribute defaults to ONE_TO_ONE. |
ClickTag
Click tags define click-through URLs for each exit on an HTML5 creative. An exit is any area that can be clicked that directs the browser to a landing page. Each click tag defines the click-through URL for a different exit. In Ad Manager, tracking pixels are attached to the click tags if URLs are valid.
| JSON representation |
|---|
{ "displayName": string, "url": string } |
| Fields | |
|---|---|
displayName |
Optional. Name of the click tag. Must match the regular expression |
url |
Optional. URL of the click tag. |
AssetImageDensity
Image densities.
| Enums | |
|---|---|
ASSET_IMAGE_DENSITY_UNSPECIFIED |
Default value. This value is unused. |
ONE_TO_ONE |
Indicates that there is a 1:1 ratio between the dimensions of the raw image and the dimensions that it should be displayed at in device-independent pixels. |
THREE_TO_TWO |
Indicates that there is a 3:2 ratio between the dimensions of the raw image and the dimensions that it should be displayed at in device-independent pixels. |
TWO_TO_ONE |
Indicates that there is a 2:1 ratio between the dimensions of the raw image and the dimensions that it should be displayed at in device-independent pixels. |
AudioCreativeDetails
A Creative that contains Ad Manager hosted audio ads and is served via VAST XML.
| JSON representation |
|---|
{
"vastInfo": {
object ( |
| Fields | |
|---|---|
vastInfo |
Optional. Fields common to Video Ad Serving Template (VAST) creatives |
VastInfo
Fields common to Video Ad Serving Template (VAST) creatives.
| JSON representation |
|---|
{ "duration": string, "trackingUrls": [ { object ( |
| Fields | |
|---|---|
duration |
Optional. The expected duration of this creative. A duration in seconds with up to nine fractional digits, ending with ' |
trackingUrls[] |
Optional. URLs that will be pinged when conversion events happen. |
companionCreatives[] |
Optional. The companion creatives that are associated with this creative. Format: "networks/{networkCode}/creatives/{creativeId}" |
allowDurationOverride |
Optional. Allows the creative duration to differ from the actual asset durations. |
customParameters |
Optional. A comma separated key=value list of parameters that will be supplied to the creative, written into the VAST |
adId |
Optional. The ad id associated with the video as defined by the |
adIdType |
Optional. The registry which the ad id of this creative belongs to. This field defaults to |
skippableAdType |
Optional. The type of skippable ad. |
vastPreviewUrl |
Output only. An ad tag URL that will return a preview of the VAST XML response specific to this creative. |
creativeSetDisplayName |
Output only. The display name of the creative set. |
creativeSet |
Output only. The resource name of the creative set. Format: "networks/{networkCode}/creativeSets/{creativeSetId}" |
destinationUrl |
Optional. The URL that the user is directed to if they click on the creative. This attribute is required unless the |
destinationUrlType |
Optional. The action that should be performed if the user clicks on the creative. This attribute defaults to |
VastAdIdType
The registry that an ad ID belongs to.
| Enums | |
|---|---|
VAST_AD_ID_TYPE_UNSPECIFIED |
Default value. This value is unused. |
AD_ID |
Ad ID. |
ARPP |
The ad ID is registered with ARPP Pub-ID. |
CLEARCAST |
The ad ID is registered with clearcast.co.uk. |
CUSV |
The ad ID is registered with Auditel Spot ID. |
NONE |
None. |
AudioRedirectCreativeDetails
A Creative that contains externally hosted audio ads and is served via VAST XML.
| JSON representation |
|---|
{
"vastInfo": {
object ( |
| Fields | |
|---|---|
vastInfo |
Optional. Fields common to Video Ad Serving Template (VAST) creatives |
ClickTrackingCreativeDetails
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.
| JSON representation |
|---|
{ "clickTrackingUrl": string } |
| Fields | |
|---|---|
clickTrackingUrl |
Optional. The click tracking URL. |
CustomCreativeDetails
A Creative that contains a custom HTML snippet and file assets.
| JSON representation |
|---|
{ "thirdPartyImpressionTrackingUrls": [ string ], "customCreativeAssets": [ { object ( |
| Fields | |
|---|---|
thirdPartyImpressionTrackingUrls[] |
Optional. Impression tracking URLs to ping when this creative is displayed. |
customCreativeAssets[] |
Optional. File assets that are associated with this creative, and can be referenced in the snippet. |
htmlSnippet |
Required. The HTML snippet that this creative delivers. |
ampHtmlSnippet |
The AMP HTML snippet that this creative delivers. |
interstitial |
Whether this custom creative is an interstitial. An interstitial creative will not consider an impression served until it is fully rendered in the browser. |
destinationUrl |
Optional. The URL that the user is directed to if they click on the creative. This attribute is required unless the |
destinationUrlType |
Optional. The action that should be performed if the user clicks on the creative. This attribute defaults to |
safeFrameCompatible |
Input only. Whether the creative is compatible for SafeFrame rendering. |
effectiveSafeFrameCompatible |
Output only. The effective value of whether the creative is compatible for SafeFrame rendering, as decided by the service. |
lockedOrientation |
Optional. A locked orientation for this creative to be displayed in. |
CreativeLockedOrientation
Describes the orientation that a creative should be served with.
| Enums | |
|---|---|
CREATIVE_LOCKED_ORIENTATION_UNSPECIFIED |
Default value. This value is unused. |
LANDSCAPE |
Landscape orientation. |
PORTRAIT |
Portrait orientation. |
FREE |
Free orientation. |
CustomCreativeAsset
A CustomCreativeAsset is an association between a CustomCreative and an asset. Any assets that are associated with a creative can be inserted into its HTML snippet.
| JSON representation |
|---|
{
"asset": {
object ( |
| Fields | |
|---|---|
asset |
Required. The asset. To view the asset, use |
macroName |
Optional. The name by which the associated asset will be referenced. For example, if the value is "foo", then the asset can be inserted into an HTML snippet using the macro: "%%FILE:foo%%". |
Html5CreativeDetails
A Creative that contains a zipped HTML5 bundle asset, a list of third party impression trackers, and a third party click tracker.
| JSON representation |
|---|
{ "thirdPartyImpressionTrackingUrls": [ string ], "lockedOrientation": enum ( |
| Fields | |
|---|---|
thirdPartyImpressionTrackingUrls[] |
Optional. Impression tracking URLs to ping when this creative is displayed. |
lockedOrientation |
Optional. A locked orientation for this creative to be displayed in. |
overrideSize |
Optional. Allows the creative size to differ from the actual HTML5 asset size. |
thirdPartyClickTrackingUrl |
Optional. A click tracking URL to ping when this creative is clicked. |
safeFrameCompatible |
Optional. Whether the creative is compatible for SafeFrame rendering. |
html5Asset |
Required. The HTML5 asset. To preview the HTML5 asset, use the |
ImageCreativeDetails
A Creative that displays an image.
| JSON representation |
|---|
{ "thirdPartyImpressionTrackingUrls": [ string ], "primaryImageAsset": { object ( |
| Fields | |
|---|---|
thirdPartyImpressionTrackingUrls[] |
Optional. Impression tracking URLs to ping when this creative is displayed. |
primaryImageAsset |
The primary image asset associated with this creative. This attribute is required. |
secondaryImageAssets[] |
Secondary image assets associated with this creative. This attribute is optional. Secondary image assets can be used to store different resolution versions of the primary asset for use on non-standard density screens. |
altText |
Alternative text to be rendered along with the creative used mainly for accessibility. This field has a maximum length of 500 characters. |
destinationUrl |
Optional. The URL that the user is directed to if they click on the creative. This attribute is required unless the |
destinationUrlType |
Optional. The action that should be performed if the user clicks on the creative. This attribute defaults to |
ampDestinationUrl |
Optional. The AMP destination URL for this creative. This must be a valid URL, including the |
lockedOrientation |
Optional. A locked orientation for this creative to be displayed in. |
overrideSize |
Optional. Allows the creative size to differ from the actual image asset size. |
ImageOverlayCreativeDetails
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.
| JSON representation |
|---|
{ "primaryImageAsset": { object ( |
| Fields | |
|---|---|
primaryImageAsset |
Required. The primary image asset associated with this creative. |
companionCreatives[] |
Output only. The resource names of the companion creatives that are associated with this creative. Format: "networks/{networkCode}/creatives/{creativeId}" |
trackingUrls[] |
Optional. URLs that will be pinged when conversion events happen. |
duration |
Optional. Minimum suggested duration. A duration in seconds with up to nine fractional digits, ending with ' |
expectedCompanions[] |
Optional. |
lockedOrientation |
Optional. A locked orientation for this creative to be displayed in. |
destinationUrl |
Optional. The URL that the user is directed to if they click on the creative. This attribute is required unless the |
destinationUrlType |
Optional. The action that should be performed if the user clicks on the creative. This attribute defaults to |
overrideSize |
Optional. Allows the creative size to differ from the actual image asset size. |
creativeSetDisplayName |
Output only. The display name of the creative set. |
creativeSet |
Output only. The resource name of the creative set. Format: "networks/{networkCode}/creativeSets/{creativeSetId}" |
customParameters |
Optional. A comma separated key=value list of parameters that will be supplied to the creative, written into the VAST |
expectedCompanionDeliveryOption |
Output only. The companion delivery option this set will be served with. |
vastPreviewUrl |
Output only. An ad tag URL that will return a preview of the VAST XML response specific to this creative. |
ImageRedirectCreativeDetails
A Creative that loads an image asset from a specified URL.
| JSON representation |
|---|
{
"thirdPartyImpressionTrackingUrls": [
string
],
"destinationUrl": string,
"destinationUrlType": enum ( |
| Fields | |
|---|---|
thirdPartyImpressionTrackingUrls[] |
Optional. Impression tracking URLs to ping when this creative is displayed. Each string has a maximum length of 1024 characters. |
destinationUrl |
Optional. The URL that the user is directed to if they click on the creative. This attribute is required unless the |
destinationUrlType |
Optional. The action that should be performed if the user clicks on the creative. This attribute defaults to |
altText |
Optional. Alternative text to be rendered along with the creative used mainly for accessibility. This field has a maximum length of 500 characters. |
imageUrl |
Required. The URL where the actual asset resides. This field has a maximum length of 1024 characters. |
ImageRedirectOverlayCreativeDetails
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.
| JSON representation |
|---|
{ "trackingUrls": [ { object ( |
| Fields | |
|---|---|
trackingUrls[] |
Optional. URLs that will be pinged when conversion events happen. |
expectedCompanions[] |
Optional. |
companionCreatives[] |
Optional. The companion creatives that are associated with this creative. Format: "networks/{networkCode}/creatives/{creativeId}" |
destinationUrl |
Optional. The URL that the user is directed to if they click on the creative. This attribute is required unless the |
destinationUrlType |
Optional. The action that should be performed if the user clicks on the creative. This attribute defaults to |
imageUrl |
Required. The URL where the actual image asset resides. This attribute is required and has a maximum length of 1024 characters. |
assetSize |
Optional. The size of the image asset. Note that this may differ from the creative size if the asset is not expected to fill the entire video player. |
duration |
Optional. Minimum suggested duration. A duration in seconds with up to nine fractional digits, ending with ' |
customParameters |
Optional. A comma separated key=value list of parameters that will be supplied to the creative, written into the VAST |
expectedCompanionDeliveryOption |
Output only. The companion delivery option this set will be served with. |
vastPreviewUrl |
Output only. An ad tag URL that will return a preview of the VAST XML response specific to this creative. |
creativeSetDisplayName |
Output only. The display name of the creative set. |
creativeSet |
Output only. The resource name of the creative set. Format: "networks/{networkCode}/creativeSets/{creativeSetId}" |
InternalRedirectCreativeDetails
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.
| JSON representation |
|---|
{ "thirdPartyImpressionTrackingUrls": [ string ], "lockedOrientation": enum ( |
| Fields | |
|---|---|
thirdPartyImpressionTrackingUrls[] |
Optional. Impression tracking URLs to ping when this creative is displayed. |
lockedOrientation |
Optional. A locked orientation for this creative to be displayed in. |
assetSize |
Output only. The asset size of an internal redirect creative. Note that this may differ from |
internalRedirectUrl |
Required. The internal redirect URL of the Campaign Manager 360 hosted creative. This attribute has a maximum length of 1024 characters. |
overrideSize |
Optional. Allows the creative size to differ from the actual size specified in the internal redirect's url. |
interstitial |
Optional. Whether this creative is interstitial. |
sslScanResult |
Output only. The SSL compatibility scan result of this creative. |
sslManualOverride |
Optional. The manual override for the SSL compatibility of this creative. |
CreativeSslScanResult
Enum to store the creative SSL compatibility scan result.
| Enums | |
|---|---|
CREATIVE_SSL_SCAN_RESULT_UNSPECIFIED |
Default value. This value is unused. |
SCANNED_NON_SSL |
The creative was scanned and found to be SSL-incompatible. |
SCANNED_SSL |
The creative was scanned and found to be SSL-compatible. |
UNSCANNED |
The creative has not been scanned for SSL compatibility. |
CreativeSslOverride
Enum to store the creative SSL compatibility manual override. Its three states are similar to that of SslScanResult.
| Enums | |
|---|---|
CREATIVE_SSL_OVERRIDE_UNSPECIFIED |
Default value. This value is unused. |
NOT_SSL_COMPATIBLE |
The creative is manually overridden to be SSL-incompatible. |
NO_OVERRIDE |
The creative's SSL compatibility is determined by the scan result. |
SSL_COMPATIBLE |
The creative is manually overridden to be SSL-compatible. |
LegacyDfpCreativeDetails
This type has no fields.
A Creative that isn't supported by Google DFP, but was migrated from DART. Creatives of this type cannot be created or modified.
ProgrammaticCreativeDetails
This type has no fields.
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.
RichMediaStudioCreativeDetails
A Creative that is created by a Rich Media Studio. You cannot create this creative, but you can update some fields of this creative.
| JSON representation |
|---|
{ "adTagKeys": [ string ], "customKeyValues": [ string ], "richMediaStudioChildAssetProperties": [ { object ( |
| Fields | |
|---|---|
adTagKeys[] |
Optional. Ad tag keys. |
customKeyValues[] |
Optional. Custom key values. |
richMediaStudioChildAssetProperties[] |
Output only. Child assets associated with this creative. |
lockedOrientation |
Optional. A locked orientation for this creative to be displayed in. |
studioCreativeId |
Output only. The creative ID as known by Rich Media Studio creative. |
creativeFormat |
Optional. The creative format of the Rich Media Studio creative. |
totalFileSize |
Output only. The total size of all assets in bytes. |
surveyUrl |
Optional. The survey URL for this creative. |
allImpressionsUrl |
Optional. The tracking URL to be triggered when an ad starts to play, whether Rich Media or backup content is displayed. Behaves like the /imp URL that DART used to track impressions. This URL can't exceed 1024 characters and must start with http:// or https://. |
richMediaImpressionsUrl |
Optional. The tracking URL to be triggered when any rich media artwork is displayed in an ad. Behaves like the /imp URL that DART used to track impressions. This URL can't exceed 1024 characters and must start with http:// or https://. |
backupImageImpressionsUrl |
Optional. The tracking URL to be triggered when the Rich Media backup image is served. |
overrideCss |
Optional. The override CSS. You can put custom CSS code here to repair creative styling; e.g. |
requiredFlashPluginVersion |
Output only. The Flash plugin version required to view this creative; e.g. |
duration |
Optional. The duration of the creative. A duration in seconds with up to nine fractional digits, ending with ' |
billingAttribute |
Optional. The billing attribute associated with this creative. |
sslScanResult |
Output only. The SSL compatibility scan result of this creative. |
sslManualOverride |
Optional. The manual override for the SSL compatibility of this creative. |
RichMediaStudioCreativeFormat
Different creative format supported by Rich Media Studio creative.
| Enums | |
|---|---|
RICH_MEDIA_STUDIO_CREATIVE_FORMAT_UNSPECIFIED |
Default value. This value is unused. |
EXPANDING |
Expanding creatives expand/collapse on user interaction such as mouse over. It consists of an initial, or collapsed and an expanded creative area. |
FLASH_IN_FLASH |
A Flash ad that renders in a Flash environment. The adserver will serve this using VAST, but it is not a proper VAST XML ad. It's an amalgamation of the proprietary InStream protocol, rendered inside VAST so that we can capture some standard behavior such as companions. |
FLASH_IN_FLASH_EXPANDING |
An expanding flash ad that renders in a Flash environment. The adserver will serve this using VAST, but it is not a proper VAST XML ad. It's an amalgamation of the proprietary InStream protocol, rendered inside VAST so that we can capture some standard behavior such as companions. |
FLOATING |
Floating creatives float on top of publishers page and can be closed with a close button. |
IM_EXPANDING |
Creatives that are served in an instant messenger application such as AOL Instant Messanger or Yahoo! Messenger. This can also be used in desktop applications such as weatherbug. |
IN_APP |
In-app creatives are served into an ad slot within a publisher's app. In-app implies that they maintain a static size, e.g., 468x60 and do not break out of these dimensions. |
IN_PAGE |
In-page creatives are served into an ad slot on publishers page. In-page implies that they maintain a static size, e.g., 468x60 and do not break out of these dimensions. |
IN_PAGE_WITH_FLOATING |
An In-Page with Floating creative is a dual-asset creative consisting of an in-page asset and a floating asset. This creative type lets you deliver a static primary ad to a webpage, while inviting a user to find out more through a floating asset delivered when the user interacts with the creative. |
PEEL_DOWN |
Peel-down creatives show a glimpse of your ad in the corner of a web page. When the user interacts, the rest of the ad peels down to reveal the full message. |
VPAID_LINEAR |
A creative format that follows the VPAID 2.0 protocol. The ad appears in the publisher's video player, and allows user interactivity with the video ad. The linear format runs pre-roll, post-roll, or interrupts the publisher's video content. |
VPAID_NON_LINEAR |
A creative format that follows the VPAID 2.0 protocol. The ad appears in the publisher's video player, and allows user interactivity with the video ad. The non-linear format runs parallel to the publisher's video content. |
RichMediaStudioCreativeBillingAttribute
Rich Media Studio creative supported billing attributes.
This is determined by Rich Media Studio based on the content of the creative and is not updateable.
| Enums | |
|---|---|
RICH_MEDIA_STUDIO_CREATIVE_BILLING_ATTRIBUTE_UNSPECIFIED |
Default value. This value is unused. |
FLASH_IN_FLASH |
Applies to any RichMediaStudioCreativeFormatEnum.RichMediaStudioCreativeFormat.FLASH_IN_FLASH, without Video. |
FLOATING_EXPANDING |
Applies to any of the following
|
IN_PAGE |
Applies to any RichMediaStudioCreativeFormatEnum.RichMediaStudioCreativeFormat.IN_PAGE, without Video. |
VIDEO |
Applies to any creatives that includes a video. |
RichMediaStudioChildAssetProperty
Represents a child asset in RichMediaStudioCreative.
| JSON representation |
|---|
{
"displayName": string,
"type": enum ( |
| Fields | |
|---|---|
displayName |
Output only. The name of the asset as known by Rich Media Studio. |
type |
Output only. Required file type of the asset. |
totalFileSize |
Output only. The total size of the asset in bytes. |
width |
Output only. Width of the widget in pixels. |
height |
Output only. Height of the widget in pixels. |
url |
Output only. The URL of the asset. |
RichMediaStudioChildAssetType
Type of RichMediaStudioChildAssetProperty
| Enums | |
|---|---|
RICH_MEDIA_STUDIO_CHILD_ASSET_TYPE_UNSPECIFIED |
Default value. This value is unused. |
DATA |
The rest of the supported file types .txt, .xml, etc. |
FLASH |
SWF files |
IMAGE |
Image files |
VIDEO |
FLVS and any other video file types |
SetTopBoxCreativeDetails
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.
| JSON representation |
|---|
{
"vastInfo": {
object ( |
| Fields | |
|---|---|
vastInfo |
Optional. Fields common to Video Ad Serving Template (VAST) creatives |
TemplateCreativeDetails
A Creative that is created by the specified creative template.
| JSON representation |
|---|
{ "ampDestinationUrl": string, "lockedOrientation": enum ( |
| Fields | |
|---|---|
ampDestinationUrl |
Optional. The AMP destination URL for this creative. This must be a valid URL, including the |
lockedOrientation |
Optional. A locked orientation for this creative to be displayed in. |
destinationUrl |
Optional. The URL that the user is directed to if they click on the creative. This attribute is required unless the |
destinationUrlType |
Optional. The action that should be performed if the user clicks on the creative. This attribute defaults to |
ThirdPartyCreativeDetails
A Creative that is served by a 3rd-party vendor.
| JSON representation |
|---|
{ "thirdPartyImpressionTrackingUrls": [ string ], "snippet": string, "expandedSnippet": string, "lockedOrientation": enum ( |
| Fields | |
|---|---|
thirdPartyImpressionTrackingUrls[] |
Optional. A list of impression tracking URLs to ping when this creative is displayed. |
snippet |
The HTML snippet that this creative delivers. |
expandedSnippet |
Output only. The HTML snippet that this creative delivers with macros expanded. |
lockedOrientation |
Optional. A locked orientation for this creative to be displayed in. |
sslScanResult |
Output only. The SSL compatibility scan result of this creative. |
sslManualOverride |
Optional. The manual override for the SSL compatibility of this creative. |
safeFrameCompatible |
Optional. Whether the Creative is compatible for SafeFrame rendering. |
ampRedirectUrl |
Optional. The URL of the AMP creative. |
destinationUrl |
Optional. The URL that the user is directed to if they click on the creative. This attribute is required unless the |
destinationUrlType |
Optional. The action that should be performed if the user clicks on the creative. This attribute defaults to |
VastRedirectCreativeDetails
A Creative that points to an externally hosted VAST ad and is served via VAST XML as a VAST Wrapper.
| JSON representation |
|---|
{ "duration": string, "trackingUrls": [ { object ( |
| Fields | |
|---|---|
duration |
Required. The duration of the VAST ad. A duration in seconds with up to nine fractional digits, ending with ' |
trackingUrls[] |
Optional. URLs that will be pinged when conversion events happen. |
vastXmlUrl |
Required. The URL where the 3rd party VAST XML is hosted. |
vastRedirectType |
Required. The type of VAST ad that this redirects to. |
vastPricingEnabled |
Optional. Whether pricing information from the VAST response will be used during ad selection. |
programmaticDemandSource |
Optional. Whether this is a redirect to a programmatic demand source. |
serverSideUnwrappingDisabled |
Optional. Whether server-side unwrapping is disabled. |
vastPreviewUrl |
Output only. An ad tag URL that will return a preview of the VAST XML response specific to this creative. |
audio |
Optional. Whether the 3rd party VAST XML points to an audio ad. When true, |
destinationUrl |
Optional. The URL that the user is directed to if they click on the creative. This attribute is required unless the |
destinationUrlType |
Optional. The action that should be performed if the user clicks on the creative. This attribute defaults to |
VastRedirectType
The types of VAST ads that a VastRedirectCreative can point to.
| Enums | |
|---|---|
VAST_REDIRECT_TYPE_UNSPECIFIED |
Default value. This value is unused. |
LINEAR |
The VAST XML contains only linear ads. |
LINEAR_AND_NON_LINEAR |
The VAST XML contains both linear and nonlinear ads. |
NON_LINEAR |
The VAST XML contains only nonlinear ads. |
VideoCreativeDetails
A Creative that contains Ad Manager hosted video ads and is served via VAST XML.
| JSON representation |
|---|
{
"vastInfo": {
object ( |
| Fields | |
|---|---|
vastInfo |
Optional. Fields common to Video Ad Serving Template (VAST) creatives |
VideoRedirectCreativeDetails
A Creative that contains externally hosted video ads and is served via VAST XML.
| JSON representation |
|---|
{
"vastInfo": {
object ( |
| Fields | |
|---|---|
vastInfo |
Optional. Fields common to Video Ad Serving Template (VAST) creatives |
CreativeThirdPartyDataDeclarationStatus
The "status" of the ThirdPartyDataDeclaration associated with a given creative.
This is calculated by comparing the companies detected by automated scanning/parsing, with the companies the publisher has declared in the ThirdPartyDataDeclaration.
| Enums | |
|---|---|
CREATIVE_THIRD_PARTY_DATA_DECLARATION_STATUS_UNSPECIFIED |
Default value. This value is unused. |
COMPLETE |
All companies detected in scanning exist in the associated ThirdPartyDataDeclaration. This could be because there were no detected companies, or all the detected companies exist in the associated declaration. |
INCOMPLETE |
There are companies detected in scanning that do not exist in the associated ThirdPartyDataDeclaration. This could be because there is no declaration, at either the creative level or network level, or the declaration is missing companies. |
UNSCANNED |
This entity has not been recently scanned. This can happen either because there is no scanning data for this creative, or the scanning data is stale (because the creative is not associated with any active line items / eligible to serve). |
BuyerPlacementConfig
Represents the buyer placement configuration for a creative.
| JSON representation |
|---|
{ "placementId": string, "placementDisplayName": string } |
| Fields | |
|---|---|
placementId |
Optional. The ID of the buyer placement. |
placementDisplayName |
Optional. The name of the buyer placement. |
Methods |
|
|---|---|
|
Batch activates Creative objects. |
|
Deactivates a list of Creative objects. |
|
Retrieves a Creative object. |
|
Lists Creative objects. |