Segment File Format
The segment file must meet all of the following requirements:
- .txt file (not csv file)
- utf-8 (without BOM - byte-order marks) or ASCII encoded
- One user ID or IP Address per row
- Pipe delimited with the segment IDs in the format <uuid>|<segment_ID1> where:
- <uuid> is the user ID
- <segment_ID1> is the segment key to be updated in the format <buzz_key>-<id>
- One user ID type per file--Beeswax Cookie-ID (BEESWAX), IDFA, Android Advertising ID, IP Address or Customer ID (requires additional setup).
- You may add as many segment IDs the user ID qualifies for, so long as each is pipe delimited after the user ID, e.g. <uuid>|<segment_ID1>|<segment_ID2>|<segment_ID3>
- You may add a user-segment value which can be used as the value in bid modifiers. Values must be specified as a float (number), strings will not be accepted, e.g. <uuid>|<segment_ID1>:<value>|<segment_ID2>:<value>|<segment_ID3>
Segment File Examples
- Example of upload file using Beeswax cookie ID (if you have cookie sync set up with Beeswax):
2. Examples of upload file for Mobile Device IDs:
Segment File Upload via UI
- Upload a file of User IDs to segment mappings by going to New > Segment Upload.
- Declare on the Segment Upload screen whether the User ID Type is Beeswax Cookie-ID ("BEESWAX"), one of the IDFA/Android options, Customer Cookie-ID (requires additional setup) or IP Address.
- Declare the Segment Key Type -- Choose "DEFAULT" if you are using the Beeswax segment ID type unless you are utilizing our Alternative ID functionality. You may find more info about the Alternative ID process here.
- Select the continent the users should be available to target in (America, EMEA, APAC). If users should be available to target across regions, a separate upload should be executed for each continent.
If your upload file is larger than 10 MB, you will either need to chunk out the file to be multiple files smaller than 10 MB or you will need to use our large segment file upload method via S3 uploads below.
Segment File Upload via API
API documentation for segment file uploads can be found here. Note that the 10MB file size limit applies to API uploads as well as UI uploads.
Segment File Upload via S3
To upload files larger than 10MB customers can upload files directly to Beeswax's AWS S3 bucket. Information on this process can be found here. Note, you will need to provide your account manager your AWS ARN so that Beeswax can configure S3 permissions to allow you drop the large files on our cloud.
Overwriting or Deleting User-Segment Combinations
To remove users from your segment, you can overwrite user IDs via the API. Details can be found here.