* $dfareportingService = new Google\Service\Dfareporting(...); * $tvCampaignDetails = $dfareportingService->tvCampaignDetails; * */ class TvCampaignDetails extends \Google\Service\Resource { /** * Gets one TvCampaignDetail by ID. (tvCampaignDetails.get) * * @param string $profileId Required. User profile ID associated with this * request. * @param string $id Required. TV Campaign ID. * @param array $optParams Optional parameters. * * @opt_param string accountId Required. Account ID associated with this * request. * @return TvCampaignDetail * @throws \Google\Service\Exception */ public function get($profileId, $id, $optParams = []) { $params = ['profileId' => $profileId, 'id' => $id]; $params = array_merge($params, $optParams); return $this->call('get', [$params], TvCampaignDetail::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TvCampaignDetails::class, 'Google_Service_Dfareporting_Resource_TvCampaignDetails');