MessageMarketingFb::setConfigurationOptions

  1. Bitrix24 API (v. 23.675.0)
  2. sender
  3. MessageMarketingFb
  4. setConfigurationOptions
  • Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/seo/ads/messagemarketingfb.php
  • Класс: Bitrix\Sender\Integration\Seo\Ads\MessageMarketingFb
  • Вызов: MessageMarketingFb::setConfigurationOptions
protected function setConfigurationOptions()
{
	$this->configuration->setArrayOptions(
		[
			[
				'type'     => 'string',
				'code'     => 'CLIENT_ID',
				'name'     => "",
				'required' => true,
			],
			[
				'type'     => 'title',
				'code'     => 'TITLE',
				'name'     => "",
				'required' => true,
			],
			[
				'type'     => 'string',
				'code'     => 'ACCOUNT_ID',
				'name'     => Loc::getMessage('SENDER_INTEGRATION_SEO_MESSAGE_CONFIG_ACCOUNT_ID'),
				'required' => true,
			],
			[
				'type'     => 'string',
				'code'     => 'INSTAGRAM_ACCOUNT_ID',
				'name'     => "",
				'required' => true,
			],
			[
				'type'     => 'string',
				'code'     => 'PERMALINK',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'TARGET_URL',
				'required' => true,
			],
			[
				'type'     => 'string',
				'code'     => 'AUDIENCE_ID',
			],
			[
				'type'     => 'string',
				'code'     => 'BODY',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'BUDGET',
				'required' => true,
			],
			[
				'type'     => 'string',
				'code'     => 'DURATION',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'PAGE_ID',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'AD_SET_ID',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'CAMPAIGN_ID',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'CREATIVE_ID',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'ADS_ID',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'INTERESTS',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'GENDERS',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'REGIONS',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'AGE_FROM',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'AGE_TO',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'MEDIA_ID',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'INSTAGRAM_ACTOR_ID',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'IMAGE_URL',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'AUDIENCE_PHONE_ID',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'AUDIENCE_EMAIL_ID',
				'required' => false,
			],
			[
				'type'     => 'string',
				'code'     => 'STATUSs',
				'required' => false,
			]
		]
	);
}

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