for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Dmitry Gladyshev <[email protected]>
* @created 29.11.16 14:09
*/
namespace Yandex\Direct\Service;
use Yandex\Direct\Exception\Exception;
use Yandex\Direct\Service;
* Class Clients
* @package Yandex\Direct\Service
final class Clients extends Service
{
* Возвращает параметры рекламодателя и представителя.
*
* @param array $FieldNames
* @return array
* @throws Exception
* @see https://tech.yandex.ru/direct/doc/ref-v5/clients/get-docpage/
public function get($FieldNames)
return $this->request([
'method' => 'get',
'params' => [
'FieldNames' => $FieldNames
]
]);
}
* Изменяет параметры рекламодателя и настройки пользователя — представителя рекламодателя.
* @param $Clients
* @throws \Yandex\Direct\Exception\ErrorResponseException
* @see https://yandex.ru/dev/direct/doc/ref-v5/clients/update-docpage/
public function update($Clients)
'method' => 'update',
'Clients' => $Clients