Audience Size Estimate

This API provides audience size estimates for a given audience definition.
It supports both custom audience definitions and existing audiences identified by an audienceId. Audience size estimates are returned only for Rule-based and Advanced audiences.

Body Params
int64
required

ID of the advertiser.

int64

ID of the audience.

string
enum

Type of the audience.

Allowed:
string
enum

Type of custom audience.

Allowed:
date

Date to retrieve audience size estimates for.
By default, the current date (in ET) is used.
A custom date can only be specified when requesting a size estimate for a specific audienceId.

audienceDefinition
object

JSON object to define various criteria for the custom audience.
Must include this object when editing any nested objects.

Headers
string
required

Auth signature as an API key.

string
required

We will provide you the consumer ID to access the API. It is same for all advertisers you access through the API.

integer
required

We will provide you with the KEY VERSION to access the API.
It is same for all advertisers you access through the API. The allowed value is 1.

integer
required

Timestamp for which the auth signature is generated. Use Unix epoch format.

string
required

This is bearer token.
The token will provide you the access to the API. It is same for all advertisers you access through the API.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json