---
title: "Campaign Select folder"
method: PUT
path: "/campaign/{id}/selectfolder"
tags: ["campaign"]
---

# Campaign Select folder

`PUT /campaign/{id}/selectfolder`

Select Folder for Campaign, can also be used with Layout specific Campaign ID

## Path parameters

- `campaignId` integer, required

## Response `200`

successful operation

- Campaign — Class Campaign
  - `campaignId` integer — The Campaign Id
  - `ownerId` integer — The userId of the User that owns this Campaign
  - `type` string — The type of campaign, either list, ad, playlist or media
  - `campaign` string — The name of the Campaign
  - `isLayoutSpecific` integer — A 0|1 flag to indicate whether this is a Layout specific Campaign or not.
  - `numberLayouts` integer — The number of Layouts associated with this Campaign
  - `totalDuration` integer — The total duration of the campaign (sum of layout's durations)
  - `tags` TagLink[] — Tags associated with this Campaign, array of TagLink objects
    - `tag` string — The Tag
    - `tagId` integer — The Tag ID
    - `value` string — The Tag Value
  - `folderId` integer — The id of the Folder this Campaign belongs to
  - `permissionsFolderId` integer — The id of the Folder responsible for providing permissions for this Campaign
  - `cyclePlaybackEnabled` integer — Flag indicating whether this Campaign has cycle based playback enabled
  - `playCount` integer — In cycle based playback, how many plays should each Layout have before moving on?
  - `listPlayOrder` string — In list campaign types, how should the layouts play out?
  - `targetType` string — For an ad campaign, what's the target type, plays|budget|imp
  - `target` integer — For an ad campaign, what's the target (expressed in targetType)
  - `startDt` integer — For an ad campaign, what's the start date
  - `endDt` integer — For an ad campaign, what's the end date
  - `plays` integer — The number of plays achived by this campaign
  - `spend` number, double — The amount of spend in cents/pence/etc
  - `impressions` number, double — The number of impressions achived by this campaign
  - `lastPopId` integer — The latest proof of play ID aggregated into the stats
  - `ref1` string — Reference field 1
  - `ref2` string — Reference field 1
  - `ref3` string — Reference field 1
  - `ref4` string — Reference field 1
  - `ref5` string — Reference field 1

---

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