1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс AdsAudience

Открытые статические члены

static canUse ()
static useQueue ()
static getService ()
static addAudience ($type, $accountId=null, $name=null)
static addLookalikeAudience ($type, $accountId=null, $sourceAudienceId=null, $options=[])
static getAudiences ($type, $accountId=null)
static getRegions ($type)
static getProviders (array $types=null)
static addToAudience (AdsAudienceConfig $config, $contacts)
static getErrors ()
static resetErrors ()
static hasErrors ()
static removeAuth ($type)
static getServiceTypes ()
static getAccounts ($type)

Защищенные статические члены

static getServiceProviders (array $types=null)
static getClientsProfiles (AuthAdapter $authAdapter)

Статические защищенные данные

static $errors = array()
static $isQueueUsed = false

Подробное описание

См. определение в файле adsaudience.php строка 12

Методы

◆ addAudience()

addAudience ( $type,
$accountId = null,
$name = null )
static

Add audience.

Аргументы
string$typeType.
integer | null$accountIdAccount ID.
string | null$nameName.
Возвращает
integer|null

См. определение в файле adsaudience.php строка 58

◆ addLookalikeAudience()

addLookalikeAudience ( $type,
$accountId = null,
$sourceAudienceId = null,
$options = [] )
static

См. определение в файле adsaudience.php строка 87

◆ addToAudience()

addToAudience ( AdsAudienceConfig $config,
$contacts )
static

Add to audience

Аргументы
AdsAudienceConfig$configConfig.
array$contactsContacts.
Возвращает
bool

См. определение в файле adsaudience.php строка 200

◆ canUse()

canUse ( )
static

Return true if it can use.

Возвращает
bool

См. определение в файле adsaudience.php строка 25

◆ getAccounts()

getAccounts ( $type)
static

Get accounts.

Аргументы
string$typeType.
Возвращает
array

См. определение в файле adsaudience.php строка 388

◆ getAudiences()

getAudiences ( $type,
$accountId = null )
static

Get audiences.

Аргументы
string$typeType.
integer | null$accountIdAccount ID.
Возвращает
array

См. определение в файле adsaudience.php строка 114

◆ getClientsProfiles()

getClientsProfiles ( AuthAdapter $authAdapter)
staticprotected

Get client profiles.

Аргументы
AuthAdapter$authAdapterAuth adapter.
Возвращает
array

См. определение в файле adsaudience.php строка 355

◆ getErrors()

getErrors ( )
static

Get errors.

Возвращает
array

См. определение в файле adsaudience.php строка 247

◆ getProviders()

getProviders ( array $types = null)
static

Get providers.

Аргументы
array | null$typesTypes.
Возвращает
array

См. определение в файле adsaudience.php строка 174

◆ getRegions()

getRegions ( $type)
static

См. определение в файле adsaudience.php строка 157

◆ getService()

getService ( )
static

Get service.

Возвращает
Service

См. определение в файле adsaudience.php строка 45

◆ getServiceProviders()

getServiceProviders ( array $types = null)
staticprotected

Get providers list

Аргументы
array | null$typesProvider types.
Возвращает
array
Исключения

Bitrix\Main\SystemException

См. определение в файле adsaudience.php строка 304

◆ getServiceTypes()

getServiceTypes ( )
static

Get service types.

Возвращает
array

См. определение в файле adsaudience.php строка 288

◆ hasErrors()

hasErrors ( )
static

Return true if it has errors.

Возвращает
bool

См. определение в файле adsaudience.php строка 267

◆ removeAuth()

removeAuth ( $type)
static

Remove auth.

Аргументы
string$typeType.
Возвращает
void

См. определение в файле adsaudience.php строка 278

◆ resetErrors()

resetErrors ( )
static

Reset errors.

Возвращает
void

См. определение в файле adsaudience.php строка 257

◆ useQueue()

useQueue ( )
static

Use queue.

Возвращает
void

См. определение в файле adsaudience.php строка 35

Поля

◆ $errors

$errors = array()
staticprotected

См. определение в файле adsaudience.php строка 15

◆ $isQueueUsed

$isQueueUsed = false
staticprotected

См. определение в файле adsaudience.php строка 18


Объявления и описания членов класса находятся в файле: