API documentation
Retrieve all targeting lists
GET
https://api.mediarithmics.com/v1/organisations/:organisationId/contextual/targeting_lists
Path Parameters
Name | Type | Description |
---|---|---|
organisationId* | integer | The ID of the organisation for which you want to retrieve the targeting lists |
Retrieve targeting list basic information
GET
https://api.mediarithmics.com/v1/organisations/:organisationId/contextual/targeting_lists/:targetingListId
Path Parameters
Name | Type | Description |
---|---|---|
organisationId* | integer | The ID of the organisation |
targetingListId* | Integer | The ID of the targeting list to retrieve |
Retrieve semantic targeting list query
GET
https://api.mediarithmics.com/v1/organisations/:organisationId/contextual/queries/:queryId
Path Parameters
Name | Type | Description |
---|---|---|
organisationId* | integer | The ID of the organisation |
queryId* | Integer | The ID of the query retrieved in a seamntic targeting list |
Retrieve IAB category information
GET
https://api.mediarithmics.com/v1/communities/:communityId/contextual/categories/:categoryId
Path Parameters
Name | Type | Description |
---|---|---|
communityId* | integer | The ID of the community |
categoryId* | Integer | The ID of the category to be retrieved |
Retrieve entity information
GET
https://api.mediarithmics.com/v1/communities/:communityId/contextual/entities/:entityId
Path Parameters
Name | Type | Description |
---|---|---|
organisationId* | integer | The ID of the organisation |
entityId* | Integer | The ID of the entity to be retrieved |
Retrieve overal metrics for a particular query
POST
https://api.mediarithmics.com/v1/communities/:communityId/contextual/analytics/overall_metrics
Path Parameters
Name | Type | Description |
---|---|---|
organisationId* | integer | The ID of the organisation |
Retrieve panel based contextual targeting settings
GET
https://api.mediarithmics.com/v1/audience_segments/:segmentId/contextual_targetings
Path Parameters
Name | Type | Description |
---|---|---|
segmentId* | integer | The ID of the audience segment on which |
Publish a contextual targeting (LIVE)
POST
https://api.mediarithmics.com/v1/audience_segments/:segmentId/contextual_targetings/:contextualTargetingId/actions
Path Parameters
Name | Type | Description |
---|---|---|
segmentId* | integer | The ID of the audience segment on which |
contextualTargetingId* | Integer | The ID of the contextual targeting retrieved in creation response |
Request Body
Name | Type | Description |
---|---|---|
type* | string | "PUBLISH" |
volume_ratio* | float | % of audience segment reach (30-day page views) that will be used to calculate lift |
activation_platforms* | array of strings | List of activation platforms where to activate the contexutal targeting. For instance ["XANDR"] |
Archive a contextual targeting
POST
https://api.mediarithmics.com/v1/audience_segments/:segmentId/contextual_targetings/:contextualTargetingId/actions
Path Parameters
Name | Type | Description |
---|---|---|
segmentId* | integer | The ID of the audience segment on which |
contextualTargetingId* | Integer | The ID of the contextual targeting retrieved in creation response |
Request Body
Name | Type | Description |
---|---|---|
type* | string | "ARCHIVE" |
Last updated