Skip to main content
POST
Create an audience segment on a Snapchat ad account. Three kinds are supported, chosen by type:
  • customerList: your own list of people, which you fill with hashed identifiers through Audience Members.
  • website: people your Snap Pixel saw fire one event on your site.
  • lookalike: people in the countries you name who are like the people in one of your customer lists.
The new segment is returned under audience in the same shape as Audiences, with status.ready: false. Snapchat fills it over time. List it to see when status.ready turns true, then use its id in targeting.audiences or targeting.excludedAudiences when you boost a Snap.
  • A boost can target a segment once Snapchat has matched enough people. Until then status.ready is false.
  • An ad account holds at most 1,000 customer lists, and a segment name is at most 375 characters. Snapchat refuses more with code: 369.
  • Snapchat cannot create engagement audiences here. type: engagement returns a 400 with code: 101.
  • Send an idempotencyKey if you may retry: a retry with the same key and body returns the first response instead of creating a second segment.

Header Parameters

Body Parameters

string
required
Your Snapchat ad account ID to create the segment on, for example 5a0d0000-0000-4000-8000-000000000003.
string
required
The name shown in Snapchat Ads Manager.
string
required
customerList, website or lookalike. The other fields depend on it.
string
A unique value per new segment, such as a UUID.

Customer list

No other fields. The list is empty, and keeps people until you remove them. customerFileSource is optional: Snapchat lists hold your own data only, so any value but USER_PROVIDED_ONLY returns code: 101.

Website

string
required
Your Snap Pixel id.
string
required
The pixel event a visitor must have fired, as Snapchat spells it: PAGE_VIEW, VIEW_CONTENT, ADD_CART, START_CHECKOUT, PURCHASE, SIGN_UP, SUBSCRIBE, SEARCH, ADD_TO_WISHLIST, CUSTOM_EVENT_1 to CUSTOM_EVENT_5, or another of Snapchat’s pixel events. Required on Snapchat.
number
required
How many days a visitor stays in the segment, 1 to 180.
urlContains is not supported on Snapchat: a Snapchat website segment keeps people by pixel event only, so it returns code: 101.

Lookalike

string
required
The customer list to find people like (type: customerList in Audiences). Snapchat builds a lookalike only from a customer list, so a seed that is not one of your customer lists on this ad account (another kind of segment, another account’s segment, or a deleted one) returns code: 101.
array
required
The countries to find people in, as two-letter codes such as US. Each country once.
string
balance (the default) weighs closeness and size, similarity keeps the people most like the seed, and reach finds the most people.
number
How many days a person stays in the segment, 1 to 180. Defaults to 180.
A Snapchat lookalike has no size percentage: ratio and allowInternationalSeeds return code: 101.