List Targeting V2

Use this API to fetch list of all contextual targets & behavioral audiences available for targeting.

Body Params
int64
required

ID of the advertiser.

string

Appropriate string of text to get details of specific targets or audiences.

int32

You can use this parameter to fetch specific number of targets or audiences from the available list.
This indicates the starting position of the list.

Note: To return the first ten contextual or behavioral targeting entries set startIndex to 0 and count to 10.

int32

You can use this parameter in combination with startIndex to fetch specific number of targets or audiences from the available list.
The maximum value of count is 100 and the minimum value is 1. The default value is 100.

Note: To return the first ten contextual or behavioral targeting entries set startIndex to 0 and count to 10.

Filter[id]
array of int64s

Returns details of specific targets or audiences based on the given ID.

Filter[id]
string
enum
required

List of available targets of the specific tactic.

Allowed:
string
enum

Returns response for specific audience type.

Conditional:

  • When Filter[tactic] is CONTEXTUAL audienceType is not required.
  • When Filter[tactic] is BEHAVIORAL audienceType is optional only if Filter[id] or searchText is provided; otherwise, Filter[audienceType] is required.

Note: Only applicable for audience targeting.

Allowed:
string
enum

Returns response for a specific audience attribute.

Conditional:

  • When Filter[tactic] is CONTEXTUAL Filter[attribute] is not required.
  • When Filter[tactic] is BEHAVIORAL and if audienceType is CUSTOM Filter[attribute] is not required.
  • When Filter[tactic] is BEHAVIORAL and when Filter[attribute] is optional only if Filter[id] or searchText is provided; otherwise, Filter[attribute] is required.

Note: Only applicable for audience targeting.

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