---
title: "Upload a campaign file - v4"
method: POST
path: "/campaign-file-upload"
---

# Upload a campaign file - v4

`POST /campaign-file-upload`

This endpoint allows uploading different types of campaign files including banners, banner X, and brand pages. It includes support for hero image display modes and background positioning controls. Accepted formats include JPEG, JPG, PNG, GIF, PDF, and SVG for banners, banner X, and brand page campaigns, along with standard PDF files for content. Display logos must be in JPEG, JPG, or PNG format.

## Query parameters

- `contentStandardId` string
- `slotId` string
- `slotType` 'SLOT_TYPE_BANNER' | 'IMAGE_TYPE_DOUBLE_TILE' | 'IMAGE_TYPE_SINGLE_TILE'
- `teamId` string
- `managerTeamId` string
- `imageType` 'IMAGE_TYPE_PRIMARY_BACKGROUND' | 'IMAGE_TYPE_SECONDARY_BACKGROUND' | 'IMAGE_TYPE_PRIMARY_HERO' | 'IMAGE_TYPE_SECONDARY_HERO'
- `campaignFileType` 'CAMPAIGN_FILE_TYPE_BANNER_IMAGE' | 'CAMPAIGN_FILE_TYPE_BANNER_X_IMAGE' | 'CAMPAIGN_FILE_TYPE_BANNER_X_CONTENT_STANDARD_DISPLAY_LOGO' | 'CAMPAIGN_FILE_TYPE_BANNER_X_CONTENT_STANDARD_PDF_FILE' | 'CAMPAIGN_FILE_TYPE_BANNER_CONTENT_STANDARD_DISPLAY_LOGO' | 'CAMPAIGN_FILE_TYPE_BANNER_CONTENT_STANDARD_PDF_FILE' | 'CAMPAIGN_FILE_TYPE_BRAND_PAGE_IMAGE', required

## Response `200`

File uploaded successfully

- V3UploadFileResponse
  - `fileId` string — The unique identifier of the uploaded file.
  - `fileUrl` string — The URL to access the file uploaded.

## Other responses

- `400` — There was a problem with input.
- `401` — Login failed or token not valid.
- `403` — Access denied due to insufficient permissions.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/citrusad/apis/citrus-auth-api.md) · [All operations](https://skmtc.net/citrusad/apis/citrus-auth-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/citrusad/citrus-auth-api/revisions/a040003c7378/schema)
