Snapchat · Schema

Media

A Media object represents an uploaded media asset such as an image, video, or playable content used in creatives.

AdvertisingARAugmented RealityMarketingMessagingSocial Media

Properties

Name Type Description
id string The unique identifier of the media object
updated_at string Timestamp of last update
created_at string Timestamp of creation
name string The name of the media object
ad_account_id string The ID of the parent ad account
type string The type of media
media_status string The processing status of the media
View JSON Schema on GitHub

JSON Schema

snapchat-media-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Media",
  "title": "Media",
  "type": "object",
  "description": "A Media object represents an uploaded media asset such as an image, video, or playable content used in creatives.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the media object"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of last update"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of creation"
    },
    "name": {
      "type": "string",
      "description": "The name of the media object"
    },
    "ad_account_id": {
      "type": "string",
      "description": "The ID of the parent ad account"
    },
    "type": {
      "type": "string",
      "description": "The type of media",
      "enum": [
        "IMAGE",
        "VIDEO",
        "PLAYABLE"
      ]
    },
    "media_status": {
      "type": "string",
      "description": "The processing status of the media",
      "enum": [
        "PENDING_UPLOAD",
        "READY",
        "ERROR"
      ]
    }
  }
}