| Package | Description | 
|---|---|
| com.google.api.services.dfareporting | |
| com.google.api.services.dfareporting.model | 
| Modifier and Type | Method and Description | 
|---|---|
Dfareporting.Creatives.Insert | 
Dfareporting.Creatives.insert(Long profileId,
      Creative content)
Inserts a new creative. 
 | 
Dfareporting.Creatives.Patch | 
Dfareporting.Creatives.patch(Long profileId,
     Long id,
     Creative content)
Updates an existing creative. 
 | 
Dfareporting.Creatives.Update | 
Dfareporting.Creatives.update(Long profileId,
      Creative content)
Updates an existing creative. 
 | 
| Constructor and Description | 
|---|
Insert(Long profileId,
      Creative content)
Inserts a new creative. 
 | 
Patch(Long profileId,
     Long id,
     Creative content)
Updates an existing creative. 
 | 
Update(Long profileId,
      Creative content)
Updates an existing creative. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Creative | 
Creative.clone()  | 
Creative | 
Creative.set(String fieldName,
   Object value)  | 
Creative | 
Creative.setAccountId(Long accountId)
Account ID of this creative. 
 | 
Creative | 
Creative.setActive(Boolean active)
Whether the creative is active. 
 | 
Creative | 
Creative.setAdditionalSizes(List<Size> additionalSizes)
Additional sizes associated with a responsive creative. 
 | 
Creative | 
Creative.setAdParameters(String adParameters)
Ad parameters user for VPAID creative. 
 | 
Creative | 
Creative.setAdTagKeys(List<String> adTagKeys)
Keywords for a Rich Media creative. 
 | 
Creative | 
Creative.setAdvertiserId(Long advertiserId)
Required. 
 | 
Creative | 
Creative.setAllowScriptAccess(Boolean allowScriptAccess)
Whether script access is allowed for this creative. 
 | 
Creative | 
Creative.setArchived(Boolean archived)
Whether the creative is archived. 
 | 
Creative | 
Creative.setArtworkType(String artworkType)
Type of artwork used for the creative. 
 | 
Creative | 
Creative.setAuthoringSource(String authoringSource)
Source application where creative was authored. 
 | 
Creative | 
Creative.setAuthoringTool(String authoringTool)
Authoring tool for HTML5 banner creatives. 
 | 
Creative | 
Creative.setAutoAdvanceImages(Boolean autoAdvanceImages)
Whether images are automatically advanced for image gallery creatives. 
 | 
Creative | 
Creative.setBackgroundColor(String backgroundColor)
The 6-character HTML color code, beginning with #, for the background of the window area where
 the Flash file is displayed. 
 | 
Creative | 
Creative.setBackupImageClickThroughUrl(CreativeClickThroughUrl backupImageClickThroughUrl)
Click-through URL for backup image. 
 | 
Creative | 
Creative.setBackupImageFeatures(List<String> backupImageFeatures)
List of feature dependencies that will cause a backup image to be served if the browser that
 serves the ad does not support them. 
 | 
Creative | 
Creative.setBackupImageReportingLabel(String backupImageReportingLabel)
Reporting label used for HTML5 banner backup image. 
 | 
Creative | 
Creative.setBackupImageTargetWindow(TargetWindow backupImageTargetWindow)
Target window for backup image. 
 | 
Creative | 
Creative.setClickTags(List<ClickTag> clickTags)
Click tags of the creative. 
 | 
Creative | 
Creative.setCommercialId(String commercialId)
Industry standard ID assigned to creative for reach and frequency. 
 | 
Creative | 
Creative.setCompanionCreatives(List<Long> companionCreatives)
List of companion creatives assigned to an in-Stream video creative. 
 | 
Creative | 
Creative.setCompatibility(List<String> compatibility)
Compatibilities associated with this creative. 
 | 
Creative | 
Creative.setConvertFlashToHtml5(Boolean convertFlashToHtml5)
Whether Flash assets associated with the creative need to be automatically converted to HTML5. 
 | 
Creative | 
Creative.setCounterCustomEvents(List<CreativeCustomEvent> counterCustomEvents)
List of counter events configured for the creative. 
 | 
Creative | 
Creative.setCreativeAssets(List<CreativeAsset> creativeAssets)
Assets associated with a creative. 
 | 
Creative | 
Creative.setCreativeFieldAssignments(List<CreativeFieldAssignment> creativeFieldAssignments)
Creative field assignments for this creative. 
 | 
Creative | 
Creative.setCustomKeyValues(List<String> customKeyValues)
Custom key-values for a Rich Media creative. 
 | 
Creative | 
Creative.setExitCustomEvents(List<CreativeCustomEvent> exitCustomEvents)
List of exit events configured for the creative. 
 | 
Creative | 
Creative.setFsCommand(FsCommand fsCommand)
OpenWindow FSCommand of this creative. 
 | 
Creative | 
Creative.setHtmlCode(String htmlCode)
HTML code for the creative. 
 | 
Creative | 
Creative.setHtmlCodeLocked(Boolean htmlCodeLocked)
Whether HTML code is generated by Campaign Manager or manually entered. 
 | 
Creative | 
Creative.setId(Long id)
ID of this creative. 
 | 
Creative | 
Creative.setIdDimensionValue(DimensionValue idDimensionValue)
Dimension value for the ID of this creative. 
 | 
Creative | 
Creative.setKind(String kind)
Identifies what kind of resource this is. 
 | 
Creative | 
Creative.setLastModifiedInfo(LastModifiedInfo lastModifiedInfo)
Creative last modification information. 
 | 
Creative | 
Creative.setLatestTraffickedCreativeId(Long latestTraffickedCreativeId)
Latest Studio trafficked creative ID associated with rich media and VPAID creatives. 
 | 
Creative | 
Creative.setMediaDescription(String mediaDescription)
Description of the audio or video ad. 
 | 
Creative | 
Creative.setMediaDuration(Float mediaDuration)
Creative audio or video duration in seconds. 
 | 
Creative | 
Creative.setName(String name)
Required. 
 | 
Creative | 
Creative.setObaIcon(ObaIcon obaIcon)
Online behavioral advertising icon to be added to the creative. 
 | 
Creative | 
Creative.setOverrideCss(String overrideCss)
Override CSS value for rich media creatives. 
 | 
Creative | 
Creative.setProgressOffset(VideoOffset progressOffset)
Amount of time to play the video before counting a view. 
 | 
Creative | 
Creative.setRedirectUrl(String redirectUrl)
URL of hosted image or hosted video or another ad tag. 
 | 
Creative | 
Creative.setRenderingId(Long renderingId)
ID of current rendering version. 
 | 
Creative | 
Creative.setRenderingIdDimensionValue(DimensionValue renderingIdDimensionValue)
Dimension value for the rendering ID of this creative. 
 | 
Creative | 
Creative.setRequiredFlashPluginVersion(String requiredFlashPluginVersion)
The minimum required Flash plugin version for this creative. 
 | 
Creative | 
Creative.setRequiredFlashVersion(Integer requiredFlashVersion)
The internal Flash version for this creative as calculated by Studio. 
 | 
Creative | 
Creative.setSize(Size size)
Size associated with this creative. 
 | 
Creative | 
Creative.setSkipOffset(VideoOffset skipOffset)
Amount of time to play the video before the skip button appears. 
 | 
Creative | 
Creative.setSkippable(Boolean skippable)
Whether the user can choose to skip the creative. 
 | 
Creative | 
Creative.setSslCompliant(Boolean sslCompliant)
Whether the creative is SSL-compliant. 
 | 
Creative | 
Creative.setSslOverride(Boolean sslOverride)
Whether creative should be treated as SSL compliant even if the system scan shows it's not. 
 | 
Creative | 
Creative.setStudioAdvertiserId(Long studioAdvertiserId)
Studio advertiser ID associated with rich media and VPAID creatives. 
 | 
Creative | 
Creative.setStudioCreativeId(Long studioCreativeId)
Studio creative ID associated with rich media and VPAID creatives. 
 | 
Creative | 
Creative.setStudioTraffickedCreativeId(Long studioTraffickedCreativeId)
Studio trafficked creative ID associated with rich media and VPAID creatives. 
 | 
Creative | 
Creative.setSubaccountId(Long subaccountId)
Subaccount ID of this creative. 
 | 
Creative | 
Creative.setThirdPartyBackupImageImpressionsUrl(String thirdPartyBackupImageImpressionsUrl)
Third-party URL used to record backup image impressions. 
 | 
Creative | 
Creative.setThirdPartyRichMediaImpressionsUrl(String thirdPartyRichMediaImpressionsUrl)
Third-party URL used to record rich media impressions. 
 | 
Creative | 
Creative.setThirdPartyUrls(List<ThirdPartyTrackingUrl> thirdPartyUrls)
Third-party URLs for tracking in-stream creative events. 
 | 
Creative | 
Creative.setTimerCustomEvents(List<CreativeCustomEvent> timerCustomEvents)
List of timer events configured for the creative. 
 | 
Creative | 
Creative.setTotalFileSize(Long totalFileSize)
Combined size of all creative assets. 
 | 
Creative | 
Creative.setType(String type)
Required. 
 | 
Creative | 
Creative.setUniversalAdId(UniversalAdId universalAdId)
A Universal Ad ID as per the VAST 4.0 spec. 
 | 
Creative | 
Creative.setVersion(Integer version)
The version number helps you keep track of multiple versions of your creative in your reports. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<Creative> | 
CreativesListResponse.getCreatives()
Creative collection. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CreativesListResponse | 
CreativesListResponse.setCreatives(List<Creative> creatives)
Creative collection. 
 | 
Copyright © 2011–2025 Google. All rights reserved.