* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...); * $pubprofiles = $adexchangebuyerService->pubprofiles; * */ class Pubprofiles extends \Google\Service\Resource { /** * Gets the requested publisher profile(s) by publisher accountId. * (pubprofiles.listPubprofiles) * * @param int $accountId The accountId of the publisher to get profiles for. * @param array $optParams Optional parameters. * @return GetPublisherProfilesByAccountIdResponse */ public function listPubprofiles($accountId, $optParams = []) { $params = ['accountId' => $accountId]; $params = array_merge($params, $optParams); return $this->call('list', [$params], GetPublisherProfilesByAccountIdResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Pubprofiles::class, 'Google_Service_AdExchangeBuyer_Resource_Pubprofiles');