Reference
Audiences
Saved filter definitions you can reuse across lists, exports, and ad-platform syncs. Combine several audiences into a group for cross-audience deduplication.
List audiences
/api/v1/audiences
Get a list of all audiences for your account with pagination support
Query parameters
page[number]
integer
Page number for pagination
page[size]
integer
Number of items per page
Response fields
audiences
array<object>
Array of audiences
links
object
Create an audience
/api/v1/audiences
Create a new audience with specified filters and criteria. The data source must be one listed by GET /data_sources for your account, and an audience_group_id must be a group in your account; any other id returns 404, the same as an id that does not exist. A token acting as a Giant Partners staff user can use any data source. list_suppression_ids must be ready lists in your account, or the request returns 422.
See Filters, Deduplication, List suppression, and Request modifiers.
Body parameters
name
string
Required
The name of the audience
data_source_id
integer
Required
ID of the data source to query: one listed by GET /data_sources for your account. Any other id returns 404, the same as an id that does not exist. Switching data source drops saved suppressions whose match field the new source doesn't have.
select_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual
Record selection strategy for deduplication: - address_zip: Match on address + zip code - last_address_zip: Match on last name + address + zip - name_address_zip: Match on full name + address + zip - phone: Match on phone number - email: Match on email address - mkey: Match on company identifier - individual: Match on individual identifier
dedupe_within
| zip | city | county | state | national
Geographic boundary for deduplication. Empty means no geographic deduplication, and is the default. - zip: Dedupe within zip code - city: Dedupe within city - county: Dedupe within county - state: Dedupe within state - national: Dedupe nationally
phones
all | none
Phone number selection criteria: - all: Include all phone numbers - none: Exclude phone numbers
phone_type
none | landline | wireless | landline_priority | wireless_priority
Phone number type preference: - none: No type preference - landline: Landline numbers only - wireless: Wireless/mobile numbers only - landline_priority: Prefer landline numbers - wireless_priority: Prefer wireless/mobile numbers On Business, wireless means the number is in a carrier wireless block or was ported to wireless. Landline means any other valid US number, so it can include VoIP and numbers the carrier tables don't cover. Some data sources have untyped phones: Business ID, Business Combined, Business Email, Business Mortgage and Consumer Geo (and Business while its phone types are not yet available). On these, wireless_priority and landline_priority count as plain phones, the same result as none. Strict landline or wireless returns 422 with `phone_type "<type>" is not available for data source "<name>" (phones are not typed); use "none"`.
phone_score
array | null
Phone quality scores to accept
dnc
boolean
Filter out numbers on Do Not Call list
emails
all | none
Email selection criteria: - all: Include all emails - none: Exclude emails
filters
array<object>
Array of filter criteria to apply
segment_match_type
address_zip | last_address_zip | name_address_zip | mkey | individual | phone | email |
The key used to match records across segments, which is what makes a segment joiner meaningful. Null means records are not matched and may appear in more than one segment, so joiners have no effect. Which values a given data source supports depends on its fields.
segments
array<object>
Optional segments within the audience. Each filter is assigned to a segment through its segment_id, and segments are folded together left to right using each segment's joiner. Omit this to build a single unsegmented audience. A filter sent without a segment_id applies to every segment, and is stored as one owned copy per segment. An audience built from segments cannot also set audience_group_id, which combines whole audiences instead.
list_suppression_ids
array | null
IDs of lists to suppress from results. Each must be a ready list in your account, of any type except a breakdown, and not withdrawn. Any other id, one that does not exist or belongs to another account included, or a value that is not an array of list ids, returns 422 with a `list_suppression_ids` error and nothing is saved. An update checks every id it sends, ids the audience already has included; omit the field to leave them as they are.
suppression_criteria
array<object>
Uploaded lists whose matching records are removed from every segment, each matched on its own field. Validated like a segment's suppression_criteria. On an update, omitting the key keeps the current ones and an empty array clears them. An audience with one segment stores that segment's suppressions here.
contacts_per_business
integer | null
Maximum contacts per business (for business data sources)
phone_limit
integer | null
Most phone (phone_limit) or email (email_limit) records to keep per household on consumer data sources, or per business on B2B data sources. Phones are kept in the data source's phone rank order for the chosen phone_type where the source ranks phones; emails in email level order. Applies only while phones (or emails) is all. Null means no cap. When both are set on one segment, the smaller cap applies to the segment's records.
email_limit
integer | null
Most phone (phone_limit) or email (email_limit) records to keep per household on consumer data sources, or per business on B2B data sources. Phones are kept in the data source's phone rank order for the chosen phone_type where the source ranks phones; emails in email level order. Applies only while phones (or emails) is all. Null means no cap. When both are set on one segment, the smaller cap applies to the segment's records.
audience_type
total_addressable_market | direct_mail | telemarketing | email_marketing | digital_advertising |
The kind of audience chosen when it was set up. Descriptive only: it records the preset the audience started from and does not change how it counts.
auto_update
boolean
Automatically update audience count on schedule
industry_id
integer | null
ID of the industry this audience is built for
breakdowns
string | null
Visualization breakdowns, sent as a JSON-encoded string rather than a JSON array. Write-only; not returned on read. Omit to keep the current value (except when changing data_source_id, which clears it); send "[]" to clear it.
featured_breakdowns
string | null
Up to three of the breakdown field keys to feature, sent as a JSON-encoded string. The audience page charts these fields in place of its automatic picks. Extra keys past the third are dropped. When fewer than three are set, saving fills the rest with the first chartable breakdowns in `breakdowns` order. Omit to keep the current value. Write-only; not returned on read.
Response fields
id
integer
Unique identifier for the audience
name
string
The name of the audience
data_source_id
integer
ID of the data source
count
integer | null
Current audience count (may be null if counting)
updating_count
boolean
Whether the count is currently being updated
phones
all | none
Phone number selection criteria: - all: Include all phone numbers - none: Exclude phone numbers
phone_type
none | landline | wireless | landline_priority | wireless_priority
Phone number type preference: - none: No type preference - landline: Landline numbers only - wireless: Wireless/mobile numbers only - landline_priority: Prefer landline numbers - wireless_priority: Prefer wireless/mobile numbers On Business, wireless means the number is in a carrier wireless block or was ported to wireless. Landline means any other valid US number, so it can include VoIP and numbers the carrier tables don't cover. Some data sources have untyped phones: Business ID, Business Combined, Business Email, Business Mortgage and Consumer Geo (and Business while its phone types are not yet available). On these, wireless_priority and landline_priority count as plain phones, the same result as none. Strict landline or wireless returns 422 with `phone_type "<type>" is not available for data source "<name>" (phones are not typed); use "none"`.
phone_score
array | null
Phone quality scores accepted
dnc
boolean
Do Not Call filtering enabled
emails
all | none
Email selection criteria: - all: Include all emails - none: Exclude emails
select_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
Null for audiences built from segments, which set deduplication per segment rather than once for the whole audience.
match_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
Match type for audience (may be null if not in a segment)
filters
array<object>
Applied filter criteria
segment_match_type
address_zip | last_address_zip | name_address_zip | mkey | individual | phone | email |
The key used to match records across segments, which is what makes a segment joiner meaningful. Null means records are not matched and may appear in more than one segment, so joiners have no effect. Which values a given data source supports depends on its fields.
segments
array<object>
Segments within the audience, in fold order
list_suppression_ids
array | null
IDs of suppressed lists
suppression_criteria
array<object>
Uploaded lists whose matching records are removed from every segment
contacts_per_business
integer | null
Maximum contacts per business
phone_limit
integer | null
Most phone (phone_limit) or email (email_limit) records to keep per household on consumer data sources, or per business on B2B data sources. Phones are kept in the data source's phone rank order for the chosen phone_type where the source ranks phones; emails in email level order. Applies only while phones (or emails) is all. Null means no cap. When both are set on one segment, the smaller cap applies to the segment's records.
email_limit
integer | null
Most phone (phone_limit) or email (email_limit) records to keep per household on consumer data sources, or per business on B2B data sources. Phones are kept in the data source's phone rank order for the chosen phone_type where the source ranks phones; emails in email level order. Applies only while phones (or emails) is all. Null means no cap. When both are set on one segment, the smaller cap applies to the segment's records.
audience_type
total_addressable_market | direct_mail | telemarketing | email_marketing | digital_advertising |
The kind of audience chosen when it was set up. Descriptive only: it records the preset the audience started from and does not change how it counts.
auto_update
boolean
Auto-update enabled
dedupe_within
| zip | city | county | state | national | null
Null for audiences built from segments whose first segment leaves geographic deduplication unanswered.
audience_group_id
integer | null
ID of the classic audience group this audience belongs to
created_at
string
Timestamp when audience was created
updated_at
string
Timestamp when audience was last updated
Get an audience
/api/v1/audiences/:id
Get details about a specific audience
Path parameters
id
integer
Required
Audience ID
Response fields
id
integer
Unique identifier for the audience
name
string
The name of the audience
data_source_id
integer
ID of the data source
count
integer | null
Current audience count (may be null if counting)
updating_count
boolean
Whether the count is currently being updated
phones
all | none
Phone number selection criteria: - all: Include all phone numbers - none: Exclude phone numbers
phone_type
none | landline | wireless | landline_priority | wireless_priority
Phone number type preference: - none: No type preference - landline: Landline numbers only - wireless: Wireless/mobile numbers only - landline_priority: Prefer landline numbers - wireless_priority: Prefer wireless/mobile numbers On Business, wireless means the number is in a carrier wireless block or was ported to wireless. Landline means any other valid US number, so it can include VoIP and numbers the carrier tables don't cover. Some data sources have untyped phones: Business ID, Business Combined, Business Email, Business Mortgage and Consumer Geo (and Business while its phone types are not yet available). On these, wireless_priority and landline_priority count as plain phones, the same result as none. Strict landline or wireless returns 422 with `phone_type "<type>" is not available for data source "<name>" (phones are not typed); use "none"`.
phone_score
array | null
Phone quality scores accepted
dnc
boolean
Do Not Call filtering enabled
emails
all | none
Email selection criteria: - all: Include all emails - none: Exclude emails
select_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
Null for audiences built from segments, which set deduplication per segment rather than once for the whole audience.
match_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
Match type for audience (may be null if not in a segment)
filters
array<object>
Applied filter criteria
segment_match_type
address_zip | last_address_zip | name_address_zip | mkey | individual | phone | email |
The key used to match records across segments, which is what makes a segment joiner meaningful. Null means records are not matched and may appear in more than one segment, so joiners have no effect. Which values a given data source supports depends on its fields.
segments
array<object>
Segments within the audience, in fold order
list_suppression_ids
array | null
IDs of suppressed lists
suppression_criteria
array<object>
Uploaded lists whose matching records are removed from every segment
contacts_per_business
integer | null
Maximum contacts per business
phone_limit
integer | null
Most phone (phone_limit) or email (email_limit) records to keep per household on consumer data sources, or per business on B2B data sources. Phones are kept in the data source's phone rank order for the chosen phone_type where the source ranks phones; emails in email level order. Applies only while phones (or emails) is all. Null means no cap. When both are set on one segment, the smaller cap applies to the segment's records.
email_limit
integer | null
Most phone (phone_limit) or email (email_limit) records to keep per household on consumer data sources, or per business on B2B data sources. Phones are kept in the data source's phone rank order for the chosen phone_type where the source ranks phones; emails in email level order. Applies only while phones (or emails) is all. Null means no cap. When both are set on one segment, the smaller cap applies to the segment's records.
audience_type
total_addressable_market | direct_mail | telemarketing | email_marketing | digital_advertising |
The kind of audience chosen when it was set up. Descriptive only: it records the preset the audience started from and does not change how it counts.
auto_update
boolean
Auto-update enabled
dedupe_within
| zip | city | county | state | national | null
Null for audiences built from segments whose first segment leaves geographic deduplication unanswered.
audience_group_id
integer | null
ID of the classic audience group this audience belongs to
created_at
string
Timestamp when audience was created
updated_at
string
Timestamp when audience was last updated
Update an audience
/api/v1/audiences/:id
Update an existing audience. When an audience is updated, its count will be updated asynchronously. Fetch the audience again to get the updated count. A new data_source_id must be one listed by GET /data_sources for your account, and an audience_group_id must be a group in your account; any other id returns 404. Sending the audience's current data_source_id again is always accepted. list_suppression_ids must be ready lists in your account, or the request returns 422 and nothing changes. Updates are partial: a field you leave out keeps its current value. filters and breakdowns change only when the request includes them; send filters: [] or breakdowns: "[]" to remove them all. A request that moves the audience to a different data_source_id clears any filters and breakdowns it does not send, since their fields belong to the old source. Filters tied to a segment id that the request's segments no longer include stop applying, so resend filters when you replace segments.
See Filters, Deduplication, List suppression, and Request modifiers.
Path parameters
id
integer
Required
Audience ID
Body parameters
name
string
Required
The name of the audience
data_source_id
integer
Required
ID of the data source to query: one listed by GET /data_sources for your account. Any other id returns 404, the same as an id that does not exist. Switching data source drops saved suppressions whose match field the new source doesn't have.
select_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual
Record selection strategy for deduplication: - address_zip: Match on address + zip code - last_address_zip: Match on last name + address + zip - name_address_zip: Match on full name + address + zip - phone: Match on phone number - email: Match on email address - mkey: Match on company identifier - individual: Match on individual identifier
dedupe_within
| zip | city | county | state | national
Geographic boundary for deduplication. Empty means no geographic deduplication, and is the default. - zip: Dedupe within zip code - city: Dedupe within city - county: Dedupe within county - state: Dedupe within state - national: Dedupe nationally
phones
all | none
Phone number selection criteria: - all: Include all phone numbers - none: Exclude phone numbers
phone_type
none | landline | wireless | landline_priority | wireless_priority
Phone number type preference: - none: No type preference - landline: Landline numbers only - wireless: Wireless/mobile numbers only - landline_priority: Prefer landline numbers - wireless_priority: Prefer wireless/mobile numbers On Business, wireless means the number is in a carrier wireless block or was ported to wireless. Landline means any other valid US number, so it can include VoIP and numbers the carrier tables don't cover. Some data sources have untyped phones: Business ID, Business Combined, Business Email, Business Mortgage and Consumer Geo (and Business while its phone types are not yet available). On these, wireless_priority and landline_priority count as plain phones, the same result as none. Strict landline or wireless returns 422 with `phone_type "<type>" is not available for data source "<name>" (phones are not typed); use "none"`.
phone_score
array | null
Phone quality scores to accept
dnc
boolean
Filter out numbers on Do Not Call list
emails
all | none
Email selection criteria: - all: Include all emails - none: Exclude emails
filters
array<object>
Array of filter criteria to apply
segment_match_type
address_zip | last_address_zip | name_address_zip | mkey | individual | phone | email |
The key used to match records across segments, which is what makes a segment joiner meaningful. Null means records are not matched and may appear in more than one segment, so joiners have no effect. Which values a given data source supports depends on its fields.
segments
array<object>
Optional segments within the audience. Each filter is assigned to a segment through its segment_id, and segments are folded together left to right using each segment's joiner. Omit this to build a single unsegmented audience. A filter sent without a segment_id applies to every segment, and is stored as one owned copy per segment. An audience built from segments cannot also set audience_group_id, which combines whole audiences instead.
list_suppression_ids
array | null
IDs of lists to suppress from results. Each must be a ready list in your account, of any type except a breakdown, and not withdrawn. Any other id, one that does not exist or belongs to another account included, or a value that is not an array of list ids, returns 422 with a `list_suppression_ids` error and nothing is saved. An update checks every id it sends, ids the audience already has included; omit the field to leave them as they are.
suppression_criteria
array<object>
Uploaded lists whose matching records are removed from every segment, each matched on its own field. Validated like a segment's suppression_criteria. On an update, omitting the key keeps the current ones and an empty array clears them. An audience with one segment stores that segment's suppressions here.
contacts_per_business
integer | null
Maximum contacts per business (for business data sources)
phone_limit
integer | null
Most phone (phone_limit) or email (email_limit) records to keep per household on consumer data sources, or per business on B2B data sources. Phones are kept in the data source's phone rank order for the chosen phone_type where the source ranks phones; emails in email level order. Applies only while phones (or emails) is all. Null means no cap. When both are set on one segment, the smaller cap applies to the segment's records.
email_limit
integer | null
Most phone (phone_limit) or email (email_limit) records to keep per household on consumer data sources, or per business on B2B data sources. Phones are kept in the data source's phone rank order for the chosen phone_type where the source ranks phones; emails in email level order. Applies only while phones (or emails) is all. Null means no cap. When both are set on one segment, the smaller cap applies to the segment's records.
audience_type
total_addressable_market | direct_mail | telemarketing | email_marketing | digital_advertising |
The kind of audience chosen when it was set up. Descriptive only: it records the preset the audience started from and does not change how it counts.
auto_update
boolean
Automatically update audience count on schedule
industry_id
integer | null
ID of the industry this audience is built for
breakdowns
string | null
Visualization breakdowns, sent as a JSON-encoded string rather than a JSON array. Write-only; not returned on read. Omit to keep the current value (except when changing data_source_id, which clears it); send "[]" to clear it.
featured_breakdowns
string | null
Up to three of the breakdown field keys to feature, sent as a JSON-encoded string. The audience page charts these fields in place of its automatic picks. Extra keys past the third are dropped. When fewer than three are set, saving fills the rest with the first chartable breakdowns in `breakdowns` order. Omit to keep the current value. Write-only; not returned on read.
Clone an audience
/api/v1/audiences/:id/clone
Create a copy of an existing audience
Path parameters
id
integer
Required
Audience ID to clone
Response fields
id
integer
Unique identifier for the audience
name
string
The name of the audience
data_source_id
integer
ID of the data source
count
integer | null
Current audience count (may be null if counting)
updating_count
boolean
Whether the count is currently being updated
phones
all | none
Phone number selection criteria: - all: Include all phone numbers - none: Exclude phone numbers
phone_type
none | landline | wireless | landline_priority | wireless_priority
Phone number type preference: - none: No type preference - landline: Landline numbers only - wireless: Wireless/mobile numbers only - landline_priority: Prefer landline numbers - wireless_priority: Prefer wireless/mobile numbers On Business, wireless means the number is in a carrier wireless block or was ported to wireless. Landline means any other valid US number, so it can include VoIP and numbers the carrier tables don't cover. Some data sources have untyped phones: Business ID, Business Combined, Business Email, Business Mortgage and Consumer Geo (and Business while its phone types are not yet available). On these, wireless_priority and landline_priority count as plain phones, the same result as none. Strict landline or wireless returns 422 with `phone_type "<type>" is not available for data source "<name>" (phones are not typed); use "none"`.
phone_score
array | null
Phone quality scores accepted
dnc
boolean
Do Not Call filtering enabled
emails
all | none
Email selection criteria: - all: Include all emails - none: Exclude emails
select_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
Null for audiences built from segments, which set deduplication per segment rather than once for the whole audience.
match_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
Match type for audience (may be null if not in a segment)
filters
array<object>
Applied filter criteria
segment_match_type
address_zip | last_address_zip | name_address_zip | mkey | individual | phone | email |
The key used to match records across segments, which is what makes a segment joiner meaningful. Null means records are not matched and may appear in more than one segment, so joiners have no effect. Which values a given data source supports depends on its fields.
segments
array<object>
Segments within the audience, in fold order
list_suppression_ids
array | null
IDs of suppressed lists
suppression_criteria
array<object>
Uploaded lists whose matching records are removed from every segment
contacts_per_business
integer | null
Maximum contacts per business
phone_limit
integer | null
Most phone (phone_limit) or email (email_limit) records to keep per household on consumer data sources, or per business on B2B data sources. Phones are kept in the data source's phone rank order for the chosen phone_type where the source ranks phones; emails in email level order. Applies only while phones (or emails) is all. Null means no cap. When both are set on one segment, the smaller cap applies to the segment's records.
email_limit
integer | null
Most phone (phone_limit) or email (email_limit) records to keep per household on consumer data sources, or per business on B2B data sources. Phones are kept in the data source's phone rank order for the chosen phone_type where the source ranks phones; emails in email level order. Applies only while phones (or emails) is all. Null means no cap. When both are set on one segment, the smaller cap applies to the segment's records.
audience_type
total_addressable_market | direct_mail | telemarketing | email_marketing | digital_advertising |
The kind of audience chosen when it was set up. Descriptive only: it records the preset the audience started from and does not change how it counts.
auto_update
boolean
Auto-update enabled
dedupe_within
| zip | city | county | state | national | null
Null for audiences built from segments whose first segment leaves geographic deduplication unanswered.
audience_group_id
integer | null
ID of the classic audience group this audience belongs to
created_at
string
Timestamp when audience was created
updated_at
string
Timestamp when audience was last updated
Create an audience group
/api/v1/audience_groups
Create an audience group to dedupe multiple audiences against each other. Audiences are counted one at a time in the specified order. After each audience is counted, the field specified by match_type is stored so subsequent audiences can suppress those values. The group must contain at least 2 audiences. If the group has less than 2 audiences, it will be destroyed and any remaining audience will be removed from the group. If you add a grouped audience to a new group, it will be removed from the previous group and the previous group's counts will be updated automatically.
See Deduplication.
Body parameters
match_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual
Required
Record matching strategy for deduplication: - address_zip: Match on address + zip code - last_address_zip: Match on last name + address + zip - name_address_zip: Match on full name + address + zip - phone: Match on phone number - email: Match on email address - mkey: Match on company identifier - individual: Match on individual identifier
order
array<integer>
Required
Array of audience IDs in the order they should be counted (requires at least 2 audiences)
Response fields
id
integer
Unique identifier for the audience group
match_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual
Record matching strategy for deduplication: - address_zip: Match on address + zip code - last_address_zip: Match on last name + address + zip - name_address_zip: Match on full name + address + zip - phone: Match on phone number - email: Match on email address - mkey: Match on company identifier - individual: Match on individual identifier
order
array<integer>
Array of audience IDs in counting order
counts
array<integer | null>
Array of counts for each audience in the group (parallel to order array)
updating_count
boolean
Whether any audience in the group is currently updating its count
created_at
string
Timestamp when group was created
updated_at
string
Timestamp when group was last updated
Get an audience group
/api/v1/audience_groups/:id
Get details about a specific audience group
Path parameters
id
integer
Required
Audience group ID
Response fields
id
integer
Unique identifier for the audience group
match_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual
Record matching strategy for deduplication: - address_zip: Match on address + zip code - last_address_zip: Match on last name + address + zip - name_address_zip: Match on full name + address + zip - phone: Match on phone number - email: Match on email address - mkey: Match on company identifier - individual: Match on individual identifier
order
array<integer>
Array of audience IDs in counting order
counts
array<integer | null>
Array of counts for each audience in the group (parallel to order array)
updating_count
boolean
Whether any audience in the group is currently updating its count
created_at
string
Timestamp when group was created
updated_at
string
Timestamp when group was last updated
Update an audience group
/api/v1/audience_groups/:id
Update an audience group. You can only update the match_type and order attributes. Updating these will trigger a recount of all audiences in the group.
See Deduplication.
Path parameters
id
integer
Required
Audience group ID
Body parameters
match_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual
Required
Record matching strategy for deduplication: - address_zip: Match on address + zip code - last_address_zip: Match on last name + address + zip - name_address_zip: Match on full name + address + zip - phone: Match on phone number - email: Match on email address - mkey: Match on company identifier - individual: Match on individual identifier
order
array<integer>
Required
Array of audience IDs in the order they should be counted (requires at least 2 audiences)