Google Campaign Manager Creative Assets API
The CreativeAssets API from Google Campaign Manager — 1 operation(s) for creativeassets.
The CreativeAssets API from Google Campaign Manager — 1 operation(s) for creativeassets.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/google-campaign-manager:google-campaign-manager-creativeassets-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Campaign Manager 360 Creative Assets API
version: v5
description: Generated from Google's published Discovery document for Campaign Manager 360 API (dfareporting v5, revision 20261107). 1 operation(s).
contact:
name: Google
url: https://developers.google.com/
termsOfService: https://developers.google.com/terms
servers:
- url: https://dfareporting.googleapis.com
tags:
- name: CreativeAssets
paths:
/dfareporting/v5/userprofiles/{userprofilesId}/creativeAssets/{creativeAssetsId}/creativeAssets:
post:
operationId: dfareporting.creativeAssets.insert
summary: Insert creativeAssets
description: Inserts a new creative asset.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
- name: creativeAssetsId
in: path
required: true
description: Resource name segment (creativeAssetsId).
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreativeAssetMetadata'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/CreativeAssetMetadata'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/dfatrafficking
- apiKey: []
x-google-media-upload:
maxSize: '1073741824'
protocols:
simple:
multipart: true
path: /upload/dfareporting/v5/userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets
accept:
- '*/*'
tags:
- CreativeAssets
components:
schemas:
OffsetPosition:
description: Offset Position.
properties:
top:
description: Offset distance from top side of an asset or a window.
format: int32
type: integer
left:
type: integer
format: int32
description: Offset distance from left side of an asset or a window.
type: object
GoogleRpcError:
type: object
description: The error envelope every Google API returns.
properties:
error:
type: object
properties:
code:
type: integer
message:
type: string
status:
type: string
details:
type: array
items:
type: object
Size:
description: Represents the dimensions of ads, placements, creatives, or creative assets.
type: object
properties:
height:
type: integer
description: Height of this size. Acceptable values are 0 to 32767, inclusive.
format: int32
id:
format: int64
type: string
description: ID of this size. This is a read-only, auto-generated field.
iab:
type: boolean
description: IAB standard size. This is a read-only, auto-generated field.
kind:
description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".'
type: string
width:
format: int32
type: integer
description: Width of this size. Acceptable values are 0 to 32767, inclusive.
CreativeAssetMetadata:
properties:
richMedia:
description: True if the uploaded asset is a rich media asset. This is a read-only, auto-generated field.
type: boolean
counterCustomEvents:
items:
$ref: '#/components/schemas/CreativeCustomEvent'
type: array
description: List of counter events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.
detectedFeatures:
type: array
items:
enum:
- CSS_FONT_FACE
- CSS_BACKGROUND_SIZE
- CSS_BORDER_IMAGE
- CSS_BORDER_RADIUS
- CSS_BOX_SHADOW
- CSS_FLEX_BOX
- CSS_HSLA
- CSS_MULTIPLE_BGS
- CSS_OPACITY
- CSS_RGBA
- CSS_TEXT_SHADOW
- CSS_ANIMATIONS
- CSS_COLUMNS
- CSS_GENERATED_CONTENT
- CSS_GRADIENTS
- CSS_REFLECTIONS
- CSS_TRANSFORMS
- CSS_TRANSFORMS3D
- CSS_TRANSITIONS
- APPLICATION_CACHE
- CANVAS
- CANVAS_TEXT
- DRAG_AND_DROP
- HASH_CHANGE
- HISTORY
- AUDIO
- VIDEO
- INDEXED_DB
- INPUT_ATTR_AUTOCOMPLETE
- INPUT_ATTR_AUTOFOCUS
- INPUT_ATTR_LIST
- INPUT_ATTR_PLACEHOLDER
- INPUT_ATTR_MAX
- INPUT_ATTR_MIN
- INPUT_ATTR_MULTIPLE
- INPUT_ATTR_PATTERN
- INPUT_ATTR_REQUIRED
- INPUT_ATTR_STEP
- INPUT_TYPE_SEARCH
- INPUT_TYPE_TEL
- INPUT_TYPE_URL
- INPUT_TYPE_EMAIL
- INPUT_TYPE_DATETIME
- INPUT_TYPE_DATE
- INPUT_TYPE_MONTH
- INPUT_TYPE_WEEK
- INPUT_TYPE_TIME
- INPUT_TYPE_DATETIME_LOCAL
- INPUT_TYPE_NUMBER
- INPUT_TYPE_RANGE
- INPUT_TYPE_COLOR
- LOCAL_STORAGE
- POST_MESSAGE
- SESSION_STORAGE
- WEB_SOCKETS
- WEB_SQL_DATABASE
- WEB_WORKERS
- GEO_LOCATION
- INLINE_SVG
- SMIL
- SVG_HREF
- SVG_CLIP_PATHS
- TOUCH
- WEBGL
- SVG_FILTERS
- SVG_FE_IMAGE
type: string
description: List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field.
exitCustomEvents:
description: List of exit events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.
type: array
items:
$ref: '#/components/schemas/CreativeCustomEvent'
warnedValidationRules:
items:
enum:
- CLICK_TAG_NON_TOP_LEVEL
- CLICK_TAG_MISSING
- CLICK_TAG_MORE_THAN_ONE
- CLICK_TAG_INVALID
- ORPHANED_ASSET
- PRIMARY_HTML_MISSING
- EXTERNAL_FILE_REFERENCED
- MRAID_REFERENCED
- ADMOB_REFERENCED
- FILE_TYPE_INVALID
- ZIP_INVALID
- LINKED_FILE_NOT_FOUND
- MAX_FLASH_VERSION_11
- NOT_SSL_COMPLIANT
- FILE_DETAIL_EMPTY
- ASSET_INVALID
- GWD_PROPERTIES_INVALID
- ENABLER_UNSUPPORTED_METHOD_DCM
- ASSET_FORMAT_UNSUPPORTED_DCM
- COMPONENT_UNSUPPORTED_DCM
- HTML5_FEATURE_UNSUPPORTED
- CLICK_TAG_IN_GWD
- CLICK_TAG_HARD_CODED
- SVG_INVALID
- CLICK_TAG_IN_RICH_MEDIA
- MISSING_ENABLER_REFERENCE
type: string
type: array
description: 'Rules validated during code generation that generated a warning. This is a read-only, auto-generated field. Possible values are: - "ADMOB_REFERENCED" - "ASSET_FORMAT_UNSUPPORTED_DCM" - "ASSET_INVALID" - "CLICK_TAG_HARD_CODED" - "CLICK_TAG_INVALID" - "CLICK_TAG_IN_GWD" - "CLICK_TAG_MISSING" - "CLICK_TAG_MORE_THAN_ONE" - "CLICK_TAG_NON_TOP_LEVEL" - "COMPONENT_UNSUPPORTED_DCM" - "ENABLER_UNSUPPORTED_METHOD_DCM" - "EXTERNAL_FILE_REFERENCED" - "FILE_DETAIL_EMPTY" - "FILE_TYPE_INVALID" - "GWD_PROPERTIES_INVALID" - "HTML5_FEATURE_UNSUPPORTED" - "LINKED_FILE_NOT_FOUND" - "MAX_FLASH_VERSION_11" - "MRAID_REFERENCED" - "NOT_SSL_COMPLIANT" - "ORPHANED_ASSET" - "PRIMARY_HTML_MISSING" - "SVG_INVALID" - "ZIP_INVALID" '
clickTags:
description: List of detected click tags for assets. This is a read-only, auto-generated field. This field is empty for a rich media asset.
items:
$ref: '#/components/schemas/ClickTag'
type: array
kind:
description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeAssetMetadata".'
type: string
assetIdentifier:
$ref: '#/components/schemas/CreativeAssetId'
description: ID of the creative asset. This is a required field.
timerCustomEvents:
description: List of timer events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.
items:
$ref: '#/components/schemas/CreativeCustomEvent'
type: array
idDimensionValue:
$ref: '#/components/schemas/DimensionValue'
description: Dimension value for the numeric ID of the asset. This is a read-only, auto-generated field.
id:
description: Numeric ID of the asset. This is a read-only, auto-generated field.
format: int64
type: string
type: object
description: CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded. Refer to the creative sample code for how to upload assets and insert a creative.
CreativeClickThroughUrl:
type: object
properties:
landingPageId:
format: int64
description: ID of the landing page for the click-through URL.
type: string
computedClickThroughUrl:
type: string
description: 'Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page''s URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. '
customClickThroughUrl:
description: Custom click-through URL. Applicable if the landingPageId field is left unset.
type: string
description: Click-through URL
CreativeAssetId:
description: Creative Asset ID.
type: object
properties:
type:
description: Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE.
enum:
- IMAGE
- FLASH
- VIDEO
- HTML
- HTML_IMAGE
- AUDIO
type: string
name:
description: 'Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed.'
type: string
DimensionValue:
type: object
description: Represents a DimensionValue resource.
properties:
id:
type: string
description: The ID associated with the value if available.
value:
type: string
description: The value of the dimension.
dimensionName:
description: The name of the dimension.
type: string
matchType:
type: string
enum:
- EXACT
- BEGINS_WITH
- CONTAINS
- WILDCARD_EXPRESSION
description: Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
etag:
type: string
description: The eTag of this response for caching purposes.
kind:
description: The kind of resource this is, in this case dfareporting#dimensionValue.
type: string
ClickTag:
description: Creative Click Tag.
properties:
clickThroughUrl:
$ref: '#/components/schemas/CreativeClickThroughUrl'
description: Parameter value for the specified click tag. This field contains a click-through url.
eventName:
description: Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.
type: string
name:
description: Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field.
type: string
type: object
PopupWindowProperties:
description: Popup Window Properties.
type: object
properties:
showToolBar:
type: boolean
description: Whether to display the browser tool bar.
showAddressBar:
type: boolean
description: Whether to display the browser address bar.
offset:
$ref: '#/components/schemas/OffsetPosition'
description: Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
positionType:
description: Popup window position either centered or at specific coordinate.
enum:
- CENTER
- COORDINATES
type: string
title:
type: string
description: Title of popup window.
showScrollBar:
type: boolean
description: Whether to display the browser scroll bar.
showMenuBar:
description: Whether to display the browser menu bar.
type: boolean
dimension:
$ref: '#/components/schemas/Size'
description: 'Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID'
showStatusBar:
description: Whether to display the browser status bar.
type: boolean
CreativeCustomEvent:
description: Creative Custom Event.
properties:
videoReportingId:
description: Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field.
type: string
id:
type: string
description: ID of this event. This is a required field and should not be modified after insertion.
format: int64
advertiserCustomEventType:
enum:
- ADVERTISER_EVENT_TIMER
- ADVERTISER_EVENT_EXIT
- ADVERTISER_EVENT_COUNTER
type: string
description: Type of the event. This is a read-only field.
artworkType:
description: Artwork type used by the creative.This is a read-only field.
enum:
- ARTWORK_TYPE_FLASH
- ARTWORK_TYPE_HTML5
- ARTWORK_TYPE_MIXED
- ARTWORK_TYPE_IMAGE
type: string
targetType:
enum:
- TARGET_BLANK
- TARGET_TOP
- TARGET_SELF
- TARGET_PARENT
- TARGET_POPUP
description: Target type used by the event.
type: string
popupWindowProperties:
$ref: '#/components/schemas/PopupWindowProperties'
description: Properties for rich media popup windows. This field is used only for exit events.
advertiserCustomEventName:
type: string
description: User-entered name for the event.
artworkLabel:
type: string
description: Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion.
exitClickThroughUrl:
$ref: '#/components/schemas/CreativeClickThroughUrl'
description: Exit click-through URL for the event. This field is used only for exit events.
advertiserCustomEventId:
format: int64
type: string
description: Unique ID of this event used by Reporting and Data Transfer. This is a read-only field.
type: object
securitySchemes:
apiKey:
type: apiKey
in: query
name: key
description: API key; accepted by methods that do not need user data.
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://accounts.google.com/o/oauth2/auth
tokenUrl: https://oauth2.googleapis.com/token
scopes:
https://www.googleapis.com/auth/ddmconversions: Manage DoubleClick Digital Marketing conversions
https://www.googleapis.com/auth/dfatrafficking: View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
https://www.googleapis.com/auth/dfareporting: View and manage DoubleClick for Advertisers reports
externalDocs:
url: https://developers.google.com/doubleclick-advertisers/
x-provenance:
method: harvested
publisher: Google
source: https://dfareporting.googleapis.com/$discovery/rest?version=v5
note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261107)