Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,135 @@
<?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\AdMob;
class AdUnit extends \Google\Collection
{
protected $collection_key = 'adTypes';
/**
* @var string
*/
public $adFormat;
/**
* @var string[]
*/
public $adTypes;
/**
* @var string
*/
public $adUnitId;
/**
* @var string
*/
public $appId;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setAdFormat($adFormat)
{
$this->adFormat = $adFormat;
}
/**
* @return string
*/
public function getAdFormat()
{
return $this->adFormat;
}
/**
* @param string[]
*/
public function setAdTypes($adTypes)
{
$this->adTypes = $adTypes;
}
/**
* @return string[]
*/
public function getAdTypes()
{
return $this->adTypes;
}
/**
* @param string
*/
public function setAdUnitId($adUnitId)
{
$this->adUnitId = $adUnitId;
}
/**
* @return string
*/
public function getAdUnitId()
{
return $this->adUnitId;
}
/**
* @param string
*/
public function setAppId($appId)
{
$this->appId = $appId;
}
/**
* @return string
*/
public function getAppId()
{
return $this->appId;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdUnit::class, 'Google_Service_AdMob_AdUnit');

View File

@@ -0,0 +1,130 @@
<?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\AdMob;
class App extends \Google\Model
{
/**
* @var string
*/
public $appApprovalState;
/**
* @var string
*/
public $appId;
protected $linkedAppInfoType = AppLinkedAppInfo::class;
protected $linkedAppInfoDataType = '';
protected $manualAppInfoType = AppManualAppInfo::class;
protected $manualAppInfoDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $platform;
/**
* @param string
*/
public function setAppApprovalState($appApprovalState)
{
$this->appApprovalState = $appApprovalState;
}
/**
* @return string
*/
public function getAppApprovalState()
{
return $this->appApprovalState;
}
/**
* @param string
*/
public function setAppId($appId)
{
$this->appId = $appId;
}
/**
* @return string
*/
public function getAppId()
{
return $this->appId;
}
/**
* @param AppLinkedAppInfo
*/
public function setLinkedAppInfo(AppLinkedAppInfo $linkedAppInfo)
{
$this->linkedAppInfo = $linkedAppInfo;
}
/**
* @return AppLinkedAppInfo
*/
public function getLinkedAppInfo()
{
return $this->linkedAppInfo;
}
/**
* @param AppManualAppInfo
*/
public function setManualAppInfo(AppManualAppInfo $manualAppInfo)
{
$this->manualAppInfo = $manualAppInfo;
}
/**
* @return AppManualAppInfo
*/
public function getManualAppInfo()
{
return $this->manualAppInfo;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPlatform($platform)
{
$this->platform = $platform;
}
/**
* @return string
*/
public function getPlatform()
{
return $this->platform;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(App::class, 'Google_Service_AdMob_App');

View File

@@ -0,0 +1,62 @@
<?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\AdMob;
class AppLinkedAppInfo extends \Google\Model
{
/**
* @var string
*/
public $appStoreId;
/**
* @var string
*/
public $displayName;
/**
* @param string
*/
public function setAppStoreId($appStoreId)
{
$this->appStoreId = $appStoreId;
}
/**
* @return string
*/
public function getAppStoreId()
{
return $this->appStoreId;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppLinkedAppInfo::class, 'Google_Service_AdMob_AppLinkedAppInfo');

View File

@@ -0,0 +1,44 @@
<?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\AdMob;
class AppManualAppInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppManualAppInfo::class, 'Google_Service_AdMob_AppManualAppInfo');

View File

@@ -0,0 +1,80 @@
<?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\AdMob;
class Date extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_AdMob_Date');

View File

@@ -0,0 +1,58 @@
<?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\AdMob;
class DateRange extends \Google\Model
{
protected $endDateType = Date::class;
protected $endDateDataType = '';
protected $startDateType = Date::class;
protected $startDateDataType = '';
/**
* @param Date
*/
public function setEndDate(Date $endDate)
{
$this->endDate = $endDate;
}
/**
* @return Date
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* @param Date
*/
public function setStartDate(Date $startDate)
{
$this->startDate = $startDate;
}
/**
* @return Date
*/
public function getStartDate()
{
return $this->startDate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DateRange::class, 'Google_Service_AdMob_DateRange');

View File

@@ -0,0 +1,42 @@
<?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\AdMob;
class GenerateMediationReportRequest extends \Google\Model
{
protected $reportSpecType = MediationReportSpec::class;
protected $reportSpecDataType = '';
/**
* @param MediationReportSpec
*/
public function setReportSpec(MediationReportSpec $reportSpec)
{
$this->reportSpec = $reportSpec;
}
/**
* @return MediationReportSpec
*/
public function getReportSpec()
{
return $this->reportSpec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateMediationReportRequest::class, 'Google_Service_AdMob_GenerateMediationReportRequest');

View File

@@ -0,0 +1,74 @@
<?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\AdMob;
class GenerateMediationReportResponse extends \Google\Model
{
protected $footerType = ReportFooter::class;
protected $footerDataType = '';
protected $headerType = ReportHeader::class;
protected $headerDataType = '';
protected $rowType = ReportRow::class;
protected $rowDataType = '';
/**
* @param ReportFooter
*/
public function setFooter(ReportFooter $footer)
{
$this->footer = $footer;
}
/**
* @return ReportFooter
*/
public function getFooter()
{
return $this->footer;
}
/**
* @param ReportHeader
*/
public function setHeader(ReportHeader $header)
{
$this->header = $header;
}
/**
* @return ReportHeader
*/
public function getHeader()
{
return $this->header;
}
/**
* @param ReportRow
*/
public function setRow(ReportRow $row)
{
$this->row = $row;
}
/**
* @return ReportRow
*/
public function getRow()
{
return $this->row;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateMediationReportResponse::class, 'Google_Service_AdMob_GenerateMediationReportResponse');

View File

@@ -0,0 +1,42 @@
<?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\AdMob;
class GenerateNetworkReportRequest extends \Google\Model
{
protected $reportSpecType = NetworkReportSpec::class;
protected $reportSpecDataType = '';
/**
* @param NetworkReportSpec
*/
public function setReportSpec(NetworkReportSpec $reportSpec)
{
$this->reportSpec = $reportSpec;
}
/**
* @return NetworkReportSpec
*/
public function getReportSpec()
{
return $this->reportSpec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateNetworkReportRequest::class, 'Google_Service_AdMob_GenerateNetworkReportRequest');

View File

@@ -0,0 +1,74 @@
<?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\AdMob;
class GenerateNetworkReportResponse extends \Google\Model
{
protected $footerType = ReportFooter::class;
protected $footerDataType = '';
protected $headerType = ReportHeader::class;
protected $headerDataType = '';
protected $rowType = ReportRow::class;
protected $rowDataType = '';
/**
* @param ReportFooter
*/
public function setFooter(ReportFooter $footer)
{
$this->footer = $footer;
}
/**
* @return ReportFooter
*/
public function getFooter()
{
return $this->footer;
}
/**
* @param ReportHeader
*/
public function setHeader(ReportHeader $header)
{
$this->header = $header;
}
/**
* @return ReportHeader
*/
public function getHeader()
{
return $this->header;
}
/**
* @param ReportRow
*/
public function setRow(ReportRow $row)
{
$this->row = $row;
}
/**
* @return ReportRow
*/
public function getRow()
{
return $this->row;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateNetworkReportResponse::class, 'Google_Service_AdMob_GenerateNetworkReportResponse');

View File

@@ -0,0 +1,61 @@
<?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\AdMob;
class ListAdUnitsResponse extends \Google\Collection
{
protected $collection_key = 'adUnits';
protected $adUnitsType = AdUnit::class;
protected $adUnitsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AdUnit[]
*/
public function setAdUnits($adUnits)
{
$this->adUnits = $adUnits;
}
/**
* @return AdUnit[]
*/
public function getAdUnits()
{
return $this->adUnits;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAdUnitsResponse::class, 'Google_Service_AdMob_ListAdUnitsResponse');

View File

@@ -0,0 +1,61 @@
<?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\AdMob;
class ListAppsResponse extends \Google\Collection
{
protected $collection_key = 'apps';
protected $appsType = App::class;
protected $appsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param App[]
*/
public function setApps($apps)
{
$this->apps = $apps;
}
/**
* @return App[]
*/
public function getApps()
{
return $this->apps;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAppsResponse::class, 'Google_Service_AdMob_ListAppsResponse');

View File

@@ -0,0 +1,61 @@
<?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\AdMob;
class ListPublisherAccountsResponse extends \Google\Collection
{
protected $collection_key = 'account';
protected $accountType = PublisherAccount::class;
protected $accountDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param PublisherAccount[]
*/
public function setAccount($account)
{
$this->account = $account;
}
/**
* @return PublisherAccount[]
*/
public function getAccount()
{
return $this->account;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPublisherAccountsResponse::class, 'Google_Service_AdMob_ListPublisherAccountsResponse');

View File

@@ -0,0 +1,62 @@
<?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\AdMob;
class LocalizationSettings extends \Google\Model
{
/**
* @var string
*/
public $currencyCode;
/**
* @var string
*/
public $languageCode;
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocalizationSettings::class, 'Google_Service_AdMob_LocalizationSettings');

View File

@@ -0,0 +1,163 @@
<?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\AdMob;
class MediationReportSpec extends \Google\Collection
{
protected $collection_key = 'sortConditions';
protected $dateRangeType = DateRange::class;
protected $dateRangeDataType = '';
protected $dimensionFiltersType = MediationReportSpecDimensionFilter::class;
protected $dimensionFiltersDataType = 'array';
/**
* @var string[]
*/
public $dimensions;
protected $localizationSettingsType = LocalizationSettings::class;
protected $localizationSettingsDataType = '';
/**
* @var int
*/
public $maxReportRows;
/**
* @var string[]
*/
public $metrics;
protected $sortConditionsType = MediationReportSpecSortCondition::class;
protected $sortConditionsDataType = 'array';
/**
* @var string
*/
public $timeZone;
/**
* @param DateRange
*/
public function setDateRange(DateRange $dateRange)
{
$this->dateRange = $dateRange;
}
/**
* @return DateRange
*/
public function getDateRange()
{
return $this->dateRange;
}
/**
* @param MediationReportSpecDimensionFilter[]
*/
public function setDimensionFilters($dimensionFilters)
{
$this->dimensionFilters = $dimensionFilters;
}
/**
* @return MediationReportSpecDimensionFilter[]
*/
public function getDimensionFilters()
{
return $this->dimensionFilters;
}
/**
* @param string[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param LocalizationSettings
*/
public function setLocalizationSettings(LocalizationSettings $localizationSettings)
{
$this->localizationSettings = $localizationSettings;
}
/**
* @return LocalizationSettings
*/
public function getLocalizationSettings()
{
return $this->localizationSettings;
}
/**
* @param int
*/
public function setMaxReportRows($maxReportRows)
{
$this->maxReportRows = $maxReportRows;
}
/**
* @return int
*/
public function getMaxReportRows()
{
return $this->maxReportRows;
}
/**
* @param string[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param MediationReportSpecSortCondition[]
*/
public function setSortConditions($sortConditions)
{
$this->sortConditions = $sortConditions;
}
/**
* @return MediationReportSpecSortCondition[]
*/
public function getSortConditions()
{
return $this->sortConditions;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MediationReportSpec::class, 'Google_Service_AdMob_MediationReportSpec');

View File

@@ -0,0 +1,60 @@
<?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\AdMob;
class MediationReportSpecDimensionFilter extends \Google\Model
{
/**
* @var string
*/
public $dimension;
protected $matchesAnyType = StringList::class;
protected $matchesAnyDataType = '';
/**
* @param string
*/
public function setDimension($dimension)
{
$this->dimension = $dimension;
}
/**
* @return string
*/
public function getDimension()
{
return $this->dimension;
}
/**
* @param StringList
*/
public function setMatchesAny(StringList $matchesAny)
{
$this->matchesAny = $matchesAny;
}
/**
* @return StringList
*/
public function getMatchesAny()
{
return $this->matchesAny;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MediationReportSpecDimensionFilter::class, 'Google_Service_AdMob_MediationReportSpecDimensionFilter');

View File

@@ -0,0 +1,80 @@
<?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\AdMob;
class MediationReportSpecSortCondition extends \Google\Model
{
/**
* @var string
*/
public $dimension;
/**
* @var string
*/
public $metric;
/**
* @var string
*/
public $order;
/**
* @param string
*/
public function setDimension($dimension)
{
$this->dimension = $dimension;
}
/**
* @return string
*/
public function getDimension()
{
return $this->dimension;
}
/**
* @param string
*/
public function setMetric($metric)
{
$this->metric = $metric;
}
/**
* @return string
*/
public function getMetric()
{
return $this->metric;
}
/**
* @param string
*/
public function setOrder($order)
{
$this->order = $order;
}
/**
* @return string
*/
public function getOrder()
{
return $this->order;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MediationReportSpecSortCondition::class, 'Google_Service_AdMob_MediationReportSpecSortCondition');

View File

@@ -0,0 +1,163 @@
<?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\AdMob;
class NetworkReportSpec extends \Google\Collection
{
protected $collection_key = 'sortConditions';
protected $dateRangeType = DateRange::class;
protected $dateRangeDataType = '';
protected $dimensionFiltersType = NetworkReportSpecDimensionFilter::class;
protected $dimensionFiltersDataType = 'array';
/**
* @var string[]
*/
public $dimensions;
protected $localizationSettingsType = LocalizationSettings::class;
protected $localizationSettingsDataType = '';
/**
* @var int
*/
public $maxReportRows;
/**
* @var string[]
*/
public $metrics;
protected $sortConditionsType = NetworkReportSpecSortCondition::class;
protected $sortConditionsDataType = 'array';
/**
* @var string
*/
public $timeZone;
/**
* @param DateRange
*/
public function setDateRange(DateRange $dateRange)
{
$this->dateRange = $dateRange;
}
/**
* @return DateRange
*/
public function getDateRange()
{
return $this->dateRange;
}
/**
* @param NetworkReportSpecDimensionFilter[]
*/
public function setDimensionFilters($dimensionFilters)
{
$this->dimensionFilters = $dimensionFilters;
}
/**
* @return NetworkReportSpecDimensionFilter[]
*/
public function getDimensionFilters()
{
return $this->dimensionFilters;
}
/**
* @param string[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param LocalizationSettings
*/
public function setLocalizationSettings(LocalizationSettings $localizationSettings)
{
$this->localizationSettings = $localizationSettings;
}
/**
* @return LocalizationSettings
*/
public function getLocalizationSettings()
{
return $this->localizationSettings;
}
/**
* @param int
*/
public function setMaxReportRows($maxReportRows)
{
$this->maxReportRows = $maxReportRows;
}
/**
* @return int
*/
public function getMaxReportRows()
{
return $this->maxReportRows;
}
/**
* @param string[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param NetworkReportSpecSortCondition[]
*/
public function setSortConditions($sortConditions)
{
$this->sortConditions = $sortConditions;
}
/**
* @return NetworkReportSpecSortCondition[]
*/
public function getSortConditions()
{
return $this->sortConditions;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkReportSpec::class, 'Google_Service_AdMob_NetworkReportSpec');

View File

@@ -0,0 +1,60 @@
<?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\AdMob;
class NetworkReportSpecDimensionFilter extends \Google\Model
{
/**
* @var string
*/
public $dimension;
protected $matchesAnyType = StringList::class;
protected $matchesAnyDataType = '';
/**
* @param string
*/
public function setDimension($dimension)
{
$this->dimension = $dimension;
}
/**
* @return string
*/
public function getDimension()
{
return $this->dimension;
}
/**
* @param StringList
*/
public function setMatchesAny(StringList $matchesAny)
{
$this->matchesAny = $matchesAny;
}
/**
* @return StringList
*/
public function getMatchesAny()
{
return $this->matchesAny;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkReportSpecDimensionFilter::class, 'Google_Service_AdMob_NetworkReportSpecDimensionFilter');

View File

@@ -0,0 +1,80 @@
<?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\AdMob;
class NetworkReportSpecSortCondition extends \Google\Model
{
/**
* @var string
*/
public $dimension;
/**
* @var string
*/
public $metric;
/**
* @var string
*/
public $order;
/**
* @param string
*/
public function setDimension($dimension)
{
$this->dimension = $dimension;
}
/**
* @return string
*/
public function getDimension()
{
return $this->dimension;
}
/**
* @param string
*/
public function setMetric($metric)
{
$this->metric = $metric;
}
/**
* @return string
*/
public function getMetric()
{
return $this->metric;
}
/**
* @param string
*/
public function setOrder($order)
{
$this->order = $order;
}
/**
* @return string
*/
public function getOrder()
{
return $this->order;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkReportSpecSortCondition::class, 'Google_Service_AdMob_NetworkReportSpecSortCondition');

View File

@@ -0,0 +1,98 @@
<?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\AdMob;
class PublisherAccount extends \Google\Model
{
/**
* @var string
*/
public $currencyCode;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $publisherId;
/**
* @var string
*/
public $reportingTimeZone;
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPublisherId($publisherId)
{
$this->publisherId = $publisherId;
}
/**
* @return string
*/
public function getPublisherId()
{
return $this->publisherId;
}
/**
* @param string
*/
public function setReportingTimeZone($reportingTimeZone)
{
$this->reportingTimeZone = $reportingTimeZone;
}
/**
* @return string
*/
public function getReportingTimeZone()
{
return $this->reportingTimeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PublisherAccount::class, 'Google_Service_AdMob_PublisherAccount');

View File

@@ -0,0 +1,61 @@
<?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\AdMob;
class ReportFooter extends \Google\Collection
{
protected $collection_key = 'warnings';
/**
* @var string
*/
public $matchingRowCount;
protected $warningsType = ReportWarning::class;
protected $warningsDataType = 'array';
/**
* @param string
*/
public function setMatchingRowCount($matchingRowCount)
{
$this->matchingRowCount = $matchingRowCount;
}
/**
* @return string
*/
public function getMatchingRowCount()
{
return $this->matchingRowCount;
}
/**
* @param ReportWarning[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return ReportWarning[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportFooter::class, 'Google_Service_AdMob_ReportFooter');

View File

@@ -0,0 +1,76 @@
<?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\AdMob;
class ReportHeader extends \Google\Model
{
protected $dateRangeType = DateRange::class;
protected $dateRangeDataType = '';
protected $localizationSettingsType = LocalizationSettings::class;
protected $localizationSettingsDataType = '';
/**
* @var string
*/
public $reportingTimeZone;
/**
* @param DateRange
*/
public function setDateRange(DateRange $dateRange)
{
$this->dateRange = $dateRange;
}
/**
* @return DateRange
*/
public function getDateRange()
{
return $this->dateRange;
}
/**
* @param LocalizationSettings
*/
public function setLocalizationSettings(LocalizationSettings $localizationSettings)
{
$this->localizationSettings = $localizationSettings;
}
/**
* @return LocalizationSettings
*/
public function getLocalizationSettings()
{
return $this->localizationSettings;
}
/**
* @param string
*/
public function setReportingTimeZone($reportingTimeZone)
{
$this->reportingTimeZone = $reportingTimeZone;
}
/**
* @return string
*/
public function getReportingTimeZone()
{
return $this->reportingTimeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportHeader::class, 'Google_Service_AdMob_ReportHeader');

View File

@@ -0,0 +1,58 @@
<?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\AdMob;
class ReportRow extends \Google\Model
{
protected $dimensionValuesType = ReportRowDimensionValue::class;
protected $dimensionValuesDataType = 'map';
protected $metricValuesType = ReportRowMetricValue::class;
protected $metricValuesDataType = 'map';
/**
* @param ReportRowDimensionValue[]
*/
public function setDimensionValues($dimensionValues)
{
$this->dimensionValues = $dimensionValues;
}
/**
* @return ReportRowDimensionValue[]
*/
public function getDimensionValues()
{
return $this->dimensionValues;
}
/**
* @param ReportRowMetricValue[]
*/
public function setMetricValues($metricValues)
{
$this->metricValues = $metricValues;
}
/**
* @return ReportRowMetricValue[]
*/
public function getMetricValues()
{
return $this->metricValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportRow::class, 'Google_Service_AdMob_ReportRow');

View File

@@ -0,0 +1,62 @@
<?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\AdMob;
class ReportRowDimensionValue extends \Google\Model
{
/**
* @var string
*/
public $displayLabel;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setDisplayLabel($displayLabel)
{
$this->displayLabel = $displayLabel;
}
/**
* @return string
*/
public function getDisplayLabel()
{
return $this->displayLabel;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportRowDimensionValue::class, 'Google_Service_AdMob_ReportRowDimensionValue');

View File

@@ -0,0 +1,71 @@
<?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\AdMob;
class ReportRowMetricValue extends \Google\Model
{
public $doubleValue;
/**
* @var string
*/
public $integerValue;
/**
* @var string
*/
public $microsValue;
public function setDoubleValue($doubleValue)
{
$this->doubleValue = $doubleValue;
}
public function getDoubleValue()
{
return $this->doubleValue;
}
/**
* @param string
*/
public function setIntegerValue($integerValue)
{
$this->integerValue = $integerValue;
}
/**
* @return string
*/
public function getIntegerValue()
{
return $this->integerValue;
}
/**
* @param string
*/
public function setMicrosValue($microsValue)
{
$this->microsValue = $microsValue;
}
/**
* @return string
*/
public function getMicrosValue()
{
return $this->microsValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportRowMetricValue::class, 'Google_Service_AdMob_ReportRowMetricValue');

View File

@@ -0,0 +1,62 @@
<?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\AdMob;
class ReportWarning extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportWarning::class, 'Google_Service_AdMob_ReportWarning');

View File

@@ -0,0 +1,72 @@
<?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\AdMob\Resource;
use Google\Service\AdMob\ListPublisherAccountsResponse;
use Google\Service\AdMob\PublisherAccount;
/**
* The "accounts" collection of methods.
* Typical usage is:
* <code>
* $admobService = new Google\Service\AdMob(...);
* $accounts = $admobService->accounts;
* </code>
*/
class Accounts extends \Google\Service\Resource
{
/**
* Gets information about the specified AdMob publisher account. (accounts.get)
*
* @param string $name Resource name of the publisher account to retrieve.
* Example: accounts/pub-9876543210987654
* @param array $optParams Optional parameters.
* @return PublisherAccount
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], PublisherAccount::class);
}
/**
* Lists the AdMob publisher account that was most recently signed in to from
* the AdMob UI. For more information, see
* https://support.google.com/admob/answer/10243672. (accounts.listAccounts)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum number of accounts to return.
* @opt_param string pageToken The value returned by the last
* `ListPublisherAccountsResponse`; indicates that this is a continuation of a
* prior `ListPublisherAccounts` call, and that the system should return the
* next page of data.
* @return ListPublisherAccountsResponse
* @throws \Google\Service\Exception
*/
public function listAccounts($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPublisherAccountsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Accounts::class, 'Google_Service_AdMob_Resource_Accounts');

View File

@@ -0,0 +1,58 @@
<?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\AdMob\Resource;
use Google\Service\AdMob\ListAdUnitsResponse;
/**
* The "adUnits" collection of methods.
* Typical usage is:
* <code>
* $admobService = new Google\Service\AdMob(...);
* $adUnits = $admobService->accounts_adUnits;
* </code>
*/
class AccountsAdUnits extends \Google\Service\Resource
{
/**
* List the ad units under the specified AdMob account.
* (adUnits.listAccountsAdUnits)
*
* @param string $parent Required. Resource name of the account to list ad units
* for. Example: accounts/pub-9876543210987654
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of ad units to return. If
* unspecified or 0, at most 10,000 ad units will be returned. The maximum value
* is 20,000; values above 20,000 will be coerced to 20,000.
* @opt_param string pageToken The value returned by the last
* `ListAdUnitsResponse`; indicates that this is a continuation of a prior
* `ListAdUnits` call, and that the system should return the next page of data.
* @return ListAdUnitsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsAdUnits($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAdUnitsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsAdUnits::class, 'Google_Service_AdMob_Resource_AccountsAdUnits');

View File

@@ -0,0 +1,57 @@
<?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\AdMob\Resource;
use Google\Service\AdMob\ListAppsResponse;
/**
* The "apps" collection of methods.
* Typical usage is:
* <code>
* $admobService = new Google\Service\AdMob(...);
* $apps = $admobService->accounts_apps;
* </code>
*/
class AccountsApps extends \Google\Service\Resource
{
/**
* List the apps under the specified AdMob account. (apps.listAccountsApps)
*
* @param string $parent Required. Resource name of the account to list apps
* for. Example: accounts/pub-9876543210987654
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of apps to return. If unspecified
* or 0, at most 10,000 apps will be returned. The maximum value is 20,000;
* values above 20,000 will be coerced to 20,000.
* @opt_param string pageToken The value returned by the last
* `ListAppsResponse`; indicates that this is a continuation of a prior
* `ListApps` call, and that the system should return the next page of data.
* @return ListAppsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsApps($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAppsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsApps::class, 'Google_Service_AdMob_Resource_AccountsApps');

View File

@@ -0,0 +1,54 @@
<?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\AdMob\Resource;
use Google\Service\AdMob\GenerateMediationReportRequest;
use Google\Service\AdMob\GenerateMediationReportResponse;
/**
* The "mediationReport" collection of methods.
* Typical usage is:
* <code>
* $admobService = new Google\Service\AdMob(...);
* $mediationReport = $admobService->accounts_mediationReport;
* </code>
*/
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
* @throws \Google\Service\Exception
*/
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');

View File

@@ -0,0 +1,54 @@
<?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\AdMob\Resource;
use Google\Service\AdMob\GenerateNetworkReportRequest;
use Google\Service\AdMob\GenerateNetworkReportResponse;
/**
* The "networkReport" collection of methods.
* Typical usage is:
* <code>
* $admobService = new Google\Service\AdMob(...);
* $networkReport = $admobService->accounts_networkReport;
* </code>
*/
class AccountsNetworkReport extends \Google\Service\Resource
{
/**
* Generates an AdMob Network report based on the provided report specification.
* Returns result of a server-side streaming RPC. The result is returned in a
* sequence of responses. (networkReport.generate)
*
* @param string $parent Resource name of the account to generate the report
* for. Example: accounts/pub-9876543210987654
* @param GenerateNetworkReportRequest $postBody
* @param array $optParams Optional parameters.
* @return GenerateNetworkReportResponse
* @throws \Google\Service\Exception
*/
public function generate($parent, GenerateNetworkReportRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generate', [$params], GenerateNetworkReportResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsNetworkReport::class, 'Google_Service_AdMob_Resource_AccountsNetworkReport');

View File

@@ -0,0 +1,45 @@
<?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\AdMob;
class StringList extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string[]
*/
public $values;
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StringList::class, 'Google_Service_AdMob_StringList');