Feeds
Operations related to Feeds (Audience Segment Feeds), the activation mechanism that synchronizes audience segments with external destinations (DSPs, Social Networks, CRMs) via plugin connectors, performing initial loading and continuous real-time updates as users enter or leave segments.
Relevant documentation:
Searches external feeds from a given audience segment
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments/{segment_id}/external_feeds HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"total": 1,
"data": [
{
"id": "text",
"organisation_id": "text",
"is_from_clean_room": false,
"destination_audience_deletion_ts": 0,
"created_ts": 0,
"selected_identifying_resources": [
{
"created_by": "text",
"last_modified_by": "text",
"plugin_id": "text",
"plugin_version_id": "text",
"id": "text",
"last_modified_ts": 0,
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"created_ts": 0,
"identity_graph_id": "text",
"compartment_id": "text"
}
],
"created_from": "SEGMENT",
"scenario_id": "text",
"audience_segment_id": "text",
"artifact_id": "text",
"created_by": "text",
"status": "INITIAL",
"reboot_period_in_days": 0,
"version_id": "text",
"group_id": "text",
"name": "text",
"plugin_preset_id": "text"
}
],
"count": 1,
"max_results": 1,
"first_result": 1,
"status": "ok"
}false000Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/external_feeds HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 322
{
"selected_identifying_resources": [
{
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"identity_graph_id": "text",
"compartment_id": "text"
}
],
"created_from": "SEGMENT",
"scenario_id": "text",
"artifact_id": "text",
"status": "INITIAL",
"reboot_period_in_days": 0,
"version_id": "text",
"group_id": "text",
"name": "text",
"plugin_preset_id": "text"
}{
"status": "ok",
"data": {
"id": "text",
"organisation_id": "text",
"is_from_clean_room": false,
"destination_audience_deletion_ts": 0,
"created_ts": 0,
"selected_identifying_resources": [
{
"created_by": "text",
"last_modified_by": "text",
"plugin_id": "text",
"plugin_version_id": "text",
"id": "text",
"last_modified_ts": 0,
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"created_ts": 0,
"identity_graph_id": "text",
"compartment_id": "text"
}
],
"created_from": "SEGMENT",
"scenario_id": "text",
"audience_segment_id": "text",
"artifact_id": "text",
"created_by": "text",
"status": "INITIAL",
"reboot_period_in_days": 0,
"version_id": "text",
"group_id": "text",
"name": "text",
"plugin_preset_id": "text"
}
}00Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments.external_feeds/aggregates HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 234
{
"organisation_id": "text",
"metric": "FEED_COUNT",
"first_result": 0,
"order_by": {
"sort_value": "PRIMARY_DIMENSION",
"sort_order": "ASCENDING"
},
"secondary_dimension": "PLUGIN_VERSION_ID",
"primary_dimension": "PLUGIN_VERSION_ID",
"max_results": 0
}{
"status": "ok",
"data": {
"first_result": 0,
"secondary_dimension_metric_totals": [
{
"secondary_dimension_value": {
"value": "text",
"display_label": "text"
},
"metric_value_total": "text"
}
],
"total": 0,
"rows": [
{
"primary_dimension_value": {
"value": "text",
"display_label": "text"
},
"cells": [
{
"secondary_dimension_value": {
"value": "text",
"display_label": "text"
},
"metric_value": "text"
}
],
"metric_value_total": "text"
}
],
"count": 0
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/external_feed_plugin_versions/{plugin_version_id}/authentication HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"params": {}
}{
"status": "ok",
"data": {
"status": "ok"
}
}Deletes the audience this feed manages on the destination platform
The mediarithmics feed itself is not deleted. Requires a plugin version declaring destination audience deletion support, otherwise fails with DESTINATION_AUDIENCE_DELETION_NOT_SUPPORTED.
The feed id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/external_feeds/{feed_id}/destination_audience HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"status": "ok",
"message": "text",
"destination_audience_deletion_ts": 0
}
}Finds all the tag feeds for the specified audience segment
The segment to search into
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments/{segment_id}/tag_feeds HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"count": 1,
"data": [
{
"organisation_id": "text",
"status": "ACTIVE",
"audience_segment_id": "text",
"group_id": "text",
"created_from": "SEGMENT",
"scenario_id": "text",
"artifact_id": "text",
"plugin_preset_id": "text",
"id": "text",
"version_id": "text",
"name": "text"
}
],
"first_result": 1,
"status": "ok",
"total": 1,
"max_results": 1
}Creates a new tag feed for the specified audience segment
The segment to create the new tag feed into
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/tag_feeds HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 164
{
"status": "ACTIVE",
"group_id": "text",
"created_from": "SEGMENT",
"scenario_id": "text",
"artifact_id": "text",
"plugin_preset_id": "text",
"version_id": "text",
"name": "text"
}{
"status": "ok",
"data": {
"organisation_id": "text",
"status": "ACTIVE",
"audience_segment_id": "text",
"group_id": "text",
"created_from": "SEGMENT",
"scenario_id": "text",
"artifact_id": "text",
"plugin_preset_id": "text",
"id": "text",
"version_id": "text",
"name": "text"
}
}Search every external feed match the filters given as query string
Id of a given community
List of organisation Ids we want to query
List of audience segment Ids we want to query
Group Ids of the plugins we want to query
Artifact Ids of the plugin we want to query
Ids of the pluginVersions we want to query
scenario_id of the source scenarios of audience segment tag feeds
value used for result ordering
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/audience_segments.external_feeds HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"max_results": 1,
"first_result": 1,
"status": "ok",
"data": [
{
"id": "text",
"organisation_id": "text",
"is_from_clean_room": false,
"destination_audience_deletion_ts": 0,
"created_ts": 0,
"selected_identifying_resources": [
{
"created_by": "text",
"last_modified_by": "text",
"plugin_id": "text",
"plugin_version_id": "text",
"id": "text",
"last_modified_ts": 0,
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"created_ts": 0,
"identity_graph_id": "text",
"compartment_id": "text"
}
],
"created_from": "SEGMENT",
"scenario_id": "text",
"audience_segment_id": "text",
"artifact_id": "text",
"created_by": "text",
"status": "INITIAL",
"reboot_period_in_days": 0,
"version_id": "text",
"group_id": "text",
"name": "text",
"plugin_preset_id": "text"
}
],
"total": 1,
"count": 1
}00Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments.tag_feeds/aggregates HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 234
{
"organisation_id": "text",
"metric": "FEED_COUNT",
"first_result": 0,
"order_by": {
"sort_value": "PRIMARY_DIMENSION",
"sort_order": "ASCENDING"
},
"secondary_dimension": "PLUGIN_VERSION_ID",
"primary_dimension": "PLUGIN_VERSION_ID",
"max_results": 0
}{
"status": "ok",
"data": {
"first_result": 0,
"secondary_dimension_metric_totals": [
{
"secondary_dimension_value": {
"value": "text",
"display_label": "text"
},
"metric_value_total": "text"
}
],
"total": 0,
"rows": [
{
"primary_dimension_value": {
"value": "text",
"display_label": "text"
},
"cells": [
{
"secondary_dimension_value": {
"value": "text",
"display_label": "text"
},
"metric_value": "text"
}
],
"metric_value_total": "text"
}
],
"count": 0
}
}Get feed sessions linked to a specific external feed
Searches for feed sessions that are in an open state
Searches for feed sessions that are in a published state
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/audience_segments/{segment_id}/external_feeds/{feed_id}/feed_sessions HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"max_results": 1,
"first_result": 1,
"status": "ok",
"count": 1,
"data": [
{
"status": "INITIAL",
"job_execution_id": "text",
"last_live_ts": 0,
"type": "BROAD_TARGETING",
"initial_loading_date": 0,
"id": "text",
"external_feed_id": "text",
"last_batch_ts": 0,
"open_date": 0,
"live_date": 0,
"open": false,
"audience_segment_id": "text",
"sent_date": 0,
"datamart_id": "text"
}
],
"total": 1
}Get external feed initial loadings
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/audience_segments/{segment_id}/external_feeds/{feed_id}/initial_loadings HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"total": 1,
"first_result": 1,
"max_results": 1,
"status": "ok",
"count": 1,
"data": [
{
"organisation_id": "text",
"start_date": 0,
"job_type": "text",
"num_tasks": 0,
"community_id": "text",
"completed_tasks": 0,
"max_retry_count": 0,
"parameters": "text",
"result": "text",
"duration": 1,
"cancel_status": "REQUESTED",
"is_retryable": false,
"status": "PENDING",
"creation_date": 0,
"user_id": "text",
"id": "text",
"erroneous_tasks": 0,
"retry_count": 0,
"permalink_uri": "text",
"debug": "text",
"external_name": "text"
}
]
}Search every external feed with last feed session that matches the filters given as query string
Id of a given community
List of organisation Ids we want to query
List of audience segment Ids we want to query
Group Ids of the plugins we want to query
Artifact Ids of the plugin we want to query
Ids of the pluginVersions we want to query
Ids of the plugin presets we want to query
Ids of the destinations we want to query
scenario_id of the source scenarios of audience segment tag feeds
value used for result ordering
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Filter feeds by feed name, or by the name of the audience segment they are attached to when they were created from a segment (partial match, case insensitive)
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments.external_feeds_with_sessions HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"count": 1,
"total": 1,
"data": [
{
"external_feed": {
"id": "text",
"organisation_id": "text",
"is_from_clean_room": false,
"destination_audience_deletion_ts": 0,
"created_ts": 0,
"selected_identifying_resources": [
{
"created_by": "text",
"last_modified_by": "text",
"plugin_id": "text",
"plugin_version_id": "text",
"id": "text",
"last_modified_ts": 0,
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"created_ts": 0,
"identity_graph_id": "text",
"compartment_id": "text"
}
],
"created_from": "SEGMENT",
"scenario_id": "text",
"audience_segment_id": "text",
"artifact_id": "text",
"created_by": "text",
"status": "INITIAL",
"reboot_period_in_days": 0,
"version_id": "text",
"group_id": "text",
"name": "text",
"plugin_preset_id": "text"
},
"feed_session": {
"sent_date": 0,
"id": "text",
"external_feed_id": "text",
"live_date": 0,
"open": false,
"last_live_ts": 0,
"external_feed_version_value": "text",
"external_feed_version_id": "text",
"external_feed_group_id": "text",
"initial_loading_date": 0,
"audience_segment_id": "text",
"datamart_id": "text",
"job_execution_id": "text",
"status": "INITIAL",
"last_batch_ts": 0,
"open_date": 0,
"external_feed_artifact_id": "text"
}
}
],
"status": "ok",
"first_result": 1,
"max_results": 1
}performs an action on an external feed
falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/external_feeds/{external_feed_id}/action HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 446
{
"audience_segment_external_feed_action": "ACTIVATE_EXTERNAL_FEED",
"action": "ACTIVATE_EXTERNAL_FEED",
"args": {
"plugin_version": "text",
"plugin_preset": "text",
"property_resource_overrides": [
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
],
"selected_identifying_resource_overrides": [
{
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"identity_graph_id": "text",
"compartment_id": "text"
}
]
},
"force_action": false
}{
"status": "ok",
"data": {
"id": "text",
"organisation_id": "text",
"is_from_clean_room": false,
"destination_audience_deletion_ts": 0,
"created_ts": 0,
"selected_identifying_resources": [
{
"created_by": "text",
"last_modified_by": "text",
"plugin_id": "text",
"plugin_version_id": "text",
"id": "text",
"last_modified_ts": 0,
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"created_ts": 0,
"identity_graph_id": "text",
"compartment_id": "text"
}
],
"created_from": "SEGMENT",
"scenario_id": "text",
"audience_segment_id": "text",
"artifact_id": "text",
"created_by": "text",
"status": "INITIAL",
"reboot_period_in_days": 0,
"version_id": "text",
"group_id": "text",
"name": "text",
"plugin_preset_id": "text"
}
}Update a property of the specified tag feed
The segment of the tag feed you are interested in
The tag feed holding the properties you want to interact with
The name of the property to modify
The id of the plugin version you want to interact with
falsefalseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties/technical_name={technical_name} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}{
"status": "ok",
"data": {
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/reboot HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"status": "INITIAL",
"job_execution_id": "text",
"last_live_ts": 0,
"type": "BROAD_TARGETING",
"initial_loading_date": 0,
"id": "text",
"external_feed_id": "text",
"last_batch_ts": 0,
"open_date": 0,
"live_date": 0,
"open": false,
"audience_segment_id": "text",
"sent_date": 0,
"datamart_id": "text"
}
}Check if the user can properly authenticate on a feed provider
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/external_feed_plugin_versions/{plugin_version_id}/authentication_status_queries HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 133
{
"properties": [
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
],
"segment_id": "text"
}{
"status": "ok",
"data": {
"status": "authenticated",
"login_url": "text"
}
}Fetch to the plugin the available properties values. Input properties are the already known ones which give us context.
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/external_feed_plugin_versions/{plugin_version_id}/dynamic_property_values_queries HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 133
{
"properties": [
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
],
"segment_id": "text"
}{
"status": "ok",
"data": {
"status": "ok",
"message": "text",
"data": [
{
"property_technical_name": "text",
"enum": [
{
"value": "text",
"label": "text"
}
]
}
],
"count": 0
}
}Reads the properties for the specified tag feed
The tag feed holding the properties you want to interact with
The segment of the tag feed you are interested in
The id of the plugin version you want to interact with
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"max_results": 1,
"data": [
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
],
"total": 1,
"status": "ok",
"count": 1,
"first_result": 1
}Adds a property to the specified tag feed
The tag feed holding the properties you want to interact with
The segment of the tag feed you are interested in
falsefalseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}{
"status": "ok",
"data": {
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
}Update the properties of the specified tag feed
The tag feed holding the properties you want to interact with
The segment of the tag feed you are interested in
The id of the plugin version you want to interact with
falsefalseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}{
"status": "ok",
"data": [
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
],
"count": 1
}Update an external feed property
falsefalseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/properties/technical_name={technical_name} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}{
"status": "ok",
"data": {
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
}Finds an external feed's properties
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": [
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
],
"count": 1
}Adds an external feed property
falsefalseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}{
"status": "ok",
"data": {
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
}Update external feed properties
falsefalseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}{
"status": "ok",
"data": [
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
],
"count": 1
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/tag_feeds/{feed_id}/action HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 361
{
"action": "UPGRADE_PLUGIN_INSTANCE",
"args": {
"plugin_version": "text",
"plugin_preset": "text",
"property_resource_overrides": [
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
],
"selected_identifying_resource_overrides": [
{
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"identity_graph_id": "text",
"compartment_id": "text"
}
]
}
}{
"status": "ok",
"data": {
"organisation_id": "text",
"status": "ACTIVE",
"audience_segment_id": "text",
"group_id": "text",
"created_from": "SEGMENT",
"scenario_id": "text",
"artifact_id": "text",
"plugin_preset_id": "text",
"id": "text",
"version_id": "text",
"name": "text"
}
}Call /logout on feed
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/external_feed_plugin_versions/{plugin_version_id}/logout HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"status": "ok"
}
}Check if the feed is authenticated on the feed provider
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/authentication_status_queries HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 133
{
"properties": [
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
],
"segment_id": "text"
}{
"status": "ok",
"data": {
"status": "authenticated",
"login_url": "text"
}
}Reads the tag feed with the given id and in the specified segment
The segment to get the tag feed from
The tag feed you want to get
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments/{segment_id}/tag_feeds/{feed_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"organisation_id": "text",
"status": "ACTIVE",
"audience_segment_id": "text",
"group_id": "text",
"created_from": "SEGMENT",
"scenario_id": "text",
"artifact_id": "text",
"plugin_preset_id": "text",
"id": "text",
"version_id": "text",
"name": "text"
}
}Updates the tag feed with the given id and in the specified segment
The segment of the tag feed you are interested in
The tag feed you want to update
Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/audience_segments/{segment_id}/tag_feeds/{feed_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 164
{
"status": "ACTIVE",
"group_id": "text",
"created_from": "SEGMENT",
"scenario_id": "text",
"artifact_id": "text",
"plugin_preset_id": "text",
"version_id": "text",
"name": "text"
}{
"status": "ok",
"data": {
"organisation_id": "text",
"status": "ACTIVE",
"audience_segment_id": "text",
"group_id": "text",
"created_from": "SEGMENT",
"scenario_id": "text",
"artifact_id": "text",
"plugin_preset_id": "text",
"id": "text",
"version_id": "text",
"name": "text"
}
}Deletes the tag feed with the given id and in the specified segment
The segment of the tag feed you are interested in
The tag feed you want to delete
Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/audience_segments/{segment_id}/tag_feeds/{feed_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments/{segment_id}/external_feeds/{feed_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"id": "text",
"organisation_id": "text",
"is_from_clean_room": false,
"destination_audience_deletion_ts": 0,
"created_ts": 0,
"selected_identifying_resources": [
{
"created_by": "text",
"last_modified_by": "text",
"plugin_id": "text",
"plugin_version_id": "text",
"id": "text",
"last_modified_ts": 0,
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"created_ts": 0,
"identity_graph_id": "text",
"compartment_id": "text"
}
],
"created_from": "SEGMENT",
"scenario_id": "text",
"audience_segment_id": "text",
"artifact_id": "text",
"created_by": "text",
"status": "INITIAL",
"reboot_period_in_days": 0,
"version_id": "text",
"group_id": "text",
"name": "text",
"plugin_preset_id": "text"
}
}false000Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/audience_segments/{segment_id}/external_feeds/{feed_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 322
{
"selected_identifying_resources": [
{
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"identity_graph_id": "text",
"compartment_id": "text"
}
],
"created_from": "SEGMENT",
"scenario_id": "text",
"artifact_id": "text",
"status": "INITIAL",
"reboot_period_in_days": 0,
"version_id": "text",
"group_id": "text",
"name": "text",
"plugin_preset_id": "text"
}{
"status": "ok",
"data": {
"id": "text",
"organisation_id": "text",
"is_from_clean_room": false,
"destination_audience_deletion_ts": 0,
"created_ts": 0,
"selected_identifying_resources": [
{
"created_by": "text",
"last_modified_by": "text",
"plugin_id": "text",
"plugin_version_id": "text",
"id": "text",
"last_modified_ts": 0,
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"created_ts": 0,
"identity_graph_id": "text",
"compartment_id": "text"
}
],
"created_from": "SEGMENT",
"scenario_id": "text",
"audience_segment_id": "text",
"artifact_id": "text",
"created_by": "text",
"status": "INITIAL",
"reboot_period_in_days": 0,
"version_id": "text",
"group_id": "text",
"name": "text",
"plugin_preset_id": "text"
}
}Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/audience_segments/{segment_id}/external_feeds/{feed_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Id of a given community
List of organisation Ids we want to query
List of audience segment Ids we want to query
Group Ids of the plugins we want to query
Artifact Ids of the plugin we want to query
Ids of the pluginVersions we want to query
Ids of the plugin presets we want to query
Ids of the destinations we want to query
scenario_id of the source scenarios of audience segment tag feeds
value used for result ordering
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Filter feeds by feed name, or by the name of the audience segment they are attached to when they were created from a segment (partial match, case insensitive)
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments.tag_feeds HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"organisation_id": "text",
"status": "ACTIVE",
"audience_segment_id": "text",
"group_id": "text",
"created_from": "SEGMENT",
"scenario_id": "text",
"artifact_id": "text",
"plugin_preset_id": "text",
"id": "text",
"version_id": "text",
"name": "text"
}
],
"status": "ok",
"first_result": 1,
"count": 1,
"max_results": 1,
"total": 1
}Last updated
Was this helpful?