curl --request PUT \
--url https://api.eflow.team/v1/networks/offers/{offerId} \
--header 'Content-Type: application/json' \
--header 'X-Eflow-Api-Key: <api-key>' \
--data '
{
"offer_status": "active",
"redirect_mode": "standard",
"conversion_method": "server_postback",
"session_definition": "cookie",
"network_advertiser_id": 13,
"name": "My CPA Offer",
"network_category_id": 1,
"destination_url": "https://example.com/offer?tid={transaction_id}",
"currency_id": "USD",
"network_tracking_domain_id": 1,
"visibility": "public",
"payout_revenue": [
{
"payout_type": "cpa",
"payout_amount": 2.5,
"revenue_type": "rpa",
"revenue_amount": 4,
"is_default": true
}
]
}
'import requests
url = "https://api.eflow.team/v1/networks/offers/{offerId}"
payload = {
"offer_status": "active",
"redirect_mode": "standard",
"conversion_method": "server_postback",
"session_definition": "cookie",
"network_advertiser_id": 13,
"name": "My CPA Offer",
"network_category_id": 1,
"destination_url": "https://example.com/offer?tid={transaction_id}",
"currency_id": "USD",
"network_tracking_domain_id": 1,
"visibility": "public",
"payout_revenue": [
{
"payout_type": "cpa",
"payout_amount": 2.5,
"revenue_type": "rpa",
"revenue_amount": 4,
"is_default": True
}
]
}
headers = {
"X-Eflow-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-Eflow-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
offer_status: 'active',
redirect_mode: 'standard',
conversion_method: 'server_postback',
session_definition: 'cookie',
network_advertiser_id: 13,
name: 'My CPA Offer',
network_category_id: 1,
destination_url: 'https://example.com/offer?tid={transaction_id}',
currency_id: 'USD',
network_tracking_domain_id: 1,
visibility: 'public',
payout_revenue: [
{
payout_type: 'cpa',
payout_amount: 2.5,
revenue_type: 'rpa',
revenue_amount: 4,
is_default: true
}
]
})
};
fetch('https://api.eflow.team/v1/networks/offers/{offerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eflow.team/v1/networks/offers/{offerId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'offer_status' => 'active',
'redirect_mode' => 'standard',
'conversion_method' => 'server_postback',
'session_definition' => 'cookie',
'network_advertiser_id' => 13,
'name' => 'My CPA Offer',
'network_category_id' => 1,
'destination_url' => 'https://example.com/offer?tid={transaction_id}',
'currency_id' => 'USD',
'network_tracking_domain_id' => 1,
'visibility' => 'public',
'payout_revenue' => [
[
'payout_type' => 'cpa',
'payout_amount' => 2.5,
'revenue_type' => 'rpa',
'revenue_amount' => 4,
'is_default' => true
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Eflow-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eflow.team/v1/networks/offers/{offerId}"
payload := strings.NewReader("{\n \"offer_status\": \"active\",\n \"redirect_mode\": \"standard\",\n \"conversion_method\": \"server_postback\",\n \"session_definition\": \"cookie\",\n \"network_advertiser_id\": 13,\n \"name\": \"My CPA Offer\",\n \"network_category_id\": 1,\n \"destination_url\": \"https://example.com/offer?tid={transaction_id}\",\n \"currency_id\": \"USD\",\n \"network_tracking_domain_id\": 1,\n \"visibility\": \"public\",\n \"payout_revenue\": [\n {\n \"payout_type\": \"cpa\",\n \"payout_amount\": 2.5,\n \"revenue_type\": \"rpa\",\n \"revenue_amount\": 4,\n \"is_default\": true\n }\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("X-Eflow-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.eflow.team/v1/networks/offers/{offerId}")
.header("X-Eflow-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"offer_status\": \"active\",\n \"redirect_mode\": \"standard\",\n \"conversion_method\": \"server_postback\",\n \"session_definition\": \"cookie\",\n \"network_advertiser_id\": 13,\n \"name\": \"My CPA Offer\",\n \"network_category_id\": 1,\n \"destination_url\": \"https://example.com/offer?tid={transaction_id}\",\n \"currency_id\": \"USD\",\n \"network_tracking_domain_id\": 1,\n \"visibility\": \"public\",\n \"payout_revenue\": [\n {\n \"payout_type\": \"cpa\",\n \"payout_amount\": 2.5,\n \"revenue_type\": \"rpa\",\n \"revenue_amount\": 4,\n \"is_default\": true\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eflow.team/v1/networks/offers/{offerId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["X-Eflow-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"offer_status\": \"active\",\n \"redirect_mode\": \"standard\",\n \"conversion_method\": \"server_postback\",\n \"session_definition\": \"cookie\",\n \"network_advertiser_id\": 13,\n \"name\": \"My CPA Offer\",\n \"network_category_id\": 1,\n \"destination_url\": \"https://example.com/offer?tid={transaction_id}\",\n \"currency_id\": \"USD\",\n \"network_tracking_domain_id\": 1,\n \"visibility\": \"public\",\n \"payout_revenue\": [\n {\n \"payout_type\": \"cpa\",\n \"payout_amount\": 2.5,\n \"revenue_type\": \"rpa\",\n \"revenue_amount\": 4,\n \"is_default\": true\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"network_offer_id": 123,
"network_id": 123,
"network_advertiser_id": 123,
"network_offer_group_id": 123,
"name": "<string>",
"offer_status": "active",
"thumbnail_url": "<string>",
"visibility": "public",
"currency_id": "<string>",
"destination_url": "<string>",
"server_side_url": "<string>",
"preview_url": "<string>",
"html_description": "<string>",
"internal_notes": "<string>",
"network_category_id": 123,
"project_id": "<string>",
"date_live_until": "<string>",
"conversion_method": "server_postback",
"redirect_mode": "standard",
"redirect_routing_method": "internal",
"session_definition": "cookie",
"session_duration": 123,
"attribution_method": "first_touch",
"is_caps_enabled": true,
"daily_conversion_cap": 123,
"weekly_conversion_cap": 123,
"monthly_conversion_cap": 123,
"global_conversion_cap": 123,
"daily_payout_cap": 123,
"weekly_payout_cap": 123,
"monthly_payout_cap": 123,
"global_payout_cap": 123,
"daily_revenue_cap": 123,
"weekly_revenue_cap": 123,
"monthly_revenue_cap": 123,
"global_revenue_cap": 123,
"daily_click_cap": 123,
"weekly_click_cap": 123,
"monthly_click_cap": 123,
"global_click_cap": 123,
"is_use_scrub_rate": true,
"scrub_rate_percentage": 123,
"is_duplicate_filter_enabled": true,
"is_block_already_converted": true,
"is_use_secure_link": true,
"is_allow_deep_link": true,
"is_session_tracking_enabled": true,
"is_whitelist_check_enabled": true,
"network_tracking_domain_id": 123,
"caps_timezone_id": 123,
"app_identifier": "<string>",
"labels": [
"<string>"
],
"is_seo_friendly": true,
"is_use_direct_linking": true,
"is_view_through_enabled": true,
"view_through_destination_url": "<string>",
"session_tracking_lifespan_hour": 123,
"session_tracking_minimum_lifespan_second": 123,
"is_fail_traffic_enabled": true,
"redirect_internal_routing_type": "priority",
"is_using_suppression_list": true,
"suppression_list_id": 123,
"is_using_explicit_terms_and_conditions": true,
"terms_and_conditions": "<string>",
"is_force_terms_and_conditions": true,
"is_must_approve_conversion": true,
"is_allow_duplicate_conversion": true,
"duplicate_filter_targeting_action": "unknown",
"already_converted_action": "unknown",
"scrub_rate_status": "rejected",
"is_description_plain_text": true,
"is_email_attribution_enabled": true,
"email_attribution_method": "unknown",
"is_email_attribution_window_enabled": true,
"email_attribution_window_minute": 123,
"email_attribution_window_type": "unknown",
"is_view_through_session_tracking_enabled": true,
"view_through_session_tracking_lifespan_minute": 123,
"view_through_session_tracking_minimal_lifespan_second": 123,
"session_tracking_start_on": "<string>",
"encoded_value": "<string>",
"payout_revenue": [
{
"network_offer_payout_revenue_id": 123,
"entry_name": "<string>",
"payout_type": "cpa",
"payout_amount": 123,
"payout_percentage": 123,
"revenue_type": "rpa",
"revenue_amount": 123,
"revenue_percentage": 123,
"is_default": true,
"is_private": true,
"is_postback_disabled": true,
"is_enforce_caps": true,
"is_must_approve_conversion": true,
"is_allow_duplicate_conversion": true,
"is_email_attribution_default_event": true,
"remote_offer_resource": {
"network_offer_id": 123,
"network_id": 123,
"resource_type": "<string>",
"remote_resource_id": "<string>",
"resource_id": 123,
"last_value_md5": "<string>",
"json_config": "<string>",
"json_data": "<string>",
"time_created": 1734455015,
"time_saved": 1734455015
}
}
],
"is_soft_cap": true,
"time_created": 1734455015,
"time_saved": 1734455015,
"relationship": {
"advertiser": {
"network_advertiser_id": 123,
"network_id": 123,
"name": "<string>",
"account_status": "<string>",
"network_employee_id": 123,
"internal_notes": "<string>",
"address_id": 123,
"is_contact_address_enabled": true,
"sales_manager_id": 123,
"is_expose_publisher_reporting_data": true,
"default_currency_id": "<string>",
"platform_name": "<string>",
"platform_url": "<string>",
"platform_username": "<string>",
"reporting_timezone_id": 123,
"accounting_contact_email": "<string>",
"verification_token": "<string>",
"offer_id_macro": "<string>",
"affiliate_id_macro": "<string>",
"time_created": 1734455015,
"time_saved": 1734455015,
"attribution_method": "<string>",
"email_attribution_method": "<string>",
"attribution_priority": "<string>"
},
"category": {
"network_category_id": 123,
"network_id": 123,
"name": "<string>",
"status": "<string>",
"time_created": 1734455015,
"time_saved": 1734455015
},
"creatives": {
"total": 123,
"entries": [
{}
]
},
"traffic_filters": {
"total": 123,
"entries": [
{}
]
},
"labels": {
"total": 123,
"entries": [
{}
]
},
"payout_revenue": {
"total": 123,
"entries": [
{
"network_offer_payout_revenue_id": 123,
"network_id": 123,
"network_offer_id": 123,
"entry_name": "<string>",
"payout_type": "<string>",
"payout_amount": 123,
"payout_percentage": 123,
"revenue_type": "<string>",
"revenue_amount": 123,
"revenue_percentage": 123,
"is_default": true,
"is_private": true,
"is_postback_disabled": true,
"is_enforce_caps": true,
"time_created": 1734455015,
"global_advertiser_event_id": 123,
"is_must_approve_conversion": true,
"is_allow_duplicate_conversion": true,
"is_email_attribution_default_event": true,
"remote_offer_resource": {
"network_offer_id": 123,
"network_id": 123,
"resource_type": "<string>",
"remote_resource_id": "<string>",
"resource_id": 123,
"last_value_md5": "<string>",
"json_config": "<string>",
"json_data": "<string>",
"time_created": 1734455015,
"time_saved": 1734455015
}
}
]
},
"custom_cap_settings": {
"total": 123,
"entries": [
{}
]
},
"custom_scrub_rate_settings": {
"total": 123,
"entries": [
{}
]
},
"custom_payout_revenue_settings": {
"total": 123,
"entries": [
{}
]
},
"reporting": {
"imp": 123,
"total_click": 123,
"unique_click": 123,
"invalid_click": 123,
"duplicate_click": 123,
"gross_click": 123,
"ctr": 123,
"cv": 123,
"invalid_cv_scrub": 123,
"view_through_cv": 123,
"total_cv": 123,
"event": 123,
"cvr": 123,
"evr": 123,
"cpc": 123,
"cpm": 123,
"cpa": 123,
"epc": 123,
"rpc": 123,
"rpa": 123,
"rpm": 123,
"payout": 123,
"revenue": 123,
"event_revenue": 123,
"gross_sales": 123,
"profit": 123,
"margin": 123,
"roas": 123,
"avg_sale_value": 123,
"media_buying_cost": 123,
"on_hold_potential_revenue": 123,
"on_hold_potential_payout": 123,
"on_hold_conversion_count": 123,
"public_events": 123
},
"audits": {
"total": 123,
"entries": [
{}
]
},
"visibility": {
"network_id": 123,
"network_offer_id": 123,
"network_affiliate_visible_ids": [
123
],
"network_affiliate_rejected_ids": [
123
],
"network_affiliate_hidden_ids": [
123
]
},
"integrations": {
"optizmo": {},
"twentyfour_metrics": {},
"offer_demand_partner": {},
"forensiq": {},
"ezepo": {},
"anura": {},
"invoca": {},
"ip_quality_score": {},
"unsubcentral": {},
"ringba": {},
"retreaver": {}
},
"ruleset": {
"network_id": 123,
"network_ruleset_id": 123,
"time_created": 1734455015,
"time_saved": 1734455015,
"platforms": [
{}
],
"device_types": [
{}
],
"os_versions": [
{}
],
"browsers": [
{}
],
"languages": [
{}
],
"countries": [
{}
],
"regions": [
{}
],
"cities": [
{}
],
"dmas": [
{}
],
"mobile_carriers": [
{}
],
"connection_types": [
{}
],
"ips": [
{}
],
"is_block_proxy": true,
"is_use_day_parting": true,
"day_parting_apply_to": "<string>",
"day_parting_timezone_id": 123,
"days_parting": [
{}
],
"isps": [
{}
],
"brands": [
{}
],
"postal_codes": [
{}
]
},
"source_names": {
"total": 123,
"entries": [
{}
]
},
"urls": {
"total": 123,
"entries": [
{}
]
},
"encoded_value": "<string>",
"remaining_caps": {
"remaining_daily_payout_cap": 123,
"remaining_daily_revenue_cap": 123,
"remaining_daily_conversion_cap": 123,
"remaining_daily_click_cap": 123,
"remaining_weekly_payout_cap": 123,
"remaining_weekly_revenue_cap": 123,
"remaining_weekly_conversion_cap": 123,
"remaining_weekly_click_cap": 123,
"remaining_monthly_payout_cap": 123,
"remaining_monthly_revenue_cap": 123,
"remaining_monthly_conversion_cap": 123,
"remaining_monthly_click_cap": 123,
"remaining_global_payout_cap": 123,
"remaining_global_revenue_cap": 123,
"remaining_global_conversion_cap": 123,
"remaining_global_click_cap": 123
},
"is_locked_currency": true,
"custom_creative_settings": {
"total": 123,
"entries": [
{}
]
},
"channels": {
"total": 123,
"entries": [
{}
]
},
"is_locked_caps_timezone": true,
"meta": {
"network_offer_id": 123,
"network_id": 123,
"app_id": "<string>",
"meta_platform": "<string>",
"advertiser_campaign_name": "<string>",
"bundle_id": "<string>",
"category": "<string>",
"store_url": "<string>",
"score_rating": 123,
"total_rating": 123,
"size": 123,
"developer": "<string>",
"version": "<string>",
"is_app_unavailable": true,
"time_created": 1734455015,
"time_app_data_saved": 1734455015,
"time_saved": 1734455015
},
"requirement_kpis": {
"total": 123,
"entries": [
{}
]
},
"requirement_tracking_parameters": {
"total": 123,
"entries": [
{}
]
}
}
}Update Offer
curl --request PUT \
--url https://api.eflow.team/v1/networks/offers/{offerId} \
--header 'Content-Type: application/json' \
--header 'X-Eflow-Api-Key: <api-key>' \
--data '
{
"offer_status": "active",
"redirect_mode": "standard",
"conversion_method": "server_postback",
"session_definition": "cookie",
"network_advertiser_id": 13,
"name": "My CPA Offer",
"network_category_id": 1,
"destination_url": "https://example.com/offer?tid={transaction_id}",
"currency_id": "USD",
"network_tracking_domain_id": 1,
"visibility": "public",
"payout_revenue": [
{
"payout_type": "cpa",
"payout_amount": 2.5,
"revenue_type": "rpa",
"revenue_amount": 4,
"is_default": true
}
]
}
'import requests
url = "https://api.eflow.team/v1/networks/offers/{offerId}"
payload = {
"offer_status": "active",
"redirect_mode": "standard",
"conversion_method": "server_postback",
"session_definition": "cookie",
"network_advertiser_id": 13,
"name": "My CPA Offer",
"network_category_id": 1,
"destination_url": "https://example.com/offer?tid={transaction_id}",
"currency_id": "USD",
"network_tracking_domain_id": 1,
"visibility": "public",
"payout_revenue": [
{
"payout_type": "cpa",
"payout_amount": 2.5,
"revenue_type": "rpa",
"revenue_amount": 4,
"is_default": True
}
]
}
headers = {
"X-Eflow-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-Eflow-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
offer_status: 'active',
redirect_mode: 'standard',
conversion_method: 'server_postback',
session_definition: 'cookie',
network_advertiser_id: 13,
name: 'My CPA Offer',
network_category_id: 1,
destination_url: 'https://example.com/offer?tid={transaction_id}',
currency_id: 'USD',
network_tracking_domain_id: 1,
visibility: 'public',
payout_revenue: [
{
payout_type: 'cpa',
payout_amount: 2.5,
revenue_type: 'rpa',
revenue_amount: 4,
is_default: true
}
]
})
};
fetch('https://api.eflow.team/v1/networks/offers/{offerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eflow.team/v1/networks/offers/{offerId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'offer_status' => 'active',
'redirect_mode' => 'standard',
'conversion_method' => 'server_postback',
'session_definition' => 'cookie',
'network_advertiser_id' => 13,
'name' => 'My CPA Offer',
'network_category_id' => 1,
'destination_url' => 'https://example.com/offer?tid={transaction_id}',
'currency_id' => 'USD',
'network_tracking_domain_id' => 1,
'visibility' => 'public',
'payout_revenue' => [
[
'payout_type' => 'cpa',
'payout_amount' => 2.5,
'revenue_type' => 'rpa',
'revenue_amount' => 4,
'is_default' => true
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Eflow-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eflow.team/v1/networks/offers/{offerId}"
payload := strings.NewReader("{\n \"offer_status\": \"active\",\n \"redirect_mode\": \"standard\",\n \"conversion_method\": \"server_postback\",\n \"session_definition\": \"cookie\",\n \"network_advertiser_id\": 13,\n \"name\": \"My CPA Offer\",\n \"network_category_id\": 1,\n \"destination_url\": \"https://example.com/offer?tid={transaction_id}\",\n \"currency_id\": \"USD\",\n \"network_tracking_domain_id\": 1,\n \"visibility\": \"public\",\n \"payout_revenue\": [\n {\n \"payout_type\": \"cpa\",\n \"payout_amount\": 2.5,\n \"revenue_type\": \"rpa\",\n \"revenue_amount\": 4,\n \"is_default\": true\n }\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("X-Eflow-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.eflow.team/v1/networks/offers/{offerId}")
.header("X-Eflow-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"offer_status\": \"active\",\n \"redirect_mode\": \"standard\",\n \"conversion_method\": \"server_postback\",\n \"session_definition\": \"cookie\",\n \"network_advertiser_id\": 13,\n \"name\": \"My CPA Offer\",\n \"network_category_id\": 1,\n \"destination_url\": \"https://example.com/offer?tid={transaction_id}\",\n \"currency_id\": \"USD\",\n \"network_tracking_domain_id\": 1,\n \"visibility\": \"public\",\n \"payout_revenue\": [\n {\n \"payout_type\": \"cpa\",\n \"payout_amount\": 2.5,\n \"revenue_type\": \"rpa\",\n \"revenue_amount\": 4,\n \"is_default\": true\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eflow.team/v1/networks/offers/{offerId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["X-Eflow-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"offer_status\": \"active\",\n \"redirect_mode\": \"standard\",\n \"conversion_method\": \"server_postback\",\n \"session_definition\": \"cookie\",\n \"network_advertiser_id\": 13,\n \"name\": \"My CPA Offer\",\n \"network_category_id\": 1,\n \"destination_url\": \"https://example.com/offer?tid={transaction_id}\",\n \"currency_id\": \"USD\",\n \"network_tracking_domain_id\": 1,\n \"visibility\": \"public\",\n \"payout_revenue\": [\n {\n \"payout_type\": \"cpa\",\n \"payout_amount\": 2.5,\n \"revenue_type\": \"rpa\",\n \"revenue_amount\": 4,\n \"is_default\": true\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"network_offer_id": 123,
"network_id": 123,
"network_advertiser_id": 123,
"network_offer_group_id": 123,
"name": "<string>",
"offer_status": "active",
"thumbnail_url": "<string>",
"visibility": "public",
"currency_id": "<string>",
"destination_url": "<string>",
"server_side_url": "<string>",
"preview_url": "<string>",
"html_description": "<string>",
"internal_notes": "<string>",
"network_category_id": 123,
"project_id": "<string>",
"date_live_until": "<string>",
"conversion_method": "server_postback",
"redirect_mode": "standard",
"redirect_routing_method": "internal",
"session_definition": "cookie",
"session_duration": 123,
"attribution_method": "first_touch",
"is_caps_enabled": true,
"daily_conversion_cap": 123,
"weekly_conversion_cap": 123,
"monthly_conversion_cap": 123,
"global_conversion_cap": 123,
"daily_payout_cap": 123,
"weekly_payout_cap": 123,
"monthly_payout_cap": 123,
"global_payout_cap": 123,
"daily_revenue_cap": 123,
"weekly_revenue_cap": 123,
"monthly_revenue_cap": 123,
"global_revenue_cap": 123,
"daily_click_cap": 123,
"weekly_click_cap": 123,
"monthly_click_cap": 123,
"global_click_cap": 123,
"is_use_scrub_rate": true,
"scrub_rate_percentage": 123,
"is_duplicate_filter_enabled": true,
"is_block_already_converted": true,
"is_use_secure_link": true,
"is_allow_deep_link": true,
"is_session_tracking_enabled": true,
"is_whitelist_check_enabled": true,
"network_tracking_domain_id": 123,
"caps_timezone_id": 123,
"app_identifier": "<string>",
"labels": [
"<string>"
],
"is_seo_friendly": true,
"is_use_direct_linking": true,
"is_view_through_enabled": true,
"view_through_destination_url": "<string>",
"session_tracking_lifespan_hour": 123,
"session_tracking_minimum_lifespan_second": 123,
"is_fail_traffic_enabled": true,
"redirect_internal_routing_type": "priority",
"is_using_suppression_list": true,
"suppression_list_id": 123,
"is_using_explicit_terms_and_conditions": true,
"terms_and_conditions": "<string>",
"is_force_terms_and_conditions": true,
"is_must_approve_conversion": true,
"is_allow_duplicate_conversion": true,
"duplicate_filter_targeting_action": "unknown",
"already_converted_action": "unknown",
"scrub_rate_status": "rejected",
"is_description_plain_text": true,
"is_email_attribution_enabled": true,
"email_attribution_method": "unknown",
"is_email_attribution_window_enabled": true,
"email_attribution_window_minute": 123,
"email_attribution_window_type": "unknown",
"is_view_through_session_tracking_enabled": true,
"view_through_session_tracking_lifespan_minute": 123,
"view_through_session_tracking_minimal_lifespan_second": 123,
"session_tracking_start_on": "<string>",
"encoded_value": "<string>",
"payout_revenue": [
{
"network_offer_payout_revenue_id": 123,
"entry_name": "<string>",
"payout_type": "cpa",
"payout_amount": 123,
"payout_percentage": 123,
"revenue_type": "rpa",
"revenue_amount": 123,
"revenue_percentage": 123,
"is_default": true,
"is_private": true,
"is_postback_disabled": true,
"is_enforce_caps": true,
"is_must_approve_conversion": true,
"is_allow_duplicate_conversion": true,
"is_email_attribution_default_event": true,
"remote_offer_resource": {
"network_offer_id": 123,
"network_id": 123,
"resource_type": "<string>",
"remote_resource_id": "<string>",
"resource_id": 123,
"last_value_md5": "<string>",
"json_config": "<string>",
"json_data": "<string>",
"time_created": 1734455015,
"time_saved": 1734455015
}
}
],
"is_soft_cap": true,
"time_created": 1734455015,
"time_saved": 1734455015,
"relationship": {
"advertiser": {
"network_advertiser_id": 123,
"network_id": 123,
"name": "<string>",
"account_status": "<string>",
"network_employee_id": 123,
"internal_notes": "<string>",
"address_id": 123,
"is_contact_address_enabled": true,
"sales_manager_id": 123,
"is_expose_publisher_reporting_data": true,
"default_currency_id": "<string>",
"platform_name": "<string>",
"platform_url": "<string>",
"platform_username": "<string>",
"reporting_timezone_id": 123,
"accounting_contact_email": "<string>",
"verification_token": "<string>",
"offer_id_macro": "<string>",
"affiliate_id_macro": "<string>",
"time_created": 1734455015,
"time_saved": 1734455015,
"attribution_method": "<string>",
"email_attribution_method": "<string>",
"attribution_priority": "<string>"
},
"category": {
"network_category_id": 123,
"network_id": 123,
"name": "<string>",
"status": "<string>",
"time_created": 1734455015,
"time_saved": 1734455015
},
"creatives": {
"total": 123,
"entries": [
{}
]
},
"traffic_filters": {
"total": 123,
"entries": [
{}
]
},
"labels": {
"total": 123,
"entries": [
{}
]
},
"payout_revenue": {
"total": 123,
"entries": [
{
"network_offer_payout_revenue_id": 123,
"network_id": 123,
"network_offer_id": 123,
"entry_name": "<string>",
"payout_type": "<string>",
"payout_amount": 123,
"payout_percentage": 123,
"revenue_type": "<string>",
"revenue_amount": 123,
"revenue_percentage": 123,
"is_default": true,
"is_private": true,
"is_postback_disabled": true,
"is_enforce_caps": true,
"time_created": 1734455015,
"global_advertiser_event_id": 123,
"is_must_approve_conversion": true,
"is_allow_duplicate_conversion": true,
"is_email_attribution_default_event": true,
"remote_offer_resource": {
"network_offer_id": 123,
"network_id": 123,
"resource_type": "<string>",
"remote_resource_id": "<string>",
"resource_id": 123,
"last_value_md5": "<string>",
"json_config": "<string>",
"json_data": "<string>",
"time_created": 1734455015,
"time_saved": 1734455015
}
}
]
},
"custom_cap_settings": {
"total": 123,
"entries": [
{}
]
},
"custom_scrub_rate_settings": {
"total": 123,
"entries": [
{}
]
},
"custom_payout_revenue_settings": {
"total": 123,
"entries": [
{}
]
},
"reporting": {
"imp": 123,
"total_click": 123,
"unique_click": 123,
"invalid_click": 123,
"duplicate_click": 123,
"gross_click": 123,
"ctr": 123,
"cv": 123,
"invalid_cv_scrub": 123,
"view_through_cv": 123,
"total_cv": 123,
"event": 123,
"cvr": 123,
"evr": 123,
"cpc": 123,
"cpm": 123,
"cpa": 123,
"epc": 123,
"rpc": 123,
"rpa": 123,
"rpm": 123,
"payout": 123,
"revenue": 123,
"event_revenue": 123,
"gross_sales": 123,
"profit": 123,
"margin": 123,
"roas": 123,
"avg_sale_value": 123,
"media_buying_cost": 123,
"on_hold_potential_revenue": 123,
"on_hold_potential_payout": 123,
"on_hold_conversion_count": 123,
"public_events": 123
},
"audits": {
"total": 123,
"entries": [
{}
]
},
"visibility": {
"network_id": 123,
"network_offer_id": 123,
"network_affiliate_visible_ids": [
123
],
"network_affiliate_rejected_ids": [
123
],
"network_affiliate_hidden_ids": [
123
]
},
"integrations": {
"optizmo": {},
"twentyfour_metrics": {},
"offer_demand_partner": {},
"forensiq": {},
"ezepo": {},
"anura": {},
"invoca": {},
"ip_quality_score": {},
"unsubcentral": {},
"ringba": {},
"retreaver": {}
},
"ruleset": {
"network_id": 123,
"network_ruleset_id": 123,
"time_created": 1734455015,
"time_saved": 1734455015,
"platforms": [
{}
],
"device_types": [
{}
],
"os_versions": [
{}
],
"browsers": [
{}
],
"languages": [
{}
],
"countries": [
{}
],
"regions": [
{}
],
"cities": [
{}
],
"dmas": [
{}
],
"mobile_carriers": [
{}
],
"connection_types": [
{}
],
"ips": [
{}
],
"is_block_proxy": true,
"is_use_day_parting": true,
"day_parting_apply_to": "<string>",
"day_parting_timezone_id": 123,
"days_parting": [
{}
],
"isps": [
{}
],
"brands": [
{}
],
"postal_codes": [
{}
]
},
"source_names": {
"total": 123,
"entries": [
{}
]
},
"urls": {
"total": 123,
"entries": [
{}
]
},
"encoded_value": "<string>",
"remaining_caps": {
"remaining_daily_payout_cap": 123,
"remaining_daily_revenue_cap": 123,
"remaining_daily_conversion_cap": 123,
"remaining_daily_click_cap": 123,
"remaining_weekly_payout_cap": 123,
"remaining_weekly_revenue_cap": 123,
"remaining_weekly_conversion_cap": 123,
"remaining_weekly_click_cap": 123,
"remaining_monthly_payout_cap": 123,
"remaining_monthly_revenue_cap": 123,
"remaining_monthly_conversion_cap": 123,
"remaining_monthly_click_cap": 123,
"remaining_global_payout_cap": 123,
"remaining_global_revenue_cap": 123,
"remaining_global_conversion_cap": 123,
"remaining_global_click_cap": 123
},
"is_locked_currency": true,
"custom_creative_settings": {
"total": 123,
"entries": [
{}
]
},
"channels": {
"total": 123,
"entries": [
{}
]
},
"is_locked_caps_timezone": true,
"meta": {
"network_offer_id": 123,
"network_id": 123,
"app_id": "<string>",
"meta_platform": "<string>",
"advertiser_campaign_name": "<string>",
"bundle_id": "<string>",
"category": "<string>",
"store_url": "<string>",
"score_rating": 123,
"total_rating": 123,
"size": 123,
"developer": "<string>",
"version": "<string>",
"is_app_unavailable": true,
"time_created": 1734455015,
"time_app_data_saved": 1734455015,
"time_saved": 1734455015
},
"requirement_kpis": {
"total": 123,
"entries": [
{}
]
},
"requirement_tracking_parameters": {
"total": 123,
"entries": [
{}
]
}
}
}Authorizations
Body
Currency used to compute payouts, costs, and revenues of the offer. Must be a currency_id returned by the List Currencies endpoint (ISO 4217 code, uppercase) - any other value is rejected with Unsupported currency ID.
On update, the currency cannot be changed once the offer has recorded traffic in the last 30 days; doing so is rejected with Could not change currency value on locked offer.
Method used by the advertiser to fire tracking data to Everflow. The five legacy values (http_image_pixel, https_image_pixel, cookie_based, http_iframe_pixel, https_iframe_pixel) are accepted but silently normalized to html_pixel_cookie_based, so responses only ever return server_postback, javascript or html_pixel_cookie_based.
server_postback, javascript, html_pixel_cookie_based, http_image_pixel, https_image_pixel, http_iframe_pixel, https_iframe_pixel, cookie_based Action to take when a duplicate click is detected. Required and validated when is_duplicate_filter_enabled is true - an invalid value is rejected. Ignored when false; the API then returns unknown for this field, which cannot be submitted here.
block, fail_traffic Redirect mechanism that determines how fail traffic is distributed between listed offers. Can be priority, weight, priority_global, or weight_global. Only relevant when is_fail_traffic_enabled is true. The API returns null_value when this hasn't been configured; that value cannot be submitted here.
priority, weight, priority_global, weight_global Action to take for clicks from already-converted users. Required and validated when is_block_already_converted is true - an invalid value is rejected. Ignored when false; the API then returns unknown for this field, which cannot be submitted here.
block, fail_traffic Status to apply to conversions affected by throttling. Required and validated when is_use_scrub_rate is true - an invalid value is rejected with Invalid scrub rate status. Ignored when false; the API then returns null_value for this field, which cannot be submitted here.
rejected, pending Method used for email attribution. Not required to enable email attribution (see is_email_attribution_enabled); when unset, the API returns unknown for this field, which cannot be submitted here.
first_affiliate_attribution, last_affiliate_attribution Assign the offer to an existing application questionnaire. Only relevant when visibility is require_approval. The request is rejected if the questionnaire does not exist. Write-only - on read it is returned under relationship.network_application_questionnaire_id.
Targeting ruleset for this offer. Contains nested arrays for geographic, device, browser, and connection-type targeting. Each targeting entry includes an ID, targeting_type (include or exclude), and match_type. Sub-objects include: platforms, device_types, os_versions, brands, browsers, languages, countries, regions, cities, dmas, mobile_carriers, isps, connection_types, ips, postal_codes. Also supports day parting via is_use_day_parting, day_parting_apply_to, day_parting_timezone_id, and days_parting array.
Response
Was this page helpful?
