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,25 @@
<?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\RealTimeBidding;
class ActivatePretargetingConfigRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ActivatePretargetingConfigRequest::class, 'Google_Service_RealTimeBidding_ActivatePretargetingConfigRequest');

View File

@@ -0,0 +1,81 @@
<?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\RealTimeBidding;
class AdTechnologyProviders extends \Google\Collection
{
protected $collection_key = 'unidentifiedProviderDomains';
/**
* @var string[]
*/
public $detectedGvlIds;
/**
* @var string[]
*/
public $detectedProviderIds;
/**
* @var string[]
*/
public $unidentifiedProviderDomains;
/**
* @param string[]
*/
public function setDetectedGvlIds($detectedGvlIds)
{
$this->detectedGvlIds = $detectedGvlIds;
}
/**
* @return string[]
*/
public function getDetectedGvlIds()
{
return $this->detectedGvlIds;
}
/**
* @param string[]
*/
public function setDetectedProviderIds($detectedProviderIds)
{
$this->detectedProviderIds = $detectedProviderIds;
}
/**
* @return string[]
*/
public function getDetectedProviderIds()
{
return $this->detectedProviderIds;
}
/**
* @param string[]
*/
public function setUnidentifiedProviderDomains($unidentifiedProviderDomains)
{
$this->unidentifiedProviderDomains = $unidentifiedProviderDomains;
}
/**
* @return string[]
*/
public function getUnidentifiedProviderDomains()
{
return $this->unidentifiedProviderDomains;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdTechnologyProviders::class, 'Google_Service_RealTimeBidding_AdTechnologyProviders');

View File

@@ -0,0 +1,63 @@
<?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\RealTimeBidding;
class AddTargetedAppsRequest extends \Google\Collection
{
protected $collection_key = 'appIds';
/**
* @var string[]
*/
public $appIds;
/**
* @var string
*/
public $targetingMode;
/**
* @param string[]
*/
public function setAppIds($appIds)
{
$this->appIds = $appIds;
}
/**
* @return string[]
*/
public function getAppIds()
{
return $this->appIds;
}
/**
* @param string
*/
public function setTargetingMode($targetingMode)
{
$this->targetingMode = $targetingMode;
}
/**
* @return string
*/
public function getTargetingMode()
{
return $this->targetingMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddTargetedAppsRequest::class, 'Google_Service_RealTimeBidding_AddTargetedAppsRequest');

View File

@@ -0,0 +1,63 @@
<?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\RealTimeBidding;
class AddTargetedPublishersRequest extends \Google\Collection
{
protected $collection_key = 'publisherIds';
/**
* @var string[]
*/
public $publisherIds;
/**
* @var string
*/
public $targetingMode;
/**
* @param string[]
*/
public function setPublisherIds($publisherIds)
{
$this->publisherIds = $publisherIds;
}
/**
* @return string[]
*/
public function getPublisherIds()
{
return $this->publisherIds;
}
/**
* @param string
*/
public function setTargetingMode($targetingMode)
{
$this->targetingMode = $targetingMode;
}
/**
* @return string
*/
public function getTargetingMode()
{
return $this->targetingMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddTargetedPublishersRequest::class, 'Google_Service_RealTimeBidding_AddTargetedPublishersRequest');

View File

@@ -0,0 +1,63 @@
<?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\RealTimeBidding;
class AddTargetedSitesRequest extends \Google\Collection
{
protected $collection_key = 'sites';
/**
* @var string[]
*/
public $sites;
/**
* @var string
*/
public $targetingMode;
/**
* @param string[]
*/
public function setSites($sites)
{
$this->sites = $sites;
}
/**
* @return string[]
*/
public function getSites()
{
return $this->sites;
}
/**
* @param string
*/
public function setTargetingMode($targetingMode)
{
$this->targetingMode = $targetingMode;
}
/**
* @return string
*/
public function getTargetingMode()
{
return $this->targetingMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddTargetedSitesRequest::class, 'Google_Service_RealTimeBidding_AddTargetedSitesRequest');

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\RealTimeBidding;
class AdvertiserAndBrand extends \Google\Model
{
/**
* @var string
*/
public $advertiserId;
/**
* @var string
*/
public $advertiserName;
/**
* @var string
*/
public $brandId;
/**
* @var string
*/
public $brandName;
/**
* @param string
*/
public function setAdvertiserId($advertiserId)
{
$this->advertiserId = $advertiserId;
}
/**
* @return string
*/
public function getAdvertiserId()
{
return $this->advertiserId;
}
/**
* @param string
*/
public function setAdvertiserName($advertiserName)
{
$this->advertiserName = $advertiserName;
}
/**
* @return string
*/
public function getAdvertiserName()
{
return $this->advertiserName;
}
/**
* @param string
*/
public function setBrandId($brandId)
{
$this->brandId = $brandId;
}
/**
* @return string
*/
public function getBrandId()
{
return $this->brandId;
}
/**
* @param string
*/
public function setBrandName($brandName)
{
$this->brandName = $brandName;
}
/**
* @return string
*/
public function getBrandName()
{
return $this->brandName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdvertiserAndBrand::class, 'Google_Service_RealTimeBidding_AdvertiserAndBrand');

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\RealTimeBidding;
class AppTargeting extends \Google\Model
{
protected $mobileAppCategoryTargetingType = NumericTargetingDimension::class;
protected $mobileAppCategoryTargetingDataType = '';
protected $mobileAppTargetingType = StringTargetingDimension::class;
protected $mobileAppTargetingDataType = '';
/**
* @param NumericTargetingDimension
*/
public function setMobileAppCategoryTargeting(NumericTargetingDimension $mobileAppCategoryTargeting)
{
$this->mobileAppCategoryTargeting = $mobileAppCategoryTargeting;
}
/**
* @return NumericTargetingDimension
*/
public function getMobileAppCategoryTargeting()
{
return $this->mobileAppCategoryTargeting;
}
/**
* @param StringTargetingDimension
*/
public function setMobileAppTargeting(StringTargetingDimension $mobileAppTargeting)
{
$this->mobileAppTargeting = $mobileAppTargeting;
}
/**
* @return StringTargetingDimension
*/
public function getMobileAppTargeting()
{
return $this->mobileAppTargeting;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppTargeting::class, 'Google_Service_RealTimeBidding_AppTargeting');

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\RealTimeBidding;
class BatchApprovePublisherConnectionsRequest extends \Google\Collection
{
protected $collection_key = 'names';
/**
* @var string[]
*/
public $names;
/**
* @param string[]
*/
public function setNames($names)
{
$this->names = $names;
}
/**
* @return string[]
*/
public function getNames()
{
return $this->names;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchApprovePublisherConnectionsRequest::class, 'Google_Service_RealTimeBidding_BatchApprovePublisherConnectionsRequest');

View File

@@ -0,0 +1,43 @@
<?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\RealTimeBidding;
class BatchApprovePublisherConnectionsResponse extends \Google\Collection
{
protected $collection_key = 'publisherConnections';
protected $publisherConnectionsType = PublisherConnection::class;
protected $publisherConnectionsDataType = 'array';
/**
* @param PublisherConnection[]
*/
public function setPublisherConnections($publisherConnections)
{
$this->publisherConnections = $publisherConnections;
}
/**
* @return PublisherConnection[]
*/
public function getPublisherConnections()
{
return $this->publisherConnections;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchApprovePublisherConnectionsResponse::class, 'Google_Service_RealTimeBidding_BatchApprovePublisherConnectionsResponse');

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\RealTimeBidding;
class BatchRejectPublisherConnectionsRequest extends \Google\Collection
{
protected $collection_key = 'names';
/**
* @var string[]
*/
public $names;
/**
* @param string[]
*/
public function setNames($names)
{
$this->names = $names;
}
/**
* @return string[]
*/
public function getNames()
{
return $this->names;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchRejectPublisherConnectionsRequest::class, 'Google_Service_RealTimeBidding_BatchRejectPublisherConnectionsRequest');

View File

@@ -0,0 +1,43 @@
<?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\RealTimeBidding;
class BatchRejectPublisherConnectionsResponse extends \Google\Collection
{
protected $collection_key = 'publisherConnections';
protected $publisherConnectionsType = PublisherConnection::class;
protected $publisherConnectionsDataType = 'array';
/**
* @param PublisherConnection[]
*/
public function setPublisherConnections($publisherConnections)
{
$this->publisherConnections = $publisherConnections;
}
/**
* @return PublisherConnection[]
*/
public function getPublisherConnections()
{
return $this->publisherConnections;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchRejectPublisherConnectionsResponse::class, 'Google_Service_RealTimeBidding_BatchRejectPublisherConnectionsResponse');

View File

@@ -0,0 +1,116 @@
<?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\RealTimeBidding;
class Bidder extends \Google\Model
{
/**
* @var bool
*/
public $bypassNonguaranteedDealsPretargeting;
/**
* @var string
*/
public $cookieMatchingNetworkId;
/**
* @var string
*/
public $cookieMatchingUrl;
/**
* @var string
*/
public $dealsBillingId;
/**
* @var string
*/
public $name;
/**
* @param bool
*/
public function setBypassNonguaranteedDealsPretargeting($bypassNonguaranteedDealsPretargeting)
{
$this->bypassNonguaranteedDealsPretargeting = $bypassNonguaranteedDealsPretargeting;
}
/**
* @return bool
*/
public function getBypassNonguaranteedDealsPretargeting()
{
return $this->bypassNonguaranteedDealsPretargeting;
}
/**
* @param string
*/
public function setCookieMatchingNetworkId($cookieMatchingNetworkId)
{
$this->cookieMatchingNetworkId = $cookieMatchingNetworkId;
}
/**
* @return string
*/
public function getCookieMatchingNetworkId()
{
return $this->cookieMatchingNetworkId;
}
/**
* @param string
*/
public function setCookieMatchingUrl($cookieMatchingUrl)
{
$this->cookieMatchingUrl = $cookieMatchingUrl;
}
/**
* @return string
*/
public function getCookieMatchingUrl()
{
return $this->cookieMatchingUrl;
}
/**
* @param string
*/
public function setDealsBillingId($dealsBillingId)
{
$this->dealsBillingId = $dealsBillingId;
}
/**
* @return string
*/
public function getDealsBillingId()
{
return $this->dealsBillingId;
}
/**
* @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(Bidder::class, 'Google_Service_RealTimeBidding_Bidder');

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\RealTimeBidding;
class Buyer extends \Google\Collection
{
protected $collection_key = 'billingIds';
/**
* @var string
*/
public $activeCreativeCount;
/**
* @var string
*/
public $bidder;
/**
* @var string[]
*/
public $billingIds;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $maximumActiveCreativeCount;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setActiveCreativeCount($activeCreativeCount)
{
$this->activeCreativeCount = $activeCreativeCount;
}
/**
* @return string
*/
public function getActiveCreativeCount()
{
return $this->activeCreativeCount;
}
/**
* @param string
*/
public function setBidder($bidder)
{
$this->bidder = $bidder;
}
/**
* @return string
*/
public function getBidder()
{
return $this->bidder;
}
/**
* @param string[]
*/
public function setBillingIds($billingIds)
{
$this->billingIds = $billingIds;
}
/**
* @return string[]
*/
public function getBillingIds()
{
return $this->billingIds;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setMaximumActiveCreativeCount($maximumActiveCreativeCount)
{
$this->maximumActiveCreativeCount = $maximumActiveCreativeCount;
}
/**
* @return string
*/
public function getMaximumActiveCreativeCount()
{
return $this->maximumActiveCreativeCount;
}
/**
* @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(Buyer::class, 'Google_Service_RealTimeBidding_Buyer');

View File

@@ -0,0 +1,25 @@
<?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\RealTimeBidding;
class CloseUserListRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloseUserListRequest::class, 'Google_Service_RealTimeBidding_CloseUserListRequest');

View File

@@ -0,0 +1,397 @@
<?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\RealTimeBidding;
class Creative extends \Google\Collection
{
protected $collection_key = 'restrictedCategories';
/**
* @var string
*/
public $accountId;
/**
* @var string
*/
public $adChoicesDestinationUrl;
/**
* @var string
*/
public $advertiserName;
/**
* @var string
*/
public $agencyId;
/**
* @var string
*/
public $apiUpdateTime;
/**
* @var string
*/
public $creativeFormat;
/**
* @var string
*/
public $creativeId;
protected $creativeServingDecisionType = CreativeServingDecision::class;
protected $creativeServingDecisionDataType = '';
/**
* @var string[]
*/
public $dealIds;
/**
* @var string[]
*/
public $declaredAttributes;
/**
* @var string[]
*/
public $declaredClickThroughUrls;
/**
* @var string[]
*/
public $declaredRestrictedCategories;
/**
* @var int[]
*/
public $declaredVendorIds;
protected $htmlType = HtmlContent::class;
protected $htmlDataType = '';
/**
* @var string[]
*/
public $impressionTrackingUrls;
/**
* @var string
*/
public $name;
protected $nativeType = NativeContent::class;
protected $nativeDataType = '';
/**
* @var string
*/
public $renderUrl;
/**
* @var string[]
*/
public $restrictedCategories;
/**
* @var int
*/
public $version;
protected $videoType = VideoContent::class;
protected $videoDataType = '';
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param string
*/
public function setAdChoicesDestinationUrl($adChoicesDestinationUrl)
{
$this->adChoicesDestinationUrl = $adChoicesDestinationUrl;
}
/**
* @return string
*/
public function getAdChoicesDestinationUrl()
{
return $this->adChoicesDestinationUrl;
}
/**
* @param string
*/
public function setAdvertiserName($advertiserName)
{
$this->advertiserName = $advertiserName;
}
/**
* @return string
*/
public function getAdvertiserName()
{
return $this->advertiserName;
}
/**
* @param string
*/
public function setAgencyId($agencyId)
{
$this->agencyId = $agencyId;
}
/**
* @return string
*/
public function getAgencyId()
{
return $this->agencyId;
}
/**
* @param string
*/
public function setApiUpdateTime($apiUpdateTime)
{
$this->apiUpdateTime = $apiUpdateTime;
}
/**
* @return string
*/
public function getApiUpdateTime()
{
return $this->apiUpdateTime;
}
/**
* @param string
*/
public function setCreativeFormat($creativeFormat)
{
$this->creativeFormat = $creativeFormat;
}
/**
* @return string
*/
public function getCreativeFormat()
{
return $this->creativeFormat;
}
/**
* @param string
*/
public function setCreativeId($creativeId)
{
$this->creativeId = $creativeId;
}
/**
* @return string
*/
public function getCreativeId()
{
return $this->creativeId;
}
/**
* @param CreativeServingDecision
*/
public function setCreativeServingDecision(CreativeServingDecision $creativeServingDecision)
{
$this->creativeServingDecision = $creativeServingDecision;
}
/**
* @return CreativeServingDecision
*/
public function getCreativeServingDecision()
{
return $this->creativeServingDecision;
}
/**
* @param string[]
*/
public function setDealIds($dealIds)
{
$this->dealIds = $dealIds;
}
/**
* @return string[]
*/
public function getDealIds()
{
return $this->dealIds;
}
/**
* @param string[]
*/
public function setDeclaredAttributes($declaredAttributes)
{
$this->declaredAttributes = $declaredAttributes;
}
/**
* @return string[]
*/
public function getDeclaredAttributes()
{
return $this->declaredAttributes;
}
/**
* @param string[]
*/
public function setDeclaredClickThroughUrls($declaredClickThroughUrls)
{
$this->declaredClickThroughUrls = $declaredClickThroughUrls;
}
/**
* @return string[]
*/
public function getDeclaredClickThroughUrls()
{
return $this->declaredClickThroughUrls;
}
/**
* @param string[]
*/
public function setDeclaredRestrictedCategories($declaredRestrictedCategories)
{
$this->declaredRestrictedCategories = $declaredRestrictedCategories;
}
/**
* @return string[]
*/
public function getDeclaredRestrictedCategories()
{
return $this->declaredRestrictedCategories;
}
/**
* @param int[]
*/
public function setDeclaredVendorIds($declaredVendorIds)
{
$this->declaredVendorIds = $declaredVendorIds;
}
/**
* @return int[]
*/
public function getDeclaredVendorIds()
{
return $this->declaredVendorIds;
}
/**
* @param HtmlContent
*/
public function setHtml(HtmlContent $html)
{
$this->html = $html;
}
/**
* @return HtmlContent
*/
public function getHtml()
{
return $this->html;
}
/**
* @param string[]
*/
public function setImpressionTrackingUrls($impressionTrackingUrls)
{
$this->impressionTrackingUrls = $impressionTrackingUrls;
}
/**
* @return string[]
*/
public function getImpressionTrackingUrls()
{
return $this->impressionTrackingUrls;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NativeContent
*/
public function setNative(NativeContent $native)
{
$this->native = $native;
}
/**
* @return NativeContent
*/
public function getNative()
{
return $this->native;
}
/**
* @param string
*/
public function setRenderUrl($renderUrl)
{
$this->renderUrl = $renderUrl;
}
/**
* @return string
*/
public function getRenderUrl()
{
return $this->renderUrl;
}
/**
* @param string[]
*/
public function setRestrictedCategories($restrictedCategories)
{
$this->restrictedCategories = $restrictedCategories;
}
/**
* @return string[]
*/
public function getRestrictedCategories()
{
return $this->restrictedCategories;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
/**
* @param VideoContent
*/
public function setVideo(VideoContent $video)
{
$this->video = $video;
}
/**
* @return VideoContent
*/
public function getVideo()
{
return $this->video;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Creative::class, 'Google_Service_RealTimeBidding_Creative');

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\RealTimeBidding;
class CreativeDimensions extends \Google\Model
{
/**
* @var string
*/
public $height;
/**
* @var string
*/
public $width;
/**
* @param string
*/
public function setHeight($height)
{
$this->height = $height;
}
/**
* @return string
*/
public function getHeight()
{
return $this->height;
}
/**
* @param string
*/
public function setWidth($width)
{
$this->width = $width;
}
/**
* @return string
*/
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeDimensions::class, 'Google_Service_RealTimeBidding_CreativeDimensions');

View File

@@ -0,0 +1,319 @@
<?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\RealTimeBidding;
class CreativeServingDecision extends \Google\Collection
{
protected $collection_key = 'detectedVendorIds';
protected $adTechnologyProvidersType = AdTechnologyProviders::class;
protected $adTechnologyProvidersDataType = '';
protected $chinaPolicyComplianceType = PolicyCompliance::class;
protected $chinaPolicyComplianceDataType = '';
protected $dealsPolicyComplianceType = PolicyCompliance::class;
protected $dealsPolicyComplianceDataType = '';
protected $detectedAdvertisersType = AdvertiserAndBrand::class;
protected $detectedAdvertisersDataType = 'array';
/**
* @var string[]
*/
public $detectedAttributes;
/**
* @var string[]
*/
public $detectedCategories;
/**
* @var string
*/
public $detectedCategoriesTaxonomy;
/**
* @var string[]
*/
public $detectedClickThroughUrls;
/**
* @var string[]
*/
public $detectedDomains;
/**
* @var string[]
*/
public $detectedLanguages;
/**
* @var int[]
*/
public $detectedProductCategories;
/**
* @var int[]
*/
public $detectedSensitiveCategories;
/**
* @var int[]
*/
public $detectedVendorIds;
/**
* @var string
*/
public $lastStatusUpdate;
protected $networkPolicyComplianceType = PolicyCompliance::class;
protected $networkPolicyComplianceDataType = '';
protected $platformPolicyComplianceType = PolicyCompliance::class;
protected $platformPolicyComplianceDataType = '';
protected $russiaPolicyComplianceType = PolicyCompliance::class;
protected $russiaPolicyComplianceDataType = '';
/**
* @param AdTechnologyProviders
*/
public function setAdTechnologyProviders(AdTechnologyProviders $adTechnologyProviders)
{
$this->adTechnologyProviders = $adTechnologyProviders;
}
/**
* @return AdTechnologyProviders
*/
public function getAdTechnologyProviders()
{
return $this->adTechnologyProviders;
}
/**
* @param PolicyCompliance
*/
public function setChinaPolicyCompliance(PolicyCompliance $chinaPolicyCompliance)
{
$this->chinaPolicyCompliance = $chinaPolicyCompliance;
}
/**
* @return PolicyCompliance
*/
public function getChinaPolicyCompliance()
{
return $this->chinaPolicyCompliance;
}
/**
* @param PolicyCompliance
*/
public function setDealsPolicyCompliance(PolicyCompliance $dealsPolicyCompliance)
{
$this->dealsPolicyCompliance = $dealsPolicyCompliance;
}
/**
* @return PolicyCompliance
*/
public function getDealsPolicyCompliance()
{
return $this->dealsPolicyCompliance;
}
/**
* @param AdvertiserAndBrand[]
*/
public function setDetectedAdvertisers($detectedAdvertisers)
{
$this->detectedAdvertisers = $detectedAdvertisers;
}
/**
* @return AdvertiserAndBrand[]
*/
public function getDetectedAdvertisers()
{
return $this->detectedAdvertisers;
}
/**
* @param string[]
*/
public function setDetectedAttributes($detectedAttributes)
{
$this->detectedAttributes = $detectedAttributes;
}
/**
* @return string[]
*/
public function getDetectedAttributes()
{
return $this->detectedAttributes;
}
/**
* @param string[]
*/
public function setDetectedCategories($detectedCategories)
{
$this->detectedCategories = $detectedCategories;
}
/**
* @return string[]
*/
public function getDetectedCategories()
{
return $this->detectedCategories;
}
/**
* @param string
*/
public function setDetectedCategoriesTaxonomy($detectedCategoriesTaxonomy)
{
$this->detectedCategoriesTaxonomy = $detectedCategoriesTaxonomy;
}
/**
* @return string
*/
public function getDetectedCategoriesTaxonomy()
{
return $this->detectedCategoriesTaxonomy;
}
/**
* @param string[]
*/
public function setDetectedClickThroughUrls($detectedClickThroughUrls)
{
$this->detectedClickThroughUrls = $detectedClickThroughUrls;
}
/**
* @return string[]
*/
public function getDetectedClickThroughUrls()
{
return $this->detectedClickThroughUrls;
}
/**
* @param string[]
*/
public function setDetectedDomains($detectedDomains)
{
$this->detectedDomains = $detectedDomains;
}
/**
* @return string[]
*/
public function getDetectedDomains()
{
return $this->detectedDomains;
}
/**
* @param string[]
*/
public function setDetectedLanguages($detectedLanguages)
{
$this->detectedLanguages = $detectedLanguages;
}
/**
* @return string[]
*/
public function getDetectedLanguages()
{
return $this->detectedLanguages;
}
/**
* @param int[]
*/
public function setDetectedProductCategories($detectedProductCategories)
{
$this->detectedProductCategories = $detectedProductCategories;
}
/**
* @return int[]
*/
public function getDetectedProductCategories()
{
return $this->detectedProductCategories;
}
/**
* @param int[]
*/
public function setDetectedSensitiveCategories($detectedSensitiveCategories)
{
$this->detectedSensitiveCategories = $detectedSensitiveCategories;
}
/**
* @return int[]
*/
public function getDetectedSensitiveCategories()
{
return $this->detectedSensitiveCategories;
}
/**
* @param int[]
*/
public function setDetectedVendorIds($detectedVendorIds)
{
$this->detectedVendorIds = $detectedVendorIds;
}
/**
* @return int[]
*/
public function getDetectedVendorIds()
{
return $this->detectedVendorIds;
}
/**
* @param string
*/
public function setLastStatusUpdate($lastStatusUpdate)
{
$this->lastStatusUpdate = $lastStatusUpdate;
}
/**
* @return string
*/
public function getLastStatusUpdate()
{
return $this->lastStatusUpdate;
}
/**
* @param PolicyCompliance
*/
public function setNetworkPolicyCompliance(PolicyCompliance $networkPolicyCompliance)
{
$this->networkPolicyCompliance = $networkPolicyCompliance;
}
/**
* @return PolicyCompliance
*/
public function getNetworkPolicyCompliance()
{
return $this->networkPolicyCompliance;
}
/**
* @param PolicyCompliance
*/
public function setPlatformPolicyCompliance(PolicyCompliance $platformPolicyCompliance)
{
$this->platformPolicyCompliance = $platformPolicyCompliance;
}
/**
* @return PolicyCompliance
*/
public function getPlatformPolicyCompliance()
{
return $this->platformPolicyCompliance;
}
/**
* @param PolicyCompliance
*/
public function setRussiaPolicyCompliance(PolicyCompliance $russiaPolicyCompliance)
{
$this->russiaPolicyCompliance = $russiaPolicyCompliance;
}
/**
* @return PolicyCompliance
*/
public function getRussiaPolicyCompliance()
{
return $this->russiaPolicyCompliance;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeServingDecision::class, 'Google_Service_RealTimeBidding_CreativeServingDecision');

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\RealTimeBidding;
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_RealTimeBidding_Date');

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\RealTimeBidding;
class DestinationNotCrawlableEvidence extends \Google\Model
{
/**
* @var string
*/
public $crawlTime;
/**
* @var string
*/
public $crawledUrl;
/**
* @var string
*/
public $reason;
/**
* @param string
*/
public function setCrawlTime($crawlTime)
{
$this->crawlTime = $crawlTime;
}
/**
* @return string
*/
public function getCrawlTime()
{
return $this->crawlTime;
}
/**
* @param string
*/
public function setCrawledUrl($crawledUrl)
{
$this->crawledUrl = $crawledUrl;
}
/**
* @return string
*/
public function getCrawledUrl()
{
return $this->crawledUrl;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DestinationNotCrawlableEvidence::class, 'Google_Service_RealTimeBidding_DestinationNotCrawlableEvidence');

View File

@@ -0,0 +1,170 @@
<?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\RealTimeBidding;
class DestinationNotWorkingEvidence extends \Google\Model
{
/**
* @var string
*/
public $dnsError;
/**
* @var string
*/
public $expandedUrl;
/**
* @var int
*/
public $httpError;
/**
* @var string
*/
public $invalidPage;
/**
* @var string
*/
public $lastCheckTime;
/**
* @var string
*/
public $platform;
/**
* @var string
*/
public $redirectionError;
/**
* @var string
*/
public $urlRejected;
/**
* @param string
*/
public function setDnsError($dnsError)
{
$this->dnsError = $dnsError;
}
/**
* @return string
*/
public function getDnsError()
{
return $this->dnsError;
}
/**
* @param string
*/
public function setExpandedUrl($expandedUrl)
{
$this->expandedUrl = $expandedUrl;
}
/**
* @return string
*/
public function getExpandedUrl()
{
return $this->expandedUrl;
}
/**
* @param int
*/
public function setHttpError($httpError)
{
$this->httpError = $httpError;
}
/**
* @return int
*/
public function getHttpError()
{
return $this->httpError;
}
/**
* @param string
*/
public function setInvalidPage($invalidPage)
{
$this->invalidPage = $invalidPage;
}
/**
* @return string
*/
public function getInvalidPage()
{
return $this->invalidPage;
}
/**
* @param string
*/
public function setLastCheckTime($lastCheckTime)
{
$this->lastCheckTime = $lastCheckTime;
}
/**
* @return string
*/
public function getLastCheckTime()
{
return $this->lastCheckTime;
}
/**
* @param string
*/
public function setPlatform($platform)
{
$this->platform = $platform;
}
/**
* @return string
*/
public function getPlatform()
{
return $this->platform;
}
/**
* @param string
*/
public function setRedirectionError($redirectionError)
{
$this->redirectionError = $redirectionError;
}
/**
* @return string
*/
public function getRedirectionError()
{
return $this->redirectionError;
}
/**
* @param string
*/
public function setUrlRejected($urlRejected)
{
$this->urlRejected = $urlRejected;
}
/**
* @return string
*/
public function getUrlRejected()
{
return $this->urlRejected;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DestinationNotWorkingEvidence::class, 'Google_Service_RealTimeBidding_DestinationNotWorkingEvidence');

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\RealTimeBidding;
class DestinationUrlEvidence extends \Google\Model
{
/**
* @var string
*/
public $destinationUrl;
/**
* @param string
*/
public function setDestinationUrl($destinationUrl)
{
$this->destinationUrl = $destinationUrl;
}
/**
* @return string
*/
public function getDestinationUrl()
{
return $this->destinationUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DestinationUrlEvidence::class, 'Google_Service_RealTimeBidding_DestinationUrlEvidence');

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\RealTimeBidding;
class DomainCallEvidence extends \Google\Collection
{
protected $collection_key = 'topHttpCallDomains';
protected $topHttpCallDomainsType = DomainCalls::class;
protected $topHttpCallDomainsDataType = 'array';
/**
* @var int
*/
public $totalHttpCallCount;
/**
* @param DomainCalls[]
*/
public function setTopHttpCallDomains($topHttpCallDomains)
{
$this->topHttpCallDomains = $topHttpCallDomains;
}
/**
* @return DomainCalls[]
*/
public function getTopHttpCallDomains()
{
return $this->topHttpCallDomains;
}
/**
* @param int
*/
public function setTotalHttpCallCount($totalHttpCallCount)
{
$this->totalHttpCallCount = $totalHttpCallCount;
}
/**
* @return int
*/
public function getTotalHttpCallCount()
{
return $this->totalHttpCallCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainCallEvidence::class, 'Google_Service_RealTimeBidding_DomainCallEvidence');

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\RealTimeBidding;
class DomainCalls extends \Google\Model
{
/**
* @var string
*/
public $domain;
/**
* @var int
*/
public $httpCallCount;
/**
* @param string
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* @param int
*/
public function setHttpCallCount($httpCallCount)
{
$this->httpCallCount = $httpCallCount;
}
/**
* @return int
*/
public function getHttpCallCount()
{
return $this->httpCallCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainCalls::class, 'Google_Service_RealTimeBidding_DomainCalls');

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\RealTimeBidding;
class DownloadSizeEvidence extends \Google\Collection
{
protected $collection_key = 'topUrlDownloadSizeBreakdowns';
protected $topUrlDownloadSizeBreakdownsType = UrlDownloadSize::class;
protected $topUrlDownloadSizeBreakdownsDataType = 'array';
/**
* @var int
*/
public $totalDownloadSizeKb;
/**
* @param UrlDownloadSize[]
*/
public function setTopUrlDownloadSizeBreakdowns($topUrlDownloadSizeBreakdowns)
{
$this->topUrlDownloadSizeBreakdowns = $topUrlDownloadSizeBreakdowns;
}
/**
* @return UrlDownloadSize[]
*/
public function getTopUrlDownloadSizeBreakdowns()
{
return $this->topUrlDownloadSizeBreakdowns;
}
/**
* @param int
*/
public function setTotalDownloadSizeKb($totalDownloadSizeKb)
{
$this->totalDownloadSizeKb = $totalDownloadSizeKb;
}
/**
* @return int
*/
public function getTotalDownloadSizeKb()
{
return $this->totalDownloadSizeKb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DownloadSizeEvidence::class, 'Google_Service_RealTimeBidding_DownloadSizeEvidence');

View File

@@ -0,0 +1,116 @@
<?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\RealTimeBidding;
class Endpoint extends \Google\Model
{
/**
* @var string
*/
public $bidProtocol;
/**
* @var string
*/
public $maximumQps;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $tradingLocation;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setBidProtocol($bidProtocol)
{
$this->bidProtocol = $bidProtocol;
}
/**
* @return string
*/
public function getBidProtocol()
{
return $this->bidProtocol;
}
/**
* @param string
*/
public function setMaximumQps($maximumQps)
{
$this->maximumQps = $maximumQps;
}
/**
* @return string
*/
public function getMaximumQps()
{
return $this->maximumQps;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTradingLocation($tradingLocation)
{
$this->tradingLocation = $tradingLocation;
}
/**
* @return string
*/
public function getTradingLocation()
{
return $this->tradingLocation;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Endpoint::class, 'Google_Service_RealTimeBidding_Endpoint');

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\RealTimeBidding;
class GetRemarketingTagResponse extends \Google\Model
{
/**
* @var string
*/
public $snippet;
/**
* @param string
*/
public function setSnippet($snippet)
{
$this->snippet = $snippet;
}
/**
* @return string
*/
public function getSnippet()
{
return $this->snippet;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetRemarketingTagResponse::class, 'Google_Service_RealTimeBidding_GetRemarketingTagResponse');

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\RealTimeBidding;
class HtmlContent extends \Google\Model
{
/**
* @var int
*/
public $height;
/**
* @var string
*/
public $snippet;
/**
* @var int
*/
public $width;
/**
* @param int
*/
public function setHeight($height)
{
$this->height = $height;
}
/**
* @return int
*/
public function getHeight()
{
return $this->height;
}
/**
* @param string
*/
public function setSnippet($snippet)
{
$this->snippet = $snippet;
}
/**
* @return string
*/
public function getSnippet()
{
return $this->snippet;
}
/**
* @param int
*/
public function setWidth($width)
{
$this->width = $width;
}
/**
* @return int
*/
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HtmlContent::class, 'Google_Service_RealTimeBidding_HtmlContent');

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\RealTimeBidding;
class HttpCallEvidence extends \Google\Collection
{
protected $collection_key = 'urls';
/**
* @var string[]
*/
public $urls;
/**
* @param string[]
*/
public function setUrls($urls)
{
$this->urls = $urls;
}
/**
* @return string[]
*/
public function getUrls()
{
return $this->urls;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpCallEvidence::class, 'Google_Service_RealTimeBidding_HttpCallEvidence');

View File

@@ -0,0 +1,63 @@
<?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\RealTimeBidding;
class HttpCookieEvidence extends \Google\Collection
{
protected $collection_key = 'cookieNames';
/**
* @var string[]
*/
public $cookieNames;
/**
* @var int
*/
public $maxCookieCount;
/**
* @param string[]
*/
public function setCookieNames($cookieNames)
{
$this->cookieNames = $cookieNames;
}
/**
* @return string[]
*/
public function getCookieNames()
{
return $this->cookieNames;
}
/**
* @param int
*/
public function setMaxCookieCount($maxCookieCount)
{
$this->maxCookieCount = $maxCookieCount;
}
/**
* @return int
*/
public function getMaxCookieCount()
{
return $this->maxCookieCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpCookieEvidence::class, 'Google_Service_RealTimeBidding_HttpCookieEvidence');

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\RealTimeBidding;
class Image extends \Google\Model
{
/**
* @var int
*/
public $height;
/**
* @var string
*/
public $url;
/**
* @var int
*/
public $width;
/**
* @param int
*/
public function setHeight($height)
{
$this->height = $height;
}
/**
* @return int
*/
public function getHeight()
{
return $this->height;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
/**
* @param int
*/
public function setWidth($width)
{
$this->width = $width;
}
/**
* @return int
*/
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Image::class, 'Google_Service_RealTimeBidding_Image');

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\RealTimeBidding;
class ListBiddersResponse extends \Google\Collection
{
protected $collection_key = 'bidders';
protected $biddersType = Bidder::class;
protected $biddersDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Bidder[]
*/
public function setBidders($bidders)
{
$this->bidders = $bidders;
}
/**
* @return Bidder[]
*/
public function getBidders()
{
return $this->bidders;
}
/**
* @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(ListBiddersResponse::class, 'Google_Service_RealTimeBidding_ListBiddersResponse');

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\RealTimeBidding;
class ListBuyersResponse extends \Google\Collection
{
protected $collection_key = 'buyers';
protected $buyersType = Buyer::class;
protected $buyersDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Buyer[]
*/
public function setBuyers($buyers)
{
$this->buyers = $buyers;
}
/**
* @return Buyer[]
*/
public function getBuyers()
{
return $this->buyers;
}
/**
* @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(ListBuyersResponse::class, 'Google_Service_RealTimeBidding_ListBuyersResponse');

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\RealTimeBidding;
class ListCreativesResponse extends \Google\Collection
{
protected $collection_key = 'creatives';
protected $creativesType = Creative::class;
protected $creativesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Creative[]
*/
public function setCreatives($creatives)
{
$this->creatives = $creatives;
}
/**
* @return Creative[]
*/
public function getCreatives()
{
return $this->creatives;
}
/**
* @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(ListCreativesResponse::class, 'Google_Service_RealTimeBidding_ListCreativesResponse');

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\RealTimeBidding;
class ListEndpointsResponse extends \Google\Collection
{
protected $collection_key = 'endpoints';
protected $endpointsType = Endpoint::class;
protected $endpointsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Endpoint[]
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return Endpoint[]
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* @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(ListEndpointsResponse::class, 'Google_Service_RealTimeBidding_ListEndpointsResponse');

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\RealTimeBidding;
class ListPretargetingConfigsResponse extends \Google\Collection
{
protected $collection_key = 'pretargetingConfigs';
/**
* @var string
*/
public $nextPageToken;
protected $pretargetingConfigsType = PretargetingConfig::class;
protected $pretargetingConfigsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param PretargetingConfig[]
*/
public function setPretargetingConfigs($pretargetingConfigs)
{
$this->pretargetingConfigs = $pretargetingConfigs;
}
/**
* @return PretargetingConfig[]
*/
public function getPretargetingConfigs()
{
return $this->pretargetingConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPretargetingConfigsResponse::class, 'Google_Service_RealTimeBidding_ListPretargetingConfigsResponse');

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\RealTimeBidding;
class ListPublisherConnectionsResponse extends \Google\Collection
{
protected $collection_key = 'publisherConnections';
/**
* @var string
*/
public $nextPageToken;
protected $publisherConnectionsType = PublisherConnection::class;
protected $publisherConnectionsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param PublisherConnection[]
*/
public function setPublisherConnections($publisherConnections)
{
$this->publisherConnections = $publisherConnections;
}
/**
* @return PublisherConnection[]
*/
public function getPublisherConnections()
{
return $this->publisherConnections;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPublisherConnectionsResponse::class, 'Google_Service_RealTimeBidding_ListPublisherConnectionsResponse');

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\RealTimeBidding;
class ListUserListsResponse extends \Google\Collection
{
protected $collection_key = 'userLists';
/**
* @var string
*/
public $nextPageToken;
protected $userListsType = UserList::class;
protected $userListsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param UserList[]
*/
public function setUserLists($userLists)
{
$this->userLists = $userLists;
}
/**
* @return UserList[]
*/
public function getUserLists()
{
return $this->userLists;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListUserListsResponse::class, 'Google_Service_RealTimeBidding_ListUserListsResponse');

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\RealTimeBidding;
class MediaFile extends \Google\Model
{
/**
* @var string
*/
public $bitrate;
/**
* @var string
*/
public $mimeType;
/**
* @param string
*/
public function setBitrate($bitrate)
{
$this->bitrate = $bitrate;
}
/**
* @return string
*/
public function getBitrate()
{
return $this->bitrate;
}
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MediaFile::class, 'Google_Service_RealTimeBidding_MediaFile');

View File

@@ -0,0 +1,245 @@
<?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\RealTimeBidding;
class NativeContent extends \Google\Model
{
/**
* @var string
*/
public $advertiserName;
protected $appIconType = Image::class;
protected $appIconDataType = '';
/**
* @var string
*/
public $body;
/**
* @var string
*/
public $callToAction;
/**
* @var string
*/
public $clickLinkUrl;
/**
* @var string
*/
public $clickTrackingUrl;
/**
* @var string
*/
public $headline;
protected $imageType = Image::class;
protected $imageDataType = '';
protected $logoType = Image::class;
protected $logoDataType = '';
/**
* @var string
*/
public $priceDisplayText;
public $starRating;
/**
* @var string
*/
public $videoUrl;
/**
* @var string
*/
public $videoVastXml;
/**
* @param string
*/
public function setAdvertiserName($advertiserName)
{
$this->advertiserName = $advertiserName;
}
/**
* @return string
*/
public function getAdvertiserName()
{
return $this->advertiserName;
}
/**
* @param Image
*/
public function setAppIcon(Image $appIcon)
{
$this->appIcon = $appIcon;
}
/**
* @return Image
*/
public function getAppIcon()
{
return $this->appIcon;
}
/**
* @param string
*/
public function setBody($body)
{
$this->body = $body;
}
/**
* @return string
*/
public function getBody()
{
return $this->body;
}
/**
* @param string
*/
public function setCallToAction($callToAction)
{
$this->callToAction = $callToAction;
}
/**
* @return string
*/
public function getCallToAction()
{
return $this->callToAction;
}
/**
* @param string
*/
public function setClickLinkUrl($clickLinkUrl)
{
$this->clickLinkUrl = $clickLinkUrl;
}
/**
* @return string
*/
public function getClickLinkUrl()
{
return $this->clickLinkUrl;
}
/**
* @param string
*/
public function setClickTrackingUrl($clickTrackingUrl)
{
$this->clickTrackingUrl = $clickTrackingUrl;
}
/**
* @return string
*/
public function getClickTrackingUrl()
{
return $this->clickTrackingUrl;
}
/**
* @param string
*/
public function setHeadline($headline)
{
$this->headline = $headline;
}
/**
* @return string
*/
public function getHeadline()
{
return $this->headline;
}
/**
* @param Image
*/
public function setImage(Image $image)
{
$this->image = $image;
}
/**
* @return Image
*/
public function getImage()
{
return $this->image;
}
/**
* @param Image
*/
public function setLogo(Image $logo)
{
$this->logo = $logo;
}
/**
* @return Image
*/
public function getLogo()
{
return $this->logo;
}
/**
* @param string
*/
public function setPriceDisplayText($priceDisplayText)
{
$this->priceDisplayText = $priceDisplayText;
}
/**
* @return string
*/
public function getPriceDisplayText()
{
return $this->priceDisplayText;
}
public function setStarRating($starRating)
{
$this->starRating = $starRating;
}
public function getStarRating()
{
return $this->starRating;
}
/**
* @param string
*/
public function setVideoUrl($videoUrl)
{
$this->videoUrl = $videoUrl;
}
/**
* @return string
*/
public function getVideoUrl()
{
return $this->videoUrl;
}
/**
* @param string
*/
public function setVideoVastXml($videoVastXml)
{
$this->videoVastXml = $videoVastXml;
}
/**
* @return string
*/
public function getVideoVastXml()
{
return $this->videoVastXml;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NativeContent::class, 'Google_Service_RealTimeBidding_NativeContent');

View File

@@ -0,0 +1,63 @@
<?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\RealTimeBidding;
class NumericTargetingDimension extends \Google\Collection
{
protected $collection_key = 'includedIds';
/**
* @var string[]
*/
public $excludedIds;
/**
* @var string[]
*/
public $includedIds;
/**
* @param string[]
*/
public function setExcludedIds($excludedIds)
{
$this->excludedIds = $excludedIds;
}
/**
* @return string[]
*/
public function getExcludedIds()
{
return $this->excludedIds;
}
/**
* @param string[]
*/
public function setIncludedIds($includedIds)
{
$this->includedIds = $includedIds;
}
/**
* @return string[]
*/
public function getIncludedIds()
{
return $this->includedIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NumericTargetingDimension::class, 'Google_Service_RealTimeBidding_NumericTargetingDimension');

View File

@@ -0,0 +1,25 @@
<?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\RealTimeBidding;
class OpenUserListRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OpenUserListRequest::class, 'Google_Service_RealTimeBidding_OpenUserListRequest');

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\RealTimeBidding;
class PolicyCompliance extends \Google\Collection
{
protected $collection_key = 'topics';
/**
* @var string
*/
public $status;
protected $topicsType = PolicyTopicEntry::class;
protected $topicsDataType = 'array';
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param PolicyTopicEntry[]
*/
public function setTopics($topics)
{
$this->topics = $topics;
}
/**
* @return PolicyTopicEntry[]
*/
public function getTopics()
{
return $this->topics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyCompliance::class, 'Google_Service_RealTimeBidding_PolicyCompliance');

View File

@@ -0,0 +1,97 @@
<?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\RealTimeBidding;
class PolicyTopicEntry extends \Google\Collection
{
protected $collection_key = 'evidences';
protected $evidencesType = PolicyTopicEvidence::class;
protected $evidencesDataType = 'array';
/**
* @var string
*/
public $helpCenterUrl;
/**
* @var bool
*/
public $missingCertificate;
/**
* @var string
*/
public $policyTopic;
/**
* @param PolicyTopicEvidence[]
*/
public function setEvidences($evidences)
{
$this->evidences = $evidences;
}
/**
* @return PolicyTopicEvidence[]
*/
public function getEvidences()
{
return $this->evidences;
}
/**
* @param string
*/
public function setHelpCenterUrl($helpCenterUrl)
{
$this->helpCenterUrl = $helpCenterUrl;
}
/**
* @return string
*/
public function getHelpCenterUrl()
{
return $this->helpCenterUrl;
}
/**
* @param bool
*/
public function setMissingCertificate($missingCertificate)
{
$this->missingCertificate = $missingCertificate;
}
/**
* @return bool
*/
public function getMissingCertificate()
{
return $this->missingCertificate;
}
/**
* @param string
*/
public function setPolicyTopic($policyTopic)
{
$this->policyTopic = $policyTopic;
}
/**
* @return string
*/
public function getPolicyTopic()
{
return $this->policyTopic;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyTopicEntry::class, 'Google_Service_RealTimeBidding_PolicyTopicEntry');

View File

@@ -0,0 +1,138 @@
<?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\RealTimeBidding;
class PolicyTopicEvidence extends \Google\Model
{
protected $destinationNotCrawlableType = DestinationNotCrawlableEvidence::class;
protected $destinationNotCrawlableDataType = '';
protected $destinationNotWorkingType = DestinationNotWorkingEvidence::class;
protected $destinationNotWorkingDataType = '';
protected $destinationUrlType = DestinationUrlEvidence::class;
protected $destinationUrlDataType = '';
protected $domainCallType = DomainCallEvidence::class;
protected $domainCallDataType = '';
protected $downloadSizeType = DownloadSizeEvidence::class;
protected $downloadSizeDataType = '';
protected $httpCallType = HttpCallEvidence::class;
protected $httpCallDataType = '';
protected $httpCookieType = HttpCookieEvidence::class;
protected $httpCookieDataType = '';
/**
* @param DestinationNotCrawlableEvidence
*/
public function setDestinationNotCrawlable(DestinationNotCrawlableEvidence $destinationNotCrawlable)
{
$this->destinationNotCrawlable = $destinationNotCrawlable;
}
/**
* @return DestinationNotCrawlableEvidence
*/
public function getDestinationNotCrawlable()
{
return $this->destinationNotCrawlable;
}
/**
* @param DestinationNotWorkingEvidence
*/
public function setDestinationNotWorking(DestinationNotWorkingEvidence $destinationNotWorking)
{
$this->destinationNotWorking = $destinationNotWorking;
}
/**
* @return DestinationNotWorkingEvidence
*/
public function getDestinationNotWorking()
{
return $this->destinationNotWorking;
}
/**
* @param DestinationUrlEvidence
*/
public function setDestinationUrl(DestinationUrlEvidence $destinationUrl)
{
$this->destinationUrl = $destinationUrl;
}
/**
* @return DestinationUrlEvidence
*/
public function getDestinationUrl()
{
return $this->destinationUrl;
}
/**
* @param DomainCallEvidence
*/
public function setDomainCall(DomainCallEvidence $domainCall)
{
$this->domainCall = $domainCall;
}
/**
* @return DomainCallEvidence
*/
public function getDomainCall()
{
return $this->domainCall;
}
/**
* @param DownloadSizeEvidence
*/
public function setDownloadSize(DownloadSizeEvidence $downloadSize)
{
$this->downloadSize = $downloadSize;
}
/**
* @return DownloadSizeEvidence
*/
public function getDownloadSize()
{
return $this->downloadSize;
}
/**
* @param HttpCallEvidence
*/
public function setHttpCall(HttpCallEvidence $httpCall)
{
$this->httpCall = $httpCall;
}
/**
* @return HttpCallEvidence
*/
public function getHttpCall()
{
return $this->httpCall;
}
/**
* @param HttpCookieEvidence
*/
public function setHttpCookie(HttpCookieEvidence $httpCookie)
{
$this->httpCookie = $httpCookie;
}
/**
* @return HttpCookieEvidence
*/
public function getHttpCookie()
{
return $this->httpCookie;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyTopicEvidence::class, 'Google_Service_RealTimeBidding_PolicyTopicEvidence');

View File

@@ -0,0 +1,427 @@
<?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\RealTimeBidding;
class PretargetingConfig extends \Google\Collection
{
protected $collection_key = 'invalidGeoIds';
/**
* @var string[]
*/
public $allowedUserTargetingModes;
protected $appTargetingType = AppTargeting::class;
protected $appTargetingDataType = '';
/**
* @var string
*/
public $billingId;
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $excludedContentLabelIds;
protected $geoTargetingType = NumericTargetingDimension::class;
protected $geoTargetingDataType = '';
protected $includedCreativeDimensionsType = CreativeDimensions::class;
protected $includedCreativeDimensionsDataType = 'array';
/**
* @var string[]
*/
public $includedEnvironments;
/**
* @var string[]
*/
public $includedFormats;
/**
* @var string[]
*/
public $includedLanguages;
/**
* @var string[]
*/
public $includedMobileOperatingSystemIds;
/**
* @var string[]
*/
public $includedPlatforms;
/**
* @var string[]
*/
public $includedUserIdTypes;
/**
* @var string
*/
public $interstitialTargeting;
/**
* @var string[]
*/
public $invalidGeoIds;
/**
* @var string
*/
public $maximumQps;
/**
* @var int
*/
public $minimumViewabilityDecile;
/**
* @var string
*/
public $name;
protected $publisherTargetingType = StringTargetingDimension::class;
protected $publisherTargetingDataType = '';
/**
* @var string
*/
public $state;
protected $userListTargetingType = NumericTargetingDimension::class;
protected $userListTargetingDataType = '';
protected $verticalTargetingType = NumericTargetingDimension::class;
protected $verticalTargetingDataType = '';
protected $webTargetingType = StringTargetingDimension::class;
protected $webTargetingDataType = '';
/**
* @param string[]
*/
public function setAllowedUserTargetingModes($allowedUserTargetingModes)
{
$this->allowedUserTargetingModes = $allowedUserTargetingModes;
}
/**
* @return string[]
*/
public function getAllowedUserTargetingModes()
{
return $this->allowedUserTargetingModes;
}
/**
* @param AppTargeting
*/
public function setAppTargeting(AppTargeting $appTargeting)
{
$this->appTargeting = $appTargeting;
}
/**
* @return AppTargeting
*/
public function getAppTargeting()
{
return $this->appTargeting;
}
/**
* @param string
*/
public function setBillingId($billingId)
{
$this->billingId = $billingId;
}
/**
* @return string
*/
public function getBillingId()
{
return $this->billingId;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setExcludedContentLabelIds($excludedContentLabelIds)
{
$this->excludedContentLabelIds = $excludedContentLabelIds;
}
/**
* @return string[]
*/
public function getExcludedContentLabelIds()
{
return $this->excludedContentLabelIds;
}
/**
* @param NumericTargetingDimension
*/
public function setGeoTargeting(NumericTargetingDimension $geoTargeting)
{
$this->geoTargeting = $geoTargeting;
}
/**
* @return NumericTargetingDimension
*/
public function getGeoTargeting()
{
return $this->geoTargeting;
}
/**
* @param CreativeDimensions[]
*/
public function setIncludedCreativeDimensions($includedCreativeDimensions)
{
$this->includedCreativeDimensions = $includedCreativeDimensions;
}
/**
* @return CreativeDimensions[]
*/
public function getIncludedCreativeDimensions()
{
return $this->includedCreativeDimensions;
}
/**
* @param string[]
*/
public function setIncludedEnvironments($includedEnvironments)
{
$this->includedEnvironments = $includedEnvironments;
}
/**
* @return string[]
*/
public function getIncludedEnvironments()
{
return $this->includedEnvironments;
}
/**
* @param string[]
*/
public function setIncludedFormats($includedFormats)
{
$this->includedFormats = $includedFormats;
}
/**
* @return string[]
*/
public function getIncludedFormats()
{
return $this->includedFormats;
}
/**
* @param string[]
*/
public function setIncludedLanguages($includedLanguages)
{
$this->includedLanguages = $includedLanguages;
}
/**
* @return string[]
*/
public function getIncludedLanguages()
{
return $this->includedLanguages;
}
/**
* @param string[]
*/
public function setIncludedMobileOperatingSystemIds($includedMobileOperatingSystemIds)
{
$this->includedMobileOperatingSystemIds = $includedMobileOperatingSystemIds;
}
/**
* @return string[]
*/
public function getIncludedMobileOperatingSystemIds()
{
return $this->includedMobileOperatingSystemIds;
}
/**
* @param string[]
*/
public function setIncludedPlatforms($includedPlatforms)
{
$this->includedPlatforms = $includedPlatforms;
}
/**
* @return string[]
*/
public function getIncludedPlatforms()
{
return $this->includedPlatforms;
}
/**
* @param string[]
*/
public function setIncludedUserIdTypes($includedUserIdTypes)
{
$this->includedUserIdTypes = $includedUserIdTypes;
}
/**
* @return string[]
*/
public function getIncludedUserIdTypes()
{
return $this->includedUserIdTypes;
}
/**
* @param string
*/
public function setInterstitialTargeting($interstitialTargeting)
{
$this->interstitialTargeting = $interstitialTargeting;
}
/**
* @return string
*/
public function getInterstitialTargeting()
{
return $this->interstitialTargeting;
}
/**
* @param string[]
*/
public function setInvalidGeoIds($invalidGeoIds)
{
$this->invalidGeoIds = $invalidGeoIds;
}
/**
* @return string[]
*/
public function getInvalidGeoIds()
{
return $this->invalidGeoIds;
}
/**
* @param string
*/
public function setMaximumQps($maximumQps)
{
$this->maximumQps = $maximumQps;
}
/**
* @return string
*/
public function getMaximumQps()
{
return $this->maximumQps;
}
/**
* @param int
*/
public function setMinimumViewabilityDecile($minimumViewabilityDecile)
{
$this->minimumViewabilityDecile = $minimumViewabilityDecile;
}
/**
* @return int
*/
public function getMinimumViewabilityDecile()
{
return $this->minimumViewabilityDecile;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param StringTargetingDimension
*/
public function setPublisherTargeting(StringTargetingDimension $publisherTargeting)
{
$this->publisherTargeting = $publisherTargeting;
}
/**
* @return StringTargetingDimension
*/
public function getPublisherTargeting()
{
return $this->publisherTargeting;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param NumericTargetingDimension
*/
public function setUserListTargeting(NumericTargetingDimension $userListTargeting)
{
$this->userListTargeting = $userListTargeting;
}
/**
* @return NumericTargetingDimension
*/
public function getUserListTargeting()
{
return $this->userListTargeting;
}
/**
* @param NumericTargetingDimension
*/
public function setVerticalTargeting(NumericTargetingDimension $verticalTargeting)
{
$this->verticalTargeting = $verticalTargeting;
}
/**
* @return NumericTargetingDimension
*/
public function getVerticalTargeting()
{
return $this->verticalTargeting;
}
/**
* @param StringTargetingDimension
*/
public function setWebTargeting(StringTargetingDimension $webTargeting)
{
$this->webTargeting = $webTargeting;
}
/**
* @return StringTargetingDimension
*/
public function getWebTargeting()
{
return $this->webTargeting;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PretargetingConfig::class, 'Google_Service_RealTimeBidding_PretargetingConfig');

View File

@@ -0,0 +1,116 @@
<?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\RealTimeBidding;
class PublisherConnection extends \Google\Model
{
/**
* @var string
*/
public $biddingState;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $publisherPlatform;
/**
* @param string
*/
public function setBiddingState($biddingState)
{
$this->biddingState = $biddingState;
}
/**
* @return string
*/
public function getBiddingState()
{
return $this->biddingState;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @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;
}
/**
* @param string
*/
public function setPublisherPlatform($publisherPlatform)
{
$this->publisherPlatform = $publisherPlatform;
}
/**
* @return string
*/
public function getPublisherPlatform()
{
return $this->publisherPlatform;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PublisherConnection::class, 'Google_Service_RealTimeBidding_PublisherConnection');

View File

@@ -0,0 +1,25 @@
<?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\RealTimeBidding;
class RealtimebiddingEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RealtimebiddingEmpty::class, 'Google_Service_RealTimeBidding_RealtimebiddingEmpty');

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\RealTimeBidding;
class RemoveTargetedAppsRequest extends \Google\Collection
{
protected $collection_key = 'appIds';
/**
* @var string[]
*/
public $appIds;
/**
* @param string[]
*/
public function setAppIds($appIds)
{
$this->appIds = $appIds;
}
/**
* @return string[]
*/
public function getAppIds()
{
return $this->appIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveTargetedAppsRequest::class, 'Google_Service_RealTimeBidding_RemoveTargetedAppsRequest');

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\RealTimeBidding;
class RemoveTargetedPublishersRequest extends \Google\Collection
{
protected $collection_key = 'publisherIds';
/**
* @var string[]
*/
public $publisherIds;
/**
* @param string[]
*/
public function setPublisherIds($publisherIds)
{
$this->publisherIds = $publisherIds;
}
/**
* @return string[]
*/
public function getPublisherIds()
{
return $this->publisherIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveTargetedPublishersRequest::class, 'Google_Service_RealTimeBidding_RemoveTargetedPublishersRequest');

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\RealTimeBidding;
class RemoveTargetedSitesRequest extends \Google\Collection
{
protected $collection_key = 'sites';
/**
* @var string[]
*/
public $sites;
/**
* @param string[]
*/
public function setSites($sites)
{
$this->sites = $sites;
}
/**
* @return string[]
*/
public function getSites()
{
return $this->sites;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveTargetedSitesRequest::class, 'Google_Service_RealTimeBidding_RemoveTargetedSitesRequest');

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\RealTimeBidding\Resource;
use Google\Service\RealTimeBidding\Bidder;
use Google\Service\RealTimeBidding\ListBiddersResponse;
/**
* The "bidders" collection of methods.
* Typical usage is:
* <code>
* $realtimebiddingService = new Google\Service\RealTimeBidding(...);
* $bidders = $realtimebiddingService->bidders;
* </code>
*/
class Bidders extends \Google\Service\Resource
{
/**
* Gets a bidder account by its name. (bidders.get)
*
* @param string $name Required. Name of the bidder to get. Format:
* `bidders/{bidderAccountId}`
* @param array $optParams Optional parameters.
* @return Bidder
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Bidder::class);
}
/**
* Lists all the bidder accounts that belong to the caller.
* (bidders.listBidders)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of bidders to return. If
* unspecified, at most 100 bidders will be returned. The maximum value is 500;
* values above 500 will be coerced to 500.
* @opt_param string pageToken A token identifying a page of results the server
* should return. This value is received from a previous `ListBidders` call in
* ListBiddersResponse.nextPageToken.
* @return ListBiddersResponse
* @throws \Google\Service\Exception
*/
public function listBidders($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListBiddersResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Bidders::class, 'Google_Service_RealTimeBidding_Resource_Bidders');

View File

@@ -0,0 +1,108 @@
<?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\RealTimeBidding\Resource;
use Google\Service\RealTimeBidding\ListCreativesResponse;
use Google\Service\RealTimeBidding\WatchCreativesRequest;
use Google\Service\RealTimeBidding\WatchCreativesResponse;
/**
* The "creatives" collection of methods.
* Typical usage is:
* <code>
* $realtimebiddingService = new Google\Service\RealTimeBidding(...);
* $creatives = $realtimebiddingService->bidders_creatives;
* </code>
*/
class BiddersCreatives extends \Google\Service\Resource
{
/**
* Lists creatives as they are at the time of the initial request. This call may
* take multiple hours to complete. For large, paginated requests, this method
* returns a snapshot of creatives at the time of request for the first page.
* `lastStatusUpdate` and `creativeServingDecision` may be outdated for
* creatives on sequential pages. We recommend [Google Cloud
* Pub/Sub](//cloud.google.com/pubsub/docs/overview) to view the latest status.
* (creatives.listBiddersCreatives)
*
* @param string $parent Required. Name of the parent buyer that owns the
* creatives. The pattern for this resource is either `buyers/{buyerAccountId}`
* or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the
* `buyerAccountId` can be one of the following: 1. The ID of the buyer that is
* accessing their own creatives. 2. The ID of the child seat buyer under a
* bidder account. So for listing creatives pertaining to the child seat buyer
* (`456`) under bidder account (`123`), you would use the pattern:
* `buyers/456`. 3. The ID of the bidder itself. So for listing creatives
* pertaining to bidder (`123`), you would use `buyers/123`. If you want to
* access all creatives pertaining to both the bidder and all of its child seat
* accounts, you would use `bidders/{bidderAccountId}`, for example, for all
* creatives pertaining to bidder (`123`), use `bidders/123`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Query string to filter creatives. If no filter is
* specified, all active creatives will be returned. Example: 'accountId=12345
* AND (dealsStatus:DISAPPROVED AND disapprovalReason:UNACCEPTABLE_CONTENT) OR
* declaredAttributes:IS_COOKIE_TARGETED'
* @opt_param int pageSize Requested page size. The server may return fewer
* creatives than requested (due to timeout constraint) even if more are
* available through another call. If unspecified, server will pick an
* appropriate default. Acceptable values are 1 to 1000, inclusive.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListCreativesResponse.nextPageToken returned from the previous call to the
* 'ListCreatives' method. Page tokens for continued pages are valid for up to
* five hours, counting from the call to 'ListCreatives' for the first page.
* @opt_param string view Controls the amount of information included in the
* response. By default only creativeServingDecision is included. To retrieve
* the entire creative resource (including the declared fields and the creative
* content) specify the view as "FULL".
* @return ListCreativesResponse
* @throws \Google\Service\Exception
*/
public function listBiddersCreatives($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListCreativesResponse::class);
}
/**
* Watches all creatives pertaining to a bidder. It is sufficient to invoke this
* endpoint once per bidder. A Pub/Sub topic will be created and notifications
* will be pushed to the topic when any of the bidder's creatives change status.
* All of the bidder's service accounts will have access to read from the topic.
* Subsequent invocations of this method will return the existing Pub/Sub
* configuration. (creatives.watch)
*
* @param string $parent Required. To watch all creatives pertaining to the
* bidder and all its child seat accounts, the bidder must follow the pattern
* `bidders/{bidderAccountId}`.
* @param WatchCreativesRequest $postBody
* @param array $optParams Optional parameters.
* @return WatchCreativesResponse
* @throws \Google\Service\Exception
*/
public function watch($parent, WatchCreativesRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('watch', [$params], WatchCreativesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BiddersCreatives::class, 'Google_Service_RealTimeBidding_Resource_BiddersCreatives');

View File

@@ -0,0 +1,93 @@
<?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\RealTimeBidding\Resource;
use Google\Service\RealTimeBidding\Endpoint;
use Google\Service\RealTimeBidding\ListEndpointsResponse;
/**
* The "endpoints" collection of methods.
* Typical usage is:
* <code>
* $realtimebiddingService = new Google\Service\RealTimeBidding(...);
* $endpoints = $realtimebiddingService->bidders_endpoints;
* </code>
*/
class BiddersEndpoints extends \Google\Service\Resource
{
/**
* Gets a bidder endpoint by its name. (endpoints.get)
*
* @param string $name Required. Name of the bidder endpoint to get. Format:
* `bidders/{bidderAccountId}/endpoints/{endpointId}`
* @param array $optParams Optional parameters.
* @return Endpoint
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Endpoint::class);
}
/**
* Lists all the bidder's endpoints. (endpoints.listBiddersEndpoints)
*
* @param string $parent Required. Name of the bidder whose endpoints will be
* listed. Format: `bidders/{bidderAccountId}`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of endpoints to return. If
* unspecified, at most 100 endpoints will be returned. The maximum value is
* 500; values above 500 will be coerced to 500.
* @opt_param string pageToken A token identifying a page of results the server
* should return. This value is received from a previous `ListEndpoints` call in
* ListEndpointsResponse.nextPageToken.
* @return ListEndpointsResponse
* @throws \Google\Service\Exception
*/
public function listBiddersEndpoints($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListEndpointsResponse::class);
}
/**
* Updates a bidder's endpoint. (endpoints.patch)
*
* @param string $name Output only. Name of the endpoint resource that must
* follow the pattern `bidders/{bidderAccountId}/endpoints/{endpointId}`, where
* {bidderAccountId} is the account ID of the bidder who operates this endpoint,
* and {endpointId} is a unique ID assigned by the server.
* @param Endpoint $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Field mask to use for partial in-place updates.
* @return Endpoint
* @throws \Google\Service\Exception
*/
public function patch($name, Endpoint $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Endpoint::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BiddersEndpoints::class, 'Google_Service_RealTimeBidding_Resource_BiddersEndpoints');

View File

@@ -0,0 +1,278 @@
<?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\RealTimeBidding\Resource;
use Google\Service\RealTimeBidding\ActivatePretargetingConfigRequest;
use Google\Service\RealTimeBidding\AddTargetedAppsRequest;
use Google\Service\RealTimeBidding\AddTargetedPublishersRequest;
use Google\Service\RealTimeBidding\AddTargetedSitesRequest;
use Google\Service\RealTimeBidding\ListPretargetingConfigsResponse;
use Google\Service\RealTimeBidding\PretargetingConfig;
use Google\Service\RealTimeBidding\RealtimebiddingEmpty;
use Google\Service\RealTimeBidding\RemoveTargetedAppsRequest;
use Google\Service\RealTimeBidding\RemoveTargetedPublishersRequest;
use Google\Service\RealTimeBidding\RemoveTargetedSitesRequest;
use Google\Service\RealTimeBidding\SuspendPretargetingConfigRequest;
/**
* The "pretargetingConfigs" collection of methods.
* Typical usage is:
* <code>
* $realtimebiddingService = new Google\Service\RealTimeBidding(...);
* $pretargetingConfigs = $realtimebiddingService->bidders_pretargetingConfigs;
* </code>
*/
class BiddersPretargetingConfigs extends \Google\Service\Resource
{
/**
* Activates a pretargeting configuration. (pretargetingConfigs.activate)
*
* @param string $name Required. The name of the pretargeting configuration.
* Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}
* @param ActivatePretargetingConfigRequest $postBody
* @param array $optParams Optional parameters.
* @return PretargetingConfig
* @throws \Google\Service\Exception
*/
public function activate($name, ActivatePretargetingConfigRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('activate', [$params], PretargetingConfig::class);
}
/**
* Adds targeted apps to the pretargeting configuration.
* (pretargetingConfigs.addTargetedApps)
*
* @param string $pretargetingConfig Required. The name of the pretargeting
* configuration. Format:
* bidders/{bidderAccountId}/pretargetingConfig/{configId}
* @param AddTargetedAppsRequest $postBody
* @param array $optParams Optional parameters.
* @return PretargetingConfig
* @throws \Google\Service\Exception
*/
public function addTargetedApps($pretargetingConfig, AddTargetedAppsRequest $postBody, $optParams = [])
{
$params = ['pretargetingConfig' => $pretargetingConfig, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('addTargetedApps', [$params], PretargetingConfig::class);
}
/**
* Adds targeted publishers to the pretargeting config.
* (pretargetingConfigs.addTargetedPublishers)
*
* @param string $pretargetingConfig Required. The name of the pretargeting
* configuration. Format:
* bidders/{bidderAccountId}/pretargetingConfig/{configId}
* @param AddTargetedPublishersRequest $postBody
* @param array $optParams Optional parameters.
* @return PretargetingConfig
* @throws \Google\Service\Exception
*/
public function addTargetedPublishers($pretargetingConfig, AddTargetedPublishersRequest $postBody, $optParams = [])
{
$params = ['pretargetingConfig' => $pretargetingConfig, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('addTargetedPublishers', [$params], PretargetingConfig::class);
}
/**
* Adds targeted sites to the pretargeting configuration.
* (pretargetingConfigs.addTargetedSites)
*
* @param string $pretargetingConfig Required. The name of the pretargeting
* configuration. Format:
* bidders/{bidderAccountId}/pretargetingConfig/{configId}
* @param AddTargetedSitesRequest $postBody
* @param array $optParams Optional parameters.
* @return PretargetingConfig
* @throws \Google\Service\Exception
*/
public function addTargetedSites($pretargetingConfig, AddTargetedSitesRequest $postBody, $optParams = [])
{
$params = ['pretargetingConfig' => $pretargetingConfig, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('addTargetedSites', [$params], PretargetingConfig::class);
}
/**
* Creates a pretargeting configuration. A pretargeting configuration's state
* (PretargetingConfig.state) is active upon creation, and it will start to
* affect traffic shortly after. A bidder may create a maximum of 10
* pretargeting configurations. Attempts to exceed this maximum results in a 400
* bad request error. (pretargetingConfigs.create)
*
* @param string $parent Required. Name of the bidder to create the pretargeting
* configuration for. Format: bidders/{bidderAccountId}
* @param PretargetingConfig $postBody
* @param array $optParams Optional parameters.
* @return PretargetingConfig
* @throws \Google\Service\Exception
*/
public function create($parent, PretargetingConfig $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], PretargetingConfig::class);
}
/**
* Deletes a pretargeting configuration. (pretargetingConfigs.delete)
*
* @param string $name Required. The name of the pretargeting configuration to
* delete. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}
* @param array $optParams Optional parameters.
* @return RealtimebiddingEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], RealtimebiddingEmpty::class);
}
/**
* Gets a pretargeting configuration. (pretargetingConfigs.get)
*
* @param string $name Required. Name of the pretargeting configuration to get.
* Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}
* @param array $optParams Optional parameters.
* @return PretargetingConfig
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], PretargetingConfig::class);
}
/**
* Lists all pretargeting configurations for a single bidder.
* (pretargetingConfigs.listBiddersPretargetingConfigs)
*
* @param string $parent Required. Name of the bidder whose pretargeting
* configurations will be listed. Format: bidders/{bidderAccountId}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of pretargeting configurations to
* return. If unspecified, at most 10 pretargeting configurations will be
* returned. The maximum value is 100; values above 100 will be coerced to 100.
* @opt_param string pageToken A token identifying a page of results the server
* should return. This value is received from a previous
* `ListPretargetingConfigs` call in
* ListPretargetingConfigsResponse.nextPageToken.
* @return ListPretargetingConfigsResponse
* @throws \Google\Service\Exception
*/
public function listBiddersPretargetingConfigs($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPretargetingConfigsResponse::class);
}
/**
* Updates a pretargeting configuration. (pretargetingConfigs.patch)
*
* @param string $name Output only. Name of the pretargeting configuration that
* must follow the pattern
* `bidders/{bidder_account_id}/pretargetingConfigs/{config_id}`
* @param PretargetingConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Field mask to use for partial in-place updates.
* @return PretargetingConfig
* @throws \Google\Service\Exception
*/
public function patch($name, PretargetingConfig $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], PretargetingConfig::class);
}
/**
* Removes targeted apps from the pretargeting configuration.
* (pretargetingConfigs.removeTargetedApps)
*
* @param string $pretargetingConfig Required. The name of the pretargeting
* configuration. Format:
* bidders/{bidderAccountId}/pretargetingConfig/{configId}
* @param RemoveTargetedAppsRequest $postBody
* @param array $optParams Optional parameters.
* @return PretargetingConfig
* @throws \Google\Service\Exception
*/
public function removeTargetedApps($pretargetingConfig, RemoveTargetedAppsRequest $postBody, $optParams = [])
{
$params = ['pretargetingConfig' => $pretargetingConfig, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeTargetedApps', [$params], PretargetingConfig::class);
}
/**
* Removes targeted publishers from the pretargeting config.
* (pretargetingConfigs.removeTargetedPublishers)
*
* @param string $pretargetingConfig Required. The name of the pretargeting
* configuration. Format:
* bidders/{bidderAccountId}/pretargetingConfig/{configId}
* @param RemoveTargetedPublishersRequest $postBody
* @param array $optParams Optional parameters.
* @return PretargetingConfig
* @throws \Google\Service\Exception
*/
public function removeTargetedPublishers($pretargetingConfig, RemoveTargetedPublishersRequest $postBody, $optParams = [])
{
$params = ['pretargetingConfig' => $pretargetingConfig, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeTargetedPublishers', [$params], PretargetingConfig::class);
}
/**
* Removes targeted sites from the pretargeting configuration.
* (pretargetingConfigs.removeTargetedSites)
*
* @param string $pretargetingConfig Required. The name of the pretargeting
* configuration. Format:
* bidders/{bidderAccountId}/pretargetingConfig/{configId}
* @param RemoveTargetedSitesRequest $postBody
* @param array $optParams Optional parameters.
* @return PretargetingConfig
* @throws \Google\Service\Exception
*/
public function removeTargetedSites($pretargetingConfig, RemoveTargetedSitesRequest $postBody, $optParams = [])
{
$params = ['pretargetingConfig' => $pretargetingConfig, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeTargetedSites', [$params], PretargetingConfig::class);
}
/**
* Suspends a pretargeting configuration. (pretargetingConfigs.suspend)
*
* @param string $name Required. The name of the pretargeting configuration.
* Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}
* @param SuspendPretargetingConfigRequest $postBody
* @param array $optParams Optional parameters.
* @return PretargetingConfig
* @throws \Google\Service\Exception
*/
public function suspend($name, SuspendPretargetingConfigRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('suspend', [$params], PretargetingConfig::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BiddersPretargetingConfigs::class, 'Google_Service_RealTimeBidding_Resource_BiddersPretargetingConfigs');

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\RealTimeBidding\Resource;
use Google\Service\RealTimeBidding\BatchApprovePublisherConnectionsRequest;
use Google\Service\RealTimeBidding\BatchApprovePublisherConnectionsResponse;
use Google\Service\RealTimeBidding\BatchRejectPublisherConnectionsRequest;
use Google\Service\RealTimeBidding\BatchRejectPublisherConnectionsResponse;
use Google\Service\RealTimeBidding\ListPublisherConnectionsResponse;
use Google\Service\RealTimeBidding\PublisherConnection;
/**
* The "publisherConnections" collection of methods.
* Typical usage is:
* <code>
* $realtimebiddingService = new Google\Service\RealTimeBidding(...);
* $publisherConnections = $realtimebiddingService->bidders_publisherConnections;
* </code>
*/
class BiddersPublisherConnections extends \Google\Service\Resource
{
/**
* Batch approves multiple publisher connections.
* (publisherConnections.batchApprove)
*
* @param string $parent Required. The bidder for whom publisher connections
* will be approved. Format: `bidders/{bidder}` where `{bidder}` is the account
* ID of the bidder.
* @param BatchApprovePublisherConnectionsRequest $postBody
* @param array $optParams Optional parameters.
* @return BatchApprovePublisherConnectionsResponse
* @throws \Google\Service\Exception
*/
public function batchApprove($parent, BatchApprovePublisherConnectionsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchApprove', [$params], BatchApprovePublisherConnectionsResponse::class);
}
/**
* Batch rejects multiple publisher connections.
* (publisherConnections.batchReject)
*
* @param string $parent Required. The bidder for whom publisher connections
* will be rejected. Format: `bidders/{bidder}` where `{bidder}` is the account
* ID of the bidder.
* @param BatchRejectPublisherConnectionsRequest $postBody
* @param array $optParams Optional parameters.
* @return BatchRejectPublisherConnectionsResponse
* @throws \Google\Service\Exception
*/
public function batchReject($parent, BatchRejectPublisherConnectionsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchReject', [$params], BatchRejectPublisherConnectionsResponse::class);
}
/**
* Gets a publisher connection. (publisherConnections.get)
*
* @param string $name Required. Name of the publisher whose connection
* information is to be retrieved. In the pattern
* `bidders/{bidder}/publisherConnections/{publisher}` where `{bidder}` is the
* account ID of the bidder, and `{publisher}` is the ads.txt/app-ads.txt
* publisher ID. See publisherConnection.name.
* @param array $optParams Optional parameters.
* @return PublisherConnection
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], PublisherConnection::class);
}
/**
* Lists publisher connections for a given bidder.
* (publisherConnections.listBiddersPublisherConnections)
*
* @param string $parent Required. Name of the bidder for which publishers have
* initiated connections. The pattern for this resource is `bidders/{bidder}`
* where `{bidder}` represents the account ID of the bidder.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Query string to filter publisher connections.
* Connections can be filtered by `displayName`, `publisherPlatform`, and
* `biddingState`. If no filter is specified, all publisher connections will be
* returned. Example: 'displayName="Great Publisher*" AND
* publisherPlatform=ADMOB AND biddingState != PENDING' See
* https://google.aip.dev/160 for more information about filtering syntax.
* @opt_param string orderBy Order specification by which results should be
* sorted. If no sort order is specified, the results will be returned in
* alphabetic order based on the publisher's publisher code. Results can be
* sorted by `createTime`. Example: 'createTime DESC'.
* @opt_param int pageSize Requested page size. The server may return fewer
* results than requested (due to timeout constraint) even if more are available
* through another call. If unspecified, the server will pick an appropriate
* default. Acceptable values are 1 to 5000, inclusive.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListPublisherConnectionsResponse.nextPageToken returned from the previous
* call to the 'ListPublisherConnections' method.
* @return ListPublisherConnectionsResponse
* @throws \Google\Service\Exception
*/
public function listBiddersPublisherConnections($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPublisherConnectionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BiddersPublisherConnections::class, 'Google_Service_RealTimeBidding_Resource_BiddersPublisherConnections');

View File

@@ -0,0 +1,99 @@
<?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\RealTimeBidding\Resource;
use Google\Service\RealTimeBidding\Buyer;
use Google\Service\RealTimeBidding\GetRemarketingTagResponse;
use Google\Service\RealTimeBidding\ListBuyersResponse;
/**
* The "buyers" collection of methods.
* Typical usage is:
* <code>
* $realtimebiddingService = new Google\Service\RealTimeBidding(...);
* $buyers = $realtimebiddingService->buyers;
* </code>
*/
class Buyers extends \Google\Service\Resource
{
/**
* Gets a buyer account by its name. (buyers.get)
*
* @param string $name Required. Name of the buyer to get. Format:
* `buyers/{buyerId}`
* @param array $optParams Optional parameters.
* @return Buyer
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Buyer::class);
}
/**
* This has been sunset as of October 2023, and will return an error response if
* called. For more information, see the release notes:
* https://developers.google.com/authorized-buyers/apis/relnotes#real-time-
* bidding-api Gets remarketing tag for a buyer. A remarketing tag is a piece of
* JavaScript code that can be placed on a web page. When a user visits a page
* containing a remarketing tag, Google adds the user to a user list.
* (buyers.getRemarketingTag)
*
* @param string $name Required. To fetch the remarketing tag for an account,
* the name must follow the pattern `buyers/{accountId}`, where `{accountId}`
* represents the ID of the buyer that owns the remarketing tag. For a bidder
* accessing the remarketing tag on behalf of a child seat buyer, `{accountId}`
* should represent the ID of the child seat buyer. To fetch the remarketing tag
* for a specific user list, the name must follow the pattern
* `buyers/{accountId}/userLists/{userListId}`. See UserList.name.
* @param array $optParams Optional parameters.
* @return GetRemarketingTagResponse
* @throws \Google\Service\Exception
*/
public function getRemarketingTag($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getRemarketingTag', [$params], GetRemarketingTagResponse::class);
}
/**
* Lists all buyer account information the calling buyer user or service account
* is permissioned to manage. (buyers.listBuyers)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of buyers to return. If
* unspecified, at most 100 buyers will be returned. The maximum value is 500;
* values above 500 will be coerced to 500.
* @opt_param string pageToken A token identifying a page of results the server
* should return. This value is received from a previous `ListBuyers` call in
* ListBuyersResponse.nextPageToken.
* @return ListBuyersResponse
* @throws \Google\Service\Exception
*/
public function listBuyers($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListBuyersResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Buyers::class, 'Google_Service_RealTimeBidding_Resource_Buyers');

View File

@@ -0,0 +1,144 @@
<?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\RealTimeBidding\Resource;
use Google\Service\RealTimeBidding\Creative;
use Google\Service\RealTimeBidding\ListCreativesResponse;
/**
* The "creatives" collection of methods.
* Typical usage is:
* <code>
* $realtimebiddingService = new Google\Service\RealTimeBidding(...);
* $creatives = $realtimebiddingService->buyers_creatives;
* </code>
*/
class BuyersCreatives extends \Google\Service\Resource
{
/**
* Creates a creative. (creatives.create)
*
* @param string $parent Required. The name of the parent buyer that the new
* creative belongs to that must follow the pattern `buyers/{buyerAccountId}`,
* where `{buyerAccountId}` represents the account ID of the buyer who owns a
* creative. For a bidder accessing creatives on behalf of a child seat buyer,
* `{buyerAccountId}` should represent the account ID of the child seat buyer.
* @param Creative $postBody
* @param array $optParams Optional parameters.
* @return Creative
* @throws \Google\Service\Exception
*/
public function create($parent, Creative $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Creative::class);
}
/**
* Gets a creative. (creatives.get)
*
* @param string $name Required. Name of the creative to retrieve. See
* creative.name.
* @param array $optParams Optional parameters.
*
* @opt_param string view Controls the amount of information included in the
* response. By default only creativeServingDecision is included. To retrieve
* the entire creative resource (including the declared fields and the creative
* content) specify the view as "FULL".
* @return Creative
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Creative::class);
}
/**
* Lists creatives as they are at the time of the initial request. This call may
* take multiple hours to complete. For large, paginated requests, this method
* returns a snapshot of creatives at the time of request for the first page.
* `lastStatusUpdate` and `creativeServingDecision` may be outdated for
* creatives on sequential pages. We recommend [Google Cloud
* Pub/Sub](//cloud.google.com/pubsub/docs/overview) to view the latest status.
* (creatives.listBuyersCreatives)
*
* @param string $parent Required. Name of the parent buyer that owns the
* creatives. The pattern for this resource is either `buyers/{buyerAccountId}`
* or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the
* `buyerAccountId` can be one of the following: 1. The ID of the buyer that is
* accessing their own creatives. 2. The ID of the child seat buyer under a
* bidder account. So for listing creatives pertaining to the child seat buyer
* (`456`) under bidder account (`123`), you would use the pattern:
* `buyers/456`. 3. The ID of the bidder itself. So for listing creatives
* pertaining to bidder (`123`), you would use `buyers/123`. If you want to
* access all creatives pertaining to both the bidder and all of its child seat
* accounts, you would use `bidders/{bidderAccountId}`, for example, for all
* creatives pertaining to bidder (`123`), use `bidders/123`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Query string to filter creatives. If no filter is
* specified, all active creatives will be returned. Example: 'accountId=12345
* AND (dealsStatus:DISAPPROVED AND disapprovalReason:UNACCEPTABLE_CONTENT) OR
* declaredAttributes:IS_COOKIE_TARGETED'
* @opt_param int pageSize Requested page size. The server may return fewer
* creatives than requested (due to timeout constraint) even if more are
* available through another call. If unspecified, server will pick an
* appropriate default. Acceptable values are 1 to 1000, inclusive.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListCreativesResponse.nextPageToken returned from the previous call to the
* 'ListCreatives' method. Page tokens for continued pages are valid for up to
* five hours, counting from the call to 'ListCreatives' for the first page.
* @opt_param string view Controls the amount of information included in the
* response. By default only creativeServingDecision is included. To retrieve
* the entire creative resource (including the declared fields and the creative
* content) specify the view as "FULL".
* @return ListCreativesResponse
* @throws \Google\Service\Exception
*/
public function listBuyersCreatives($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListCreativesResponse::class);
}
/**
* Updates a creative. (creatives.patch)
*
* @param string $name Output only. Name of the creative. Follows the pattern
* `buyers/{buyer}/creatives/{creative}`, where `{buyer}` represents the account
* ID of the buyer who owns the creative, and `{creative}` is the buyer-specific
* creative ID that references this creative in the bid response.
* @param Creative $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Field mask to use for partial in-place updates.
* @return Creative
* @throws \Google\Service\Exception
*/
public function patch($name, Creative $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Creative::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuyersCreatives::class, 'Google_Service_RealTimeBidding_Resource_BuyersCreatives');

View File

@@ -0,0 +1,177 @@
<?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\RealTimeBidding\Resource;
use Google\Service\RealTimeBidding\CloseUserListRequest;
use Google\Service\RealTimeBidding\GetRemarketingTagResponse;
use Google\Service\RealTimeBidding\ListUserListsResponse;
use Google\Service\RealTimeBidding\OpenUserListRequest;
use Google\Service\RealTimeBidding\UserList;
/**
* The "userLists" collection of methods.
* Typical usage is:
* <code>
* $realtimebiddingService = new Google\Service\RealTimeBidding(...);
* $userLists = $realtimebiddingService->buyers_userLists;
* </code>
*/
class BuyersUserLists extends \Google\Service\Resource
{
/**
* Changes the status of a user list to CLOSED. This prevents new users from
* being added to the user list. (userLists.close)
*
* @param string $name Required. The name of the user list to close. See
* UserList.name
* @param CloseUserListRequest $postBody
* @param array $optParams Optional parameters.
* @return UserList
* @throws \Google\Service\Exception
*/
public function close($name, CloseUserListRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('close', [$params], UserList::class);
}
/**
* Creates a new user list. (userLists.create)
*
* @param string $parent Required. The name of the parent buyer of the user list
* to be retrieved, which must follow the pattern `buyers/{buyerAccountId}`,
* where `{buyerAccountId}` represents the account ID of the buyer who owns the
* user list. For a bidder accessing user lists on behalf of a child seat buyer,
* `{buyerAccountId}` should represent the account ID of the child seat buyer.
* @param UserList $postBody
* @param array $optParams Optional parameters.
* @return UserList
* @throws \Google\Service\Exception
*/
public function create($parent, UserList $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], UserList::class);
}
/**
* Gets a user list by its name. (userLists.get)
*
* @param string $name Required. The name of the user list to be retrieved. See
* UserList.name.
* @param array $optParams Optional parameters.
* @return UserList
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], UserList::class);
}
/**
* This has been sunset as of October 2023, and will return an error response if
* called. For more information, see the release notes:
* https://developers.google.com/authorized-buyers/apis/relnotes#real-time-
* bidding-api Gets remarketing tag for a buyer. A remarketing tag is a piece of
* JavaScript code that can be placed on a web page. When a user visits a page
* containing a remarketing tag, Google adds the user to a user list.
* (userLists.getRemarketingTag)
*
* @param string $name Required. To fetch the remarketing tag for an account,
* the name must follow the pattern `buyers/{accountId}`, where `{accountId}`
* represents the ID of the buyer that owns the remarketing tag. For a bidder
* accessing the remarketing tag on behalf of a child seat buyer, `{accountId}`
* should represent the ID of the child seat buyer. To fetch the remarketing tag
* for a specific user list, the name must follow the pattern
* `buyers/{accountId}/userLists/{userListId}`. See UserList.name.
* @param array $optParams Optional parameters.
* @return GetRemarketingTagResponse
* @throws \Google\Service\Exception
*/
public function getRemarketingTag($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getRemarketingTag', [$params], GetRemarketingTagResponse::class);
}
/**
* Lists the user lists visible to the current user.
* (userLists.listBuyersUserLists)
*
* @param string $parent Required. The name of the parent buyer for the user
* lists to be returned that must follow the pattern `buyers/{buyerAccountId}`,
* where `{buyerAccountId}` represents the account ID of the buyer who owns user
* lists. For a bidder accessing user lists on behalf of a child seat buyer ,
* `{buyerAccountId}` should represent the account ID of the child seat buyer.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The number of results to return per page.
* @opt_param string pageToken Continuation page token as received from a
* previous response.
* @return ListUserListsResponse
* @throws \Google\Service\Exception
*/
public function listBuyersUserLists($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListUserListsResponse::class);
}
/**
* Changes the status of a user list to OPEN. This allows new users to be added
* to the user list. (userLists.open)
*
* @param string $name Required. The name of the user list to open. See
* UserList.name
* @param OpenUserListRequest $postBody
* @param array $optParams Optional parameters.
* @return UserList
* @throws \Google\Service\Exception
*/
public function open($name, OpenUserListRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('open', [$params], UserList::class);
}
/**
* Updates the given user list. Only user lists with URLRestrictions can be
* updated. (userLists.update)
*
* @param string $name Output only. Name of the user list that must follow the
* pattern `buyers/{buyer}/userLists/{user_list}`, where `{buyer}` represents
* the account ID of the buyer who owns the user list. For a bidder accessing
* user lists on behalf of a child seat buyer, `{buyer}` represents the account
* ID of the child seat buyer. `{user_list}` is an int64 identifier assigned by
* Google to uniquely identify a user list.
* @param UserList $postBody
* @param array $optParams Optional parameters.
* @return UserList
* @throws \Google\Service\Exception
*/
public function update($name, UserList $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], UserList::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuyersUserLists::class, 'Google_Service_RealTimeBidding_Resource_BuyersUserLists');

View File

@@ -0,0 +1,63 @@
<?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\RealTimeBidding;
class StringTargetingDimension extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string
*/
public $targetingMode;
/**
* @var string[]
*/
public $values;
/**
* @param string
*/
public function setTargetingMode($targetingMode)
{
$this->targetingMode = $targetingMode;
}
/**
* @return string
*/
public function getTargetingMode()
{
return $this->targetingMode;
}
/**
* @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(StringTargetingDimension::class, 'Google_Service_RealTimeBidding_StringTargetingDimension');

View File

@@ -0,0 +1,25 @@
<?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\RealTimeBidding;
class SuspendPretargetingConfigRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SuspendPretargetingConfigRequest::class, 'Google_Service_RealTimeBidding_SuspendPretargetingConfigRequest');

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\RealTimeBidding;
class UrlDownloadSize extends \Google\Model
{
/**
* @var int
*/
public $downloadSizeKb;
/**
* @var string
*/
public $normalizedUrl;
/**
* @param int
*/
public function setDownloadSizeKb($downloadSizeKb)
{
$this->downloadSizeKb = $downloadSizeKb;
}
/**
* @return int
*/
public function getDownloadSizeKb()
{
return $this->downloadSizeKb;
}
/**
* @param string
*/
public function setNormalizedUrl($normalizedUrl)
{
$this->normalizedUrl = $normalizedUrl;
}
/**
* @return string
*/
public function getNormalizedUrl()
{
return $this->normalizedUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UrlDownloadSize::class, 'Google_Service_RealTimeBidding_UrlDownloadSize');

View File

@@ -0,0 +1,94 @@
<?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\RealTimeBidding;
class UrlRestriction extends \Google\Model
{
protected $endDateType = Date::class;
protected $endDateDataType = '';
/**
* @var string
*/
public $restrictionType;
protected $startDateType = Date::class;
protected $startDateDataType = '';
/**
* @var string
*/
public $url;
/**
* @param Date
*/
public function setEndDate(Date $endDate)
{
$this->endDate = $endDate;
}
/**
* @return Date
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* @param string
*/
public function setRestrictionType($restrictionType)
{
$this->restrictionType = $restrictionType;
}
/**
* @return string
*/
public function getRestrictionType()
{
return $this->restrictionType;
}
/**
* @param Date
*/
public function setStartDate(Date $startDate)
{
$this->startDate = $startDate;
}
/**
* @return Date
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UrlRestriction::class, 'Google_Service_RealTimeBidding_UrlRestriction');

View File

@@ -0,0 +1,132 @@
<?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\RealTimeBidding;
class UserList extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $membershipDurationDays;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $status;
protected $urlRestrictionType = UrlRestriction::class;
protected $urlRestrictionDataType = '';
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setMembershipDurationDays($membershipDurationDays)
{
$this->membershipDurationDays = $membershipDurationDays;
}
/**
* @return string
*/
public function getMembershipDurationDays()
{
return $this->membershipDurationDays;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param UrlRestriction
*/
public function setUrlRestriction(UrlRestriction $urlRestriction)
{
$this->urlRestriction = $urlRestriction;
}
/**
* @return UrlRestriction
*/
public function getUrlRestriction()
{
return $this->urlRestriction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UserList::class, 'Google_Service_RealTimeBidding_UserList');

View File

@@ -0,0 +1,78 @@
<?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\RealTimeBidding;
class VideoContent extends \Google\Model
{
protected $videoMetadataType = VideoMetadata::class;
protected $videoMetadataDataType = '';
/**
* @var string
*/
public $videoUrl;
/**
* @var string
*/
public $videoVastXml;
/**
* @param VideoMetadata
*/
public function setVideoMetadata(VideoMetadata $videoMetadata)
{
$this->videoMetadata = $videoMetadata;
}
/**
* @return VideoMetadata
*/
public function getVideoMetadata()
{
return $this->videoMetadata;
}
/**
* @param string
*/
public function setVideoUrl($videoUrl)
{
$this->videoUrl = $videoUrl;
}
/**
* @return string
*/
public function getVideoUrl()
{
return $this->videoUrl;
}
/**
* @param string
*/
public function setVideoVastXml($videoVastXml)
{
$this->videoVastXml = $videoVastXml;
}
/**
* @return string
*/
public function getVideoVastXml()
{
return $this->videoVastXml;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VideoContent::class, 'Google_Service_RealTimeBidding_VideoContent');

View File

@@ -0,0 +1,133 @@
<?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\RealTimeBidding;
class VideoMetadata extends \Google\Collection
{
protected $collection_key = 'mediaFiles';
/**
* @var string
*/
public $duration;
/**
* @var bool
*/
public $isValidVast;
/**
* @var bool
*/
public $isVpaid;
protected $mediaFilesType = MediaFile::class;
protected $mediaFilesDataType = 'array';
/**
* @var string
*/
public $skipOffset;
/**
* @var string
*/
public $vastVersion;
/**
* @param string
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* @param bool
*/
public function setIsValidVast($isValidVast)
{
$this->isValidVast = $isValidVast;
}
/**
* @return bool
*/
public function getIsValidVast()
{
return $this->isValidVast;
}
/**
* @param bool
*/
public function setIsVpaid($isVpaid)
{
$this->isVpaid = $isVpaid;
}
/**
* @return bool
*/
public function getIsVpaid()
{
return $this->isVpaid;
}
/**
* @param MediaFile[]
*/
public function setMediaFiles($mediaFiles)
{
$this->mediaFiles = $mediaFiles;
}
/**
* @return MediaFile[]
*/
public function getMediaFiles()
{
return $this->mediaFiles;
}
/**
* @param string
*/
public function setSkipOffset($skipOffset)
{
$this->skipOffset = $skipOffset;
}
/**
* @return string
*/
public function getSkipOffset()
{
return $this->skipOffset;
}
/**
* @param string
*/
public function setVastVersion($vastVersion)
{
$this->vastVersion = $vastVersion;
}
/**
* @return string
*/
public function getVastVersion()
{
return $this->vastVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VideoMetadata::class, 'Google_Service_RealTimeBidding_VideoMetadata');

View File

@@ -0,0 +1,25 @@
<?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\RealTimeBidding;
class WatchCreativesRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WatchCreativesRequest::class, 'Google_Service_RealTimeBidding_WatchCreativesRequest');

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\RealTimeBidding;
class WatchCreativesResponse extends \Google\Model
{
/**
* @var string
*/
public $subscription;
/**
* @var string
*/
public $topic;
/**
* @param string
*/
public function setSubscription($subscription)
{
$this->subscription = $subscription;
}
/**
* @return string
*/
public function getSubscription()
{
return $this->subscription;
}
/**
* @param string
*/
public function setTopic($topic)
{
$this->topic = $topic;
}
/**
* @return string
*/
public function getTopic()
{
return $this->topic;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WatchCreativesResponse::class, 'Google_Service_RealTimeBidding_WatchCreativesResponse');