Goal Selections
Operations related to Goal Selections that define conversion tracking and optimization objectives for campaigns. Enable association of specific Goals with campaigns for performance measurement, attribution modeling, and bid optimization. Support multiple goal selections per campaign with different weightings for multi-objective optimization strategies.
The campaign owning the goal selections
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/campaigns/{campaign_id}/goal_selections HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"goal_selection_type": "CLICK_ON_AD",
"default": false,
"goal_id": "text",
"goal_name": "text",
"id": "text"
}
],
"first_result": 1,
"status": "ok",
"total": 1,
"max_results": 1,
"count": 1
}The campaign owning the goal selections
falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/campaigns/{campaign_id}/goal_selections HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 89
{
"goal_selection_type": "CLICK_ON_AD",
"default": false,
"goal_id": "text",
"goal_name": "text"
}{
"status": "ok",
"data": {
"goal_selection_type": "CLICK_ON_AD",
"default": false,
"goal_id": "text",
"goal_name": "text",
"id": "text"
}
}The campaign owning the goal selections
The id of the goal selection the campaign
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/campaigns/{campaign_id}/goal_selections/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"goal_selection_type": "CLICK_ON_AD",
"default": false,
"goal_id": "text",
"goal_name": "text",
"id": "text"
}
}The campaign owning the goal selections
The id of the goal selection the campaign
falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/campaigns/{campaign_id}/goal_selections/{id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 89
{
"goal_selection_type": "CLICK_ON_AD",
"default": false,
"goal_id": "text",
"goal_name": "text"
}{
"status": "ok",
"data": {
"goal_selection_type": "CLICK_ON_AD",
"default": false,
"goal_id": "text",
"goal_name": "text",
"id": "text"
}
}The campaign owning the goal selections
The id of the goal selection the campaign
Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/campaigns/{campaign_id}/goal_selections/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Last updated
Was this helpful?