Audience API
The Audience API allows you to create different types of audiences for Healthcare campaigns.
The following table describes some of the audience types:
| Type | Description |
|---|---|
| Matched audience | Upload a CSV or XLSX file with audience details which is then matched with IQM's user database to create a custom audience segment. |
| ABM audience | Account Based Marketing for Healthcare campaigns. |
| ICT audience | Integrated Care Team audiences are a type of Matched audience intended for Healthcare-audience expansion. |
| Geofarmed audience | Define an audience by a custom geographical area. |
| Contextual audience | IQM adds users to an audience when they visit sites featuring specified keywords or URLs. |
| Campaign audience | Retarget an audience associated with a campaign. Healthcare Advertisers can specify a Campaign audience type during creation, ensuring only campaigns with relevant targeted audiences are selected. |
More resources
See our full Audience API documentation or review these Help Center articles for more information on how to use audiences for your Healthcare campaigns:
- What is NPI matching?
- Matched audience
- Account Based Marketing (ABM) audience
- Integrated Care Team (ICT) audience overview
- Create a Contextual audience (Healthcare)
- Create a Geofarmed audience (Healthcare)
- Audience targeting
Authentication
Use the following header parameters for all requests:
| Headers | |
|---|---|
Authorization string required | Bearer followed by the access_token from the login response. See Sign up and authenticate. |
X-IAA-OW-ID integer required | Organization Workspace ID header. |
Audience details
Audience details list
POSTGet a list of audiences with basic details by desired filters.
An audience id can be used to get more details in type-specific details endpoints. For example, a "Matched audience" id can be used in the Matched audience details endpoint to get more details.
The id can also be used to perform various actions in Audience management PUT/PATCH endpoints.
| Request schema | |
|---|---|
audienceIds array of integers | Audience IDs to filter by. |
audienceTypeIds array of integers | Audience type IDs to filter by. |
audienceSubtypeIds array of integers | Audience subtype IDs to filter by. |
owIds array of integers | Organization Workspace IDs to filter by. |
audienceStatusIds array of integers | Audience status IDs to filter by. |
includeGenericAudience boolean | Include generic audiences. |
audienceTypeIdsWithAllSubtypes array of integers | Audience type IDs to include all subtypes. |
pageNo integer | Page number of retrieved data. |
noOfEntries integer | Number of entries returned per page. |
sortBy string | Sorts results by specified field. |
searchFields array | Filter results by search fields. |
Response properties
audienceId integer | Audience ID. |
audienceName string | Audience name. |
audienceTypeId integer | Audience type ID. |
audienceStatusId integer | Audience status ID. |
cpm number | Cost per thousand impressions. |
createdAt integer | Creation timestamp (epoch milliseconds). |
reach integer | Audience reach. |
verticalId integer | Vertical ID. |
organizationName string | Organization name. |
runningCampaignCount integer | Number of running campaigns. |
pendingCampaignCount integer | Number of pending campaigns. |
pausedCampaignCount integer | Number of paused campaigns. |
expiredCampaignCount integer | Number of expired campaigns. |
startDate integer | Start date (epoch milliseconds). |
endDate integer | End date (epoch milliseconds). |
timezone integer | Timezone ID. |
regeneratedCount integer | Number of times regenerated. |
matchRate number | Match rate percentage. |
insightStatusId integer | Audience Insights report status, for Matched audiences only: 1 (Processing), 2 (Ready), or 3 (Failed). Omitted when no report has been created. |
fileTotalCount integer | Total number of files. |
s3FileName string | S3 file name. |
parentAudienceId integer | ICT audiences only: ID of the ICT audience group the audience belongs to. |
hierarchyType string | ICT audiences only: whether the audience is an input audience (input) or an extension audience (extension). |
approvalAccess boolean | Approval access permission. |
editAccess boolean | Edit access permission. |
- JSON
{
"audienceIds": [
1003879,
1003880
],
"audienceTypeIds": [
1,
2
],
"audienceSubtypeIds": [
3,
4
],
"owIds": [
12345,
67890
],
"audienceStatusIds": [
1,
2
],
"includeGenericAudience": true,
"audienceTypeIdsWithAllSubtypes": [
1,
2
],
"pageNo": 1,
"noOfEntries": 20,
"sortBy": "audienceName",
"searchFields": [
"test audience",
123456
]
}
{
"success": true,
"data": {
"totalRecords": 16,
"filteredRecords": 16,
"audienceList": [
{
"audienceId": 1142228,
"audienceName": "Copy of Matched Audience Example",
"audienceTypeId": 1,
"audienceStatusId": 6,
"createdAt": 1755812128000,
"reach": 0,
"verticalId": 1,
"organizationName": "Conor's Org",
"runningCampaignCount": 0,
"pendingCampaignCount": 0,
"pausedCampaignCount": 0,
"expiredCampaignCount": 0,
"matchRate": 0.0,
"fileTotalCount": 5,
"s3FileName": "1743014162776_matched_audience_example.csv",
"approvalAccess": false,
"editAccess": false
},
{
"audienceId": 1141935,
"audienceName": "Test",
"audienceTypeId": 2,
"audienceStatusId": 6,
"createdAt": 1755208780000,
"reach": 0,
"verticalId": 1,
"organizationName": "Conor's Org",
"runningCampaignCount": 0,
"pendingCampaignCount": 0,
"pausedCampaignCount": 0,
"expiredCampaignCount": 0,
"matchRate": 0.0,
"approvalAccess": false,
"editAccess": false
}
]
}
}
Basic audience details
POSTGet a basic list of audience details.
| Request schema | |
|---|---|
audienceIds array of integers | Audience IDs to filter by. |
audienceTypeIds array of integers | Audience type IDs to filter by. |
audienceSubtypeIds array of integers | Audience subtype IDs to filter by. |
owIds array of integers | Organization Workspace IDs to filter by. |
audienceStatusIds array of integers | Audience status IDs to filter by. |
includeGenericAudience boolean | Include generic audiences. |
pageNo integer | Page number of retrieved data. |
noOfEntries integer | Number of entries per page. |
sortBy string | Sorts results by specified field. |
searchFields array | Filter results by search fields. |
Response properties
audienceId integer | Audience ID. |
audienceName string | Audience name. |
audienceTypeId integer | Audience type ID. |
audienceSubtypeId integer | Audience subtype ID. |
isIqmIdTargeted boolean | Indicates if IQM ID targeted. |
audienceStatusId integer | Audience status ID. |
createdOn integer | Creation timestamp (epoch seconds). |
cpm number | Cost per thousand impressions. |
reach integer | Audience reach. |
{
"audienceIds": [
1003879,
1003880
],
"audienceTypeIds": [
1,
2
],
"audienceSubtypeIds": [
3,
4
],
"owIds": [
12345,
67890
],
"audienceStatusIds": [
1,
2
],
"includeGenericAudience": true,
"pageNo": 1,
"noOfEntries": 20,
"sortBy": "audienceName",
"searchFields": [
"test audience",
123456
]
}
{
"success": true,
"data": {
"totalRecords": 874,
"filteredRecords": 874,
"audienceBasicList": [
{
"audienceId": 1,
"audienceName": "Sample audience name 1",
"audienceTypeId": 1,
"audienceSubtypeId": 1,
"isIqmIdTargeted": true,
"audienceStatusId": 1,
"createdAt": 1653510068,
"cpm": 1.5,
"reach": 18850783
}
]
}
}
Audience count by status
POSTGet a count of audiences by status type.
| Request schema | |
|---|---|
searchField string | Filter results by search field. |
owIds string | Organization Workspace IDs. |
audienceTypeIds string | Audience type IDs. |
Response properties
audienceStatusId integer | Audience status ID. |
audienceCount integer | Audience count. |
- JSON
{
"success": true,
"data": [
{
"audienceStatusId": 1,
"audienceCount": 2
},
{
"audienceStatusId": 3,
"audienceCount": 10
},
{
"audienceStatusId": 6,
"audienceCount": 4
}
]
}
Audience count by type
GETGet an audience count by audience type.
Response properties
audienceTypeId integer | Audience type ID. |
audienceCount integer | Audience count. |
- JSON
{
"success": true,
"data": [
{
"audienceTypeId": 1,
"audienceCount": 10
},
{
"audienceTypeId": 2,
"audienceCount": 25
}
]
}
Audience count by data partner
POSTGet an audience count by data partner ID.
| Request schema | |
|---|---|
audienceTypeId integer | Audience type ID. |
Response properties
dataPartnerId integer | Data partner ID. |
audienceCount integer | Audience count. |
{
"audienceTypeIds": [
2,
4
]
}
{
"success": true,
"data": [
{
"dataPartnerId": 1,
"audienceCount": 10
},
{
"dataPartnerId": 2,
"audienceCount": 25
}
]
}
Healthcare data details
Healthcare titles list
GETGet a list of Healthcare titles.
| Query parameters | |
|---|---|
dataProviderIds array of integers | Data provider IDs. |
pageNo integer | Page number of retrieved data, default: 0. |
noOfEntries integer | Number of entries returned per page, default: 50. |
searchField string | Filter results by search field. |
audienceSubtypeIds array of integers | List of audience subtype IDs to filter the Healthcare titles. Comma-separated string of IDs is also allowed. |
includeGenericAudience boolean | When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false. |
Response properties
id integer | Title ID. |
displayName string | Title name. |
displayOrder integer | Display order. |
reach integer | Unique reach for this title. |
audienceSubtypeId integer | Audience subtype ID associated with this record. |
- JSON
{
"success": true,
"data": {
"titleList": [
{
"id": 1,
"displayName": "Healthcare Title 1",
"displayOrder": 1,
"reach": 12345,
"audienceSubtypeId": 3
},
{
"id": 2,
"displayName": "Healthcare Title 2",
"displayOrder": 20,
"reach": 54321,
"audienceSubtypeId": null
}
],
"filteredRecords": 5,
"totalRecords": 3294
}
}
Healthcare specialties list
GETGet a list of Healthcare specialties.
| Query parameters | |
|---|---|
dataProviderIds array of integers | Data provider IDs. |
pageNo integer | Page number of retrieved data, default: 0. |
noOfEntries integer | Number of entries returned per page, default: 50. |
searchField string | Filter results by search field. |
audienceSubtypeIds array of integers | List of audience subtype IDs to filter the Healthcare specialties. Comma-separated string of IDs is also allowed. |
includeGenericAudience boolean | When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false. |
Response properties
id integer | Specialty ID. |
displayName string | Specialty name. |
displayOrder integer | Display order. |
reach integer | Unique reach for this specialty. |
audienceSubtypeId integer | Audience subtype ID associated with this record. |
- JSON
{
"success": true,
"data": {
"specialityList": [
{
"id": 1,
"displayName": "Healthcare Speciality 1",
"displayOrder": 1,
"reach": 12345,
"audienceSubtypeId": 3
},
{
"id": 2,
"displayName": "Healthcare Speciality 2",
"displayOrder": 20,
"reach": 54321,
"audienceSubtypeId": null
}
],
"filteredRecords": 5,
"totalRecords": 3294
}
}
Healthcare systems list
GETGet a list of Healthcare systems.
| Query parameters | |
|---|---|
dataProviderIds array of integers | Data provider IDs. |
pageNo integer | Page number of retrieved data, default: 0. |
noOfEntries integer | Number of entries returned per page, default: 50. |
searchField string | Filter results by search field. |
audienceSubtypeIds array of integers | List of audience subtype IDs to filter the Healthcare systems. Comma-separated string of IDs is also allowed. |
includeGenericAudience boolean | When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false. |
Response properties
id integer | System ID. |
displayName string | System name. |
displayOrder integer | Display order. |
reach integer | Unique reach for this system. |
audienceSubtypeId integer | Audience subtype ID associated with this record. |
- JSON
{
"success": true,
"data": {
"healthcareSystemList": [
{
"id": 1,
"displayName": "Healthcare System 1",
"displayOrder": 1,
"reach": 1000,
"audienceSubtypeId": 3
},
{
"id": 2,
"displayName": "Healthcare System 2",
"displayOrder": 20,
"reach": 2000,
"audienceSubtypeId": 3
}
],
"filteredRecords": 5,
"totalRecords": 3294
}
}
Healthcare data
POSTGet a Healthcare data list by specified filters.
| Query parameters | |
|---|---|
dataProviderIds array of integers | Data provider IDs. |
pageNo integer | Page number of retrieved data, default: 0. |
noOfEntries integer | Number of entries returned per page, default: 50. |
healthCareSystemIds array of integers | Healthcare system IDs. |
accountNameIds array of integers | Healthcare account name IDs. |
accountTypeIds array of integers | Healthcare account type IDs. |
accountSubTypeIds array of integers | Healthcare account subtype IDs. |
countryIds array of integers | Country IDs. |
stateIds array of integers | State IDs. |
cityIds array of integers | City IDs. |
titleIds array of integers | Healthcare title IDs. |
specialityIds array of integers | Healthcare specialty IDs. |
ids array of integers | IDs. |
audienceSubtypeIds array of integers | Audience subtype IDs to filter the records. |
includeGenericAudience boolean | When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false. |
Response properties
id integer | Audience ID. |
cost integer | Charges for a specific segment. |
reach integer | Unique reach of segments (i.e., audience reach). |
healthCareSystemId integer | Healthcare system ID. |
healthCareSystemName string | Healthcare system name. |
accountId integer | Healthcare account ID. |
accountName string | Healthcare account name. |
accountTypeId integer | Healthcare account type ID. |
accountTypeName string | Healthcare account type name. |
accountSubTypeId integer | Healthcare account subtype ID. |
accountSubTypeName string | Healthcare account subtype name. |
titleId integer | Healthcare title ID. |
titleName string | Healthcare title name. |
specialityId integer | Healthcare specialty ID. |
specialityName string | Healthcare specialty name. |
countryId integer | Country ID. |
countryName string | Country name. |
stateId integer | State ID. |
stateName string | State name. |
cityId integer | City ID. |
cityName string | City name. |
dataProviderId integer | Data provider ID. |
dataProviderName string | Data provider name. |
- JSON
{
"dataProviderIds": [
1
],
"healthCareSystemIds": [
40100004,
40100007
],
"accountIds": [
40208104,
40628423
],
"accountTypeIds": [
40300003
],
"accountSubTypeIds": [
40400001,
40400010
],
"countryIds": [
30100001
],
"stateIds": [
30200028,
30200043
],
"cityIds": [
30430356,
30447825,
30447952,
30448122
],
"titleIds": [
40500099
],
"specialityIds": [
40500014,
40500086
],
"ids": [
1,
2,
3
],
"pageNo": 1,
"noOfEntries": 2,
"audienceSubtypeIds": [3],
"includeGenericAudience": false
}
{
"success": true,
"data": {
"totalRecords": 52265,
"filteredRecords": 5,
"healthCareData": [
{
"id": 1,
"cost": 10,
"reach": 1,
"healthCareSystemId": 40100004,
"healthCareSystemName": "ABCD PEDIATRICS",
"accountId": 40628423,
"accountName": "Stepping Stone Pediatrics PA",
"accountTypeId": 40300003,
"accountTypeName": "Group Practice",
"accountSubTypeId": 40400010,
"accountSubTypeName": "Telephone/E-Mail Order Pharmacy",
"titleId": 40500099,
"titleName": "MD",
"specialityId": 40500086,
"specialityName": "Gastroenterology",
"countryId": 30100001,
"countryName": "United States",
"stateId": 30200043,
"stateName": "Tennessee",
"cityId": 30447952,
"cityName": "Franklin, TN",
"dataProviderId": 1,
"dataProviderName": "HealthCarelink",
"audienceSubtypeId": 3
},
{
"id": 2,
"cost": 10,
"reach": 1,
"healthCareSystemId": 40100004,
"healthCareSystemName": "ABCD PEDIATRICS",
"accountId": 40628423,
"accountName": "Stepping Stone Pediatrics PA",
"accountTypeId": 40300003,
"accountTypeName": "Group Practice",
"accountSubTypeId": 40400010,
"accountSubTypeName": "Telephone/E-Mail Order Pharmacy",
"titleId": 40500099,
"titleName": "MD",
"specialityId": 40500086,
"specialityName": "Gastroenterology",
"countryId": 30100001,
"countryName": "United States",
"stateId": 30200043,
"stateName": "Tennessee",
"cityId": 30447825,
"cityName": "Brentwood, TN",
"dataProviderId": 1,
"dataProviderName": "HealthCarelink",
"audienceSubtypeId": 3
}
]
}
}
Healthcare statistics
POSTGet Healthcare statistics details.
| Query parameters | |
|---|---|
dataProviderIds array of integers | Data provider IDs. |
pageNo integer | Page number of retrieved data, default: 0. |
noOfEntries integer | Number of entries returned per page, default: 50. |
healthCareSystemIds array of integers | Healthcare system IDs. |
accountNameIds array of integers | Account name IDs. |
accountTypeIds array of integers | Healthcare account type IDs. |
accountSubTypeIds array of integers | Account subtype IDs. |
countryIds array of integers | Country IDs. |
stateIds array of integers | State IDs. |
cityIds array of integers | City IDs. |
titleIds array of integers | Title IDs. |
specialityIds array of integers | Healthcare specialty IDs. |
ids array of integers | IDs. |
audienceSubtypeIds array of integers | Audience subtype IDs to filter the records. |
includeGenericAudience boolean | When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false. |
Response properties
healthSystem integer | Healthcare system ID. |
account integer | Healthcare account ID. |
accountType integer | Healthcare account type ID. |
npiReach integer | NPI reach. |
speciality integer | Healthcare specialty ID. |
- JSON
{
"dataProviderIds": [
1
],
"healthCareSystemIds": [
40100004,
40100007
],
"accountIds": [
40208104,
40628423
],
"accountTypeIds": [
40300003
],
"accountSubTypeIds": [
40400001,
40400010
],
"countryIds": [
30100001
],
"stateIds": [
30200028,
30200043
],
"cityIds": [
30430356,
30447825,
30447952,
30448122
],
"titleIds": [
40500099
],
"specialityIds": [
40500014,
40500086
],
"ids": [
1,
2,
3
],
"pageNo": 1,
"noOfEntries": 2,
"audienceSubtypeIds": [3],
"includeGenericAudience": false
}
{
"success": true,
"data": {
"healthSystem": 2,
"account": 4,
"accountType": 8,
"npiReach": 25513,
"speciality": 3
}
}
Healthcare account types
POSTGet a list of Healthcare account types.
| Query parameters | |
|---|---|
dataProviderIds array of integers | Data provider IDs. |
pageNo integer | Page number of retrieved data, default: 0. |
noOfEntries integer | Number of entries returned per page, default: 50. |
healthCareSystemIds array of integers | Healthcare system IDs. |
accountNameIds array of integers | Account name IDs. |
searchField string | Filter results by search field. |
audienceSubtypeIds array of integers | Audience subtype IDs to filter the records. |
includeGenericAudience boolean | When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false. |
Response properties
id integer | Account ID. |
audienceSubtypeId integer | Audience subtype ID associated with this record. |
displayName string | Account name. |
displayOrder integer | Display order. |
- JSON
{
"pageNo": 1,
"noOfEntries": 20,
"searchField": "Sample Text",
"dataProviderIds": [
1
],
"healthcareSystemIds": [
1,
2,
3
],
"accountNameIds": [
4,
5,
6
],
"audienceSubtypeIds": [3],
"includeGenericAudience": false
}
{
"success": true,
"data": {
"accountTypeList": [
{
"id": 1,
"displayName": "Account Type 1",
"displayOrder": 1,
"audienceSubtypeId": 3
},
{
"id": 2,
"displayName": "Account Type 2",
"displayOrder": 2,
"audienceSubtypeId": null
}
],
"filteredRecords": 5,
"totalRecords": 3294
}
}
Healthcare account subtypes
POSTGet a list of Healthcare account subtypes.
| Query parameters | |
|---|---|
dataProviderIds array of integers | Data provider IDs. |
pageNo integer | Page number of retrieved data, default: 0. |
noOfEntries integer | Number of entries returned per page, default: 50. |
healthCareSystemIds array of integers | Healthcare system IDs. |
accountNameIds array of integers | Account name IDs. |
searchField string | Filter results by search field. |
accountTypeIds array of integers | Healthcare account type IDs. |
audienceSubtypeIds array of integers | Audience subtype IDs to filter the records. |
includeGenericAudience boolean | When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false. |
Response properties
id integer | Account subtype ID. |
audienceSubtypeId integer | Audience subtype ID associated with this record. |
displayName string | Account sub name. |
displayOrder integer | Display order. |
- JSON
{
"pageNo": 1,
"noOfEntries": 20,
"searchField": "Sample Text",
"dataProviderIds": [
1
],
"healthcareSystemIds": [
1,
2,
3
],
"accountNameIds": [
4,
5,
6
],
"accountTypeIds": [
7,
8,
9
],
"audienceSubtypeIds": [3],
"includeGenericAudience": true
}
{
"success": true,
"data": {
"accountSubTypeList": [
{
"id": 1,
"displayName": "Account Subtype 1",
"displayOrder": 1,
"audienceSubtypeId": 3
},
{
"id": 2,
"displayName": "Account Subtype 2",
"displayOrder": 2,
"audienceSubtypeId": null
}
],
"filteredRecords": 5,
"totalRecords": 3294
}
}
Healthcare account names
POSTGet a list of Healthcare account names.
| Query parameters | |
|---|---|
dataProviderIds array of integers | Data provider IDs. |
pageNo integer | Page number of retrieved data, default: 0. |
noOfEntries integer | Number of entries returned per page, default: 50. |
healthCareSystemIds array of integers | Healthcare system IDs. |
searchField string | Filter results by search field. |
Response properties
id integer | Account name ID. |
displayName string | Account name. |
displayOrder integer | Display order. |
- JSON
{
"pageNo": 1,
"noOfEntries": 20,
"searchField": "Sample text",
"dataProviderIds": [
1
],
"healthcareSystemIds": [
1,
2,
3
]
}
{
"success": true,
"data": {
"accountNameList": [
{
"id": 1,
"displayName": "Account Name 1",
"displayOrder": 1
},
{
"id": 2,
"displayName": "Account Name 2",
"displayOrder": 20
}
],
"filteredRecords": 5,
"totalRecords": 3294
}
}
Matched audiences
Matched audience details
GETGet Matched audience details by ID.
| Path parameter | |
|---|---|
audienceId integer | Matched audience ID. |
| Query parameters | |
|---|---|
campaignTargetingRequired boolean optional | Flag to indicate if campaign targeting details are returned, default: false. |
userDetailsRequired boolean optional | Flag to indicate if user details are returned, default: false. |
Response properties
audienceId integer | Audience ID. | ||||||
audienceName string | Audience name. | ||||||
audienceTypeId integer | Audience type ID. Always 1 (Matched audience). | ||||||
audienceSubtypeId integer | Audience subtype ID. Returned only for Healthcare audiences. | ||||||
audienceStatusId integer | Audience status ID. | ||||||
cpm number | Data cost (CPM) charged if the audience is used in a campaign. | ||||||
owId integer | Organization Workspace ID. | ||||||
createdByUowId integer | Created by User Organization Workspace ID. | ||||||
createdAt integer | Unix epoch creation date (milliseconds). | ||||||
reach integer | Audience reach (matched unique users). 0 until the file is matched. | ||||||
householdReach integer | Household reach. Returned only for Political Matched audiences, once matched. | ||||||
columnMappings array of objects | Mappings between the file's columns and matching columns. | ||||||
| |||||||
columnId integer | Column ID. |
fileColumnName string | Column name in the uploaded file. |
dataFormatId integer | Data format ID of the column values. null for columns that don't take a data format. |
s3FileName string
s3Url string
fileRowCount integer
matchRate number
dataPartnerId integer
modifiedAt string
rejectionReason string
organizationName string
createdByUserName string
approvedOrRejectedByUserName string
approvedOrRejectedByUserEmail string
approvalAccess boolean
editAccess boolean
whitelistedCampaignIds array of integers
blacklistedCampaignIds array of integers
- JSON
{
"success": true,
"data": {
"audienceId": 1183827,
"audienceName": "HCP NPI Audience",
"audienceTypeId": 1,
"audienceSubtypeId": 3,
"audienceStatusId": 2,
"cpm": 0.0,
"owId": 204995,
"createdByUowId": 298904,
"createdAt": 1793036506707,
"reach": 0,
"columnMappings": [
{
"columnId": 18,
"fileColumnName": "NPI_ID",
"dataFormatId": null
}
],
"s3FileName": "1793036506720_hcp-npi-list.csv",
"s3Url": "s3://<bucket>/AUDIENCE/UPLOAD/HCP/Client=204995/Audience=1183827/1793036506720_hcp-npi-list.csv",
"fileRowCount": 5,
"dataPartnerId": 7,
"modifiedAt": "2026-10-26T17:41:50.066+00:00",
"organizationName": "Healthcare Workspace",
"createdByUserName": "Jane Smith",
"approvalAccess": false,
"editAccess": true
}
}
Create Matched audience
POSTCreate a Matched audience by uploading a file with user data. The metadata is sent as a JSON string in the audienceRequest form data field, and the file is uploaded as multipart/form-data in the file form data field.
For more information on Matched audiences and how they can serve your Healthcare, Political, or Specialty needs, refer to our Help Center articles.
| Request schema | |
|---|---|
audienceRequest form data required | Audience metadata details. |
file multipart/form-data required | File to be uploaded. |
audienceRequest properties
audienceName string required | Audience name. | |||||||
fileRowCount integer required | Number of rows in the file. | |||||||
fileColumnCount integer required | Number of columns in the file. | |||||||
audienceSubtypeId integer | Audience subtype ID. Healthcare audiences only. Omit it for Political audiences, which don't support subtypes. | |||||||
columnMappings array of objects required | Array of column mapping objects. | |||||||
| ||||||||
columnId integer | Column ID. |
fileColumnName string | File column name. |
dataFormatId integer | Data format ID. |
dataPartnerId integer
columnCombinationId integer required
consentGiven boolean
audienceRequest sample object for Political Matched audience
{
"audienceName": "matched-audience-example-fs",
"fileRowCount": 5,
"fileColumnCount": 1,
"columnMappings": [
{
"columnId": 1,
"fileColumnName": "l2-voter-id"
}
],
"dataPartnerId": 2,
"columnCombinationId": 1
}
audienceRequest sample object for Healthcare Matched audience
{
"audienceName": "Revamped Healthcare Matched Audience 02",
"dataPartnerId": 7,
"audienceSubtypeId": 3,
"columnMappings": [
{
"columnId": 18,
"fileColumnName": "NPI_ID"
}
],
"fileRowCount": 19,
"fileColumnCount": 1,
"columnCombinationId": 14
}
POST /api/v3/audience/matched HTTP/1.1
Host: api.iqm.com
Authorization: Bearer 0ed52da8-24ab-44b1-bc88-7ea03a090d24
X-IAA-OW-ID: <owId>
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="audienceRequest"
Content-Type: application/json
{"audienceName":"HCP NPI Audience","dataPartnerId":7,"audienceSubtypeId":3,"columnCombinationId":14,"fileRowCount":1200,"fileColumnCount":1,"columnMappings":[{"columnId":18,"fileColumnName":"NPI_ID"}]}
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="hcp-npi-list.csv"
Content-Type: text/csv
[Binary CSV file data]
------WebKitFormBoundary7MA4YWxkTrZu0gW--
{
"success": true,
"data": {
"audienceId": 1183883,
"message": "HCP NPI Audience audience created successfully"
}
}
Update Matched audience
PATCHUpdate the data cost of a Matched audience. Only Matched audiences can be updated, and users without full access must have access to the audience's Organization.
To approve or reject a Matched audience, use Approve or reject Matched audience.
| Path parameter | |
|---|---|
audienceId integer | Matched audience ID. |
| Request schema | |
|---|---|
dataCost number | Data cost, returned as cpm in audience details. If omitted, the current data cost is kept. |
Response properties
message string | Success message. |
- JSON
{
"dataCost": 10
}
{
"success": true,
"data": {
"message": "Changes saved successfully"
}
}
More responses
{
"success": false,
"errorObjects": [
{
"error": "Only matched audiences can be edited."
}
]
}
Approve or reject Matched audience
POSTApprove or reject a Matched audience that has a Pending status. Only Matched audiences of the Patient subtype can be approved or rejected, and only full-access users in the organization that owns the Audiences application can perform this action.
| Path parameter | |
|---|---|
audienceId integer required | Matched audience ID. |
| Request schema | |
|---|---|
audienceStatusId integer required | Audience status ID: 3 to approve (Ready) or 4 to reject (Rejected). |
rejectionReason string | Reason for rejecting the audience. Required when audienceStatusId is 4, and must not be provided when approving. |
Response properties
message string | Success message. |
- JSON
{
"audienceStatusId": 3
}
{
"audienceStatusId": 4,
"rejectionReason": "Insufficient data quality."
}
{
"success": true,
"data": {
"message": "Changes saved successfully"
}
}
More responses
{
"success": false,
"errorObjects": [
{
"error": "Only application owner users with full access can update the audience status"
}
]
}
{
"success": false,
"errorObjects": [
{
"error": "Only audiences in PENDING status can be approved/rejected"
}
]
}
{
"success": false,
"errorObjects": [
{
"error": "Rejection reason must be provided when rejecting an audience",
"field": "rejectionReason"
}
]
}
Rematch audience
PUTRematch (refresh) an existing audience with the latest data. Supports Matched audiences and primary Integrated Care Team (ICT) audiences; extension ICT audiences aren't supported. The audience must be eligible for a rematch based on its status, when it was last rematched, and other criteria.
| Path parameter | |
|---|---|
audienceId integer required | Audience ID to rematch. |
Response properties
audienceId integer | Audience ID of the rematched audience. |
message string | Success message. |
- JSON
{
"success": true,
"data": {
"audienceId": 12345,
"message": "Test audience rematched successfully via Re-Match"
}
}
{
"success": false,
"errorObjects": [
{
"error": "No active audience found with the given Id.",
"field": "audienceId"
}
]
}
Data partners list for Matched audience
GETReturns a list of data partners relevant for audiences based on vertical and optional subtype.
- For Advertiser users, vertical is derived from the Organization Workspace ID of the logged-in user's Organization.
- For Workspace/super users, a vertical ID should be passed explicitly.
- Audience type ID is mandatory to fetch data partners.
- If a subtype ID is passed, it must be valid for the vertical.
- Data partners shown are based on active configurations.
| Query parameters | |
|---|---|
audienceTypeId integer required | Audience type ID. |
audienceSubtypeIds integer | Audience subtype IDs. |
verticalId integer | Vertical ID. |
active boolean | Filter for active data partners. |
Response properties
id integer | Data partner ID. |
name string | Data partner name. |
order integer | Display order. |
displayName string | Data partner display name. |
cpm number | Cost per mille (CPM). |
logoUrl string | URL to data partner logo. null if no logo is set. |
active boolean | Indicates if the data partner is active. |
- JSON
{
"success": true,
"data": [
{
"id": 7,
"name": "hl_npi_id",
"order": 6,
"displayName": "Healthlink ID",
"cpm": 10,
"logoUrl": "https://cdn.com/data_partner/hld.png",
"active": true
},
{
"id": 8,
"name": "data360_npi_id",
"order": 7,
"displayName": "Data360 ID",
"cpm": 15,
"logoUrl": "https://cdn.com/data_partner/D360.png",
"active": true
}
]
}
ABM audiences
ABM audience details
GETGet Account Based Marketing (ABM) audience details by ID.
| Path parameters | |
|---|---|
audienceId integer | ABM audience ID. |
Response properties
id integer | Audience ID. | |||||||||||||||||||||||||
name string | Audience name. | |||||||||||||||||||||||||
status string | Audience status. | |||||||||||||||||||||||||
audienceTypeId integer | Audience type ID. | |||||||||||||||||||||||||
createdAt integer | Unix epoch timestamp of audience creation. | |||||||||||||||||||||||||
partnerName string | Partner name. | |||||||||||||||||||||||||
partnerLogoUrl string | Partner logo URL. | |||||||||||||||||||||||||
uniques integer | Count of unique audiences reached. | |||||||||||||||||||||||||
dataCost integer | Fees charged by the platform if the audience is used in any campaign. | |||||||||||||||||||||||||
filters object | Filter criteria used to define this audience. | |||||||||||||||||||||||||
| ||||||||||||||||||||||||||
dataProviderIds array of integers | Data provider IDs. |
accountIdsarray of integers | Account IDs. |
accountTypeIdsarray of integers | Healthcare account type IDs. |
accountSubTypeIdsarray of integers | Healthcare account subtype IDs. |
countryIdsarray of integers | Country IDs. |
stateIdsarray of integers | State IDs. |
cityIdsarray of integers | City IDs. |
titleIdsarray of integers | Title IDs. |
specialityIdsarray of integers | Speciality IDs. |
idsarray of integers | IDs. |
pageNoarray of integers | Page number of retrieved data. |
noOfEntriesarray of integers | Number of entries returned per page. |
- JSON
{
"success": true,
"data": {
"id": 1124243,
"name": "Test ABM audience",
"status": "Processing",
"audienceTypeId": 9,
"createdAt": 1739261114,
"partnerName": "Healthlink",
"partnerLogoUrl": "www.sample.com",
"uniques": 1000,
"dataCost": 10,
"healthCareDataMappingIds": [
13572,
13575,
32777
],
"filters": {
"ids": [
13572,
13575,
32777
],
"dataProviderIds": [
1
],
"healthCareSystemIds": [
1,
2,
3
],
"accountIds": [
1,
2,
3
],
"accountTypeIds": [
1,
2,
3
],
"accountSubTypeIds": [
1,
2,
3
],
"titleIds": [
1,
2,
3
],
"specialityIds": [
1,
2,
3
],
"countryIds": [
30100001
],
"stateIds": [
1,
2,
3
],
"cityIds": [
1,
2,
3
],
"pageNo": 1,
"noOfEntries": 10000
}
}
}
Create ABM audience
POSTCreate an ABM audience.
| Request schema | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
audienceName string | Audience name. | |||||||||||||||||||||||||||||
healthCareDataMappingIds array of integers | Healthcare data mapping IDs to include from filters. | |||||||||||||||||||||||||||||
dataProviderId integer | Data provider ID. | |||||||||||||||||||||||||||||
audienceSubtypeId integer | Audience subtype ID used to refine audience columns (e.g., HCP under Healthcare vertical). | |||||||||||||||||||||||||||||
filters object | Filters. | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
dataProviderIds array of integers | Data provider IDs. |
accountIdsarray of integers | Account IDs. |
accountTypeIdsarray of integers | Healthcare account type IDs. |
accountSubTypeIdsarray of integers | Healthcare account subtype IDs. |
countryIdsarray of integers | Country IDs. |
stateIdsarray of integers | State IDs. |
cityIdsarray of integers | City IDs. |
titleIdsarray of integers | Title IDs. |
specialityIdsarray of integers | Specialty IDs. |
idsarray of integers | IDs. |
pageNoarray of integers | Page number of retrieved data. |
noOfEntriesarray of integers | Number of entries returned per page. |
audienceSubtypeIdsarray of integers | Audience subtype IDs to filter the records. |
includeGenericAudienceboolean | When true, includes records with no audience subtype (subtype_id IS NULL) alongside any matched subtype IDs. Default: false. |
Response properties
message string | Success message. |
- JSON
{
"audienceName": "HealthCare Innovators",
"healthCareDataMappingIds": [
1,
2,
3
],
"dataProviderId": 1,
"filters": {
"dataProviderIds": [
1
],
"healthCareSystemIds": [
40100004,
40100007
],
"accountIds": [
40208104,
40628423
],
"accountTypeIds": [
40300003
],
"accountSubTypeIds": [
40400001,
40400010
],
"countryIds": [
30100001
],
"stateIds": [
30200028,
30200043
],
"cityIds": [
30430356,
30447825,
30447952,
30448122
],
"titleIds": [
40500099
],
"specialityIds": [
40500014,
40500086
],
"ids": [
1,
2,
3
],
"pageNo": 1,
"noOfEntries": 2,
"audienceSubtypeIds": [3],
"includeGenericAudience": false
},
"audienceSubtypeId": 3
}
{
"success": true,
"data": {
"message": "HealthCare Innovators audience created successfully"
}
}
Upload ABM filter file
POSTExtract ABM Healthcare data filters from an uploaded file. The file is uploaded as multipart/form-data in the abmFilterFile form data field, and filter column mappings and file type are sent as query parameters.
| Request schema | |
|---|---|
fileType integer required | Type of the file being uploaded: CSV (1), Excel (2). |
columns string required | Serialized JSON mapping of file column headers to filter field names. |
abmFilterFile multipart/form-data required | File containing the ABM audience data to be filtered. |
audienceSubtypeId integer | Optional audience subtype ID used to further refine audience columns (e.g., HCP under Healthcare vertical). |
dataPartnerId integer | Optional data partner ID to further filter columns based on partner-specific configurations (e.g., Healthlink, RevOptimal). |
columns sample object
{
"Title-name": "Title",
"Account-type-name": "Account Type",
"Account-Sub-Type-Name": "Account Sub-Type",
"Health-System-Name": "Health System Name",
"Account-Name": "Account Name",
"Speciality-Name": "Speciality",
"City-Name": "City",
"State-Name": "State"
}
Response properties
healthCareFilterData object | Object containing matched filter IDs. | |||||||||||||||||||
| ||||||||||||||||||||
healthcareSystemIds array of integers | Set of healthcare system IDs. |
healthcareAccountIds array of integers | Set of healthcare account IDs. |
accountTypeIds array of integers | Set of account type IDs. |
accountSubTypeIds array of integers | Set of account subtype IDs. |
titleIds array of integers | Set of title IDs. |
specialityIds array of integers | Set of specialty IDs. |
countryIds array of integers | Set of country IDs. |
stateIds array of integers | Set of state IDs. |
cityIds array of integers | Set of city IDs. |
matchingRate integer
POST /api/v3/audience/abm/healthcare-data/filter-file HTTP/1.1
Host: api.iqm.com
Authorization: Bearer 0ed52da8-24ab-44b1-bc88-7ea03a090d24
X-IAA-OW-ID: 1
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="fileType"
1
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="columns"
{"Title-name":"Title","Account-type-name":"Account Type","Account-Sub-Type-Name":"Account Sub-Type","Health-System-Name":"Health System Name","Account-Name":"Account Name","Speciality-Name":"Speciality","City-Name":"City","State-Name":"State"}
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="abmFilterFile"; filename="abm-data.csv"
Content-Type: text/csv
[Binary CSV file data]
------WebKitFormBoundary7MA4YWxkTrZu0gW--
{
"success": true,
"data": {
"healthCareFilterData": {
"healthcareSystemIds": [
1,
2,
3
],
"healthcareAccountIds": [
1,
2,
3
],
"accountTypeIds": [
1,
2,
3
],
"accountSubTypeIds": [
1,
2,
3
],
"titleIds": [
1,
2,
3
],
"specialityIds": [
1,
2,
3
],
"stateIds": [
1,
2,
3
],
"cityIds": [
1,
2,
3
]
},
"matchingRate": 95
}
}
{
"success": false,
"errorObjects": [
{
"error": "Invalid System column provided."
}
]
}
ICT audiences
An ICT audience is created as a group from one uploaded file. The group holds an input (primary) audience for every input audience subtype and data partner you choose, and an extension audience for every extension subtype and data partner you choose. The group has its own ID (groupId when it's created, parentId in the ICT audience group list), which isn't the ID of any audience in the group. The group is named after the audience name given at creation.
ICT audience group list
POSTGet a list of ICT audience groups, with the audiences of each group nested under it.
- Pagination and sorting apply to the groups, not to the audiences within a group.
- Filters apply to the audiences: a group is returned only if at least one of its audiences matches, and only the matching audiences are listed under it.
| Request schema | |
|---|---|
audienceIds array of integers | Audience IDs to filter by. |
audienceSubtypeIds array of integers | Audience subtype IDs to filter by. Only ICT subtypes are allowed. |
audienceStatusIds array of integers | Audience status IDs to filter by. |
dataPartnerIds array of integers | Data partner IDs to filter by. |
owIds array of integers | Organization Workspace IDs to filter by. |
searchFields array of strings | Search terms, matched against the audience ID and name and the group ID and name. |
pageNo integer | Page number of retrieved groups. Default: 1 |
noOfEntries integer | Number of groups returned per page. Default: 20 |
sortBy string | Comma-separated sort fields, prefixed with + for ascending or - for descending order (descending if not prefixed). parentId, parentName, and createdAt order the groups; audienceId orders the audiences within a group. Default: -parentId,+audienceId (newest group first) |
Response properties
filteredAudiences integer | Number of audiences, across all groups, matching the filters. | ||||||||||||||||||||||||||||||||||||||||||||||
filteredAudienceGroups integer | Number of groups with at least one audience matching the filters. | ||||||||||||||||||||||||||||||||||||||||||||||
totalAudienceGroups integer | Total number of groups, irrespective of the filters. | ||||||||||||||||||||||||||||||||||||||||||||||
audienceGroupList array of objects | Groups on the requested page. | ||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||
parentId integer | Group ID, the groupId returned when the group was created. It isn't the ID of any audience in the group. | |||||||||||||||||||||||||||||
parentName string | Group name. | |||||||||||||||||||||||||||||
audienceTypeId integer | Audience type ID. | |||||||||||||||||||||||||||||
createdAt integer | Unix epoch timestamp of group creation, in milliseconds. | |||||||||||||||||||||||||||||
audienceRematchEligible boolean | Whether the group's input audiences are eligible for rematch. | |||||||||||||||||||||||||||||
lastRematchStatusId integer | Status ID of the group's last rematch. Absent if never rematched. | |||||||||||||||||||||||||||||
audienceList array of objects | Audiences of the group matching the filters. | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
audienceId integer | Audience ID. |
audienceName string | Audience name. |
hierarchyType string | Whether the audience is an input audience created from the uploaded file (input) or an extension audience (extension). |
audienceSubtypeId integer | Audience subtype ID. |
audienceStatusId integer | Audience status ID. |
dataPartnerId integer | Data partner ID. |
reach integer | Count of unique audiences reached. |
matchRate number | Percentage of matched records. |
fileTotalCount integer | Number of rows in uploaded file. |
s3FileName string | S3 file name. |
cpm number | Cost per thousand impressions. |
iqmIdTargeted boolean | Whether the audience is targeted by IQM ID. |
includedCampaignList array of integers | IDs of campaigns that include the audience. |
excludedCampaignList array of integers | IDs of campaigns that exclude the audience. |
{
"audienceStatusIds": [3],
"audienceSubtypeIds": [3, 4],
"dataPartnerIds": [7],
"pageNo": 1,
"noOfEntries": 20,
"sortBy": "-createdAt,+audienceId",
"searchFields": ["test audience"]
}
{
"success": true,
"data": {
"filteredAudiences": 2,
"totalAudienceGroups": 3,
"filteredAudienceGroups": 1,
"audienceGroupList": [
{
"parentId": 10452,
"parentName": "Test audience",
"audienceTypeId": 11,
"createdAt": 1787736839840,
"audienceRematchEligible": true,
"lastRematchStatusId": 1,
"audienceList": [
{
"audienceId": 1179597,
"audienceName": "Test audience_HCP_Healthlink",
"hierarchyType": "input",
"audienceSubtypeId": 3,
"audienceStatusId": 3,
"cpm": 10.0,
"iqmIdTargeted": true,
"reach": 632,
"includedCampaignList": [604127],
"excludedCampaignList": [],
"matchRate": 99.22,
"fileTotalCount": 637,
"s3FileName": "1787736856229_Sample_File_NY_HL_1.csv",
"dataPartnerId": 7
},
{
"audienceId": 1179598,
"audienceName": "Test audience_Ext_NP/PA_Healthlink",
"hierarchyType": "extension",
"audienceSubtypeId": 4,
"audienceStatusId": 3,
"cpm": 10.0,
"iqmIdTargeted": true,
"reach": 215,
"includedCampaignList": [],
"excludedCampaignList": [],
"dataPartnerId": 7
}
]
}
]
}
}
Get ICT audience group details
GETGet the details of an ICT audience group: its column mappings and all audiences of the group, input and extension.
| Path parameter | |
|---|---|
groupId integer | Group ID, from Create ICT audience (groupId) or the ICT audience group list (parentId). |
Response properties
parentId integer | Group ID. | |||||||||||||||||||||||
parentName string | Group name. | |||||||||||||||||||||||
createdAt integer | Unix epoch timestamp of group creation, in milliseconds. | |||||||||||||||||||||||
columnMappings array of objects | List of column mappings. | |||||||||||||||||||||||
| ||||||||||||||||||||||||
columnId integer | Column ID. |
fileColumnName string | Column name from uploaded file. |
dataFormatId integer | Data format ID. |
audienceList array of objects
audienceList object properties
audienceId integer | Audience ID. |
audienceName string | Audience name. |
hierarchyType string | Whether the audience is an input audience created from the uploaded file (input) or an extension audience (extension). |
audienceStatusId integer | Audience status ID. |
audienceSubtypeId integer | Audience subtype ID. |
reach integer | Count of unique audiences reached. |
dataPartnerId integer | Data partner ID. |
fileRowCount integer | Number of rows in uploaded file. |
cpm number | Cost per thousand impressions. |
s3FileName string | S3 file name. Input audiences only. |
s3Url string | S3 file URL. Input audiences only, once the file upload is complete. |
{
"success": true,
"data": {
"parentId": 10452,
"parentName": "testnewAUD",
"createdAt": 1792739042490,
"columnMappings": [
{
"columnId": 3,
"fileColumnName": "phone",
"dataFormatId": 1
}
],
"audienceList": [
{
"audienceId": 1183458,
"audienceName": "testnewAUD_HCP_Healthlink",
"hierarchyType": "input",
"audienceStatusId": 3,
"audienceSubtypeId": 3,
"reach": 412,
"dataPartnerId": 7,
"fileRowCount": 5,
"cpm": 10.0,
"s3FileName": "1792739042580_ict_audience_example.csv",
"s3Url": "s3://iqm-healthcare-assets/AUDIENCE/UPLOAD/HCP/Client=205022/Audience=1183458/1792739042580_ict_audience_example.csv"
},
{
"audienceId": 1183459,
"audienceName": "testnewAUD_Ext_NP/PA_Healthlink",
"hierarchyType": "extension",
"audienceStatusId": 3,
"audienceSubtypeId": 4,
"reach": 128,
"dataPartnerId": 7,
"fileRowCount": 5,
"cpm": 10.0
}
]
}
}
Update ICT audience group name
PATCHRename an ICT audience group.
Only the group name changes; the names of the audiences in the group stay the same. Group names don't have to be unique.
| Path parameter | |
|---|---|
parentId integer | Group ID, from the ICT audience group list. |
| Request schema | |
|---|---|
parentName string required | New group name. |
{
"parentName": "My ICT Group"
}
{
"success": true,
"data": {
"message": "Changes saved successfully"
}
}
Rematch ICT audience group
PUTRematch every audience of an ICT audience group, input and extension. Healthcare workspaces only.
- A group is eligible only when every input audience, except Patient audiences, is Ready or Failed. Otherwise the request is rejected.
- A Failed audience goes back to Processing; a Ready audience stays Ready while it's rematched.
- The rematch runs in the background.
| Path parameter | |
|---|---|
groupId integer | Group ID, from Create ICT audience (groupId) or the ICT audience group list (parentId). |
Response properties
groupId integer | Group ID. |
audienceIds array of integers | IDs of the rematched audiences. |
message string | Status message. |
{
"success": true,
"data": {
"groupId": 10452,
"audienceIds": [1179597, 1179598],
"message": "Test audience rematched successfully via Re-Match"
}
}
ICT audience subtypes and extensions
GETGet list of ICT audience subtypes and their supported extension subtypes.
When you create an ICT audience, use id values from audienceSubtypes as the input audience subtypes, and IDs from their extensionAudiencesSubtypes as the extension audience subtypes.
| Audience subtype | Supported extension subtypes |
|---|---|
| HCP (3) | NP/PA (4), RN (5), Patient (6) |
| NP/PA (4) | RN (5), Patient (6) |
| Query parameters | |
|---|---|
audienceTypeIds array of integers | Audience type IDs. |
Response properties
audienceSubtypes array of objects | List of audience subtypes. | ||||||||||||||||||||||
| |||||||||||||||||||||||
id integer | Audience subtype ID. | |||||||||
name string | Audience subtype name. | |||||||||
order integer | Display order. | |||||||||
displayName string | Audience subtype display name. | |||||||||
extensionAudiencesSubtypes array of objects | List of supported extension audience subtypes. | |||||||||
| ||||||||||
id integer | Extension audience subtype ID. |
name string | Extension audience subtype name. |
order integer | Display order. |
displayName string | Extension audience subtype display name. |
{
"success": true,
"data": {
"audienceSubtypes": [
{
"id": 3,
"name": "hcp",
"order": 1,
"displayName": "HCP",
"extensionAudiencesSubtypes": [
{
"id": 4,
"name": "npi_nurse",
"order": 1,
"displayName": "NP/PA"
},
{
"id": 5,
"name": "non_npi_nurse",
"order": 2,
"displayName": "RN"
},
{
"id": 6,
"name": "patient",
"order": 3,
"displayName": "Patient"
}
]
},
{
"id": 4,
"name": "npi_nurse",
"order": 2,
"displayName": "NP/PA",
"extensionAudiencesSubtypes": [
{
"id": 5,
"name": "non_npi_nurse",
"order": 1,
"displayName": "RN"
},
{
"id": 6,
"name": "patient",
"order": 2,
"displayName": "Patient"
}
]
}
]
}
}
Create ICT audience
POSTCreate an ICT audience group from an uploaded CSV or XLSX file. Send the request as multipart/form-data, with the audienceRequest JSON and the file.
- An input audience is created for every input audience subtype and data partner combination, and an extension audience for every extension audience subtype and data partner combination. One request can create up to 20 audiences.
- Audiences are named {audienceName}_{subtype}_{data partner} (input) and {audienceName}_Ext_{subtype}_{data partner} (extension), for example Sample xyz_Ext_RN_Audience Synergy.
- Each data partner must be active and supported for its subtype. Get the supported data partners from Data partners list with audienceTypeId 11 and the subtype's ID.
- Patient extension audiences are fulfilled by the IQM team and stay in Processing until they're ready.
| Request schema | |||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
audienceRequest object required | Audience request object. | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
audienceName string required | Audience name, up to 255 characters. Also the group name, and the start of each audience's name. | |||||||
inputAudience object required | Input audiences, created from the uploaded file. | |||||||
| ||||||||
audienceSubtypeIds array of integers required | Audience subtype IDs of the input audiences. |
dataPartnerIds array of integers required | Data partner IDs of the input audiences, each supported for every input subtype. |
extensionAudiences array of objects required
extensionAudiences object properties
audienceSubtypeId integer required | Extension audience subtype ID, supported for the input subtypes. Each subtype can be given only once. |
dataPartnerIds array of integers required | Data partner IDs of this extension subtype's audiences. |
columnMappings array of objects required
columnMappings object properties
columnId integer | Column ID. |
fileColumnName string | Column name from uploaded file. |
dataFormatId integer | Data format ID. Optional. |
fileRowCount integer required
fileColumnCount integer required
columnCombinationId integer required
file binary required
Response properties
groupId integer | ID of the new group, also its parentId in the ICT audience group list. |
audienceIds array of integers | IDs of the input audiences. |
extensionAudienceIds array of integers | IDs of the extension audiences. |
message string | Status message. |
{
"audienceRequest": {
"audienceName": "Sample xyz",
"inputAudience": {
"audienceSubtypeIds": [3],
"dataPartnerIds": [7, 8]
},
"extensionAudiences": [
{
"audienceSubtypeId": 4,
"dataPartnerIds": [7]
},
{
"audienceSubtypeId": 5,
"dataPartnerIds": [8, 13]
}
],
"columnMappings": [
{
"columnId": 18,
"fileColumnName": "npi-id",
"dataFormatId": null
},
{
"columnId": 2,
"fileColumnName": "email",
"dataFormatId": 1
}
],
"fileRowCount": 5,
"fileColumnCount": 10,
"columnCombinationId": 32
},
"file": "BINARY FILE"
}
{
"success": true,
"data": {
"groupId": 10453,
"audienceIds": [1183460, 1183461],
"extensionAudienceIds": [1183462, 1183463, 1183464],
"message": "Sample xyz: 2 input audiences and 3 extended audiences created successfully"
}
}
Geofarmed audiences
Geofarmed audience details
GETGet Geofarmed audience details by ID.
| Path parameter | |
|---|---|
audienceId string | Geofarmed audience ID. |
Response properties
audienceId integer | Audience ID. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
audienceName string | Audience name. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
audienceStatusId integer | Audience status ID. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
createdAt integer | Creation timestamp (epoch seconds). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reach integer | Audience reach. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cpm number | Cost per thousand impressions. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
audienceSubtypeId integer | Audience subtype ID. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dataPartnerId integer | Data partner ID. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dataPartnerMetrics array of objects | Data partner metrics. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id integer | Data partner ID. |
reach integer | Reach for this data partner. |
frequency integer
frequencyTypeId integer
startDate integer
endDate integer
timezoneId integer
timeRange object
locations object
locations object properties
country integer | Country ID. | |||||||||||||||||||||||||||||||||||||||||||||
includedobject | Included locations object. | |||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||
zipCodesarray of strings | Zip codes. | ||||||||||||||||||||||||||||||||||||
customAreasarray of objects | Custom areas. | ||||||||||||||||||||||||||||||||||||
locationIds array of integers | Location IDs. | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
latitude integer | Latitude. | |||||
longitudeinteger | Longitude. | |||||
radiusinteger | Radius (miles). | |||||
addressstring | Addresses to add to custom area. | |||||
locationIdinteger | Location ID. | |||||
polypathobject | A set of coordinates defining the boundary of the custom area. | |||||
| ||||||
lat integer | Latitude. |
lnginteger | Longitude. |
isIncludedboolean
cidstring
sidstring
typestring
unitstring
cdIdinteger
sdIdinteger
hdIdinteger
excludedobject
excluded object properties
zipCodesarray of strings | Zip codes. | ||||||||||||||||||||||||||||||||||||
customAreasarray of objects | Custom areas. | ||||||||||||||||||||||||||||||||||||
locationIds array of integers | Location IDs. | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
latitude integer | Latitude. | |||||
longitudeinteger | Longitude. | |||||
radiusinteger | Radius (miles). | |||||
addressstring | Address. | |||||
locationIdinteger | Location ID. | |||||
polypathobject | A set of coordinates defining the boundary of the custom area. | |||||
| ||||||
lat integer | Latitude. |
lnginteger | Longitude. |
isIncludedboolean
cidstring
sidstring
typestring
unitstring
cdIdinteger
sdIdinteger
hdIdinteger
locationFileIdsarray of integers
bulkLocationDetails object
bulkLocationDetails object properties
fileName string | File name. | |||||||||||||||||||||||
fileType string | File type. | |||||||||||||||||||||||
validLocations array of objects | Valid locations. | |||||||||||||||||||||||
| ||||||||||||||||||||||||
latitude number | Latitude. |
longitude number | Longitude. |
radius number | Radius. |
address string | Address. |
locationId integer | Location ID. |
cid string | Country abbreviation, e.g. US. |
sid string | State abbreviation, e.g. NY. |
cdId integer | Congressional district ID. |
sdId integer | Senate district ID. |
hdId integer | House district ID. |
isIncluded boolean | Is included flag. |
invalidLocations null
locationRejectionReasons null
campaignId null
id integer
rowCount null
invalidLocationsCount null
duplicateLocationsCount null
- JSON
{
"success": true,
"data": {
"audienceId": 1141873,
"audienceName": "my geo check 3",
"audienceStatusId": 1,
"createdAt": 1754997589,
"reach": 14300,
"cpm": 10,
"audienceSubtypeId": 3,
"dataPartnerId": 7,
"dataPartnerMetrics": [
{
"id": 7,
"reach": 14300
},
{
"id": 10,
"reach": 14142
},
{
"id": 8,
"reach": 4989
}
],
"frequency": 1,
"frequencyTypeId": 1,
"startDate": 1752465600,
"endDate": 1752552000,
"timezoneId": 29,
"timeRange": null,
"locations": {
"included": {
"zipCodes": [
"03060"
],
"customAreas": [
{
"latitude": 36.03264396648448,
"longitude": -119.88024262579326,
"radius": 0.5,
"address": "24M9+3W Kettleman City, CA, USA",
"locationId": 0,
"cid": "US",
"sid": "CA",
"type": "circle",
"unit": "mile",
"cdId": 0,
"sdId": 0,
"hdId": 0,
"isIncluded": true
},
{
"latitude": 36.030047897646504,
"longitude": -119.85904244573955,
"radius": 0.5,
"address": "24JR+29 Kettleman City, CA, USA",
"locationId": 0,
"cid": "US",
"sid": "CA",
"type": "circle",
"unit": "mile",
"cdId": 0,
"sdId": 0,
"hdId": 0,
"isIncluded": true
},
{
"latitude": 36.03107268797965,
"longitude": -79.36266450079326,
"radius": 31.99,
"address": "Graham, NC 27253, USA",
"locationId": 0,
"polypath": [
{
"lat": 36.38721903107804,
"lng": -79.62633637579326
},
{
"lat": 35.53354668242086,
"lng": -79.97789887579326
},
{
"lat": 35.67646553441582,
"lng": -78.83532075079326
},
{
"lat": 36.52859869353844,
"lng": -78.74743012579326
}
],
"cid": "US",
"sid": "NC",
"type": "custom",
"unit": "mile",
"cdId": 0,
"sdId": 0,
"hdId": 0,
"isIncluded": true
},
{
"latitude": 34.4534306784404,
"longitude": -80.72496918829326,
"radius": 20.21,
"address": "Camden, SC 29020, USA",
"locationId": 0,
"polypath": [
{
"lat": 34.59837718611232,
"lng": -80.41735200079326
},
{
"lat": 34.59837718611232,
"lng": -81.03258637579326
},
{
"lat": 34.30848417076847,
"lng": -81.03258637579326
},
{
"lat": 34.30848417076847,
"lng": -80.41735200079326
}
],
"cid": "US",
"sid": "SC",
"type": "square",
"unit": "mile",
"cdId": 0,
"sdId": 0,
"hdId": 0,
"isIncluded": true
}
],
"locationIds": [
1252824,
1252825
]
},
"excluded": {
"zipCodes": [],
"customAreas": [],
"locationIds": []
},
"locationFileIds": [
17063
],
"country": 30100001
},
"bulkLocationDetails": {
"17063": {
"fileName": "bulk-location-example.csv",
"fileType": "location",
"validLocations": [
{
"latitude": 40.7128,
"longitude": -74.006,
"radius": 0.5,
"address": "230 Broadway, New York, NY 10007, USA",
"locationId": 1252824,
"cid": "US",
"sid": "NY",
"cdId": 0,
"sdId": 0,
"hdId": 0,
"isIncluded": true
},
{
"latitude": 36.7783,
"longitude": -119.4179,
"radius": 1,
"address": "2630 Croydon Drive, Sanger, CA 93657, USA",
"locationId": 1252825,
"cid": "US",
"sid": "CA",
"cdId": 0,
"sdId": 0,
"hdId": 0,
"isIncluded": true
}
],
"invalidLocations": null,
"locationRejectionReasons": null,
"campaignId": null,
"id": 17063,
"rowCount": null,
"invalidLocationsCount": null,
"duplicateLocationsCount": null
}
}
}
}
Create Geofarmed audience
POSTCreate a Geofarmed audience.
| Request schema | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
audienceName string | Audience name. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
frequency integer | The frequency of visit to the geographical location (1-10), based on frequencyTypeId. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
frequencyTypeId integer | Frequency type ID. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
timezoneId integer | Timezone ID. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
startDate integer | Unix epoch start date, in milliseconds. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
endDate integer | Unix epoch end date, in milliseconds. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
timeRange object | Name-value pairs of day of the week (e.g. Monday: 1, Tuesday: 2, etc.) and an object containing a time range (see example below this table). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
timeRangeWithTimezone object | Alternative time range configuration with timezone support. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
audienceSubtypeIds array of integers | Audience subtype IDs. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
removedLocationsIds array of integers | Removed location IDs, as specified in the uploaded location file. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
locations object | Locations object. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
country integer | Country ID. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
includedobject | Included locations object. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
zipCodesarray of strings | Zip codes. | ||||||||||||||||||||||||||||||||||||||||||||
customAreasarray of objects | Custom areas. | ||||||||||||||||||||||||||||||||||||||||||||
locationIds array of integers | Location IDs. | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
latitude integer | Latitude. | |||||
longitudeinteger | Longitude. | |||||
radiusinteger | Radius. | |||||
addressstring | Address. | |||||
stateShortNamestring | State short name. | |||||
countryShortNamestring | Country short name. | |||||
locationIdinteger | Location ID. | |||||
rejectionReasonstring | Rejection reason (if applicable). | |||||
polypathobject | A set of coordinates defining the boundary of the custom area. | |||||
| ||||||
lat integer | Latitude. |
lnginteger | Longitude. |
placemarkNamestring
cidstring
sidstring
typestring
unitstring
cdIdinteger
sdIdinteger
hdIdinteger
isIncludedboolean
excludedobject
excluded object properties
zipCodesarray of strings | Zip codes. | ||||||||||||||||||||||||||||||||||||||||||||
customAreasarray of objects | Custom areas. | ||||||||||||||||||||||||||||||||||||||||||||
locationIds array of integers | Location IDs. | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
latitude integer | Latitude. | |||||
longitudeinteger | Longitude. | |||||
radiusinteger | Radius. | |||||
addressstring | Address. | |||||
stateShortNamestring | State short name. | |||||
countryShortNamestring | Country short name. | |||||
locationIdinteger | Location ID. | |||||
rejectionReasonstring | Rejection reason (if applicable). | |||||
polypathobject | A set of coordinates defining the boundary of the custom area. | |||||
| ||||||
lat integer | Latitude. |
lnginteger | Longitude. |
placemarkNamestring
cidstring
sidstring
typestring
unitstring
cdIdinteger
sdIdinteger
hdIdinteger
isIncludedboolean
locationFileIdsarray of integers
timeRange example
"timeRange": {
"0": [
[
"19:00:00",
"22:00:00"
]
],
"1": [
[
"09:00:00",
"12:00:00"
],
[
"15:00:00",
"18:00:00"
]
],
"2": [
[
"04:00:00",
"11:00:00"
]
],
"4": [
[
"06:00:00",
"12:00:00"
]
],
"6": [
[
"01:00:00",
"10:00:00"
]
]
},
Response properties
id integer | Audience ID. |
message string | Success message. |
- JSON
{
"audienceName": "Healthcare Professionals NYC",
"frequency": 5,
"frequencyTypeId": 2,
"startDate": 1697040000,
"endDate": 1699641600,
"timezoneId": 1,
"audienceSubtypeIds": [
3,
4
],
"timeRange": {
"0": [
[
"09:00:00",
"17:00:00"
]
],
"1": [
[
"10:00:00",
"18:00:00"
]
]
},
"locations": {
"country": 1,
"included": {
"zipCodes": [
"10001",
"10002",
"10003"
],
"customAreas": [
{
"type": "circle",
"latitude": 40.7128,
"longitude": -74.006,
"radius": 5,
"unit": "mile"
}
]
},
"locationFileIds": [
123
]
}
}
{
"success": true,
"data": {
"audienceIds": [
1142280
],
"message": "Test_aud audience created successfully"
}
}
Contextual audience
Contextual audience details
GETGet Contextual audience details by ID.
| Path parameter | |
|---|---|
audienceId integer | Audience ID. |
Response properties
audienceId integer | Audience ID. | ||||
audienceName string | Audience name. | ||||
audienceSubtypeId integer | Audience subtype ID. Returned only for Healthcare audiences created with audienceSubtypes. | ||||
audienceStatusId integer | Audience status ID. | ||||
cpm number | Data cost (CPM) charged if the audience is used in a campaign. Not returned when no data cost applies. | ||||
reach integer | Audience reach (unique users). 0 until the audience has data. | ||||
createdAt integer | Unix epoch creation date (milliseconds). | ||||
keywords array of strings | Keywords. Not returned when the audience has no keywords. | ||||
urls array of strings | URLs. Not returned when the audience has no URLs. | ||||
dataCollectionMethodId integer | Data collection method: static (1) or dynamic (2). | ||||
startDate integer | Unix epoch start date, in milliseconds (static data collection only). | ||||
endDate integer | Unix epoch end date, in milliseconds (static data collection only). | ||||
dataCollectionDays integer | Number of days in the rolling data collection timeframe (dynamic data collection only). | ||||
frequency integer | Number of times a user must visit a relevant site to be added to the audience. | ||||
dataPartnerId integer | Data partner ID. Returned only when a data partner is set for the audience. | ||||
dataPartnerMetrics array of objects | Reach per data partner. Returned only when data partner metrics are available. | ||||
| |||||
id integer | Data partner ID. |
reach integer | Reach for this data partner. |
- JSON
{
"success": true,
"data": {
"audienceId": 1183825,
"audienceName": "California Politics URLs",
"audienceStatusId": 3,
"cpm": 1.5,
"createdAt": 1793036335190,
"reach": 0,
"urls": [
"https://www.iqm.com"
],
"dataCollectionMethodId": 2,
"dataCollectionDays": 20,
"frequency": 5
}
}
Create Contextual audience
POSTCreate a Contextual audience.
Data collection period: the timeframe during which a user visits the publisher(s) relevant to one or more keywords or URLs added to the Contextual audience.
The start date of a Contextual audience must be within the last 180 days.
Contextual audiences support a static or dynamic data collection period of up to 90 days.
| Request schema | |
|---|---|
audienceName string required | Audience name, up to 255 characters. |
keywords array of strings | Keywords to generate a Contextual audience. Send an empty array ([]) if you only use URLs. |
urls array of strings | The publisher sites visited by a user. Each URL must include a scheme (https://). Send an empty array ([]) if you only use keywords. |
frequency integer required | The number of times a user visits the publisher(s) relevant to one or more keywords or URLs added to the Contextual audience, from 1 to 10. |
timezoneId integer required | Timezone ID that sets the data collection start time. |
dataCollectionMethodId integer required | static (1): data collection over a fixed set of dates. dynamic (2): data collection over a rolling timeframe, with data refreshes every 24 hours. |
startDate integer | Unix epoch start date, in milliseconds. Required if the data collection method is static. |
endDate integer | Unix epoch end date, in milliseconds. Required if the data collection method is static. |
dataCollectionDays integer | Number of days in the rolling data collection timeframe, up to 60. Required if the data collection method is dynamic. |
audienceSubtypes array of integers | List of audience subtype IDs to further define the Contextual audience. Healthcare workspaces only. One audience is created per subtype. |
Response properties
audienceIds array of integers | IDs of the created audiences (one per subtype when audienceSubtypes is sent). |
message string | Success message. |
- JSON
{
"audienceName": "Test_aud",
"frequency": 5,
"startDate": 1797310800000,
"endDate": 1800507599000,
"keywords": [
"Test"
],
"urls": [
"http://iqm.com"
],
"timezoneId": 29,
"dataCollectionMethodId": 1,
"audienceSubtypes": [
3,
4
]
}
{
"success": true,
"data": {
"audienceIds": [
1183880,
1183881
],
"message": "Test_aud audience created successfully"
}
}
Campaign audiences
Campaign audience details
GETGet Campaign audience details by ID.
| Path parameter | |
|---|---|
audienceId integer | Campaign audience ID. |
Response properties
audienceId integer | Audience ID. | |||||||
audienceName string | Audience name. | |||||||
audienceStatusId integer | Audience status ID. | |||||||
cpm number | Cost per thousand impressions. | |||||||
uniques integer | Count of unique audiences reached. | |||||||
createdAt integer | Unix epoch creation date (milliseconds). | |||||||
campaignDetails object | Campaign details. | |||||||
| ||||||||
impressions array of integers | Impressions array. |
clicksarray of integers | Clicks array. |
conversionsarray of integers | Conversions array. |
startDate integer
endDate integer
- JSON
{
"success": true,
"data": {
"audienceId": 119431,
"audienceName": "asdf",
"audienceStatusId": 1,
"cpm": 2.5,
"uniques": 56590,
"createdAt": 1740876000000,
"campaignDetails": {
"clicks": [],
"conversions": [],
"impressions": [
56590
]
},
"startDate": 1740816000000,
"endDate": 1753167600000
}
}
Create Campaign audience
POSTCreate a Campaign audience.
| Request schema | ||||||||
|---|---|---|---|---|---|---|---|---|
audienceName string | Audience name. | |||||||
startDate integer | Unix epoch start date, in milliseconds. | |||||||
endDate integer | Unix epoch end date, in milliseconds. | |||||||
campaignDetails object | Campaign details. | |||||||
| ||||||||
impressions array of integers | Impressions. |
clicksarray of integers | Clicks. |
conversionsarray of integers | Conversions. |
dataPartnerId integer
audienceSubtypeId integer
Response properties
audienceId integer | Audience ID. |
message string | Success message. |
- JSON
{
"audienceName": "Sample audience name",
"startDate": 1638316800000,
"endDate": 1640085173000,
"campaignDetails": {
"impressions": [
1,
2
],
"clicks": [
3
],
"conversions": [
4
]
},
"dataPartnerId": 2,
"audienceSubtypeId": 4
}
{
"success": true,
"data": {
"audienceId": 1140606,
"message": "Test campaign audience audience created successfully"
}
}
Get Campaign audience history
POSTGet the audience history details for specified campaigns.
| Request schema | |
|---|---|
campaignId array of integers | Campaign IDs. |
subTypeIds array of integers | Audience subtype IDs. |
historicalData boolean | Fetches historical data (true) or current data (false). |
typeIds array of integers | Audience type IDs. |
noOfEntries integer | Number of entries per page. |
pageNo integer | Page number of retrieved data. |
Response properties
totalRecords integer | Total records count. | |||||||||||
filteredRecords integer | Filtered records count. | |||||||||||
audienceDetails array of objects | Audience details array. | |||||||||||
| ||||||||||||
id integer | Audience ID. |
campaignIds array of integers | Campaign IDs. |
name string | Audience name. |
audienceSubTypeId integer | Audience subtype ID (may be null). |
typeId integer | Audience type ID. |
{
"campaignId": [
540050
],
"subTypeIds": [],
"historicalData": false,
"typeIds": [],
"noOfEntries": 2,
"pageNo": 1
}
{
"success": true,
"data": {
"totalRecords": 12,
"filteredRecords": 12,
"audienceDetails": [
{
"id": 1023234,
"campaignIds": [
540050
],
"name": "MA-1 voter id",
"audienceSubTypeId": null,
"typeId": 1
},
{
"id": 1054138,
"campaignIds": [
540050
],
"name": "MA With 90 K Records And 8 Columns NYSD 3 Digital Universe Csv",
"audienceSubTypeId": null,
"typeId": 1
}
]
}
}