Segment Uploads

Prior to uploading segment files you must first create segments to generate a segment ID. Details on how to create user segments via the UI can be found here and via the API here

Segment File Format

The segment file must meet all of the following requirements:

  1. .txt file (not csv file) 
  2. utf-8 (without BOM - byte-order marks) or ASCII encoded 
  3. One user ID or IP Address per row
  4. 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>
  5. One user ID type per file such as: 
    • Android Advertising ID, unhashed
    • Android Advertising ID, hashed with MD5
    • Android Advertising ID, hashed with SHA1
    • Beeswax cookie ID
    • Connected TV
    • Customer cookie ID (first party)
    • Apple IDFA, unhashed
    • Apple IDFA, hashed with MD5
    • Apple IDFA, hashed with SHA1
    • IP Address
    • Other Mobile ID types
    • Customer ID (requires additional setup)
Additional options
  • 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
  1. 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

  1. Upload a file of User IDs to segment mappings by going to New > Segment Upload.
  2. 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.
  3. Declare the Segment Key Type -- Choose "DEFAULT" if you are using the Beeswax segment ID type unless you are utilizing our Alternative ID functionality. If you are using our Alternative ID functionality, please choose "ALTERNATIVE" as the Segment Key Type. You may find more info about the Alternative ID process here.
  4. 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.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.