The Audience API helps LiveIntent partners to programmatically exchange data for creating and managing audiences. The API enables a high level of automation, which helps LiveIntent partners increase efficiency, reduce labor requirements, and improve audience delivery time. As a LiveIntent partner, you can leverage the Audience API to create and manage Custom Audience. This API supports the HTTP GET, POST, and PATCH methods. The following sections describe how to call the endpoints.
List audiences for the specified account, or all audiences if no accountId is provided.
| page | integer <int32> the page number |
| pageSize | integer <int32> the page size |
| updatedAfter | integer <int64> filter for audiences updated after the provided timestamp (in milliseconds since epoch) |
{- "pageSize": 0,
- "page": 0,
- "pages": 0,
- "entries": [
- {
- "accountId": 0,
- "dataProviderId": 0,
- "id": 0,
- "status": "Active",
- "createdAt": "2019-08-24T14:15:22Z",
- "metadata": {
- "property1": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}, - "property2": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}
}, - "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0
}Create a new audience.
| dataProviderId required | integer <int32> |
| name required | string |
| accountId required | integer <int64> |
| metadata | object Default: {} If not set, this field defaults to the value of the default annotation. |
{- "dataProviderId": 0,
- "name": "string",
- "accountId": 0,
- "metadata": { }
}{- "accountId": 0,
- "dataProviderId": 0,
- "id": 0,
- "status": "Active",
- "createdAt": "2019-08-24T14:15:22Z",
- "metadata": {
- "property1": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}, - "property2": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}
}, - "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}Get the specified audience.
| audienceId required | integer <int64> |
{- "accountId": 0,
- "dataProviderId": 0,
- "id": 0,
- "status": "Active",
- "createdAt": "2019-08-24T14:15:22Z",
- "metadata": {
- "property1": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}, - "property2": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}
}, - "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}Update the specified audience.
| audienceId required | integer <int64> |
| name | string or null |
null or StatusUpdateDTO (string) |
{- "name": "string",
- "status": { }
}{- "accountId": 0,
- "dataProviderId": 0,
- "id": 0,
- "status": "Active",
- "createdAt": "2019-08-24T14:15:22Z",
- "metadata": {
- "property1": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}, - "property2": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}
}, - "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}Create signed URLs for uploading audience data to the specified audience.
| audienceId required | integer <int64> |
| uploadName | string or null |
| notificationEmail | string or null |
| identifierType required | string |
| action required | string |
{- "uploadName": "string",
- "notificationEmail": "string",
- "identifierType": "string",
- "action": "string"
}{- "signedUrl": "string"
}List uploads for the specified audience.
| audienceId required | integer <int64> |
| page | integer <int32> the page number |
| pageSize | integer <int32> the page size |
{- "pageSize": 0,
- "page": 0,
- "pages": 0,
- "entries": [
- {
- "accountId": 0,
- "dataProviderId": 0,
- "id": 0,
- "status": "Active",
- "createdAt": "2019-08-24T14:15:22Z",
- "metadata": {
- "property1": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}, - "property2": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}
}, - "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0
}Create a new event tracker audience.
required | object (AttributionWindow) |
required | object or object or object or object or object or object (Json) |
| name required | string |
| appIds required | Array of strings non-empty |
| pixelId required | string |
| accountId required | integer <int64> |
| audienceTtl required | integer <int32> |
| conversionId required | integer <int64> |
{- "attributionWindow": {
- "pcc": 0,
- "pvc": 0
}, - "body": {
- "Str": {
- "value": "string"
}
}, - "name": "string",
- "appIds": [
- "string"
], - "pixelId": "string",
- "accountId": 0,
- "audienceTtl": 0,
- "conversionId": 0
}{- "ruleId": 0,
- "audience": {
- "deletesAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalAudienceId": "string",
- "iabCategory": "string",
- "archivesAt": "2019-08-24T14:15:22Z",
- "accountId": 0,
- "dataProviderId": 0,
- "id": 0,
- "status": "Active",
- "createdAt": "2019-08-24T14:15:22Z",
- "metadata": {
- "property1": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}, - "property2": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}
}, - "dataProviderPrefix": "string",
- "additionalAttributes": { },
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "internal": true,
- "replacementId": 0,
- "archived": true
}
}Search for audiences matching the provided criteria, with optional account scoping.
| accountId | integer <int64> the account id |
| page | integer <int32> Default: 1 If not set, this field defaults to the value of the default annotation. |
| pageSize | integer <int32> Default: 30 If not set, this field defaults to the value of the default annotation. |
null or (AudienceFilter (AudienceFilter (object) or AudienceFilter (object) or AudienceFilter (object) or AudienceFilter (object) or AudienceFilter (object) or AudienceFilter (object) or AudienceFilter (object) or AudienceFilter (object))) If not set, this field defaults to the value of the default annotation. | |
| includeInternal | boolean Default: false If not set, this field defaults to the value of the default annotation. |
{- "page": 1,
- "pageSize": 30,
- "matches": { },
- "includeInternal": false
}{- "pageSize": 0,
- "page": 0,
- "pages": 0,
- "entries": [
- {
- "accountId": 0,
- "dataProviderId": 0,
- "id": 0,
- "status": "Active",
- "createdAt": "2019-08-24T14:15:22Z",
- "metadata": {
- "property1": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}, - "property2": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}
}, - "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0
}Update conversion trackers and rule for audiences.
| name | string or null |
| accountId required | integer <int64> |
| pvc | integer or null <int64> |
| audienceId required | integer <int64> |
| ruleId required | integer <int32> |
| pcc | integer or null <int64> |
{- "name": "string",
- "accountId": 0,
- "pvc": 0,
- "audienceId": 0,
- "ruleId": 0,
- "pcc": 0
}nullCreate a new URL tracker audience.
required | object (AttributionWindow) |
required | object or object or object or object or object or object (Json) |
| name required | string |
| appIds required | Array of strings non-empty |
| pixelId required | string |
| accountId required | integer <int64> |
| audienceTtl required | integer <int32> |
| conversionId required | integer <int64> |
{- "attributionWindow": {
- "pcc": 0,
- "pvc": 0
}, - "body": {
- "Str": {
- "value": "string"
}
}, - "name": "string",
- "appIds": [
- "string"
], - "pixelId": "string",
- "accountId": 0,
- "audienceTtl": 0,
- "conversionId": 0
}{- "ruleId": 0,
- "audience": {
- "deletesAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalAudienceId": "string",
- "iabCategory": "string",
- "archivesAt": "2019-08-24T14:15:22Z",
- "accountId": 0,
- "dataProviderId": 0,
- "id": 0,
- "status": "Active",
- "createdAt": "2019-08-24T14:15:22Z",
- "metadata": {
- "property1": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}, - "property2": {
- "data": {
- "Str": {
- "value": "string"
}
}, - "updatedAt": "2019-08-24T14:15:22Z"
}
}, - "dataProviderPrefix": "string",
- "additionalAttributes": { },
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "internal": true,
- "replacementId": 0,
- "archived": true
}
}