MessageLookalikeFb::setConfigurationOptions

  1. Bitrix24 API (v. 23.675.0)
  2. sender
  3. MessageLookalikeFb
  4. setConfigurationOptions
  • Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/seo/ads/messagelookalikefb.php
  • Класс: Bitrix\Sender\Integration\Seo\Ads\MessageLookalikeFb
  • Вызов: MessageLookalikeFb::setConfigurationOptions
protected function setConfigurationOptions()
{
	$this->configuration->setArrayOptions(array(
		array(
			'type' => 'string',
			'code' => 'CLIENT_ID',
			'name' => Loc::getMessage('SENDER_INTEGRATION_SEO_MESSAGE_CONFIG_CLIENT_ID'),
			'required' => true,
		),
		array(
			'type' => 'string',
			'code' => 'ACCOUNT_ID',
			'name' => Loc::getMessage('SENDER_INTEGRATION_SEO_MESSAGE_CONFIG_ACCOUNT_ID'),
			'required' => true,
		),
		array(
			'type' => 'string',
			'code' => 'AUDIENCE_ID',
			'name' => Loc::getMessage('SENDER_INTEGRATION_SEO_MESSAGE_CONFIG_AUDIENCE_ID'),
			'required' => true,
		),
		array(
			'type' => 'string',
			'code' => 'AUDIENCE_SIZE',
			'name' => Loc::getMessage('SENDER_INTEGRATION_SEO_MESSAGE_CONFIG_AUDIENCE_SIZE'),
			'required' => false,
		),
		array(
			'type' => 'string',
			'code' => 'AUDIENCE_REGION',
			'name' => Loc::getMessage('SENDER_INTEGRATION_SEO_MESSAGE_CONFIG_AUDIENCE_REGION'),
			'required' => false,
		)
	));
}

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