v1

latestOpenAPI 3.0.02026-07-2466275257.1 KB
CreativeAssets

Retrieve campaign file URL

This endpoint retrieves the URL for uploaded campaign assets for banners, banner X, and brand page campaigns. The URL is generated based on the specified file ID and file type.

post/v3/campaign-file-url

Request body

Example request

{
  "fileUrl": {
    "fileId": "1ceee624-7c87-4e98-9995-042da2a32525",
    "teamId": "Team-101",
    "slotId": "slot_001",
    "contentStandardId": "content_standard_001",
    "managerTeamId": "manager_team_67890"
  }
}

Response

The details of the retrieved file.

fileIdstring

The unique ID of the file for which the URL is retrieved.

publicUrlstring

The public URL of the file corresponding to the given file ID.

expiryinteger

The number of seconds until the public URL link expires. The default expiration time is 3600 seconds.

Example response

{
  "fileId": "1ceee624-7c87-4e98-9995-042da2a32525",
  "publicUrl": "https://storage.googleapis.com/banner-images-pending/.../path-to-public-image",
  "expiry": 3600
}