3namespace Bitrix\Seo\Retargeting\Services;
5use Bitrix\Main\Context;
6use Bitrix\Main\Web\Json;
7use Bitrix\Main\Web\Uri;
8use \Bitrix\Seo\Retargeting\Account;
10use Bitrix\Main\Type\Date;
24 'methodName' =>
'retargeting.account.list',
30 while ($item =
$result->fetch())
34 isset($item[
'CLIENT_NAME'])
35 || isset($item[
'NAME'])
41 'NAME' => !empty(trim($item[
'CLIENT_NAME'])) ? $item[
'CLIENT_NAME'] : $item[
'NAME'],
42 'ACCOUNT_ID' => $item[
'ID'],
55 'methodName' =>
'retargeting.profile',
56 'parameters' =>
array()
64 'NAME' =>
$data[
'FIRST_NAME'] .
' ' .
$data[
'LAST_NAME'],
65 'LINK' =>
'https://vk.com/' .
$data[
'SCREEN_NAME'],
66 'PICTURE' => (Context::getCurrent()->
getRequest()->isHttps() ?
'https' :
'http')
68 . Context::getCurrent()->getServer()->getHttpHost() .
'/bitrix/images/seo/integration/vklogo.svg',
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)