API documentation
Retrieve targeting lists for a given URL
POST https://api.mediarithmics.com/v1/communities/:communityId/contextual/semantic_extraction
Path Parameters
communityId*
integer
The ID of your community or organisation
Request Body
url*
string
The URL for which you want to retrieve the list of attached targeting lists.
channel_id*
string
The ID of the channel associated with the URL.
{
"status": "ok",
"data": {
"targeting_lists": [
{
"id": "123"
},
{
"id": "456"
}
]
}
}Retrieve all targeting lists
GET https://api.mediarithmics.com/v1/organisations/:organisationId/contextual/targeting_lists
Path Parameters
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
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
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
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
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
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
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
segmentId*
integer
The ID of the audience segment on which
contextualTargetingId*
Integer
The ID of the contextual targeting retrieved in creation response
Request Body
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
segmentId*
integer
The ID of the audience segment on which
contextualTargetingId*
Integer
The ID of the contextual targeting retrieved in creation response
Request Body
type*
string
"ARCHIVE"
Last updated
Was this helpful?