Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс AccountYandex
+ Граф наследования:AccountYandex:

Открытые члены

 getList ()
 
 hasAccounts ()
 
 getProfile ()
 
 getExpenses ($accountId=null, Date $dateFrom=null, Date $dateTo=null)
 
 updateAnalyticParams ($accountId, array $params, array $publicPageIds=[])
 
- Открытые члены унаследованные от BaseApiObject
 __construct ()
 
 getRequest ()
 
 setRequest (Request $request)
 
 setService (IService $service)
 

Открытые атрибуты

const TYPE_CODE = 'yandex'
 
const ERROR_CODE_REPORT_OFFLINE = 100201
 
- Открытые атрибуты унаследованные от BaseApiObject
const TYPE_CODE = ''
 

Защищенные члены

 getCurrency ()
 
 getReportErrorByHttpStatus ($status)
 
 parseReportData ($data)
 
 getYandexServerAdress ()
 
 getAuthToken ()
 
 getClient ()
 

Защищенные данные

 $currency
 
- Защищенные данные унаследованные от BaseApiObject
 $request
 
 $service
 

Дополнительные унаследованные члены

- Открытые статические члены унаследованные от BaseApiObject
static normalizeListRow (array $row)
 
static create ($type, $parameters=null, IService $service=null)
 
- Статические защищенные данные унаследованные от BaseApiObject
static $listRowMap = array()
 

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

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

Методы

◆ getAuthToken()

getAuthToken ( )
protected
Возвращает
string

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

◆ getClient()

getClient ( )
protected
Возвращает
\Bitrix\Seo\Retargeting\AdsHttpClient

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

◆ getCurrency()

getCurrency ( )
protected

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

◆ getExpenses()

getExpenses ( $accountId = null,
Date $dateFrom = null,
Date $dateTo = null )
Аргументы
$accountId
Date | null$dateFrom
Date | null$dateTo
Возвращает
Response

Переопределяет метод предка Account.

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

◆ getList()

getList ( )

Get list.

Возвращает
Response

Переопределяет метод предка Account.

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

◆ getProfile()

getProfile ( )
Возвращает
array|null
Исключения

Bitrix\Main\ArgumentException

Переопределяет метод предка Account.

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

◆ getReportErrorByHttpStatus()

getReportErrorByHttpStatus ( $status)
protected
Аргументы
$status
Возвращает
Error

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

◆ getYandexServerAdress()

getYandexServerAdress ( )
protected
Возвращает
string

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

◆ hasAccounts()

hasAccounts ( )

Return true if it has accounts.

Возвращает
bool

Переопределяет метод предка Account.

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

◆ parseReportData()

parseReportData ( $data)
protected
Аргументы
string$data
Возвращает
array

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

◆ updateAnalyticParams()

updateAnalyticParams ( $accountId,
array $params,
array $publicPageIds = [] )
Аргументы
$accountId
array$params
array$publicPageIds
Возвращает
Response

Переопределяет метод предка Account.

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

Данные класса

◆ $currency

$currency
protected

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

◆ ERROR_CODE_REPORT_OFFLINE

const ERROR_CODE_REPORT_OFFLINE = 100201

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

◆ TYPE_CODE

const TYPE_CODE = 'yandex'

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