* $admobService = new Google\Service\AdMob(...); * $mediationReport = $admobService->mediationReport; * */ class AccountsMediationReport extends \Google\Service\Resource { /** * Generates an AdMob Mediation report based on the provided report * specification. Returns result of a server-side streaming RPC. The result is * returned in a sequence of responses. (mediationReport.generate) * * @param string $parent Resource name of the account to generate the report * for. Example: accounts/pub-9876543210987654 * @param GenerateMediationReportRequest $postBody * @param array $optParams Optional parameters. * @return GenerateMediationReportResponse */ public function generate($parent, GenerateMediationReportRequest $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('generate', [$params], GenerateMediationReportResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AccountsMediationReport::class, 'Google_Service_AdMob_Resource_AccountsMediationReport');