TransportMarketingFb::addToAudience

  1. Bitrix24 API (v. 23.675.0)
  2. sender
  3. TransportMarketingFb
  4. addToAudience
  • Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/seo/ads/transportmarketingfb.php
  • Класс: Bitrix\Sender\Integration\Seo\Ads\TransportMarketingFb
  • Вызов: TransportMarketingFb::addToAudience
protected function addToAudience($clientId, $contacts)
{
	$service = AdsAudience::getService();
	$service->setClientId($clientId);
	AdsAudience::useQueue();
	$this->adsConfig->type = Marketing\Services\AdCampaignFacebook::TYPE_CODE;

	return AdsAudience::addToAudience($this->adsConfig, $contacts);
}

Добавить комментарий