creative_assets
Upload and create creative assets for Google Ad Manager. Supports image, HTML5, video, audio, companion, and third-party files. Includes bulk upload, compression, and validation actions.
Instructions
Upload and create GAM creative asset files — images, HTML5, video, audio, and companion ads.
MODE: write (all actions upload or create assets) AUTH: OAuth 2.0 required CREDITS: 0.5 credits per upload/create action. OUTPUT: Returns CreativeAsset objects with assetId, fileName, fileSize, mimeType, and a preview URL. SIDE EFFECTS: Assets are stored in GAM and consume storage quota. compress_image modifies the asset file in-place. WHEN TO USE: Use creative_assets for asset file management (uploading raw files). Use creatives for full Creative entity management (associate assets with creative templates). Use creative_qa to validate assets after upload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Sub-operation to perform: • bulk_upload: Upload multiple asset files in one call. Returns list of assetId per file. Preferred over individual uploads for batch workflows. • upload_from_url: Download a file from a URL and upload it to GAM as an asset. Write. Requires source_url and file_name. • upload_and_associate: Upload an asset and immediately associate it with an existing creative. Write. • upload_html5_zip: Upload an HTML5 ZIP package and validate its structure before storage. Returns assetId and a list of validation warnings. • create_image: Create an image asset from raw bytes or a local file path. Write. • create_html5: Create an HTML5 asset from inline HTML/CSS/JS content. Write. • create_html5_from_files: Create an HTML5 asset by bundling multiple local files. Write. • create_video: Create a video creative asset (VAST URL or inline video). Write. • create_audio: Create an audio creative asset. Write. • create_vast_redirect: Create a VAST redirect creative that points to an external VAST URL. Write. • create_companion: Create a companion ad asset associated with a video creative. Write. • create_third_party: Create a third-party tag creative asset (JavaScript or iframe snippet). Write. • create_classic_native: Create a classic native ad asset with headline, body, image, and CTA fields. Write. • compress_image: Compress an existing image asset to reduce file size. Modifies asset in-place. Write. • get_video_transcode_status: Check the status of a video transcode job. Read-only. Returns status: PENDING | PROCESSING | COMPLETE | FAILED. | |
| network_code | No | GAM network code (e.g. 12345678). Required for all network-scoped operations. Obtain via select_gam_network or list_accessible_networks. |