curl --request POST \
--url https://api.eflow.team/v1/networks/reporting/clicks/stream \
--header 'Content-Type: application/json' \
--header 'X-Eflow-Api-Key: <api-key>' \
--data '
{
"from": "<string>",
"query": {
"exclusions": {
"filter_id_value": "<string>",
"resource_type": "offer"
},
"filters": {
"filter_id_value": "<string>",
"resource_type": "offer"
},
"metric_filters": {
"metric_type": "impression",
"metric_value": 123,
"operator": "less_than"
},
"settings": {
"campaign_data_only": true,
"ignore_fail_traffic": true,
"only_include_fail_traffic": true
},
"user_metrics": {
"metric_aggr_function": "sum",
"metric_type": "<string>"
}
},
"timezone_id": 123,
"to": "<string>"
}
'{
"clicks": {
"android_id": "<string>",
"android_id_md5": "<string>",
"android_id_sha1": "<string>",
"coupon_code": "<string>",
"currency_id": "<string>",
"error_code": 123,
"error_message": "<string>",
"google_ad_id": "<string>",
"google_ad_id_md5": "<string>",
"google_ad_id_sha1": "<string>",
"idfa": "<string>",
"idfa_md5": "<string>",
"idfa_sha1": "<string>",
"is_unique": 123,
"referer": "<string>",
"relationship": {
"device_information": {
"brand": "<string>",
"browser_name": "<string>",
"browser_version": "<string>",
"device_type": "<string>",
"http_accept_language": "<string>",
"is_filter": true,
"is_mobile": true,
"is_robot": true,
"is_tablet": true,
"language": "<string>",
"model": "<string>",
"os_version": "<string>",
"platform_name": "<string>"
},
"geolocation": {
"carrier_code": 123,
"carrier_name": "<string>",
"city_name": "<string>",
"country_code": "<string>",
"country_name": "<string>",
"dma": 123,
"dma_name": "<string>",
"is_mobile": true,
"is_proxy": true,
"isp_name": "<string>",
"organization": "<string>",
"postal_code": "<string>",
"region_code": "<string>",
"region_name": "<string>",
"timezone": "<string>"
},
"http_accept_language": "<string>",
"http_user_agent": "<string>",
"offer": {
"name": "<string>",
"network_id": 123,
"network_offer_id": 123,
"network_tracking_domain_id": 123,
"offer_status": "active",
"relationship": {
"offer_affiliate_status": "public"
}
},
"offer_url": {
"name": "<string>",
"network_id": 123,
"network_offer_id": 123,
"network_offer_url_id": 123,
"preview_url": "<string>",
"relationship": {
"remote_offer_resource": {
"json_config": "<string>",
"json_data": "<string>",
"last_value_md5": "<string>",
"network_id": 123,
"network_offer_id": 123,
"remote_resource_id": "<string>",
"resource_id": 123,
"resource_type": "<string>",
"time_created": 123,
"time_saved": 123
},
"ruleset": {
"brands": {
"brand_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_brand_id": 123,
"targeting_type": "include"
},
"browsers": {
"browser_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_browser_id": 123,
"targeting_type": "include"
},
"cities": {
"city_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_city_id": 123,
"targeting_type": "include"
},
"connection_types": {
"connection_type_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_connection_type_id": 123,
"targeting_type": "include"
},
"countries": {
"country_code": "<string>",
"country_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_country_id": 123,
"targeting_type": "include"
},
"day_parting_apply_to": "user_timezone",
"day_parting_timezone_id": 123,
"days_parting": {
"day_of_week": 123,
"end_hour": 123,
"end_minute": 123,
"network_id": 123,
"network_targeting_day_parting_id": 123,
"start_hour": 123,
"start_minute": 123
},
"device_types": {
"device_type_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_device_type_id": 123,
"targeting_type": "include"
},
"dmas": {
"dma_code": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_dma_id": 123,
"targeting_type": "include"
},
"ips": {
"ip_from": "<string>",
"ip_to": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_ip_id": 123,
"targeting_type": "include"
},
"is_block_proxy": true,
"is_use_day_parting": true,
"isps": {
"isp_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_isp_id": 123,
"targeting_type": "include"
},
"languages": {
"browser_language_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_browser_language_id": 123,
"targeting_type": "include"
},
"mobile_carriers": {
"country_id": 123,
"label": "<string>",
"match_type": "exact",
"mobile_carrier_id": 123,
"network_id": 123,
"network_targeting_mobile_carrier_id": 123,
"targeting_type": "include"
},
"network_id": 123,
"network_ruleset_id": 123,
"os_versions": {
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_os_version_id": 123,
"os_version_id": 123,
"platform_id": 123,
"targeting_type": "include"
},
"platforms": {
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_platform_id": 123,
"platform_id": 123,
"targeting_type": "include"
},
"postal_codes": {
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_postal_code_id": 123,
"postal_code": "<string>",
"targeting_type": "include"
},
"regions": {
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_region_id": 123,
"region_code": "<string>",
"region_id": 123,
"targeting_type": "include"
},
"time_created": 123,
"time_saved": 123
}
}
}
},
"revenue": 123,
"revenue_type": "<string>",
"source_id": "<string>",
"sub1": "<string>",
"sub2": "<string>",
"sub3": "<string>",
"sub4": "<string>",
"sub5": "<string>",
"tracking_url": "<string>",
"transaction_id": "<string>",
"unix_timestamp": 123,
"user_ip": "<string>"
}
}Extract a raw list of clicks. Limited to 10,000 clicks per request and a maximum date range of 14 days. Requires from/to dates in YYYY-mm-DD HH:MM:SS format and a timezone_id.
curl --request POST \
--url https://api.eflow.team/v1/networks/reporting/clicks/stream \
--header 'Content-Type: application/json' \
--header 'X-Eflow-Api-Key: <api-key>' \
--data '
{
"from": "<string>",
"query": {
"exclusions": {
"filter_id_value": "<string>",
"resource_type": "offer"
},
"filters": {
"filter_id_value": "<string>",
"resource_type": "offer"
},
"metric_filters": {
"metric_type": "impression",
"metric_value": 123,
"operator": "less_than"
},
"settings": {
"campaign_data_only": true,
"ignore_fail_traffic": true,
"only_include_fail_traffic": true
},
"user_metrics": {
"metric_aggr_function": "sum",
"metric_type": "<string>"
}
},
"timezone_id": 123,
"to": "<string>"
}
'{
"clicks": {
"android_id": "<string>",
"android_id_md5": "<string>",
"android_id_sha1": "<string>",
"coupon_code": "<string>",
"currency_id": "<string>",
"error_code": 123,
"error_message": "<string>",
"google_ad_id": "<string>",
"google_ad_id_md5": "<string>",
"google_ad_id_sha1": "<string>",
"idfa": "<string>",
"idfa_md5": "<string>",
"idfa_sha1": "<string>",
"is_unique": 123,
"referer": "<string>",
"relationship": {
"device_information": {
"brand": "<string>",
"browser_name": "<string>",
"browser_version": "<string>",
"device_type": "<string>",
"http_accept_language": "<string>",
"is_filter": true,
"is_mobile": true,
"is_robot": true,
"is_tablet": true,
"language": "<string>",
"model": "<string>",
"os_version": "<string>",
"platform_name": "<string>"
},
"geolocation": {
"carrier_code": 123,
"carrier_name": "<string>",
"city_name": "<string>",
"country_code": "<string>",
"country_name": "<string>",
"dma": 123,
"dma_name": "<string>",
"is_mobile": true,
"is_proxy": true,
"isp_name": "<string>",
"organization": "<string>",
"postal_code": "<string>",
"region_code": "<string>",
"region_name": "<string>",
"timezone": "<string>"
},
"http_accept_language": "<string>",
"http_user_agent": "<string>",
"offer": {
"name": "<string>",
"network_id": 123,
"network_offer_id": 123,
"network_tracking_domain_id": 123,
"offer_status": "active",
"relationship": {
"offer_affiliate_status": "public"
}
},
"offer_url": {
"name": "<string>",
"network_id": 123,
"network_offer_id": 123,
"network_offer_url_id": 123,
"preview_url": "<string>",
"relationship": {
"remote_offer_resource": {
"json_config": "<string>",
"json_data": "<string>",
"last_value_md5": "<string>",
"network_id": 123,
"network_offer_id": 123,
"remote_resource_id": "<string>",
"resource_id": 123,
"resource_type": "<string>",
"time_created": 123,
"time_saved": 123
},
"ruleset": {
"brands": {
"brand_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_brand_id": 123,
"targeting_type": "include"
},
"browsers": {
"browser_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_browser_id": 123,
"targeting_type": "include"
},
"cities": {
"city_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_city_id": 123,
"targeting_type": "include"
},
"connection_types": {
"connection_type_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_connection_type_id": 123,
"targeting_type": "include"
},
"countries": {
"country_code": "<string>",
"country_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_country_id": 123,
"targeting_type": "include"
},
"day_parting_apply_to": "user_timezone",
"day_parting_timezone_id": 123,
"days_parting": {
"day_of_week": 123,
"end_hour": 123,
"end_minute": 123,
"network_id": 123,
"network_targeting_day_parting_id": 123,
"start_hour": 123,
"start_minute": 123
},
"device_types": {
"device_type_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_device_type_id": 123,
"targeting_type": "include"
},
"dmas": {
"dma_code": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_dma_id": 123,
"targeting_type": "include"
},
"ips": {
"ip_from": "<string>",
"ip_to": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_ip_id": 123,
"targeting_type": "include"
},
"is_block_proxy": true,
"is_use_day_parting": true,
"isps": {
"isp_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_isp_id": 123,
"targeting_type": "include"
},
"languages": {
"browser_language_id": 123,
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_browser_language_id": 123,
"targeting_type": "include"
},
"mobile_carriers": {
"country_id": 123,
"label": "<string>",
"match_type": "exact",
"mobile_carrier_id": 123,
"network_id": 123,
"network_targeting_mobile_carrier_id": 123,
"targeting_type": "include"
},
"network_id": 123,
"network_ruleset_id": 123,
"os_versions": {
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_os_version_id": 123,
"os_version_id": 123,
"platform_id": 123,
"targeting_type": "include"
},
"platforms": {
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_platform_id": 123,
"platform_id": 123,
"targeting_type": "include"
},
"postal_codes": {
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_postal_code_id": 123,
"postal_code": "<string>",
"targeting_type": "include"
},
"regions": {
"label": "<string>",
"match_type": "exact",
"network_id": 123,
"network_targeting_region_id": 123,
"region_code": "<string>",
"region_id": 123,
"targeting_type": "include"
},
"time_created": 123,
"time_saved": 123
}
}
}
},
"revenue": 123,
"revenue_type": "<string>",
"source_id": "<string>",
"sub1": "<string>",
"sub2": "<string>",
"sub3": "<string>",
"sub4": "<string>",
"sub5": "<string>",
"tracking_url": "<string>",
"transaction_id": "<string>",
"unix_timestamp": 123,
"user_ip": "<string>"
}
}Was this page helpful?