> For the complete documentation index, see [llms.txt](https://docs.privateadserver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.privateadserver.com/demand/tags/bulk-upload.md).

# Bulk Upload

### **Overview of Bulk Upload**

The bulk upload feature in the ad server allows for efficient uploading of multiple tags through a CSV file. This feature is particularly useful for managing large volumes of tags, enabling quick and streamlined updates or additions.

**Limits:** 100 tags per file.

### **CSV Format for Bulk Upload**

| CSV Header        | Example Value                             | Notes                                                                                                              |
| ----------------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| name              | Example Tag                               |                                                                                                                    |
| tagType           | 1                                         | 1: Vast Endpoint, 2: RTB, 3: Prebid, 4: Raw Vast, 5: JSON Settings, 6: Server Side Vast, 7: Redirect, 8: Prebid JS |
| adType            | 1                                         | 1: Video, 2: Banner, 3: Audio                                                                                      |
| URL               | [http://example.com](http://example.com/) |                                                                                                                    |
| CPM               | 1.50                                      |                                                                                                                    |
| CPMOverride       | 1.75                                      |                                                                                                                    |
| advertiserID      | 12345                                     |                                                                                                                    |
| bidderSettingsID  | 54321                                     |                                                                                                                    |
| adstxt            | sample adstxt                             |                                                                                                                    |
| rawVast           | \<VAST version="3.0">...\</VAST>          |                                                                                                                    |
| rtbAuctionType    | 1                                         |                                                                                                                    |
| rtbVersion        | 2.5                                       |                                                                                                                    |
| rtbInterstitial   | true                                      |                                                                                                                    |
| rtbMaxDuration    | 60                                        |                                                                                                                    |
| rtbMinDuration    | 30                                        |                                                                                                                    |
| rtbMaxBitrate     | 1500                                      |                                                                                                                    |
| rtbLinear         | 1                                         |                                                                                                                    |
| rtbProtocols      | \["3","5"]                                |                                                                                                                    |
| rtbType           | 2 - Banner                                |                                                                                                                    |
| rtbPlaybackMethod | 1                                         |                                                                                                                    |
| rtbMargin         | 10                                        |                                                                                                                    |
| countries         | \["US","CA"]                              |                                                                                                                    |
| countryInclusion  | true                                      |                                                                                                                    |
| os                | \["Android","iOS"]                        |                                                                                                                    |
| osInclusion       | true                                      |                                                                                                                    |
| domain            | \["example.com", "sample.com"]            | Domains as an array of values                                                                                      |
| domainInclusion   | true                                      |                                                                                                                    |

### **Example CSV Content**

```csv
name,tagType,adType,URL,CPM,CPMOverride,advertiserID,bidderSettingsID,adstxt,rawVast,rtbAuctionType,rtbVersion,rtbInterstitial,rtbMaxDuration,rtbMinDuration,rtbMaxBitrate,rtbLinear,rtbProtocols,rtbType,rtbPlaybackMethod,rtbMargin,countries,countryInclusion,os,osInclusion,domain,domainInclusion
"Example Tag","1 - Vast Endpoint","1 - Video","http://example.com",1.50,1.75,12345,54321,"sample adstxt","<VAST version=\"3.0\">...</VAST>",1,"2.5",true,60,30,1500,1,"[\"3\",\"5\"]","2 - Banner",1,10,"[\"US\",\"CA\"]",true,"[\"Android\",\"iOS\"]",true,"[\"example.com\",\"sample.com\"]",true
```

This complete table and example CSV content provide a detailed guide for creating a CSV file for bulk uploading tags, including all necessary fields and their respective example values, ensuring comprehensive management of tags in the ad server system.

### **Utilizing Bulk Upload**

* Prepare a CSV file following the format above.
* Ensure all values are accurately represented.
* Upload the CSV file in the ad server's bulk upload section.
* Review and confirm the data post-upload for accuracy.
