3namespace Bitrix\Seo\Marketing;
5use Bitrix\Main\Config\Option;
6use Bitrix\Seo\BusinessSuite\IInternalService;
7use Bitrix\Seo\Retargeting\AuthAdapter;
8use Bitrix\Seo\Retargeting\IMultiClientService;
9use Bitrix\Seo\Retargeting\IService;
48 return static::GROUP.
'.'.
$type;
60 static $account =
null;
61 if ($account ===
null)
64 ->setService(static::getInstance());
79 ->setService(static::getInstance())
80 ->createCampaign(
$data);
92 ->setService(static::getInstance())
105 ->setService(static::getInstance())
117 ->setService(static::getInstance());
129 ->setService(static::getInstance())
130 ->getList($accountId);
142 ->setService(static::getInstance())
143 ->getAdSetList($accountId);
155 ->setService(static::getInstance())
168 ->setService(static::getInstance())
169 ->searchTargetingData(
$params);
181 ->setService(static::getInstance())
182 ->getCampaignList($accountId);
193 static::TYPE_FACEBOOK,
194 static::TYPE_INSTAGRAM,
207 return AuthAdapter::create(
$type)
208 ->setService(static::getInstance());
240 return Option::get(
'seo',
'use_multiple_clients',
true);
248 foreach (static::getTypes() as
$type)
250 if($engineCode === static::getEngineCode(
$type))
static createAudience($type, array $data)
static createCampaign($type, array $data)
static getEngineCode($type)
static getAdSetList($type, $accountId)
static getAudienceList($type, $accountId)
static getTypeByEngine(string $engineCode)
static getAds($type, $adsId)
static canUseAsInternal()
static getCampaignList($type, $accountId)
static getPostList($type, $params)
static getAudience($type)
static searchTargetingData($type, $params)
static getAuthAdapter($type)
static canUseMultipleClients()
static create($type, $parameters=null, IService $service=null)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']