v1

latestOpenAPI 3.0.02026-07-2496664456.3 KB
Creative

Create a new asset upload session.

Create a new asset upload session for the AdAccount. A URL would be returned in a successful response for uploading the actual asset content. After asset upload has been successfully completed, see the campaign creation guide and follow Section 4-1 for those using Moloco Ads API v1.7 or later

post/cm/v1/creative-assets

Query parameters

ad_account_idstring required

The AdAccount ID.

Request body

asset_kind'UNKNOWN_ASSET_KIND' | 'CREATIVE' | 'CSV' | 'ASSET_DYNAMIC_CREATIVE' | 'FB_PLAYABLE_AD' required

List of asset kinds supported by Moloco Ads.

  • UNKNOWN_ASSET_KIND: This value is not part of the specification.
  • CREATIVE: Creative asset type.
  • CSV: text/csv type.
  • ASSET_DYNAMIC_CREATIVE: Asset for Dynamic Creatives.
  • FB_PLAYABLE_AD: Facebook Playable AD.
mime_typestring required

MIME type of the asset to upload.

Response

A successful response.

asset_urlstring

Actual URL to reach to the asset.

content_upload_urlstring

Temporal URL to upload the actual content of the asset. It will be expired in an hour.

To update the asset content, follow the instruction.