request->send(array( 'methodName' => 'account.list', 'parameters' => array() )); return $response; } public function getProfile() { $response = $this->request->send(array( 'methodName' => 'retargeting.profile', 'parameters' => array() )); if ($response->isSuccess()) { $data = $response->fetch(); return array( 'ID' => $data['ID'], 'NAME' => $data['NAME'], 'LINK' => '', 'PICTURE' => $data['PICTURE'], ); } return null; } }