���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/netphim/vendor/google/apiclient-services/src/Doubleclicksearch/Resource/ |
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Service\Doubleclicksearch\Resource; use Google\Service\Doubleclicksearch\IdMappingFile; use Google\Service\Doubleclicksearch\Report; use Google\Service\Doubleclicksearch\ReportRequest; /** * The "reports" collection of methods. * Typical usage is: * <code> * $doubleclicksearchService = new Google\Service\Doubleclicksearch(...); * $reports = $doubleclicksearchService->reports; * </code> */ class Reports extends \Google\Service\Resource { /** * Generates and returns a report immediately. (reports.generate) * * @param ReportRequest $postBody * @param array $optParams Optional parameters. * @return Report */ public function generate(ReportRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('generate', [$params], Report::class); } /** * Polls for the status of a report request. (reports.get) * * @param string $reportId ID of the report request being polled. * @param array $optParams Optional parameters. * @return Report */ public function get($reportId, $optParams = []) { $params = ['reportId' => $reportId]; $params = array_merge($params, $optParams); return $this->call('get', [$params], Report::class); } /** * Downloads a report file encoded in UTF-8. (reports.getFile) * * @param string $reportId ID of the report. * @param int $reportFragment The index of the report fragment to download. * @param array $optParams Optional parameters. */ public function getFile($reportId, $reportFragment, $optParams = []) { $params = ['reportId' => $reportId, 'reportFragment' => $reportFragment]; $params = array_merge($params, $optParams); return $this->call('getFile', [$params]); } /** * Downloads a csv file(encoded in UTF-8) that contains ID mappings between * legacy SA360 and new SA360. The file includes all children entities of the * given advertiser(e.g. engine accounts, campaigns, ad groups, etc.) that exist * in both legacy SA360 and new SA360. (reports.getIdMappingFile) * * @param string $agencyId Legacy SA360 agency ID. * @param string $advertiserId Legacy SA360 advertiser ID. * @param array $optParams Optional parameters. * @return IdMappingFile */ public function getIdMappingFile($agencyId, $advertiserId, $optParams = []) { $params = ['agencyId' => $agencyId, 'advertiserId' => $advertiserId]; $params = array_merge($params, $optParams); return $this->call('getIdMappingFile', [$params], IdMappingFile::class); } /** * Inserts a report request into the reporting system. (reports.request) * * @param ReportRequest $postBody * @param array $optParams Optional parameters. * @return Report */ public function request(ReportRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('request', [$params], Report::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Reports::class, 'Google_Service_Doubleclicksearch_Resource_Reports');