campaign/types
Параметры:
Пример вызова метода:
<?php
$post = array(
'token' => $token
);
if ($curl = curl_init()) {
curl_setopt($curl, CURLOPT_URL, 'https://www.ipweb.ru/api/v2/campaign/types');
curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
$out = curl_exec($curl);
echo $out;
curl_close($curl);
}
// Result:
{
"paid": "1 page visit",
"paid_inner": "internal traffic",
"paid_adv": "ad clicks",
"paid_se": "visits from search engine",
"paid_prof": "visit + X clicks",
"paid_se_behavioral": "improvement of behavioral factors in search",
"paid_se_links": "link enhancement",
...
}