---
title: "List all assets"
method: GET
path: "/ads/{connection_id}/asset"
tags: ["ads", "asset"]
---

# List all assets

`GET /ads/{connection_id}/asset`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/ads/{connection_id}/asset`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string, date-time
- `sort` 'name' | 'updated_at' | 'created_at'
- `order` 'asc' | 'desc'
- `query` string
- `org_id` string
- `type` 'IMAGE' | 'VIDEO' | 'YOUTUBE_VIDEO' | 'MEDIA_BUNDLE' | 'TEXT'
- `fields` string[]
- `raw` string

## Response `200`

Successful

- AdsAsset[]
  - `id` string: provider asset resource name/id (e.g. Google Ads customers/{cid}/assets/{id}, TikTok image/video id, DV360 mediaId)
  - `created_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `organization_id` string
  - `name` string
  - `type` 'IMAGE' | 'VIDEO' | 'YOUTUBE_VIDEO' | 'MEDIA_BUNDLE' | 'TEXT'
  - `url` string: outbound: public asset URL; inbound (create): source URL to fetch bytes from when content is not supplied
  - `content` string: inbound create-only: base64-encoded image/media bytes to upload
  - `mime_type` string
  - `width` number
  - `height` number
  - `file_size` number
  - `metadata` AdsMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
