Contextual Targeting Entities
Operations related to Contextual Targeting Entities that represent named entities extracted from web content for contextual targeting. Enables audience segmentation based on semantic information extracted from visited pages, used in conjunction with targeting lists to match contextual elements and build context-based segments without relying on personal identifiers.
List existing contextual targeting IAB categories
IAB Categories are linked to a channel that are linked to a datamart. You can look for all the IAB categories of any datamart within the community.
Word contained in the IAB category name
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/communities/{community_id}/contextual/categories HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"total": 1,
"max_results": 1,
"count": 1,
"first_result": 1,
"data": [
{
"id": "text",
"name": "text",
"url_count": 0,
"last_30_days_page_views": 0
}
]
}Find panel contextual targeting lists for a segment
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments/{segment_id}/contextual_targetings HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"id": "text",
"last_modified_by": "text",
"created_by": "text",
"url_count": 0,
"organisation_id": "text",
"last_30_days_page_views": 0,
"short_description": "text",
"name": "text",
"live_activation_ts": 0,
"last_modified_ts": 0,
"token": "text",
"last_lift_computation_ts": 0,
"status": "INIT",
"volume_ratio": 0,
"created_ts": 0,
"archived": false,
"segment_id": "text"
}
],
"count": 1,
"max_results": 1,
"first_result": 1,
"total": 1,
"status": "ok"
}0000000falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/contextual_targetings HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 71
{
"status": "INIT",
"volume_ratio": 0,
"archived": false,
"segment_id": "text"
}{
"status": "ok",
"data": {
"id": "text",
"last_modified_by": "text",
"created_by": "text",
"url_count": 0,
"organisation_id": "text",
"last_30_days_page_views": 0,
"short_description": "text",
"name": "text",
"live_activation_ts": 0,
"last_modified_ts": 0,
"token": "text",
"last_lift_computation_ts": 0,
"status": "INIT",
"volume_ratio": 0,
"created_ts": 0,
"archived": false,
"segment_id": "text"
}
}Get a specified contextual targeting list
The organisation id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/organisations/{organisation_id}/contextual/targeting_lists/{targeting_list_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"type": "PANEL_BASED",
"id": "text",
"last_modified_by": "text",
"created_by": "text",
"url_count": 0,
"organisation_id": "text",
"last_30_days_page_views": 0,
"short_description": "text",
"name": "text",
"live_activation_ts": 0,
"last_modified_ts": 0,
"token": "text",
"last_lift_computation_ts": 0,
"status": "INIT",
"volume_ratio": 0,
"created_ts": 0,
"archived": false,
"segment_id": "text"
}
}Update a semantic contextual targeting list
The organisation id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/organisations/{organisation_id}/contextual/targeting_lists/{targeting_list_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 92
{
"type": "PANEL_BASED",
"status": "INIT",
"volume_ratio": 0,
"archived": false,
"segment_id": "text"
}{
"status": "ok",
"data": {
"name": "text",
"short_description": "text",
"created_by": "text",
"live_activation_ts": 0,
"status": "INIT",
"created_ts": 0,
"last_modified_by": "text",
"id": "text",
"token": "text",
"url_count": 0,
"last_30_days_page_views": 0,
"organisation_id": "text",
"archived": false,
"query_id": "text",
"tag_events": false,
"last_modified_ts": 0
}
}Get a contextual targeting category
IAB Categories are linked to a channel that are linked to a datamart. You can look for all the entities of any datamart within the community.
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/communities/{community_id}/contextual/categories/{category_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"id": "text",
"name": "text",
"url_count": 0,
"last_30_days_page_views": 0
}
}The organisation id
The type of the contextual targeting
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Fields used to order the result
Can be used to search elements
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/organisations/{organisation_id}/contextual/targeting_lists HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"count": 1,
"data": [
{
"id": "text",
"last_modified_by": "text",
"created_by": "text",
"url_count": 0,
"organisation_id": "text",
"last_30_days_page_views": 0,
"short_description": "text",
"name": "text",
"live_activation_ts": 0,
"last_modified_ts": 0,
"token": "text",
"last_lift_computation_ts": 0,
"status": "INIT",
"volume_ratio": 0,
"created_ts": 0,
"archived": false,
"segment_id": "text"
}
],
"status": "ok",
"max_results": 1,
"first_result": 1,
"total": 1
}The organisation id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/organisations/{organisation_id}/contextual/targeting_lists HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 92
{
"type": "PANEL_BASED",
"status": "INIT",
"volume_ratio": 0,
"archived": false,
"segment_id": "text"
}{
"status": "ok",
"data": {
"type": "PANEL_BASED",
"id": "text",
"last_modified_by": "text",
"created_by": "text",
"url_count": 0,
"organisation_id": "text",
"last_30_days_page_views": 0,
"short_description": "text",
"name": "text",
"live_activation_ts": 0,
"last_modified_ts": 0,
"token": "text",
"last_lift_computation_ts": 0,
"status": "INIT",
"volume_ratio": 0,
"created_ts": 0,
"archived": false,
"segment_id": "text"
}
}Get last contextual_targeting_signature.csv file
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments/{segment_id}/contextual_targetings/{contextual_targeting_id}/contextual_targeting_signature.csv HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
binaryapply an action on a panel contextual targeting list
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/contextual_targetings/{contextual_targeting_id}/actions HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"type": "PUBLISH",
"volume_ratio": 0
}{
"status": "ok",
"data": {
"id": "text",
"last_modified_by": "text",
"created_by": "text",
"url_count": 0,
"organisation_id": "text",
"last_30_days_page_views": 0,
"short_description": "text",
"name": "text",
"live_activation_ts": 0,
"last_modified_ts": 0,
"token": "text",
"last_lift_computation_ts": 0,
"status": "INIT",
"volume_ratio": 0,
"created_ts": 0,
"archived": false,
"segment_id": "text"
}
}Get a panel contextual targeting list
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments/{segment_id}/contextual_targetings/{contextual_targeting_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"id": "text",
"last_modified_by": "text",
"created_by": "text",
"url_count": 0,
"organisation_id": "text",
"last_30_days_page_views": 0,
"short_description": "text",
"name": "text",
"live_activation_ts": 0,
"last_modified_ts": 0,
"token": "text",
"last_lift_computation_ts": 0,
"status": "INIT",
"volume_ratio": 0,
"created_ts": 0,
"archived": false,
"segment_id": "text"
}
}Get last panel contextual targeting list lift_computation.csv file
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments/{segment_id}/contextual_targetings/{contextual_targeting_id}/lift_computation.csv HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
binaryLast updated
Was this helpful?