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,115 @@
<?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\AdExchangeBuyer;
class Account extends \Google\Collection
{
protected $collection_key = 'bidderLocation';
public $applyPretargetingToNonGuaranteedDeals;
protected $bidderLocationType = AccountBidderLocation::class;
protected $bidderLocationDataType = 'array';
public $cookieMatchingNid;
public $cookieMatchingUrl;
public $id;
public $kind;
public $maximumActiveCreatives;
public $maximumTotalQps;
public $numberActiveCreatives;
public function setApplyPretargetingToNonGuaranteedDeals($applyPretargetingToNonGuaranteedDeals)
{
$this->applyPretargetingToNonGuaranteedDeals = $applyPretargetingToNonGuaranteedDeals;
}
public function getApplyPretargetingToNonGuaranteedDeals()
{
return $this->applyPretargetingToNonGuaranteedDeals;
}
/**
* @param AccountBidderLocation[]
*/
public function setBidderLocation($bidderLocation)
{
$this->bidderLocation = $bidderLocation;
}
/**
* @return AccountBidderLocation[]
*/
public function getBidderLocation()
{
return $this->bidderLocation;
}
public function setCookieMatchingNid($cookieMatchingNid)
{
$this->cookieMatchingNid = $cookieMatchingNid;
}
public function getCookieMatchingNid()
{
return $this->cookieMatchingNid;
}
public function setCookieMatchingUrl($cookieMatchingUrl)
{
$this->cookieMatchingUrl = $cookieMatchingUrl;
}
public function getCookieMatchingUrl()
{
return $this->cookieMatchingUrl;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setMaximumActiveCreatives($maximumActiveCreatives)
{
$this->maximumActiveCreatives = $maximumActiveCreatives;
}
public function getMaximumActiveCreatives()
{
return $this->maximumActiveCreatives;
}
public function setMaximumTotalQps($maximumTotalQps)
{
$this->maximumTotalQps = $maximumTotalQps;
}
public function getMaximumTotalQps()
{
return $this->maximumTotalQps;
}
public function setNumberActiveCreatives($numberActiveCreatives)
{
$this->numberActiveCreatives = $numberActiveCreatives;
}
public function getNumberActiveCreatives()
{
return $this->numberActiveCreatives;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Account::class, 'Google_Service_AdExchangeBuyer_Account');

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\AdExchangeBuyer;
class AccountBidderLocation extends \Google\Model
{
public $bidProtocol;
public $maximumQps;
public $region;
public $url;
public function setBidProtocol($bidProtocol)
{
$this->bidProtocol = $bidProtocol;
}
public function getBidProtocol()
{
return $this->bidProtocol;
}
public function setMaximumQps($maximumQps)
{
$this->maximumQps = $maximumQps;
}
public function getMaximumQps()
{
return $this->maximumQps;
}
public function setRegion($region)
{
$this->region = $region;
}
public function getRegion()
{
return $this->region;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountBidderLocation::class, 'Google_Service_AdExchangeBuyer_AccountBidderLocation');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class AccountsList extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = Account::class;
protected $itemsDataType = 'array';
public $kind;
/**
* @param Account[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Account[]
*/
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsList::class, 'Google_Service_AdExchangeBuyer_AccountsList');

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\AdExchangeBuyer;
class AddOrderDealsRequest extends \Google\Collection
{
protected $collection_key = 'deals';
protected $dealsType = MarketplaceDeal::class;
protected $dealsDataType = 'array';
public $proposalRevisionNumber;
public $updateAction;
/**
* @param MarketplaceDeal[]
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return MarketplaceDeal[]
*/
public function getDeals()
{
return $this->deals;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setUpdateAction($updateAction)
{
$this->updateAction = $updateAction;
}
public function getUpdateAction()
{
return $this->updateAction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddOrderDealsRequest::class, 'Google_Service_AdExchangeBuyer_AddOrderDealsRequest');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class AddOrderDealsResponse extends \Google\Collection
{
protected $collection_key = 'deals';
protected $dealsType = MarketplaceDeal::class;
protected $dealsDataType = 'array';
public $proposalRevisionNumber;
/**
* @param MarketplaceDeal[]
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return MarketplaceDeal[]
*/
public function getDeals()
{
return $this->deals;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddOrderDealsResponse::class, 'Google_Service_AdExchangeBuyer_AddOrderDealsResponse');

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\AdExchangeBuyer;
class AddOrderNotesRequest extends \Google\Collection
{
protected $collection_key = 'notes';
protected $notesType = MarketplaceNote::class;
protected $notesDataType = 'array';
/**
* @param MarketplaceNote[]
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return MarketplaceNote[]
*/
public function getNotes()
{
return $this->notes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddOrderNotesRequest::class, 'Google_Service_AdExchangeBuyer_AddOrderNotesRequest');

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\AdExchangeBuyer;
class AddOrderNotesResponse extends \Google\Collection
{
protected $collection_key = 'notes';
protected $notesType = MarketplaceNote::class;
protected $notesDataType = 'array';
/**
* @param MarketplaceNote[]
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return MarketplaceNote[]
*/
public function getNotes()
{
return $this->notes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddOrderNotesResponse::class, 'Google_Service_AdExchangeBuyer_AddOrderNotesResponse');

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\AdExchangeBuyer;
class BillingInfo extends \Google\Collection
{
protected $collection_key = 'billingId';
public $accountId;
public $accountName;
public $billingId;
public $kind;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setAccountName($accountName)
{
$this->accountName = $accountName;
}
public function getAccountName()
{
return $this->accountName;
}
public function setBillingId($billingId)
{
$this->billingId = $billingId;
}
public function getBillingId()
{
return $this->billingId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingInfo::class, 'Google_Service_AdExchangeBuyer_BillingInfo');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class BillingInfoList extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = BillingInfo::class;
protected $itemsDataType = 'array';
public $kind;
/**
* @param BillingInfo[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return BillingInfo[]
*/
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingInfoList::class, 'Google_Service_AdExchangeBuyer_BillingInfoList');

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\AdExchangeBuyer;
class Budget extends \Google\Model
{
public $accountId;
public $billingId;
public $budgetAmount;
public $currencyCode;
public $id;
public $kind;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setBillingId($billingId)
{
$this->billingId = $billingId;
}
public function getBillingId()
{
return $this->billingId;
}
public function setBudgetAmount($budgetAmount)
{
$this->budgetAmount = $budgetAmount;
}
public function getBudgetAmount()
{
return $this->budgetAmount;
}
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
public function getCurrencyCode()
{
return $this->currencyCode;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Budget::class, 'Google_Service_AdExchangeBuyer_Budget');

View File

@@ -0,0 +1,35 @@
<?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\AdExchangeBuyer;
class Buyer extends \Google\Model
{
public $accountId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Buyer::class, 'Google_Service_AdExchangeBuyer_Buyer');

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\AdExchangeBuyer;
class ContactInformation extends \Google\Model
{
public $email;
public $name;
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContactInformation::class, 'Google_Service_AdExchangeBuyer_ContactInformation');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class CreateOrdersRequest extends \Google\Collection
{
protected $collection_key = 'proposals';
protected $proposalsType = Proposal::class;
protected $proposalsDataType = 'array';
public $webPropertyCode;
/**
* @param Proposal[]
*/
public function setProposals($proposals)
{
$this->proposals = $proposals;
}
/**
* @return Proposal[]
*/
public function getProposals()
{
return $this->proposals;
}
public function setWebPropertyCode($webPropertyCode)
{
$this->webPropertyCode = $webPropertyCode;
}
public function getWebPropertyCode()
{
return $this->webPropertyCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateOrdersRequest::class, 'Google_Service_AdExchangeBuyer_CreateOrdersRequest');

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\AdExchangeBuyer;
class CreateOrdersResponse extends \Google\Collection
{
protected $collection_key = 'proposals';
protected $proposalsType = Proposal::class;
protected $proposalsDataType = 'array';
/**
* @param Proposal[]
*/
public function setProposals($proposals)
{
$this->proposals = $proposals;
}
/**
* @return Proposal[]
*/
public function getProposals()
{
return $this->proposals;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateOrdersResponse::class, 'Google_Service_AdExchangeBuyer_CreateOrdersResponse');

View File

@@ -0,0 +1,344 @@
<?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\AdExchangeBuyer;
class Creative extends \Google\Collection
{
protected $collection_key = 'vendorType';
protected $internal_gapi_mappings = [
"hTMLSnippet" => "HTMLSnippet",
];
public $hTMLSnippet;
public $accountId;
public $adChoicesDestinationUrl;
protected $adTechnologyProvidersType = CreativeAdTechnologyProviders::class;
protected $adTechnologyProvidersDataType = '';
public $advertiserId;
public $advertiserName;
public $agencyId;
public $apiUploadTimestamp;
public $attribute;
public $buyerCreativeId;
public $clickThroughUrl;
protected $correctionsType = CreativeCorrections::class;
protected $correctionsDataType = 'array';
public $creativeStatusIdentityType;
public $dealsStatus;
public $detectedDomains;
protected $filteringReasonsType = CreativeFilteringReasons::class;
protected $filteringReasonsDataType = '';
public $height;
public $impressionTrackingUrl;
public $kind;
public $languages;
protected $nativeAdType = CreativeNativeAd::class;
protected $nativeAdDataType = '';
public $openAuctionStatus;
public $productCategories;
public $restrictedCategories;
public $sensitiveCategories;
protected $servingRestrictionsType = CreativeServingRestrictions::class;
protected $servingRestrictionsDataType = 'array';
public $vendorType;
public $version;
public $videoURL;
public $videoVastXML;
public $width;
public function setHTMLSnippet($hTMLSnippet)
{
$this->hTMLSnippet = $hTMLSnippet;
}
public function getHTMLSnippet()
{
return $this->hTMLSnippet;
}
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setAdChoicesDestinationUrl($adChoicesDestinationUrl)
{
$this->adChoicesDestinationUrl = $adChoicesDestinationUrl;
}
public function getAdChoicesDestinationUrl()
{
return $this->adChoicesDestinationUrl;
}
/**
* @param CreativeAdTechnologyProviders
*/
public function setAdTechnologyProviders(CreativeAdTechnologyProviders $adTechnologyProviders)
{
$this->adTechnologyProviders = $adTechnologyProviders;
}
/**
* @return CreativeAdTechnologyProviders
*/
public function getAdTechnologyProviders()
{
return $this->adTechnologyProviders;
}
public function setAdvertiserId($advertiserId)
{
$this->advertiserId = $advertiserId;
}
public function getAdvertiserId()
{
return $this->advertiserId;
}
public function setAdvertiserName($advertiserName)
{
$this->advertiserName = $advertiserName;
}
public function getAdvertiserName()
{
return $this->advertiserName;
}
public function setAgencyId($agencyId)
{
$this->agencyId = $agencyId;
}
public function getAgencyId()
{
return $this->agencyId;
}
public function setApiUploadTimestamp($apiUploadTimestamp)
{
$this->apiUploadTimestamp = $apiUploadTimestamp;
}
public function getApiUploadTimestamp()
{
return $this->apiUploadTimestamp;
}
public function setAttribute($attribute)
{
$this->attribute = $attribute;
}
public function getAttribute()
{
return $this->attribute;
}
public function setBuyerCreativeId($buyerCreativeId)
{
$this->buyerCreativeId = $buyerCreativeId;
}
public function getBuyerCreativeId()
{
return $this->buyerCreativeId;
}
public function setClickThroughUrl($clickThroughUrl)
{
$this->clickThroughUrl = $clickThroughUrl;
}
public function getClickThroughUrl()
{
return $this->clickThroughUrl;
}
/**
* @param CreativeCorrections[]
*/
public function setCorrections($corrections)
{
$this->corrections = $corrections;
}
/**
* @return CreativeCorrections[]
*/
public function getCorrections()
{
return $this->corrections;
}
public function setCreativeStatusIdentityType($creativeStatusIdentityType)
{
$this->creativeStatusIdentityType = $creativeStatusIdentityType;
}
public function getCreativeStatusIdentityType()
{
return $this->creativeStatusIdentityType;
}
public function setDealsStatus($dealsStatus)
{
$this->dealsStatus = $dealsStatus;
}
public function getDealsStatus()
{
return $this->dealsStatus;
}
public function setDetectedDomains($detectedDomains)
{
$this->detectedDomains = $detectedDomains;
}
public function getDetectedDomains()
{
return $this->detectedDomains;
}
/**
* @param CreativeFilteringReasons
*/
public function setFilteringReasons(CreativeFilteringReasons $filteringReasons)
{
$this->filteringReasons = $filteringReasons;
}
/**
* @return CreativeFilteringReasons
*/
public function getFilteringReasons()
{
return $this->filteringReasons;
}
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setImpressionTrackingUrl($impressionTrackingUrl)
{
$this->impressionTrackingUrl = $impressionTrackingUrl;
}
public function getImpressionTrackingUrl()
{
return $this->impressionTrackingUrl;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLanguages($languages)
{
$this->languages = $languages;
}
public function getLanguages()
{
return $this->languages;
}
/**
* @param CreativeNativeAd
*/
public function setNativeAd(CreativeNativeAd $nativeAd)
{
$this->nativeAd = $nativeAd;
}
/**
* @return CreativeNativeAd
*/
public function getNativeAd()
{
return $this->nativeAd;
}
public function setOpenAuctionStatus($openAuctionStatus)
{
$this->openAuctionStatus = $openAuctionStatus;
}
public function getOpenAuctionStatus()
{
return $this->openAuctionStatus;
}
public function setProductCategories($productCategories)
{
$this->productCategories = $productCategories;
}
public function getProductCategories()
{
return $this->productCategories;
}
public function setRestrictedCategories($restrictedCategories)
{
$this->restrictedCategories = $restrictedCategories;
}
public function getRestrictedCategories()
{
return $this->restrictedCategories;
}
public function setSensitiveCategories($sensitiveCategories)
{
$this->sensitiveCategories = $sensitiveCategories;
}
public function getSensitiveCategories()
{
return $this->sensitiveCategories;
}
/**
* @param CreativeServingRestrictions[]
*/
public function setServingRestrictions($servingRestrictions)
{
$this->servingRestrictions = $servingRestrictions;
}
/**
* @return CreativeServingRestrictions[]
*/
public function getServingRestrictions()
{
return $this->servingRestrictions;
}
public function setVendorType($vendorType)
{
$this->vendorType = $vendorType;
}
public function getVendorType()
{
return $this->vendorType;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
public function setVideoURL($videoURL)
{
$this->videoURL = $videoURL;
}
public function getVideoURL()
{
return $this->videoURL;
}
public function setVideoVastXML($videoVastXML)
{
$this->videoVastXML = $videoVastXML;
}
public function getVideoVastXML()
{
return $this->videoVastXML;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Creative::class, 'Google_Service_AdExchangeBuyer_Creative');

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\AdExchangeBuyer;
class CreativeAdTechnologyProviders extends \Google\Collection
{
protected $collection_key = 'detectedProviderIds';
public $detectedProviderIds;
public $hasUnidentifiedProvider;
public function setDetectedProviderIds($detectedProviderIds)
{
$this->detectedProviderIds = $detectedProviderIds;
}
public function getDetectedProviderIds()
{
return $this->detectedProviderIds;
}
public function setHasUnidentifiedProvider($hasUnidentifiedProvider)
{
$this->hasUnidentifiedProvider = $hasUnidentifiedProvider;
}
public function getHasUnidentifiedProvider()
{
return $this->hasUnidentifiedProvider;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeAdTechnologyProviders::class, 'Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders');

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\AdExchangeBuyer;
class CreativeCorrections extends \Google\Collection
{
protected $collection_key = 'details';
protected $contextsType = CreativeCorrectionsContexts::class;
protected $contextsDataType = 'array';
public $details;
public $reason;
/**
* @param CreativeCorrectionsContexts[]
*/
public function setContexts($contexts)
{
$this->contexts = $contexts;
}
/**
* @return CreativeCorrectionsContexts[]
*/
public function getContexts()
{
return $this->contexts;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeCorrections::class, 'Google_Service_AdExchangeBuyer_CreativeCorrections');

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\AdExchangeBuyer;
class CreativeCorrectionsContexts extends \Google\Collection
{
protected $collection_key = 'platform';
public $auctionType;
public $contextType;
public $geoCriteriaId;
public $platform;
public function setAuctionType($auctionType)
{
$this->auctionType = $auctionType;
}
public function getAuctionType()
{
return $this->auctionType;
}
public function setContextType($contextType)
{
$this->contextType = $contextType;
}
public function getContextType()
{
return $this->contextType;
}
public function setGeoCriteriaId($geoCriteriaId)
{
$this->geoCriteriaId = $geoCriteriaId;
}
public function getGeoCriteriaId()
{
return $this->geoCriteriaId;
}
public function setPlatform($platform)
{
$this->platform = $platform;
}
public function getPlatform()
{
return $this->platform;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeCorrectionsContexts::class, 'Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class CreativeDealIds extends \Google\Collection
{
protected $collection_key = 'dealStatuses';
protected $dealStatusesType = CreativeDealIdsDealStatuses::class;
protected $dealStatusesDataType = 'array';
public $kind;
/**
* @param CreativeDealIdsDealStatuses[]
*/
public function setDealStatuses($dealStatuses)
{
$this->dealStatuses = $dealStatuses;
}
/**
* @return CreativeDealIdsDealStatuses[]
*/
public function getDealStatuses()
{
return $this->dealStatuses;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeDealIds::class, 'Google_Service_AdExchangeBuyer_CreativeDealIds');

View File

@@ -0,0 +1,53 @@
<?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\AdExchangeBuyer;
class CreativeDealIdsDealStatuses extends \Google\Model
{
public $arcStatus;
public $dealId;
public $webPropertyId;
public function setArcStatus($arcStatus)
{
$this->arcStatus = $arcStatus;
}
public function getArcStatus()
{
return $this->arcStatus;
}
public function setDealId($dealId)
{
$this->dealId = $dealId;
}
public function getDealId()
{
return $this->dealId;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeDealIdsDealStatuses::class, 'Google_Service_AdExchangeBuyer_CreativeDealIdsDealStatuses');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class CreativeFilteringReasons extends \Google\Collection
{
protected $collection_key = 'reasons';
public $date;
protected $reasonsType = CreativeFilteringReasonsReasons::class;
protected $reasonsDataType = 'array';
public function setDate($date)
{
$this->date = $date;
}
public function getDate()
{
return $this->date;
}
/**
* @param CreativeFilteringReasonsReasons[]
*/
public function setReasons($reasons)
{
$this->reasons = $reasons;
}
/**
* @return CreativeFilteringReasonsReasons[]
*/
public function getReasons()
{
return $this->reasons;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeFilteringReasons::class, 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons');

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\AdExchangeBuyer;
class CreativeFilteringReasonsReasons extends \Google\Model
{
public $filteringCount;
public $filteringStatus;
public function setFilteringCount($filteringCount)
{
$this->filteringCount = $filteringCount;
}
public function getFilteringCount()
{
return $this->filteringCount;
}
public function setFilteringStatus($filteringStatus)
{
$this->filteringStatus = $filteringStatus;
}
public function getFilteringStatus()
{
return $this->filteringStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeFilteringReasonsReasons::class, 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons');

View File

@@ -0,0 +1,165 @@
<?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\AdExchangeBuyer;
class CreativeNativeAd extends \Google\Collection
{
protected $collection_key = 'impressionTrackingUrl';
public $advertiser;
protected $appIconType = CreativeNativeAdAppIcon::class;
protected $appIconDataType = '';
public $body;
public $callToAction;
public $clickLinkUrl;
public $clickTrackingUrl;
public $headline;
protected $imageType = CreativeNativeAdImage::class;
protected $imageDataType = '';
public $impressionTrackingUrl;
protected $logoType = CreativeNativeAdLogo::class;
protected $logoDataType = '';
public $price;
public $starRating;
public $videoURL;
public function setAdvertiser($advertiser)
{
$this->advertiser = $advertiser;
}
public function getAdvertiser()
{
return $this->advertiser;
}
/**
* @param CreativeNativeAdAppIcon
*/
public function setAppIcon(CreativeNativeAdAppIcon $appIcon)
{
$this->appIcon = $appIcon;
}
/**
* @return CreativeNativeAdAppIcon
*/
public function getAppIcon()
{
return $this->appIcon;
}
public function setBody($body)
{
$this->body = $body;
}
public function getBody()
{
return $this->body;
}
public function setCallToAction($callToAction)
{
$this->callToAction = $callToAction;
}
public function getCallToAction()
{
return $this->callToAction;
}
public function setClickLinkUrl($clickLinkUrl)
{
$this->clickLinkUrl = $clickLinkUrl;
}
public function getClickLinkUrl()
{
return $this->clickLinkUrl;
}
public function setClickTrackingUrl($clickTrackingUrl)
{
$this->clickTrackingUrl = $clickTrackingUrl;
}
public function getClickTrackingUrl()
{
return $this->clickTrackingUrl;
}
public function setHeadline($headline)
{
$this->headline = $headline;
}
public function getHeadline()
{
return $this->headline;
}
/**
* @param CreativeNativeAdImage
*/
public function setImage(CreativeNativeAdImage $image)
{
$this->image = $image;
}
/**
* @return CreativeNativeAdImage
*/
public function getImage()
{
return $this->image;
}
public function setImpressionTrackingUrl($impressionTrackingUrl)
{
$this->impressionTrackingUrl = $impressionTrackingUrl;
}
public function getImpressionTrackingUrl()
{
return $this->impressionTrackingUrl;
}
/**
* @param CreativeNativeAdLogo
*/
public function setLogo(CreativeNativeAdLogo $logo)
{
$this->logo = $logo;
}
/**
* @return CreativeNativeAdLogo
*/
public function getLogo()
{
return $this->logo;
}
public function setPrice($price)
{
$this->price = $price;
}
public function getPrice()
{
return $this->price;
}
public function setStarRating($starRating)
{
$this->starRating = $starRating;
}
public function getStarRating()
{
return $this->starRating;
}
public function setVideoURL($videoURL)
{
$this->videoURL = $videoURL;
}
public function getVideoURL()
{
return $this->videoURL;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeNativeAd::class, 'Google_Service_AdExchangeBuyer_CreativeNativeAd');

View File

@@ -0,0 +1,53 @@
<?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\AdExchangeBuyer;
class CreativeNativeAdAppIcon extends \Google\Model
{
public $height;
public $url;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeNativeAdAppIcon::class, 'Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon');

View File

@@ -0,0 +1,53 @@
<?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\AdExchangeBuyer;
class CreativeNativeAdImage extends \Google\Model
{
public $height;
public $url;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeNativeAdImage::class, 'Google_Service_AdExchangeBuyer_CreativeNativeAdImage');

View File

@@ -0,0 +1,53 @@
<?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\AdExchangeBuyer;
class CreativeNativeAdLogo extends \Google\Model
{
public $height;
public $url;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeNativeAdLogo::class, 'Google_Service_AdExchangeBuyer_CreativeNativeAdLogo');

View File

@@ -0,0 +1,68 @@
<?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\AdExchangeBuyer;
class CreativeServingRestrictions extends \Google\Collection
{
protected $collection_key = 'disapprovalReasons';
protected $contextsType = CreativeServingRestrictionsContexts::class;
protected $contextsDataType = 'array';
protected $disapprovalReasonsType = CreativeServingRestrictionsDisapprovalReasons::class;
protected $disapprovalReasonsDataType = 'array';
public $reason;
/**
* @param CreativeServingRestrictionsContexts[]
*/
public function setContexts($contexts)
{
$this->contexts = $contexts;
}
/**
* @return CreativeServingRestrictionsContexts[]
*/
public function getContexts()
{
return $this->contexts;
}
/**
* @param CreativeServingRestrictionsDisapprovalReasons[]
*/
public function setDisapprovalReasons($disapprovalReasons)
{
$this->disapprovalReasons = $disapprovalReasons;
}
/**
* @return CreativeServingRestrictionsDisapprovalReasons[]
*/
public function getDisapprovalReasons()
{
return $this->disapprovalReasons;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeServingRestrictions::class, 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions');

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\AdExchangeBuyer;
class CreativeServingRestrictionsContexts extends \Google\Collection
{
protected $collection_key = 'platform';
public $auctionType;
public $contextType;
public $geoCriteriaId;
public $platform;
public function setAuctionType($auctionType)
{
$this->auctionType = $auctionType;
}
public function getAuctionType()
{
return $this->auctionType;
}
public function setContextType($contextType)
{
$this->contextType = $contextType;
}
public function getContextType()
{
return $this->contextType;
}
public function setGeoCriteriaId($geoCriteriaId)
{
$this->geoCriteriaId = $geoCriteriaId;
}
public function getGeoCriteriaId()
{
return $this->geoCriteriaId;
}
public function setPlatform($platform)
{
$this->platform = $platform;
}
public function getPlatform()
{
return $this->platform;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeServingRestrictionsContexts::class, 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts');

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\AdExchangeBuyer;
class CreativeServingRestrictionsDisapprovalReasons extends \Google\Collection
{
protected $collection_key = 'details';
public $details;
public $reason;
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeServingRestrictionsDisapprovalReasons::class, 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons');

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\AdExchangeBuyer;
class CreativesList extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = Creative::class;
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
/**
* @param Creative[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Creative[]
*/
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativesList::class, 'Google_Service_AdExchangeBuyer_CreativesList');

View File

@@ -0,0 +1,51 @@
<?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\AdExchangeBuyer;
class DealServingMetadata extends \Google\Model
{
public $alcoholAdsAllowed;
protected $dealPauseStatusType = DealServingMetadataDealPauseStatus::class;
protected $dealPauseStatusDataType = '';
public function setAlcoholAdsAllowed($alcoholAdsAllowed)
{
$this->alcoholAdsAllowed = $alcoholAdsAllowed;
}
public function getAlcoholAdsAllowed()
{
return $this->alcoholAdsAllowed;
}
/**
* @param DealServingMetadataDealPauseStatus
*/
public function setDealPauseStatus(DealServingMetadataDealPauseStatus $dealPauseStatus)
{
$this->dealPauseStatus = $dealPauseStatus;
}
/**
* @return DealServingMetadataDealPauseStatus
*/
public function getDealPauseStatus()
{
return $this->dealPauseStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DealServingMetadata::class, 'Google_Service_AdExchangeBuyer_DealServingMetadata');

View File

@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AdExchangeBuyer;
class DealServingMetadataDealPauseStatus extends \Google\Model
{
public $buyerPauseReason;
public $firstPausedBy;
public $hasBuyerPaused;
public $hasSellerPaused;
public $sellerPauseReason;
public function setBuyerPauseReason($buyerPauseReason)
{
$this->buyerPauseReason = $buyerPauseReason;
}
public function getBuyerPauseReason()
{
return $this->buyerPauseReason;
}
public function setFirstPausedBy($firstPausedBy)
{
$this->firstPausedBy = $firstPausedBy;
}
public function getFirstPausedBy()
{
return $this->firstPausedBy;
}
public function setHasBuyerPaused($hasBuyerPaused)
{
$this->hasBuyerPaused = $hasBuyerPaused;
}
public function getHasBuyerPaused()
{
return $this->hasBuyerPaused;
}
public function setHasSellerPaused($hasSellerPaused)
{
$this->hasSellerPaused = $hasSellerPaused;
}
public function getHasSellerPaused()
{
return $this->hasSellerPaused;
}
public function setSellerPauseReason($sellerPauseReason)
{
$this->sellerPauseReason = $sellerPauseReason;
}
public function getSellerPauseReason()
{
return $this->sellerPauseReason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DealServingMetadataDealPauseStatus::class, 'Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus');

View File

@@ -0,0 +1,151 @@
<?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\AdExchangeBuyer;
class DealTerms extends \Google\Model
{
public $brandingType;
public $crossListedExternalDealIdType;
public $description;
protected $estimatedGrossSpendType = Price::class;
protected $estimatedGrossSpendDataType = '';
public $estimatedImpressionsPerDay;
protected $guaranteedFixedPriceTermsType = DealTermsGuaranteedFixedPriceTerms::class;
protected $guaranteedFixedPriceTermsDataType = '';
protected $nonGuaranteedAuctionTermsType = DealTermsNonGuaranteedAuctionTerms::class;
protected $nonGuaranteedAuctionTermsDataType = '';
protected $nonGuaranteedFixedPriceTermsType = DealTermsNonGuaranteedFixedPriceTerms::class;
protected $nonGuaranteedFixedPriceTermsDataType = '';
protected $rubiconNonGuaranteedTermsType = DealTermsRubiconNonGuaranteedTerms::class;
protected $rubiconNonGuaranteedTermsDataType = '';
public $sellerTimeZone;
public function setBrandingType($brandingType)
{
$this->brandingType = $brandingType;
}
public function getBrandingType()
{
return $this->brandingType;
}
public function setCrossListedExternalDealIdType($crossListedExternalDealIdType)
{
$this->crossListedExternalDealIdType = $crossListedExternalDealIdType;
}
public function getCrossListedExternalDealIdType()
{
return $this->crossListedExternalDealIdType;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
/**
* @param Price
*/
public function setEstimatedGrossSpend(Price $estimatedGrossSpend)
{
$this->estimatedGrossSpend = $estimatedGrossSpend;
}
/**
* @return Price
*/
public function getEstimatedGrossSpend()
{
return $this->estimatedGrossSpend;
}
public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay)
{
$this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay;
}
public function getEstimatedImpressionsPerDay()
{
return $this->estimatedImpressionsPerDay;
}
/**
* @param DealTermsGuaranteedFixedPriceTerms
*/
public function setGuaranteedFixedPriceTerms(DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
{
$this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
}
/**
* @return DealTermsGuaranteedFixedPriceTerms
*/
public function getGuaranteedFixedPriceTerms()
{
return $this->guaranteedFixedPriceTerms;
}
/**
* @param DealTermsNonGuaranteedAuctionTerms
*/
public function setNonGuaranteedAuctionTerms(DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
{
$this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
}
/**
* @return DealTermsNonGuaranteedAuctionTerms
*/
public function getNonGuaranteedAuctionTerms()
{
return $this->nonGuaranteedAuctionTerms;
}
/**
* @param DealTermsNonGuaranteedFixedPriceTerms
*/
public function setNonGuaranteedFixedPriceTerms(DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
{
$this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
}
/**
* @return DealTermsNonGuaranteedFixedPriceTerms
*/
public function getNonGuaranteedFixedPriceTerms()
{
return $this->nonGuaranteedFixedPriceTerms;
}
/**
* @param DealTermsRubiconNonGuaranteedTerms
*/
public function setRubiconNonGuaranteedTerms(DealTermsRubiconNonGuaranteedTerms $rubiconNonGuaranteedTerms)
{
$this->rubiconNonGuaranteedTerms = $rubiconNonGuaranteedTerms;
}
/**
* @return DealTermsRubiconNonGuaranteedTerms
*/
public function getRubiconNonGuaranteedTerms()
{
return $this->rubiconNonGuaranteedTerms;
}
public function setSellerTimeZone($sellerTimeZone)
{
$this->sellerTimeZone = $sellerTimeZone;
}
public function getSellerTimeZone()
{
return $this->sellerTimeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DealTerms::class, 'Google_Service_AdExchangeBuyer_DealTerms');

View File

@@ -0,0 +1,86 @@
<?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\AdExchangeBuyer;
class DealTermsGuaranteedFixedPriceTerms extends \Google\Collection
{
protected $collection_key = 'fixedPrices';
protected $billingInfoType = DealTermsGuaranteedFixedPriceTermsBillingInfo::class;
protected $billingInfoDataType = '';
protected $fixedPricesType = PricePerBuyer::class;
protected $fixedPricesDataType = 'array';
public $guaranteedImpressions;
public $guaranteedLooks;
public $minimumDailyLooks;
/**
* @param DealTermsGuaranteedFixedPriceTermsBillingInfo
*/
public function setBillingInfo(DealTermsGuaranteedFixedPriceTermsBillingInfo $billingInfo)
{
$this->billingInfo = $billingInfo;
}
/**
* @return DealTermsGuaranteedFixedPriceTermsBillingInfo
*/
public function getBillingInfo()
{
return $this->billingInfo;
}
/**
* @param PricePerBuyer[]
*/
public function setFixedPrices($fixedPrices)
{
$this->fixedPrices = $fixedPrices;
}
/**
* @return PricePerBuyer[]
*/
public function getFixedPrices()
{
return $this->fixedPrices;
}
public function setGuaranteedImpressions($guaranteedImpressions)
{
$this->guaranteedImpressions = $guaranteedImpressions;
}
public function getGuaranteedImpressions()
{
return $this->guaranteedImpressions;
}
public function setGuaranteedLooks($guaranteedLooks)
{
$this->guaranteedLooks = $guaranteedLooks;
}
public function getGuaranteedLooks()
{
return $this->guaranteedLooks;
}
public function setMinimumDailyLooks($minimumDailyLooks)
{
$this->minimumDailyLooks = $minimumDailyLooks;
}
public function getMinimumDailyLooks()
{
return $this->minimumDailyLooks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DealTermsGuaranteedFixedPriceTerms::class, 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms');

View File

@@ -0,0 +1,69 @@
<?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\AdExchangeBuyer;
class DealTermsGuaranteedFixedPriceTermsBillingInfo extends \Google\Model
{
public $currencyConversionTimeMs;
public $dfpLineItemId;
public $originalContractedQuantity;
protected $priceType = Price::class;
protected $priceDataType = '';
public function setCurrencyConversionTimeMs($currencyConversionTimeMs)
{
$this->currencyConversionTimeMs = $currencyConversionTimeMs;
}
public function getCurrencyConversionTimeMs()
{
return $this->currencyConversionTimeMs;
}
public function setDfpLineItemId($dfpLineItemId)
{
$this->dfpLineItemId = $dfpLineItemId;
}
public function getDfpLineItemId()
{
return $this->dfpLineItemId;
}
public function setOriginalContractedQuantity($originalContractedQuantity)
{
$this->originalContractedQuantity = $originalContractedQuantity;
}
public function getOriginalContractedQuantity()
{
return $this->originalContractedQuantity;
}
/**
* @param Price
*/
public function setPrice(Price $price)
{
$this->price = $price;
}
/**
* @return Price
*/
public function getPrice()
{
return $this->price;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DealTermsGuaranteedFixedPriceTermsBillingInfo::class, 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class DealTermsNonGuaranteedAuctionTerms extends \Google\Collection
{
protected $collection_key = 'reservePricePerBuyers';
public $autoOptimizePrivateAuction;
protected $reservePricePerBuyersType = PricePerBuyer::class;
protected $reservePricePerBuyersDataType = 'array';
public function setAutoOptimizePrivateAuction($autoOptimizePrivateAuction)
{
$this->autoOptimizePrivateAuction = $autoOptimizePrivateAuction;
}
public function getAutoOptimizePrivateAuction()
{
return $this->autoOptimizePrivateAuction;
}
/**
* @param PricePerBuyer[]
*/
public function setReservePricePerBuyers($reservePricePerBuyers)
{
$this->reservePricePerBuyers = $reservePricePerBuyers;
}
/**
* @return PricePerBuyer[]
*/
public function getReservePricePerBuyers()
{
return $this->reservePricePerBuyers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DealTermsNonGuaranteedAuctionTerms::class, 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms');

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\AdExchangeBuyer;
class DealTermsNonGuaranteedFixedPriceTerms extends \Google\Collection
{
protected $collection_key = 'fixedPrices';
protected $fixedPricesType = PricePerBuyer::class;
protected $fixedPricesDataType = 'array';
/**
* @param PricePerBuyer[]
*/
public function setFixedPrices($fixedPrices)
{
$this->fixedPrices = $fixedPrices;
}
/**
* @return PricePerBuyer[]
*/
public function getFixedPrices()
{
return $this->fixedPrices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DealTermsNonGuaranteedFixedPriceTerms::class, 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms');

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\AdExchangeBuyer;
class DealTermsRubiconNonGuaranteedTerms extends \Google\Model
{
protected $priorityPriceType = Price::class;
protected $priorityPriceDataType = '';
protected $standardPriceType = Price::class;
protected $standardPriceDataType = '';
/**
* @param Price
*/
public function setPriorityPrice(Price $priorityPrice)
{
$this->priorityPrice = $priorityPrice;
}
/**
* @return Price
*/
public function getPriorityPrice()
{
return $this->priorityPrice;
}
/**
* @param Price
*/
public function setStandardPrice(Price $standardPrice)
{
$this->standardPrice = $standardPrice;
}
/**
* @return Price
*/
public function getStandardPrice()
{
return $this->standardPrice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DealTermsRubiconNonGuaranteedTerms::class, 'Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms');

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AdExchangeBuyer;
class DeleteOrderDealsRequest extends \Google\Collection
{
protected $collection_key = 'dealIds';
public $dealIds;
public $proposalRevisionNumber;
public $updateAction;
public function setDealIds($dealIds)
{
$this->dealIds = $dealIds;
}
public function getDealIds()
{
return $this->dealIds;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setUpdateAction($updateAction)
{
$this->updateAction = $updateAction;
}
public function getUpdateAction()
{
return $this->updateAction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteOrderDealsRequest::class, 'Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class DeleteOrderDealsResponse extends \Google\Collection
{
protected $collection_key = 'deals';
protected $dealsType = MarketplaceDeal::class;
protected $dealsDataType = 'array';
public $proposalRevisionNumber;
/**
* @param MarketplaceDeal[]
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return MarketplaceDeal[]
*/
public function getDeals()
{
return $this->deals;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteOrderDealsResponse::class, 'Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse');

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\AdExchangeBuyer;
class DeliveryControl extends \Google\Collection
{
protected $collection_key = 'frequencyCaps';
public $creativeBlockingLevel;
public $deliveryRateType;
protected $frequencyCapsType = DeliveryControlFrequencyCap::class;
protected $frequencyCapsDataType = 'array';
public function setCreativeBlockingLevel($creativeBlockingLevel)
{
$this->creativeBlockingLevel = $creativeBlockingLevel;
}
public function getCreativeBlockingLevel()
{
return $this->creativeBlockingLevel;
}
public function setDeliveryRateType($deliveryRateType)
{
$this->deliveryRateType = $deliveryRateType;
}
public function getDeliveryRateType()
{
return $this->deliveryRateType;
}
/**
* @param DeliveryControlFrequencyCap[]
*/
public function setFrequencyCaps($frequencyCaps)
{
$this->frequencyCaps = $frequencyCaps;
}
/**
* @return DeliveryControlFrequencyCap[]
*/
public function getFrequencyCaps()
{
return $this->frequencyCaps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeliveryControl::class, 'Google_Service_AdExchangeBuyer_DeliveryControl');

View File

@@ -0,0 +1,53 @@
<?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\AdExchangeBuyer;
class DeliveryControlFrequencyCap extends \Google\Model
{
public $maxImpressions;
public $numTimeUnits;
public $timeUnitType;
public function setMaxImpressions($maxImpressions)
{
$this->maxImpressions = $maxImpressions;
}
public function getMaxImpressions()
{
return $this->maxImpressions;
}
public function setNumTimeUnits($numTimeUnits)
{
$this->numTimeUnits = $numTimeUnits;
}
public function getNumTimeUnits()
{
return $this->numTimeUnits;
}
public function setTimeUnitType($timeUnitType)
{
$this->timeUnitType = $timeUnitType;
}
public function getTimeUnitType()
{
return $this->timeUnitType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeliveryControlFrequencyCap::class, 'Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class Dimension extends \Google\Collection
{
protected $collection_key = 'dimensionValues';
public $dimensionType;
protected $dimensionValuesType = DimensionDimensionValue::class;
protected $dimensionValuesDataType = 'array';
public function setDimensionType($dimensionType)
{
$this->dimensionType = $dimensionType;
}
public function getDimensionType()
{
return $this->dimensionType;
}
/**
* @param DimensionDimensionValue[]
*/
public function setDimensionValues($dimensionValues)
{
$this->dimensionValues = $dimensionValues;
}
/**
* @return DimensionDimensionValue[]
*/
public function getDimensionValues()
{
return $this->dimensionValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Dimension::class, 'Google_Service_AdExchangeBuyer_Dimension');

View File

@@ -0,0 +1,53 @@
<?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\AdExchangeBuyer;
class DimensionDimensionValue extends \Google\Model
{
public $id;
public $name;
public $percentage;
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPercentage($percentage)
{
$this->percentage = $percentage;
}
public function getPercentage()
{
return $this->percentage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DimensionDimensionValue::class, 'Google_Service_AdExchangeBuyer_DimensionDimensionValue');

View File

@@ -0,0 +1,77 @@
<?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\AdExchangeBuyer;
class EditAllOrderDealsRequest extends \Google\Collection
{
protected $collection_key = 'deals';
protected $dealsType = MarketplaceDeal::class;
protected $dealsDataType = 'array';
protected $proposalType = Proposal::class;
protected $proposalDataType = '';
public $proposalRevisionNumber;
public $updateAction;
/**
* @param MarketplaceDeal[]
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return MarketplaceDeal[]
*/
public function getDeals()
{
return $this->deals;
}
/**
* @param Proposal
*/
public function setProposal(Proposal $proposal)
{
$this->proposal = $proposal;
}
/**
* @return Proposal
*/
public function getProposal()
{
return $this->proposal;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setUpdateAction($updateAction)
{
$this->updateAction = $updateAction;
}
public function getUpdateAction()
{
return $this->updateAction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EditAllOrderDealsRequest::class, 'Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class EditAllOrderDealsResponse extends \Google\Collection
{
protected $collection_key = 'deals';
protected $dealsType = MarketplaceDeal::class;
protected $dealsDataType = 'array';
public $orderRevisionNumber;
/**
* @param MarketplaceDeal[]
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return MarketplaceDeal[]
*/
public function getDeals()
{
return $this->deals;
}
public function setOrderRevisionNumber($orderRevisionNumber)
{
$this->orderRevisionNumber = $orderRevisionNumber;
}
public function getOrderRevisionNumber()
{
return $this->orderRevisionNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EditAllOrderDealsResponse::class, 'Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse');

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\AdExchangeBuyer;
class GetOffersResponse extends \Google\Collection
{
protected $collection_key = 'products';
protected $productsType = Product::class;
protected $productsDataType = 'array';
/**
* @param Product[]
*/
public function setProducts($products)
{
$this->products = $products;
}
/**
* @return Product[]
*/
public function getProducts()
{
return $this->products;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetOffersResponse::class, 'Google_Service_AdExchangeBuyer_GetOffersResponse');

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\AdExchangeBuyer;
class GetOrderDealsResponse extends \Google\Collection
{
protected $collection_key = 'deals';
protected $dealsType = MarketplaceDeal::class;
protected $dealsDataType = 'array';
/**
* @param MarketplaceDeal[]
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return MarketplaceDeal[]
*/
public function getDeals()
{
return $this->deals;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetOrderDealsResponse::class, 'Google_Service_AdExchangeBuyer_GetOrderDealsResponse');

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\AdExchangeBuyer;
class GetOrderNotesResponse extends \Google\Collection
{
protected $collection_key = 'notes';
protected $notesType = MarketplaceNote::class;
protected $notesDataType = 'array';
/**
* @param MarketplaceNote[]
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return MarketplaceNote[]
*/
public function getNotes()
{
return $this->notes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetOrderNotesResponse::class, 'Google_Service_AdExchangeBuyer_GetOrderNotesResponse');

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\AdExchangeBuyer;
class GetOrdersResponse extends \Google\Collection
{
protected $collection_key = 'proposals';
protected $proposalsType = Proposal::class;
protected $proposalsDataType = 'array';
/**
* @param Proposal[]
*/
public function setProposals($proposals)
{
$this->proposals = $proposals;
}
/**
* @return Proposal[]
*/
public function getProposals()
{
return $this->proposals;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetOrdersResponse::class, 'Google_Service_AdExchangeBuyer_GetOrdersResponse');

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\AdExchangeBuyer;
class GetPublisherProfilesByAccountIdResponse extends \Google\Collection
{
protected $collection_key = 'profiles';
protected $profilesType = PublisherProfileApiProto::class;
protected $profilesDataType = 'array';
/**
* @param PublisherProfileApiProto[]
*/
public function setProfiles($profiles)
{
$this->profiles = $profiles;
}
/**
* @return PublisherProfileApiProto[]
*/
public function getProfiles()
{
return $this->profiles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetPublisherProfilesByAccountIdResponse::class, 'Google_Service_AdExchangeBuyer_GetPublisherProfilesByAccountIdResponse');

View File

@@ -0,0 +1,303 @@
<?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\AdExchangeBuyer;
class MarketplaceDeal extends \Google\Collection
{
protected $collection_key = 'sharedTargetings';
protected $buyerPrivateDataType = PrivateData::class;
protected $buyerPrivateDataDataType = '';
public $creationTimeMs;
public $creativePreApprovalPolicy;
public $creativeSafeFrameCompatibility;
public $dealId;
protected $dealServingMetadataType = DealServingMetadata::class;
protected $dealServingMetadataDataType = '';
protected $deliveryControlType = DeliveryControl::class;
protected $deliveryControlDataType = '';
public $externalDealId;
public $flightEndTimeMs;
public $flightStartTimeMs;
public $inventoryDescription;
public $isRfpTemplate;
public $isSetupComplete;
public $kind;
public $lastUpdateTimeMs;
public $makegoodRequestedReason;
public $name;
public $productId;
public $productRevisionNumber;
public $programmaticCreativeSource;
public $proposalId;
protected $sellerContactsType = ContactInformation::class;
protected $sellerContactsDataType = 'array';
protected $sharedTargetingsType = SharedTargeting::class;
protected $sharedTargetingsDataType = 'array';
public $syndicationProduct;
protected $termsType = DealTerms::class;
protected $termsDataType = '';
public $webPropertyCode;
/**
* @param PrivateData
*/
public function setBuyerPrivateData(PrivateData $buyerPrivateData)
{
$this->buyerPrivateData = $buyerPrivateData;
}
/**
* @return PrivateData
*/
public function getBuyerPrivateData()
{
return $this->buyerPrivateData;
}
public function setCreationTimeMs($creationTimeMs)
{
$this->creationTimeMs = $creationTimeMs;
}
public function getCreationTimeMs()
{
return $this->creationTimeMs;
}
public function setCreativePreApprovalPolicy($creativePreApprovalPolicy)
{
$this->creativePreApprovalPolicy = $creativePreApprovalPolicy;
}
public function getCreativePreApprovalPolicy()
{
return $this->creativePreApprovalPolicy;
}
public function setCreativeSafeFrameCompatibility($creativeSafeFrameCompatibility)
{
$this->creativeSafeFrameCompatibility = $creativeSafeFrameCompatibility;
}
public function getCreativeSafeFrameCompatibility()
{
return $this->creativeSafeFrameCompatibility;
}
public function setDealId($dealId)
{
$this->dealId = $dealId;
}
public function getDealId()
{
return $this->dealId;
}
/**
* @param DealServingMetadata
*/
public function setDealServingMetadata(DealServingMetadata $dealServingMetadata)
{
$this->dealServingMetadata = $dealServingMetadata;
}
/**
* @return DealServingMetadata
*/
public function getDealServingMetadata()
{
return $this->dealServingMetadata;
}
/**
* @param DeliveryControl
*/
public function setDeliveryControl(DeliveryControl $deliveryControl)
{
$this->deliveryControl = $deliveryControl;
}
/**
* @return DeliveryControl
*/
public function getDeliveryControl()
{
return $this->deliveryControl;
}
public function setExternalDealId($externalDealId)
{
$this->externalDealId = $externalDealId;
}
public function getExternalDealId()
{
return $this->externalDealId;
}
public function setFlightEndTimeMs($flightEndTimeMs)
{
$this->flightEndTimeMs = $flightEndTimeMs;
}
public function getFlightEndTimeMs()
{
return $this->flightEndTimeMs;
}
public function setFlightStartTimeMs($flightStartTimeMs)
{
$this->flightStartTimeMs = $flightStartTimeMs;
}
public function getFlightStartTimeMs()
{
return $this->flightStartTimeMs;
}
public function setInventoryDescription($inventoryDescription)
{
$this->inventoryDescription = $inventoryDescription;
}
public function getInventoryDescription()
{
return $this->inventoryDescription;
}
public function setIsRfpTemplate($isRfpTemplate)
{
$this->isRfpTemplate = $isRfpTemplate;
}
public function getIsRfpTemplate()
{
return $this->isRfpTemplate;
}
public function setIsSetupComplete($isSetupComplete)
{
$this->isSetupComplete = $isSetupComplete;
}
public function getIsSetupComplete()
{
return $this->isSetupComplete;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLastUpdateTimeMs($lastUpdateTimeMs)
{
$this->lastUpdateTimeMs = $lastUpdateTimeMs;
}
public function getLastUpdateTimeMs()
{
return $this->lastUpdateTimeMs;
}
public function setMakegoodRequestedReason($makegoodRequestedReason)
{
$this->makegoodRequestedReason = $makegoodRequestedReason;
}
public function getMakegoodRequestedReason()
{
return $this->makegoodRequestedReason;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setProductId($productId)
{
$this->productId = $productId;
}
public function getProductId()
{
return $this->productId;
}
public function setProductRevisionNumber($productRevisionNumber)
{
$this->productRevisionNumber = $productRevisionNumber;
}
public function getProductRevisionNumber()
{
return $this->productRevisionNumber;
}
public function setProgrammaticCreativeSource($programmaticCreativeSource)
{
$this->programmaticCreativeSource = $programmaticCreativeSource;
}
public function getProgrammaticCreativeSource()
{
return $this->programmaticCreativeSource;
}
public function setProposalId($proposalId)
{
$this->proposalId = $proposalId;
}
public function getProposalId()
{
return $this->proposalId;
}
/**
* @param ContactInformation[]
*/
public function setSellerContacts($sellerContacts)
{
$this->sellerContacts = $sellerContacts;
}
/**
* @return ContactInformation[]
*/
public function getSellerContacts()
{
return $this->sellerContacts;
}
/**
* @param SharedTargeting[]
*/
public function setSharedTargetings($sharedTargetings)
{
$this->sharedTargetings = $sharedTargetings;
}
/**
* @return SharedTargeting[]
*/
public function getSharedTargetings()
{
return $this->sharedTargetings;
}
public function setSyndicationProduct($syndicationProduct)
{
$this->syndicationProduct = $syndicationProduct;
}
public function getSyndicationProduct()
{
return $this->syndicationProduct;
}
/**
* @param DealTerms
*/
public function setTerms(DealTerms $terms)
{
$this->terms = $terms;
}
/**
* @return DealTerms
*/
public function getTerms()
{
return $this->terms;
}
public function setWebPropertyCode($webPropertyCode)
{
$this->webPropertyCode = $webPropertyCode;
}
public function getWebPropertyCode()
{
return $this->webPropertyCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarketplaceDeal::class, 'Google_Service_AdExchangeBuyer_MarketplaceDeal');

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\AdExchangeBuyer;
class MarketplaceDealParty extends \Google\Model
{
protected $buyerType = Buyer::class;
protected $buyerDataType = '';
protected $sellerType = Seller::class;
protected $sellerDataType = '';
/**
* @param Buyer
*/
public function setBuyer(Buyer $buyer)
{
$this->buyer = $buyer;
}
/**
* @return Buyer
*/
public function getBuyer()
{
return $this->buyer;
}
/**
* @param Seller
*/
public function setSeller(Seller $seller)
{
$this->seller = $seller;
}
/**
* @return Seller
*/
public function getSeller()
{
return $this->seller;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarketplaceDealParty::class, 'Google_Service_AdExchangeBuyer_MarketplaceDealParty');

View File

@@ -0,0 +1,69 @@
<?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\AdExchangeBuyer;
class MarketplaceLabel extends \Google\Model
{
public $accountId;
public $createTimeMs;
protected $deprecatedMarketplaceDealPartyType = MarketplaceDealParty::class;
protected $deprecatedMarketplaceDealPartyDataType = '';
public $label;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setCreateTimeMs($createTimeMs)
{
$this->createTimeMs = $createTimeMs;
}
public function getCreateTimeMs()
{
return $this->createTimeMs;
}
/**
* @param MarketplaceDealParty
*/
public function setDeprecatedMarketplaceDealParty(MarketplaceDealParty $deprecatedMarketplaceDealParty)
{
$this->deprecatedMarketplaceDealParty = $deprecatedMarketplaceDealParty;
}
/**
* @return MarketplaceDealParty
*/
public function getDeprecatedMarketplaceDealParty()
{
return $this->deprecatedMarketplaceDealParty;
}
public function setLabel($label)
{
$this->label = $label;
}
public function getLabel()
{
return $this->label;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarketplaceLabel::class, 'Google_Service_AdExchangeBuyer_MarketplaceLabel');

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\AdExchangeBuyer;
class MarketplaceNote extends \Google\Model
{
public $creatorRole;
public $dealId;
public $kind;
public $note;
public $noteId;
public $proposalId;
public $proposalRevisionNumber;
public $timestampMs;
public function setCreatorRole($creatorRole)
{
$this->creatorRole = $creatorRole;
}
public function getCreatorRole()
{
return $this->creatorRole;
}
public function setDealId($dealId)
{
$this->dealId = $dealId;
}
public function getDealId()
{
return $this->dealId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNote($note)
{
$this->note = $note;
}
public function getNote()
{
return $this->note;
}
public function setNoteId($noteId)
{
$this->noteId = $noteId;
}
public function getNoteId()
{
return $this->noteId;
}
public function setProposalId($proposalId)
{
$this->proposalId = $proposalId;
}
public function getProposalId()
{
return $this->proposalId;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setTimestampMs($timestampMs)
{
$this->timestampMs = $timestampMs;
}
public function getTimestampMs()
{
return $this->timestampMs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarketplaceNote::class, 'Google_Service_AdExchangeBuyer_MarketplaceNote');

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\AdExchangeBuyer;
class MobileApplication extends \Google\Model
{
public $appStore;
public $externalAppId;
public function setAppStore($appStore)
{
$this->appStore = $appStore;
}
public function getAppStore()
{
return $this->appStore;
}
public function setExternalAppId($externalAppId)
{
$this->externalAppId = $externalAppId;
}
public function getExternalAppId()
{
return $this->externalAppId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MobileApplication::class, 'Google_Service_AdExchangeBuyer_MobileApplication');

View File

@@ -0,0 +1,225 @@
<?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\AdExchangeBuyer;
class PerformanceReport extends \Google\Collection
{
protected $collection_key = 'hostedMatchStatusRate';
public $bidRate;
public $bidRequestRate;
public $calloutStatusRate;
public $cookieMatcherStatusRate;
public $creativeStatusRate;
public $filteredBidRate;
public $hostedMatchStatusRate;
public $inventoryMatchRate;
public $kind;
public $latency50thPercentile;
public $latency85thPercentile;
public $latency95thPercentile;
public $noQuotaInRegion;
public $outOfQuota;
public $pixelMatchRequests;
public $pixelMatchResponses;
public $quotaConfiguredLimit;
public $quotaThrottledLimit;
public $region;
public $successfulRequestRate;
public $timestamp;
public $unsuccessfulRequestRate;
public function setBidRate($bidRate)
{
$this->bidRate = $bidRate;
}
public function getBidRate()
{
return $this->bidRate;
}
public function setBidRequestRate($bidRequestRate)
{
$this->bidRequestRate = $bidRequestRate;
}
public function getBidRequestRate()
{
return $this->bidRequestRate;
}
public function setCalloutStatusRate($calloutStatusRate)
{
$this->calloutStatusRate = $calloutStatusRate;
}
public function getCalloutStatusRate()
{
return $this->calloutStatusRate;
}
public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
{
$this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
}
public function getCookieMatcherStatusRate()
{
return $this->cookieMatcherStatusRate;
}
public function setCreativeStatusRate($creativeStatusRate)
{
$this->creativeStatusRate = $creativeStatusRate;
}
public function getCreativeStatusRate()
{
return $this->creativeStatusRate;
}
public function setFilteredBidRate($filteredBidRate)
{
$this->filteredBidRate = $filteredBidRate;
}
public function getFilteredBidRate()
{
return $this->filteredBidRate;
}
public function setHostedMatchStatusRate($hostedMatchStatusRate)
{
$this->hostedMatchStatusRate = $hostedMatchStatusRate;
}
public function getHostedMatchStatusRate()
{
return $this->hostedMatchStatusRate;
}
public function setInventoryMatchRate($inventoryMatchRate)
{
$this->inventoryMatchRate = $inventoryMatchRate;
}
public function getInventoryMatchRate()
{
return $this->inventoryMatchRate;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLatency50thPercentile($latency50thPercentile)
{
$this->latency50thPercentile = $latency50thPercentile;
}
public function getLatency50thPercentile()
{
return $this->latency50thPercentile;
}
public function setLatency85thPercentile($latency85thPercentile)
{
$this->latency85thPercentile = $latency85thPercentile;
}
public function getLatency85thPercentile()
{
return $this->latency85thPercentile;
}
public function setLatency95thPercentile($latency95thPercentile)
{
$this->latency95thPercentile = $latency95thPercentile;
}
public function getLatency95thPercentile()
{
return $this->latency95thPercentile;
}
public function setNoQuotaInRegion($noQuotaInRegion)
{
$this->noQuotaInRegion = $noQuotaInRegion;
}
public function getNoQuotaInRegion()
{
return $this->noQuotaInRegion;
}
public function setOutOfQuota($outOfQuota)
{
$this->outOfQuota = $outOfQuota;
}
public function getOutOfQuota()
{
return $this->outOfQuota;
}
public function setPixelMatchRequests($pixelMatchRequests)
{
$this->pixelMatchRequests = $pixelMatchRequests;
}
public function getPixelMatchRequests()
{
return $this->pixelMatchRequests;
}
public function setPixelMatchResponses($pixelMatchResponses)
{
$this->pixelMatchResponses = $pixelMatchResponses;
}
public function getPixelMatchResponses()
{
return $this->pixelMatchResponses;
}
public function setQuotaConfiguredLimit($quotaConfiguredLimit)
{
$this->quotaConfiguredLimit = $quotaConfiguredLimit;
}
public function getQuotaConfiguredLimit()
{
return $this->quotaConfiguredLimit;
}
public function setQuotaThrottledLimit($quotaThrottledLimit)
{
$this->quotaThrottledLimit = $quotaThrottledLimit;
}
public function getQuotaThrottledLimit()
{
return $this->quotaThrottledLimit;
}
public function setRegion($region)
{
$this->region = $region;
}
public function getRegion()
{
return $this->region;
}
public function setSuccessfulRequestRate($successfulRequestRate)
{
$this->successfulRequestRate = $successfulRequestRate;
}
public function getSuccessfulRequestRate()
{
return $this->successfulRequestRate;
}
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
public function getTimestamp()
{
return $this->timestamp;
}
public function setUnsuccessfulRequestRate($unsuccessfulRequestRate)
{
$this->unsuccessfulRequestRate = $unsuccessfulRequestRate;
}
public function getUnsuccessfulRequestRate()
{
return $this->unsuccessfulRequestRate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PerformanceReport::class, 'Google_Service_AdExchangeBuyer_PerformanceReport');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class PerformanceReportList extends \Google\Collection
{
protected $collection_key = 'performanceReport';
public $kind;
protected $performanceReportType = PerformanceReport::class;
protected $performanceReportDataType = 'array';
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
/**
* @param PerformanceReport[]
*/
public function setPerformanceReport($performanceReport)
{
$this->performanceReport = $performanceReport;
}
/**
* @return PerformanceReport[]
*/
public function getPerformanceReport()
{
return $this->performanceReport;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PerformanceReportList::class, 'Google_Service_AdExchangeBuyer_PerformanceReportList');

View File

@@ -0,0 +1,298 @@
<?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\AdExchangeBuyer;
class PretargetingConfig extends \Google\Collection
{
protected $collection_key = 'videoPlayerSizes';
public $billingId;
public $configId;
public $configName;
public $creativeType;
protected $dimensionsType = PretargetingConfigDimensions::class;
protected $dimensionsDataType = 'array';
public $excludedContentLabels;
public $excludedGeoCriteriaIds;
protected $excludedPlacementsType = PretargetingConfigExcludedPlacements::class;
protected $excludedPlacementsDataType = 'array';
public $excludedUserLists;
public $excludedVerticals;
public $geoCriteriaIds;
public $isActive;
public $kind;
public $languages;
public $maximumQps;
public $minimumViewabilityDecile;
public $mobileCarriers;
public $mobileDevices;
public $mobileOperatingSystemVersions;
protected $placementsType = PretargetingConfigPlacements::class;
protected $placementsDataType = 'array';
public $platforms;
public $supportedCreativeAttributes;
public $userIdentifierDataRequired;
public $userLists;
public $vendorTypes;
public $verticals;
protected $videoPlayerSizesType = PretargetingConfigVideoPlayerSizes::class;
protected $videoPlayerSizesDataType = 'array';
public function setBillingId($billingId)
{
$this->billingId = $billingId;
}
public function getBillingId()
{
return $this->billingId;
}
public function setConfigId($configId)
{
$this->configId = $configId;
}
public function getConfigId()
{
return $this->configId;
}
public function setConfigName($configName)
{
$this->configName = $configName;
}
public function getConfigName()
{
return $this->configName;
}
public function setCreativeType($creativeType)
{
$this->creativeType = $creativeType;
}
public function getCreativeType()
{
return $this->creativeType;
}
/**
* @param PretargetingConfigDimensions[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return PretargetingConfigDimensions[]
*/
public function getDimensions()
{
return $this->dimensions;
}
public function setExcludedContentLabels($excludedContentLabels)
{
$this->excludedContentLabels = $excludedContentLabels;
}
public function getExcludedContentLabels()
{
return $this->excludedContentLabels;
}
public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds)
{
$this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds;
}
public function getExcludedGeoCriteriaIds()
{
return $this->excludedGeoCriteriaIds;
}
/**
* @param PretargetingConfigExcludedPlacements[]
*/
public function setExcludedPlacements($excludedPlacements)
{
$this->excludedPlacements = $excludedPlacements;
}
/**
* @return PretargetingConfigExcludedPlacements[]
*/
public function getExcludedPlacements()
{
return $this->excludedPlacements;
}
public function setExcludedUserLists($excludedUserLists)
{
$this->excludedUserLists = $excludedUserLists;
}
public function getExcludedUserLists()
{
return $this->excludedUserLists;
}
public function setExcludedVerticals($excludedVerticals)
{
$this->excludedVerticals = $excludedVerticals;
}
public function getExcludedVerticals()
{
return $this->excludedVerticals;
}
public function setGeoCriteriaIds($geoCriteriaIds)
{
$this->geoCriteriaIds = $geoCriteriaIds;
}
public function getGeoCriteriaIds()
{
return $this->geoCriteriaIds;
}
public function setIsActive($isActive)
{
$this->isActive = $isActive;
}
public function getIsActive()
{
return $this->isActive;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLanguages($languages)
{
$this->languages = $languages;
}
public function getLanguages()
{
return $this->languages;
}
public function setMaximumQps($maximumQps)
{
$this->maximumQps = $maximumQps;
}
public function getMaximumQps()
{
return $this->maximumQps;
}
public function setMinimumViewabilityDecile($minimumViewabilityDecile)
{
$this->minimumViewabilityDecile = $minimumViewabilityDecile;
}
public function getMinimumViewabilityDecile()
{
return $this->minimumViewabilityDecile;
}
public function setMobileCarriers($mobileCarriers)
{
$this->mobileCarriers = $mobileCarriers;
}
public function getMobileCarriers()
{
return $this->mobileCarriers;
}
public function setMobileDevices($mobileDevices)
{
$this->mobileDevices = $mobileDevices;
}
public function getMobileDevices()
{
return $this->mobileDevices;
}
public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions)
{
$this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions;
}
public function getMobileOperatingSystemVersions()
{
return $this->mobileOperatingSystemVersions;
}
/**
* @param PretargetingConfigPlacements[]
*/
public function setPlacements($placements)
{
$this->placements = $placements;
}
/**
* @return PretargetingConfigPlacements[]
*/
public function getPlacements()
{
return $this->placements;
}
public function setPlatforms($platforms)
{
$this->platforms = $platforms;
}
public function getPlatforms()
{
return $this->platforms;
}
public function setSupportedCreativeAttributes($supportedCreativeAttributes)
{
$this->supportedCreativeAttributes = $supportedCreativeAttributes;
}
public function getSupportedCreativeAttributes()
{
return $this->supportedCreativeAttributes;
}
public function setUserIdentifierDataRequired($userIdentifierDataRequired)
{
$this->userIdentifierDataRequired = $userIdentifierDataRequired;
}
public function getUserIdentifierDataRequired()
{
return $this->userIdentifierDataRequired;
}
public function setUserLists($userLists)
{
$this->userLists = $userLists;
}
public function getUserLists()
{
return $this->userLists;
}
public function setVendorTypes($vendorTypes)
{
$this->vendorTypes = $vendorTypes;
}
public function getVendorTypes()
{
return $this->vendorTypes;
}
public function setVerticals($verticals)
{
$this->verticals = $verticals;
}
public function getVerticals()
{
return $this->verticals;
}
/**
* @param PretargetingConfigVideoPlayerSizes[]
*/
public function setVideoPlayerSizes($videoPlayerSizes)
{
$this->videoPlayerSizes = $videoPlayerSizes;
}
/**
* @return PretargetingConfigVideoPlayerSizes[]
*/
public function getVideoPlayerSizes()
{
return $this->videoPlayerSizes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PretargetingConfig::class, 'Google_Service_AdExchangeBuyer_PretargetingConfig');

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

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\AdExchangeBuyer;
class PretargetingConfigExcludedPlacements extends \Google\Model
{
public $token;
public $type;
public function setToken($token)
{
$this->token = $token;
}
public function getToken()
{
return $this->token;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PretargetingConfigExcludedPlacements::class, 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class PretargetingConfigList extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = PretargetingConfig::class;
protected $itemsDataType = 'array';
public $kind;
/**
* @param PretargetingConfig[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return PretargetingConfig[]
*/
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PretargetingConfigList::class, 'Google_Service_AdExchangeBuyer_PretargetingConfigList');

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\AdExchangeBuyer;
class PretargetingConfigPlacements extends \Google\Model
{
public $token;
public $type;
public function setToken($token)
{
$this->token = $token;
}
public function getToken()
{
return $this->token;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PretargetingConfigPlacements::class, 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements');

View File

@@ -0,0 +1,53 @@
<?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\AdExchangeBuyer;
class PretargetingConfigVideoPlayerSizes extends \Google\Model
{
public $aspectRatio;
public $minHeight;
public $minWidth;
public function setAspectRatio($aspectRatio)
{
$this->aspectRatio = $aspectRatio;
}
public function getAspectRatio()
{
return $this->aspectRatio;
}
public function setMinHeight($minHeight)
{
$this->minHeight = $minHeight;
}
public function getMinHeight()
{
return $this->minHeight;
}
public function setMinWidth($minWidth)
{
$this->minWidth = $minWidth;
}
public function getMinWidth()
{
return $this->minWidth;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PretargetingConfigVideoPlayerSizes::class, 'Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes');

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\AdExchangeBuyer;
class Price extends \Google\Model
{
public $amountMicros;
public $currencyCode;
public $expectedCpmMicros;
public $pricingType;
public function setAmountMicros($amountMicros)
{
$this->amountMicros = $amountMicros;
}
public function getAmountMicros()
{
return $this->amountMicros;
}
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
public function getCurrencyCode()
{
return $this->currencyCode;
}
public function setExpectedCpmMicros($expectedCpmMicros)
{
$this->expectedCpmMicros = $expectedCpmMicros;
}
public function getExpectedCpmMicros()
{
return $this->expectedCpmMicros;
}
public function setPricingType($pricingType)
{
$this->pricingType = $pricingType;
}
public function getPricingType()
{
return $this->pricingType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Price::class, 'Google_Service_AdExchangeBuyer_Price');

View File

@@ -0,0 +1,83 @@
<?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\AdExchangeBuyer;
class PricePerBuyer extends \Google\Model
{
public $auctionTier;
protected $billedBuyerType = Buyer::class;
protected $billedBuyerDataType = '';
protected $buyerType = Buyer::class;
protected $buyerDataType = '';
protected $priceType = Price::class;
protected $priceDataType = '';
public function setAuctionTier($auctionTier)
{
$this->auctionTier = $auctionTier;
}
public function getAuctionTier()
{
return $this->auctionTier;
}
/**
* @param Buyer
*/
public function setBilledBuyer(Buyer $billedBuyer)
{
$this->billedBuyer = $billedBuyer;
}
/**
* @return Buyer
*/
public function getBilledBuyer()
{
return $this->billedBuyer;
}
/**
* @param Buyer
*/
public function setBuyer(Buyer $buyer)
{
$this->buyer = $buyer;
}
/**
* @return Buyer
*/
public function getBuyer()
{
return $this->buyer;
}
/**
* @param Price
*/
public function setPrice(Price $price)
{
$this->price = $price;
}
/**
* @return Price
*/
public function getPrice()
{
return $this->price;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PricePerBuyer::class, 'Google_Service_AdExchangeBuyer_PricePerBuyer');

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\AdExchangeBuyer;
class PrivateData extends \Google\Model
{
public $referenceId;
public $referencePayload;
public function setReferenceId($referenceId)
{
$this->referenceId = $referenceId;
}
public function getReferenceId()
{
return $this->referenceId;
}
public function setReferencePayload($referencePayload)
{
$this->referencePayload = $referencePayload;
}
public function getReferencePayload()
{
return $this->referencePayload;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateData::class, 'Google_Service_AdExchangeBuyer_PrivateData');

View File

@@ -0,0 +1,333 @@
<?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\AdExchangeBuyer;
class Product extends \Google\Collection
{
protected $collection_key = 'sharedTargetings';
protected $billedBuyerType = Buyer::class;
protected $billedBuyerDataType = '';
protected $buyerType = Buyer::class;
protected $buyerDataType = '';
public $creationTimeMs;
protected $creatorContactsType = ContactInformation::class;
protected $creatorContactsDataType = 'array';
public $creatorRole;
protected $deliveryControlType = DeliveryControl::class;
protected $deliveryControlDataType = '';
public $flightEndTimeMs;
public $flightStartTimeMs;
public $hasCreatorSignedOff;
public $inventorySource;
public $kind;
protected $labelsType = MarketplaceLabel::class;
protected $labelsDataType = 'array';
public $lastUpdateTimeMs;
public $legacyOfferId;
public $marketplacePublisherProfileId;
public $name;
public $privateAuctionId;
public $productId;
public $publisherProfileId;
protected $publisherProvidedForecastType = PublisherProvidedForecast::class;
protected $publisherProvidedForecastDataType = '';
public $revisionNumber;
protected $sellerType = Seller::class;
protected $sellerDataType = '';
protected $sharedTargetingsType = SharedTargeting::class;
protected $sharedTargetingsDataType = 'array';
public $state;
public $syndicationProduct;
protected $termsType = DealTerms::class;
protected $termsDataType = '';
public $webPropertyCode;
/**
* @param Buyer
*/
public function setBilledBuyer(Buyer $billedBuyer)
{
$this->billedBuyer = $billedBuyer;
}
/**
* @return Buyer
*/
public function getBilledBuyer()
{
return $this->billedBuyer;
}
/**
* @param Buyer
*/
public function setBuyer(Buyer $buyer)
{
$this->buyer = $buyer;
}
/**
* @return Buyer
*/
public function getBuyer()
{
return $this->buyer;
}
public function setCreationTimeMs($creationTimeMs)
{
$this->creationTimeMs = $creationTimeMs;
}
public function getCreationTimeMs()
{
return $this->creationTimeMs;
}
/**
* @param ContactInformation[]
*/
public function setCreatorContacts($creatorContacts)
{
$this->creatorContacts = $creatorContacts;
}
/**
* @return ContactInformation[]
*/
public function getCreatorContacts()
{
return $this->creatorContacts;
}
public function setCreatorRole($creatorRole)
{
$this->creatorRole = $creatorRole;
}
public function getCreatorRole()
{
return $this->creatorRole;
}
/**
* @param DeliveryControl
*/
public function setDeliveryControl(DeliveryControl $deliveryControl)
{
$this->deliveryControl = $deliveryControl;
}
/**
* @return DeliveryControl
*/
public function getDeliveryControl()
{
return $this->deliveryControl;
}
public function setFlightEndTimeMs($flightEndTimeMs)
{
$this->flightEndTimeMs = $flightEndTimeMs;
}
public function getFlightEndTimeMs()
{
return $this->flightEndTimeMs;
}
public function setFlightStartTimeMs($flightStartTimeMs)
{
$this->flightStartTimeMs = $flightStartTimeMs;
}
public function getFlightStartTimeMs()
{
return $this->flightStartTimeMs;
}
public function setHasCreatorSignedOff($hasCreatorSignedOff)
{
$this->hasCreatorSignedOff = $hasCreatorSignedOff;
}
public function getHasCreatorSignedOff()
{
return $this->hasCreatorSignedOff;
}
public function setInventorySource($inventorySource)
{
$this->inventorySource = $inventorySource;
}
public function getInventorySource()
{
return $this->inventorySource;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
/**
* @param MarketplaceLabel[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return MarketplaceLabel[]
*/
public function getLabels()
{
return $this->labels;
}
public function setLastUpdateTimeMs($lastUpdateTimeMs)
{
$this->lastUpdateTimeMs = $lastUpdateTimeMs;
}
public function getLastUpdateTimeMs()
{
return $this->lastUpdateTimeMs;
}
public function setLegacyOfferId($legacyOfferId)
{
$this->legacyOfferId = $legacyOfferId;
}
public function getLegacyOfferId()
{
return $this->legacyOfferId;
}
public function setMarketplacePublisherProfileId($marketplacePublisherProfileId)
{
$this->marketplacePublisherProfileId = $marketplacePublisherProfileId;
}
public function getMarketplacePublisherProfileId()
{
return $this->marketplacePublisherProfileId;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPrivateAuctionId($privateAuctionId)
{
$this->privateAuctionId = $privateAuctionId;
}
public function getPrivateAuctionId()
{
return $this->privateAuctionId;
}
public function setProductId($productId)
{
$this->productId = $productId;
}
public function getProductId()
{
return $this->productId;
}
public function setPublisherProfileId($publisherProfileId)
{
$this->publisherProfileId = $publisherProfileId;
}
public function getPublisherProfileId()
{
return $this->publisherProfileId;
}
/**
* @param PublisherProvidedForecast
*/
public function setPublisherProvidedForecast(PublisherProvidedForecast $publisherProvidedForecast)
{
$this->publisherProvidedForecast = $publisherProvidedForecast;
}
/**
* @return PublisherProvidedForecast
*/
public function getPublisherProvidedForecast()
{
return $this->publisherProvidedForecast;
}
public function setRevisionNumber($revisionNumber)
{
$this->revisionNumber = $revisionNumber;
}
public function getRevisionNumber()
{
return $this->revisionNumber;
}
/**
* @param Seller
*/
public function setSeller(Seller $seller)
{
$this->seller = $seller;
}
/**
* @return Seller
*/
public function getSeller()
{
return $this->seller;
}
/**
* @param SharedTargeting[]
*/
public function setSharedTargetings($sharedTargetings)
{
$this->sharedTargetings = $sharedTargetings;
}
/**
* @return SharedTargeting[]
*/
public function getSharedTargetings()
{
return $this->sharedTargetings;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
public function setSyndicationProduct($syndicationProduct)
{
$this->syndicationProduct = $syndicationProduct;
}
public function getSyndicationProduct()
{
return $this->syndicationProduct;
}
/**
* @param DealTerms
*/
public function setTerms(DealTerms $terms)
{
$this->terms = $terms;
}
/**
* @return DealTerms
*/
public function getTerms()
{
return $this->terms;
}
public function setWebPropertyCode($webPropertyCode)
{
$this->webPropertyCode = $webPropertyCode;
}
public function getWebPropertyCode()
{
return $this->webPropertyCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Product::class, 'Google_Service_AdExchangeBuyer_Product');

View File

@@ -0,0 +1,283 @@
<?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\AdExchangeBuyer;
class Proposal extends \Google\Collection
{
protected $collection_key = 'sellerContacts';
protected $billedBuyerType = Buyer::class;
protected $billedBuyerDataType = '';
protected $buyerType = Buyer::class;
protected $buyerDataType = '';
protected $buyerContactsType = ContactInformation::class;
protected $buyerContactsDataType = 'array';
protected $buyerPrivateDataType = PrivateData::class;
protected $buyerPrivateDataDataType = '';
public $dbmAdvertiserIds;
public $hasBuyerSignedOff;
public $hasSellerSignedOff;
public $inventorySource;
public $isRenegotiating;
public $isSetupComplete;
public $kind;
protected $labelsType = MarketplaceLabel::class;
protected $labelsDataType = 'array';
public $lastUpdaterOrCommentorRole;
public $name;
public $negotiationId;
public $originatorRole;
public $privateAuctionId;
public $proposalId;
public $proposalState;
public $revisionNumber;
public $revisionTimeMs;
protected $sellerType = Seller::class;
protected $sellerDataType = '';
protected $sellerContactsType = ContactInformation::class;
protected $sellerContactsDataType = 'array';
/**
* @param Buyer
*/
public function setBilledBuyer(Buyer $billedBuyer)
{
$this->billedBuyer = $billedBuyer;
}
/**
* @return Buyer
*/
public function getBilledBuyer()
{
return $this->billedBuyer;
}
/**
* @param Buyer
*/
public function setBuyer(Buyer $buyer)
{
$this->buyer = $buyer;
}
/**
* @return Buyer
*/
public function getBuyer()
{
return $this->buyer;
}
/**
* @param ContactInformation[]
*/
public function setBuyerContacts($buyerContacts)
{
$this->buyerContacts = $buyerContacts;
}
/**
* @return ContactInformation[]
*/
public function getBuyerContacts()
{
return $this->buyerContacts;
}
/**
* @param PrivateData
*/
public function setBuyerPrivateData(PrivateData $buyerPrivateData)
{
$this->buyerPrivateData = $buyerPrivateData;
}
/**
* @return PrivateData
*/
public function getBuyerPrivateData()
{
return $this->buyerPrivateData;
}
public function setDbmAdvertiserIds($dbmAdvertiserIds)
{
$this->dbmAdvertiserIds = $dbmAdvertiserIds;
}
public function getDbmAdvertiserIds()
{
return $this->dbmAdvertiserIds;
}
public function setHasBuyerSignedOff($hasBuyerSignedOff)
{
$this->hasBuyerSignedOff = $hasBuyerSignedOff;
}
public function getHasBuyerSignedOff()
{
return $this->hasBuyerSignedOff;
}
public function setHasSellerSignedOff($hasSellerSignedOff)
{
$this->hasSellerSignedOff = $hasSellerSignedOff;
}
public function getHasSellerSignedOff()
{
return $this->hasSellerSignedOff;
}
public function setInventorySource($inventorySource)
{
$this->inventorySource = $inventorySource;
}
public function getInventorySource()
{
return $this->inventorySource;
}
public function setIsRenegotiating($isRenegotiating)
{
$this->isRenegotiating = $isRenegotiating;
}
public function getIsRenegotiating()
{
return $this->isRenegotiating;
}
public function setIsSetupComplete($isSetupComplete)
{
$this->isSetupComplete = $isSetupComplete;
}
public function getIsSetupComplete()
{
return $this->isSetupComplete;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
/**
* @param MarketplaceLabel[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return MarketplaceLabel[]
*/
public function getLabels()
{
return $this->labels;
}
public function setLastUpdaterOrCommentorRole($lastUpdaterOrCommentorRole)
{
$this->lastUpdaterOrCommentorRole = $lastUpdaterOrCommentorRole;
}
public function getLastUpdaterOrCommentorRole()
{
return $this->lastUpdaterOrCommentorRole;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNegotiationId($negotiationId)
{
$this->negotiationId = $negotiationId;
}
public function getNegotiationId()
{
return $this->negotiationId;
}
public function setOriginatorRole($originatorRole)
{
$this->originatorRole = $originatorRole;
}
public function getOriginatorRole()
{
return $this->originatorRole;
}
public function setPrivateAuctionId($privateAuctionId)
{
$this->privateAuctionId = $privateAuctionId;
}
public function getPrivateAuctionId()
{
return $this->privateAuctionId;
}
public function setProposalId($proposalId)
{
$this->proposalId = $proposalId;
}
public function getProposalId()
{
return $this->proposalId;
}
public function setProposalState($proposalState)
{
$this->proposalState = $proposalState;
}
public function getProposalState()
{
return $this->proposalState;
}
public function setRevisionNumber($revisionNumber)
{
$this->revisionNumber = $revisionNumber;
}
public function getRevisionNumber()
{
return $this->revisionNumber;
}
public function setRevisionTimeMs($revisionTimeMs)
{
$this->revisionTimeMs = $revisionTimeMs;
}
public function getRevisionTimeMs()
{
return $this->revisionTimeMs;
}
/**
* @param Seller
*/
public function setSeller(Seller $seller)
{
$this->seller = $seller;
}
/**
* @return Seller
*/
public function getSeller()
{
return $this->seller;
}
/**
* @param ContactInformation[]
*/
public function setSellerContacts($sellerContacts)
{
$this->sellerContacts = $sellerContacts;
}
/**
* @return ContactInformation[]
*/
public function getSellerContacts()
{
return $this->sellerContacts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Proposal::class, 'Google_Service_AdExchangeBuyer_Proposal');

View File

@@ -0,0 +1,273 @@
<?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\AdExchangeBuyer;
class PublisherProfileApiProto extends \Google\Collection
{
protected $collection_key = 'topHeadlines';
public $audience;
public $buyerPitchStatement;
public $directContact;
public $exchange;
public $forecastInventory;
public $googlePlusLink;
public $isParent;
public $isPublished;
public $kind;
public $logoUrl;
public $mediaKitLink;
public $name;
public $overview;
public $profileId;
public $programmaticContact;
public $publisherAppIds;
protected $publisherAppsType = MobileApplication::class;
protected $publisherAppsDataType = 'array';
public $publisherDomains;
public $publisherProfileId;
protected $publisherProvidedForecastType = PublisherProvidedForecast::class;
protected $publisherProvidedForecastDataType = '';
public $rateCardInfoLink;
public $samplePageLink;
protected $sellerType = Seller::class;
protected $sellerDataType = '';
public $state;
public $topHeadlines;
public function setAudience($audience)
{
$this->audience = $audience;
}
public function getAudience()
{
return $this->audience;
}
public function setBuyerPitchStatement($buyerPitchStatement)
{
$this->buyerPitchStatement = $buyerPitchStatement;
}
public function getBuyerPitchStatement()
{
return $this->buyerPitchStatement;
}
public function setDirectContact($directContact)
{
$this->directContact = $directContact;
}
public function getDirectContact()
{
return $this->directContact;
}
public function setExchange($exchange)
{
$this->exchange = $exchange;
}
public function getExchange()
{
return $this->exchange;
}
public function setForecastInventory($forecastInventory)
{
$this->forecastInventory = $forecastInventory;
}
public function getForecastInventory()
{
return $this->forecastInventory;
}
public function setGooglePlusLink($googlePlusLink)
{
$this->googlePlusLink = $googlePlusLink;
}
public function getGooglePlusLink()
{
return $this->googlePlusLink;
}
public function setIsParent($isParent)
{
$this->isParent = $isParent;
}
public function getIsParent()
{
return $this->isParent;
}
public function setIsPublished($isPublished)
{
$this->isPublished = $isPublished;
}
public function getIsPublished()
{
return $this->isPublished;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLogoUrl($logoUrl)
{
$this->logoUrl = $logoUrl;
}
public function getLogoUrl()
{
return $this->logoUrl;
}
public function setMediaKitLink($mediaKitLink)
{
$this->mediaKitLink = $mediaKitLink;
}
public function getMediaKitLink()
{
return $this->mediaKitLink;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setOverview($overview)
{
$this->overview = $overview;
}
public function getOverview()
{
return $this->overview;
}
public function setProfileId($profileId)
{
$this->profileId = $profileId;
}
public function getProfileId()
{
return $this->profileId;
}
public function setProgrammaticContact($programmaticContact)
{
$this->programmaticContact = $programmaticContact;
}
public function getProgrammaticContact()
{
return $this->programmaticContact;
}
public function setPublisherAppIds($publisherAppIds)
{
$this->publisherAppIds = $publisherAppIds;
}
public function getPublisherAppIds()
{
return $this->publisherAppIds;
}
/**
* @param MobileApplication[]
*/
public function setPublisherApps($publisherApps)
{
$this->publisherApps = $publisherApps;
}
/**
* @return MobileApplication[]
*/
public function getPublisherApps()
{
return $this->publisherApps;
}
public function setPublisherDomains($publisherDomains)
{
$this->publisherDomains = $publisherDomains;
}
public function getPublisherDomains()
{
return $this->publisherDomains;
}
public function setPublisherProfileId($publisherProfileId)
{
$this->publisherProfileId = $publisherProfileId;
}
public function getPublisherProfileId()
{
return $this->publisherProfileId;
}
/**
* @param PublisherProvidedForecast
*/
public function setPublisherProvidedForecast(PublisherProvidedForecast $publisherProvidedForecast)
{
$this->publisherProvidedForecast = $publisherProvidedForecast;
}
/**
* @return PublisherProvidedForecast
*/
public function getPublisherProvidedForecast()
{
return $this->publisherProvidedForecast;
}
public function setRateCardInfoLink($rateCardInfoLink)
{
$this->rateCardInfoLink = $rateCardInfoLink;
}
public function getRateCardInfoLink()
{
return $this->rateCardInfoLink;
}
public function setSamplePageLink($samplePageLink)
{
$this->samplePageLink = $samplePageLink;
}
public function getSamplePageLink()
{
return $this->samplePageLink;
}
/**
* @param Seller
*/
public function setSeller(Seller $seller)
{
$this->seller = $seller;
}
/**
* @return Seller
*/
public function getSeller()
{
return $this->seller;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
public function setTopHeadlines($topHeadlines)
{
$this->topHeadlines = $topHeadlines;
}
public function getTopHeadlines()
{
return $this->topHeadlines;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PublisherProfileApiProto::class, 'Google_Service_AdExchangeBuyer_PublisherProfileApiProto');

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\AdExchangeBuyer;
class PublisherProvidedForecast extends \Google\Collection
{
protected $collection_key = 'dimensions';
protected $dimensionsType = Dimension::class;
protected $dimensionsDataType = 'array';
public $weeklyImpressions;
public $weeklyUniques;
/**
* @param Dimension[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return Dimension[]
*/
public function getDimensions()
{
return $this->dimensions;
}
public function setWeeklyImpressions($weeklyImpressions)
{
$this->weeklyImpressions = $weeklyImpressions;
}
public function getWeeklyImpressions()
{
return $this->weeklyImpressions;
}
public function setWeeklyUniques($weeklyUniques)
{
$this->weeklyUniques = $weeklyUniques;
}
public function getWeeklyUniques()
{
return $this->weeklyUniques;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PublisherProvidedForecast::class, 'Google_Service_AdExchangeBuyer_PublisherProvidedForecast');

View File

@@ -0,0 +1,96 @@
<?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\AdExchangeBuyer\Resource;
use Google\Service\AdExchangeBuyer\Account;
use Google\Service\AdExchangeBuyer\AccountsList;
/**
* The "accounts" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
* $accounts = $adexchangebuyerService->accounts;
* </code>
*/
class Accounts extends \Google\Service\Resource
{
/**
* Gets one account by ID. (accounts.get)
*
* @param int $id The account id
* @param array $optParams Optional parameters.
* @return Account
*/
public function get($id, $optParams = [])
{
$params = ['id' => $id];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Account::class);
}
/**
* Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
*
* @param array $optParams Optional parameters.
* @return AccountsList
*/
public function listAccounts($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], AccountsList::class);
}
/**
* Updates an existing account. This method supports patch semantics.
* (accounts.patch)
*
* @param int $id The account id
* @param Account $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool confirmUnsafeAccountChange Confirmation for erasing bidder
* and cookie matching urls.
* @return Account
*/
public function patch($id, Account $postBody, $optParams = [])
{
$params = ['id' => $id, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Account::class);
}
/**
* Updates an existing account. (accounts.update)
*
* @param int $id The account id
* @param Account $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool confirmUnsafeAccountChange Confirmation for erasing bidder
* and cookie matching urls.
* @return Account
*/
public function update($id, Account $postBody, $optParams = [])
{
$params = ['id' => $id, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Account::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Accounts::class, 'Google_Service_AdExchangeBuyer_Resource_Accounts');

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\AdExchangeBuyer\Resource;
use Google\Service\AdExchangeBuyer\BillingInfo as BillingInfoModel;
use Google\Service\AdExchangeBuyer\BillingInfoList;
/**
* The "billingInfo" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
* $billingInfo = $adexchangebuyerService->billingInfo;
* </code>
*/
class BillingInfo extends \Google\Service\Resource
{
/**
* Returns the billing information for one account specified by account ID.
* (billingInfo.get)
*
* @param int $accountId The account id.
* @param array $optParams Optional parameters.
* @return BillingInfoModel
*/
public function get($accountId, $optParams = [])
{
$params = ['accountId' => $accountId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], BillingInfoModel::class);
}
/**
* Retrieves a list of billing information for all accounts of the authenticated
* user. (billingInfo.listBillingInfo)
*
* @param array $optParams Optional parameters.
* @return BillingInfoList
*/
public function listBillingInfo($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], BillingInfoList::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingInfo::class, 'Google_Service_AdExchangeBuyer_Resource_BillingInfo');

View File

@@ -0,0 +1,88 @@
<?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\AdExchangeBuyer\Resource;
use Google\Service\AdExchangeBuyer\Budget as BudgetModel;
/**
* The "budget" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
* $budget = $adexchangebuyerService->budget;
* </code>
*/
class Budget extends \Google\Service\Resource
{
/**
* Returns the budget information for the adgroup specified by the accountId and
* billingId. (budget.get)
*
* @param string $accountId The account id to get the budget information for.
* @param string $billingId The billing id to get the budget information for.
* @param array $optParams Optional parameters.
* @return BudgetModel
*/
public function get($accountId, $billingId, $optParams = [])
{
$params = ['accountId' => $accountId, 'billingId' => $billingId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], BudgetModel::class);
}
/**
* Updates the budget amount for the budget of the adgroup specified by the
* accountId and billingId, with the budget amount in the request. This method
* supports patch semantics. (budget.patch)
*
* @param string $accountId The account id associated with the budget being
* updated.
* @param string $billingId The billing id associated with the budget being
* updated.
* @param BudgetModel $postBody
* @param array $optParams Optional parameters.
* @return BudgetModel
*/
public function patch($accountId, $billingId, BudgetModel $postBody, $optParams = [])
{
$params = ['accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], BudgetModel::class);
}
/**
* Updates the budget amount for the budget of the adgroup specified by the
* accountId and billingId, with the budget amount in the request.
* (budget.update)
*
* @param string $accountId The account id associated with the budget being
* updated.
* @param string $billingId The billing id associated with the budget being
* updated.
* @param BudgetModel $postBody
* @param array $optParams Optional parameters.
* @return BudgetModel
*/
public function update($accountId, $billingId, BudgetModel $postBody, $optParams = [])
{
$params = ['accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], BudgetModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Budget::class, 'Google_Service_AdExchangeBuyer_Resource_Budget');

View File

@@ -0,0 +1,136 @@
<?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\AdExchangeBuyer\Resource;
use Google\Service\AdExchangeBuyer\Creative;
use Google\Service\AdExchangeBuyer\CreativeDealIds;
use Google\Service\AdExchangeBuyer\CreativesList;
/**
* The "creatives" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
* $creatives = $adexchangebuyerService->creatives;
* </code>
*/
class Creatives extends \Google\Service\Resource
{
/**
* Add a deal id association for the creative. (creatives.addDeal)
*
* @param int $accountId The id for the account that will serve this creative.
* @param string $buyerCreativeId The buyer-specific id for this creative.
* @param string $dealId The id of the deal id to associate with this creative.
* @param array $optParams Optional parameters.
*/
public function addDeal($accountId, $buyerCreativeId, $dealId, $optParams = [])
{
$params = ['accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId, 'dealId' => $dealId];
$params = array_merge($params, $optParams);
return $this->call('addDeal', [$params]);
}
/**
* Gets the status for a single creative. A creative will be available 30-40
* minutes after submission. (creatives.get)
*
* @param int $accountId The id for the account that will serve this creative.
* @param string $buyerCreativeId The buyer-specific id for this creative.
* @param array $optParams Optional parameters.
* @return Creative
*/
public function get($accountId, $buyerCreativeId, $optParams = [])
{
$params = ['accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Creative::class);
}
/**
* Submit a new creative. (creatives.insert)
*
* @param Creative $postBody
* @param array $optParams Optional parameters.
* @return Creative
*/
public function insert(Creative $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], Creative::class);
}
/**
* Retrieves a list of the authenticated user's active creatives. A creative
* will be available 30-40 minutes after submission. (creatives.listCreatives)
*
* @param array $optParams Optional parameters.
*
* @opt_param int accountId When specified, only creatives for the given account
* ids are returned.
* @opt_param string buyerCreativeId When specified, only creatives for the
* given buyer creative ids are returned.
* @opt_param string dealsStatusFilter When specified, only creatives having the
* given deals status are returned.
* @opt_param string maxResults Maximum number of entries returned on one result
* page. If not set, the default is 100. Optional.
* @opt_param string openAuctionStatusFilter When specified, only creatives
* having the given open auction status are returned.
* @opt_param string pageToken A continuation token, used to page through ad
* clients. To retrieve the next page, set this parameter to the value of
* "nextPageToken" from the previous response. Optional.
* @return CreativesList
*/
public function listCreatives($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], CreativesList::class);
}
/**
* Lists the external deal ids associated with the creative.
* (creatives.listDeals)
*
* @param int $accountId The id for the account that will serve this creative.
* @param string $buyerCreativeId The buyer-specific id for this creative.
* @param array $optParams Optional parameters.
* @return CreativeDealIds
*/
public function listDeals($accountId, $buyerCreativeId, $optParams = [])
{
$params = ['accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId];
$params = array_merge($params, $optParams);
return $this->call('listDeals', [$params], CreativeDealIds::class);
}
/**
* Remove a deal id associated with the creative. (creatives.removeDeal)
*
* @param int $accountId The id for the account that will serve this creative.
* @param string $buyerCreativeId The buyer-specific id for this creative.
* @param string $dealId The id of the deal id to disassociate with this
* creative.
* @param array $optParams Optional parameters.
*/
public function removeDeal($accountId, $buyerCreativeId, $dealId, $optParams = [])
{
$params = ['accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId, 'dealId' => $dealId];
$params = array_merge($params, $optParams);
return $this->call('removeDeal', [$params]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Creatives::class, 'Google_Service_AdExchangeBuyer_Resource_Creatives');

View File

@@ -0,0 +1,101 @@
<?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\AdExchangeBuyer\Resource;
use Google\Service\AdExchangeBuyer\AddOrderDealsRequest;
use Google\Service\AdExchangeBuyer\AddOrderDealsResponse;
use Google\Service\AdExchangeBuyer\DeleteOrderDealsRequest;
use Google\Service\AdExchangeBuyer\DeleteOrderDealsResponse;
use Google\Service\AdExchangeBuyer\EditAllOrderDealsRequest;
use Google\Service\AdExchangeBuyer\EditAllOrderDealsResponse;
use Google\Service\AdExchangeBuyer\GetOrderDealsResponse;
/**
* The "marketplacedeals" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
* $marketplacedeals = $adexchangebuyerService->marketplacedeals;
* </code>
*/
class Marketplacedeals extends \Google\Service\Resource
{
/**
* Delete the specified deals from the proposal (marketplacedeals.delete)
*
* @param string $proposalId The proposalId to delete deals from.
* @param DeleteOrderDealsRequest $postBody
* @param array $optParams Optional parameters.
* @return DeleteOrderDealsResponse
*/
public function delete($proposalId, DeleteOrderDealsRequest $postBody, $optParams = [])
{
$params = ['proposalId' => $proposalId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], DeleteOrderDealsResponse::class);
}
/**
* Add new deals for the specified proposal (marketplacedeals.insert)
*
* @param string $proposalId proposalId for which deals need to be added.
* @param AddOrderDealsRequest $postBody
* @param array $optParams Optional parameters.
* @return AddOrderDealsResponse
*/
public function insert($proposalId, AddOrderDealsRequest $postBody, $optParams = [])
{
$params = ['proposalId' => $proposalId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], AddOrderDealsResponse::class);
}
/**
* List all the deals for a given proposal
* (marketplacedeals.listMarketplacedeals)
*
* @param string $proposalId The proposalId to get deals for. To search across
* all proposals specify order_id = '-' as part of the URL.
* @param array $optParams Optional parameters.
*
* @opt_param string pqlQuery Query string to retrieve specific deals.
* @return GetOrderDealsResponse
*/
public function listMarketplacedeals($proposalId, $optParams = [])
{
$params = ['proposalId' => $proposalId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GetOrderDealsResponse::class);
}
/**
* Replaces all the deals in the proposal with the passed in deals
* (marketplacedeals.update)
*
* @param string $proposalId The proposalId to edit deals on.
* @param EditAllOrderDealsRequest $postBody
* @param array $optParams Optional parameters.
* @return EditAllOrderDealsResponse
*/
public function update($proposalId, EditAllOrderDealsRequest $postBody, $optParams = [])
{
$params = ['proposalId' => $proposalId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], EditAllOrderDealsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Marketplacedeals::class, 'Google_Service_AdExchangeBuyer_Resource_Marketplacedeals');

View File

@@ -0,0 +1,70 @@
<?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\AdExchangeBuyer\Resource;
use Google\Service\AdExchangeBuyer\AddOrderNotesRequest;
use Google\Service\AdExchangeBuyer\AddOrderNotesResponse;
use Google\Service\AdExchangeBuyer\GetOrderNotesResponse;
/**
* The "marketplacenotes" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
* $marketplacenotes = $adexchangebuyerService->marketplacenotes;
* </code>
*/
class Marketplacenotes extends \Google\Service\Resource
{
/**
* Add notes to the proposal (marketplacenotes.insert)
*
* @param string $proposalId The proposalId to add notes for.
* @param AddOrderNotesRequest $postBody
* @param array $optParams Optional parameters.
* @return AddOrderNotesResponse
*/
public function insert($proposalId, AddOrderNotesRequest $postBody, $optParams = [])
{
$params = ['proposalId' => $proposalId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], AddOrderNotesResponse::class);
}
/**
* Get all the notes associated with a proposal
* (marketplacenotes.listMarketplacenotes)
*
* @param string $proposalId The proposalId to get notes for. To search across
* all proposals specify order_id = '-' as part of the URL.
* @param array $optParams Optional parameters.
*
* @opt_param string pqlQuery Query string to retrieve specific notes. To search
* the text contents of notes, please use syntax like "WHERE note.note = "foo"
* or "WHERE note.note LIKE "%bar%"
* @return GetOrderNotesResponse
*/
public function listMarketplacenotes($proposalId, $optParams = [])
{
$params = ['proposalId' => $proposalId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GetOrderNotesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Marketplacenotes::class, 'Google_Service_AdExchangeBuyer_Resource_Marketplacenotes');

View File

@@ -0,0 +1,49 @@
<?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\AdExchangeBuyer\Resource;
use Google\Service\AdExchangeBuyer\UpdatePrivateAuctionProposalRequest;
/**
* The "marketplaceprivateauction" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
* $marketplaceprivateauction = $adexchangebuyerService->marketplaceprivateauction;
* </code>
*/
class Marketplaceprivateauction extends \Google\Service\Resource
{
/**
* Update a given private auction proposal
* (marketplaceprivateauction.updateproposal)
*
* @param string $privateAuctionId The private auction id to be updated.
* @param UpdatePrivateAuctionProposalRequest $postBody
* @param array $optParams Optional parameters.
*/
public function updateproposal($privateAuctionId, UpdatePrivateAuctionProposalRequest $postBody, $optParams = [])
{
$params = ['privateAuctionId' => $privateAuctionId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateproposal', [$params]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Marketplaceprivateauction::class, 'Google_Service_AdExchangeBuyer_Resource_Marketplaceprivateauction');

View File

@@ -0,0 +1,59 @@
<?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\AdExchangeBuyer\Resource;
use Google\Service\AdExchangeBuyer\PerformanceReportList;
/**
* The "performanceReport" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
* $performanceReport = $adexchangebuyerService->performanceReport;
* </code>
*/
class PerformanceReport extends \Google\Service\Resource
{
/**
* Retrieves the authenticated user's list of performance metrics.
* (performanceReport.listPerformanceReport)
*
* @param string $accountId The account id to get the reports.
* @param string $endDateTime The end time of the report in ISO 8601 timestamp
* format using UTC.
* @param string $startDateTime The start time of the report in ISO 8601
* timestamp format using UTC.
* @param array $optParams Optional parameters.
*
* @opt_param string maxResults Maximum number of entries returned on one result
* page. If not set, the default is 100. Optional.
* @opt_param string pageToken A continuation token, used to page through
* performance reports. To retrieve the next page, set this parameter to the
* value of "nextPageToken" from the previous response. Optional.
* @return PerformanceReportList
*/
public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = [])
{
$params = ['accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], PerformanceReportList::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PerformanceReport::class, 'Google_Service_AdExchangeBuyer_Resource_PerformanceReport');

View File

@@ -0,0 +1,126 @@
<?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\AdExchangeBuyer\Resource;
use Google\Service\AdExchangeBuyer\PretargetingConfig as PretargetingConfigModel;
use Google\Service\AdExchangeBuyer\PretargetingConfigList;
/**
* The "pretargetingConfig" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
* $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
* </code>
*/
class PretargetingConfig extends \Google\Service\Resource
{
/**
* Deletes an existing pretargeting config. (pretargetingConfig.delete)
*
* @param string $accountId The account id to delete the pretargeting config
* for.
* @param string $configId The specific id of the configuration to delete.
* @param array $optParams Optional parameters.
*/
public function delete($accountId, $configId, $optParams = [])
{
$params = ['accountId' => $accountId, 'configId' => $configId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Gets a specific pretargeting configuration (pretargetingConfig.get)
*
* @param string $accountId The account id to get the pretargeting config for.
* @param string $configId The specific id of the configuration to retrieve.
* @param array $optParams Optional parameters.
* @return PretargetingConfigModel
*/
public function get($accountId, $configId, $optParams = [])
{
$params = ['accountId' => $accountId, 'configId' => $configId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], PretargetingConfigModel::class);
}
/**
* Inserts a new pretargeting configuration. (pretargetingConfig.insert)
*
* @param string $accountId The account id to insert the pretargeting config
* for.
* @param PretargetingConfigModel $postBody
* @param array $optParams Optional parameters.
* @return PretargetingConfigModel
*/
public function insert($accountId, PretargetingConfigModel $postBody, $optParams = [])
{
$params = ['accountId' => $accountId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], PretargetingConfigModel::class);
}
/**
* Retrieves a list of the authenticated user's pretargeting configurations.
* (pretargetingConfig.listPretargetingConfig)
*
* @param string $accountId The account id to get the pretargeting configs for.
* @param array $optParams Optional parameters.
* @return PretargetingConfigList
*/
public function listPretargetingConfig($accountId, $optParams = [])
{
$params = ['accountId' => $accountId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], PretargetingConfigList::class);
}
/**
* Updates an existing pretargeting config. This method supports patch
* semantics. (pretargetingConfig.patch)
*
* @param string $accountId The account id to update the pretargeting config
* for.
* @param string $configId The specific id of the configuration to update.
* @param PretargetingConfigModel $postBody
* @param array $optParams Optional parameters.
* @return PretargetingConfigModel
*/
public function patch($accountId, $configId, PretargetingConfigModel $postBody, $optParams = [])
{
$params = ['accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], PretargetingConfigModel::class);
}
/**
* Updates an existing pretargeting config. (pretargetingConfig.update)
*
* @param string $accountId The account id to update the pretargeting config
* for.
* @param string $configId The specific id of the configuration to update.
* @param PretargetingConfigModel $postBody
* @param array $optParams Optional parameters.
* @return PretargetingConfigModel
*/
public function update($accountId, $configId, PretargetingConfigModel $postBody, $optParams = [])
{
$params = ['accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], PretargetingConfigModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PretargetingConfig::class, 'Google_Service_AdExchangeBuyer_Resource_PretargetingConfig');

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\AdExchangeBuyer\Resource;
use Google\Service\AdExchangeBuyer\GetOffersResponse;
use Google\Service\AdExchangeBuyer\Product;
/**
* The "products" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
* $products = $adexchangebuyerService->products;
* </code>
*/
class Products extends \Google\Service\Resource
{
/**
* Gets the requested product by id. (products.get)
*
* @param string $productId The id for the product to get the head revision for.
* @param array $optParams Optional parameters.
* @return Product
*/
public function get($productId, $optParams = [])
{
$params = ['productId' => $productId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Product::class);
}
/**
* Gets the requested product. (products.search)
*
* @param array $optParams Optional parameters.
*
* @opt_param string pqlQuery The pql query used to query for products.
* @return GetOffersResponse
*/
public function search($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], GetOffersResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Products::class, 'Google_Service_AdExchangeBuyer_Resource_Products');

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\AdExchangeBuyer\Resource;
use Google\Service\AdExchangeBuyer\CreateOrdersRequest;
use Google\Service\AdExchangeBuyer\CreateOrdersResponse;
use Google\Service\AdExchangeBuyer\GetOrdersResponse;
use Google\Service\AdExchangeBuyer\Proposal;
/**
* The "proposals" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
* $proposals = $adexchangebuyerService->proposals;
* </code>
*/
class Proposals extends \Google\Service\Resource
{
/**
* Get a proposal given its id (proposals.get)
*
* @param string $proposalId Id of the proposal to retrieve.
* @param array $optParams Optional parameters.
* @return Proposal
*/
public function get($proposalId, $optParams = [])
{
$params = ['proposalId' => $proposalId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Proposal::class);
}
/**
* Create the given list of proposals (proposals.insert)
*
* @param CreateOrdersRequest $postBody
* @param array $optParams Optional parameters.
* @return CreateOrdersResponse
*/
public function insert(CreateOrdersRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], CreateOrdersResponse::class);
}
/**
* Update the given proposal. This method supports patch semantics.
* (proposals.patch)
*
* @param string $proposalId The proposal id to update.
* @param string $revisionNumber The last known revision number to update. If
* the head revision in the marketplace database has since changed, an error
* will be thrown. The caller should then fetch the latest proposal at head
* revision and retry the update at that revision.
* @param string $updateAction The proposed action to take on the proposal. This
* field is required and it must be set when updating a proposal.
* @param Proposal $postBody
* @param array $optParams Optional parameters.
* @return Proposal
*/
public function patch($proposalId, $revisionNumber, $updateAction, Proposal $postBody, $optParams = [])
{
$params = ['proposalId' => $proposalId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Proposal::class);
}
/**
* Search for proposals using pql query (proposals.search)
*
* @param array $optParams Optional parameters.
*
* @opt_param string pqlQuery Query string to retrieve specific proposals.
* @return GetOrdersResponse
*/
public function search($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], GetOrdersResponse::class);
}
/**
* Update the given proposal to indicate that setup has been completed.
* (proposals.setupcomplete)
*
* @param string $proposalId The proposal id for which the setup is complete
* @param array $optParams Optional parameters.
*/
public function setupcomplete($proposalId, $optParams = [])
{
$params = ['proposalId' => $proposalId];
$params = array_merge($params, $optParams);
return $this->call('setupcomplete', [$params]);
}
/**
* Update the given proposal (proposals.update)
*
* @param string $proposalId The proposal id to update.
* @param string $revisionNumber The last known revision number to update. If
* the head revision in the marketplace database has since changed, an error
* will be thrown. The caller should then fetch the latest proposal at head
* revision and retry the update at that revision.
* @param string $updateAction The proposed action to take on the proposal. This
* field is required and it must be set when updating a proposal.
* @param Proposal $postBody
* @param array $optParams Optional parameters.
* @return Proposal
*/
public function update($proposalId, $revisionNumber, $updateAction, Proposal $postBody, $optParams = [])
{
$params = ['proposalId' => $proposalId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Proposal::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Proposals::class, 'Google_Service_AdExchangeBuyer_Resource_Proposals');

View File

@@ -0,0 +1,49 @@
<?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\AdExchangeBuyer\Resource;
use Google\Service\AdExchangeBuyer\GetPublisherProfilesByAccountIdResponse;
/**
* The "pubprofiles" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
* $pubprofiles = $adexchangebuyerService->pubprofiles;
* </code>
*/
class Pubprofiles extends \Google\Service\Resource
{
/**
* Gets the requested publisher profile(s) by publisher accountId.
* (pubprofiles.listPubprofiles)
*
* @param int $accountId The accountId of the publisher to get profiles for.
* @param array $optParams Optional parameters.
* @return GetPublisherProfilesByAccountIdResponse
*/
public function listPubprofiles($accountId, $optParams = [])
{
$params = ['accountId' => $accountId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GetPublisherProfilesByAccountIdResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Pubprofiles::class, 'Google_Service_AdExchangeBuyer_Resource_Pubprofiles');

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\AdExchangeBuyer;
class Seller extends \Google\Model
{
public $accountId;
public $subAccountId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setSubAccountId($subAccountId)
{
$this->subAccountId = $subAccountId;
}
public function getSubAccountId()
{
return $this->subAccountId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Seller::class, 'Google_Service_AdExchangeBuyer_Seller');

View File

@@ -0,0 +1,68 @@
<?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\AdExchangeBuyer;
class SharedTargeting extends \Google\Collection
{
protected $collection_key = 'inclusions';
protected $exclusionsType = TargetingValue::class;
protected $exclusionsDataType = 'array';
protected $inclusionsType = TargetingValue::class;
protected $inclusionsDataType = 'array';
public $key;
/**
* @param TargetingValue[]
*/
public function setExclusions($exclusions)
{
$this->exclusions = $exclusions;
}
/**
* @return TargetingValue[]
*/
public function getExclusions()
{
return $this->exclusions;
}
/**
* @param TargetingValue[]
*/
public function setInclusions($inclusions)
{
$this->inclusions = $inclusions;
}
/**
* @return TargetingValue[]
*/
public function getInclusions()
{
return $this->inclusions;
}
public function setKey($key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SharedTargeting::class, 'Google_Service_AdExchangeBuyer_SharedTargeting');

View File

@@ -0,0 +1,124 @@
<?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\AdExchangeBuyer;
class TargetingValue extends \Google\Model
{
protected $creativeSizeValueType = TargetingValueCreativeSize::class;
protected $creativeSizeValueDataType = '';
protected $dayPartTargetingValueType = TargetingValueDayPartTargeting::class;
protected $dayPartTargetingValueDataType = '';
protected $demogAgeCriteriaValueType = TargetingValueDemogAgeCriteria::class;
protected $demogAgeCriteriaValueDataType = '';
protected $demogGenderCriteriaValueType = TargetingValueDemogGenderCriteria::class;
protected $demogGenderCriteriaValueDataType = '';
public $longValue;
protected $requestPlatformTargetingValueType = TargetingValueRequestPlatformTargeting::class;
protected $requestPlatformTargetingValueDataType = '';
public $stringValue;
/**
* @param TargetingValueCreativeSize
*/
public function setCreativeSizeValue(TargetingValueCreativeSize $creativeSizeValue)
{
$this->creativeSizeValue = $creativeSizeValue;
}
/**
* @return TargetingValueCreativeSize
*/
public function getCreativeSizeValue()
{
return $this->creativeSizeValue;
}
/**
* @param TargetingValueDayPartTargeting
*/
public function setDayPartTargetingValue(TargetingValueDayPartTargeting $dayPartTargetingValue)
{
$this->dayPartTargetingValue = $dayPartTargetingValue;
}
/**
* @return TargetingValueDayPartTargeting
*/
public function getDayPartTargetingValue()
{
return $this->dayPartTargetingValue;
}
/**
* @param TargetingValueDemogAgeCriteria
*/
public function setDemogAgeCriteriaValue(TargetingValueDemogAgeCriteria $demogAgeCriteriaValue)
{
$this->demogAgeCriteriaValue = $demogAgeCriteriaValue;
}
/**
* @return TargetingValueDemogAgeCriteria
*/
public function getDemogAgeCriteriaValue()
{
return $this->demogAgeCriteriaValue;
}
/**
* @param TargetingValueDemogGenderCriteria
*/
public function setDemogGenderCriteriaValue(TargetingValueDemogGenderCriteria $demogGenderCriteriaValue)
{
$this->demogGenderCriteriaValue = $demogGenderCriteriaValue;
}
/**
* @return TargetingValueDemogGenderCriteria
*/
public function getDemogGenderCriteriaValue()
{
return $this->demogGenderCriteriaValue;
}
public function setLongValue($longValue)
{
$this->longValue = $longValue;
}
public function getLongValue()
{
return $this->longValue;
}
/**
* @param TargetingValueRequestPlatformTargeting
*/
public function setRequestPlatformTargetingValue(TargetingValueRequestPlatformTargeting $requestPlatformTargetingValue)
{
$this->requestPlatformTargetingValue = $requestPlatformTargetingValue;
}
/**
* @return TargetingValueRequestPlatformTargeting
*/
public function getRequestPlatformTargetingValue()
{
return $this->requestPlatformTargetingValue;
}
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
public function getStringValue()
{
return $this->stringValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetingValue::class, 'Google_Service_AdExchangeBuyer_TargetingValue');

View File

@@ -0,0 +1,95 @@
<?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\AdExchangeBuyer;
class TargetingValueCreativeSize extends \Google\Collection
{
protected $collection_key = 'companionSizes';
public $allowedFormats;
protected $companionSizesType = TargetingValueSize::class;
protected $companionSizesDataType = 'array';
public $creativeSizeType;
public $nativeTemplate;
protected $sizeType = TargetingValueSize::class;
protected $sizeDataType = '';
public $skippableAdType;
public function setAllowedFormats($allowedFormats)
{
$this->allowedFormats = $allowedFormats;
}
public function getAllowedFormats()
{
return $this->allowedFormats;
}
/**
* @param TargetingValueSize[]
*/
public function setCompanionSizes($companionSizes)
{
$this->companionSizes = $companionSizes;
}
/**
* @return TargetingValueSize[]
*/
public function getCompanionSizes()
{
return $this->companionSizes;
}
public function setCreativeSizeType($creativeSizeType)
{
$this->creativeSizeType = $creativeSizeType;
}
public function getCreativeSizeType()
{
return $this->creativeSizeType;
}
public function setNativeTemplate($nativeTemplate)
{
$this->nativeTemplate = $nativeTemplate;
}
public function getNativeTemplate()
{
return $this->nativeTemplate;
}
/**
* @param TargetingValueSize
*/
public function setSize(TargetingValueSize $size)
{
$this->size = $size;
}
/**
* @return TargetingValueSize
*/
public function getSize()
{
return $this->size;
}
public function setSkippableAdType($skippableAdType)
{
$this->skippableAdType = $skippableAdType;
}
public function getSkippableAdType()
{
return $this->skippableAdType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetingValueCreativeSize::class, 'Google_Service_AdExchangeBuyer_TargetingValueCreativeSize');

View File

@@ -0,0 +1,52 @@
<?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\AdExchangeBuyer;
class TargetingValueDayPartTargeting extends \Google\Collection
{
protected $collection_key = 'dayParts';
protected $dayPartsType = TargetingValueDayPartTargetingDayPart::class;
protected $dayPartsDataType = 'array';
public $timeZoneType;
/**
* @param TargetingValueDayPartTargetingDayPart[]
*/
public function setDayParts($dayParts)
{
$this->dayParts = $dayParts;
}
/**
* @return TargetingValueDayPartTargetingDayPart[]
*/
public function getDayParts()
{
return $this->dayParts;
}
public function setTimeZoneType($timeZoneType)
{
$this->timeZoneType = $timeZoneType;
}
public function getTimeZoneType()
{
return $this->timeZoneType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetingValueDayPartTargeting::class, 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting');

View File

@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AdExchangeBuyer;
class TargetingValueDayPartTargetingDayPart extends \Google\Model
{
public $dayOfWeek;
public $endHour;
public $endMinute;
public $startHour;
public $startMinute;
public function setDayOfWeek($dayOfWeek)
{
$this->dayOfWeek = $dayOfWeek;
}
public function getDayOfWeek()
{
return $this->dayOfWeek;
}
public function setEndHour($endHour)
{
$this->endHour = $endHour;
}
public function getEndHour()
{
return $this->endHour;
}
public function setEndMinute($endMinute)
{
$this->endMinute = $endMinute;
}
public function getEndMinute()
{
return $this->endMinute;
}
public function setStartHour($startHour)
{
$this->startHour = $startHour;
}
public function getStartHour()
{
return $this->startHour;
}
public function setStartMinute($startMinute)
{
$this->startMinute = $startMinute;
}
public function getStartMinute()
{
return $this->startMinute;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetingValueDayPartTargetingDayPart::class, 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart');

View File

@@ -0,0 +1,36 @@
<?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\AdExchangeBuyer;
class TargetingValueDemogAgeCriteria extends \Google\Collection
{
protected $collection_key = 'demogAgeCriteriaIds';
public $demogAgeCriteriaIds;
public function setDemogAgeCriteriaIds($demogAgeCriteriaIds)
{
$this->demogAgeCriteriaIds = $demogAgeCriteriaIds;
}
public function getDemogAgeCriteriaIds()
{
return $this->demogAgeCriteriaIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetingValueDemogAgeCriteria::class, 'Google_Service_AdExchangeBuyer_TargetingValueDemogAgeCriteria');

View File

@@ -0,0 +1,36 @@
<?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\AdExchangeBuyer;
class TargetingValueDemogGenderCriteria extends \Google\Collection
{
protected $collection_key = 'demogGenderCriteriaIds';
public $demogGenderCriteriaIds;
public function setDemogGenderCriteriaIds($demogGenderCriteriaIds)
{
$this->demogGenderCriteriaIds = $demogGenderCriteriaIds;
}
public function getDemogGenderCriteriaIds()
{
return $this->demogGenderCriteriaIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetingValueDemogGenderCriteria::class, 'Google_Service_AdExchangeBuyer_TargetingValueDemogGenderCriteria');

View File

@@ -0,0 +1,36 @@
<?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\AdExchangeBuyer;
class TargetingValueRequestPlatformTargeting extends \Google\Collection
{
protected $collection_key = 'requestPlatforms';
public $requestPlatforms;
public function setRequestPlatforms($requestPlatforms)
{
$this->requestPlatforms = $requestPlatforms;
}
public function getRequestPlatforms()
{
return $this->requestPlatforms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetingValueRequestPlatformTargeting::class, 'Google_Service_AdExchangeBuyer_TargetingValueRequestPlatformTargeting');

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

View File

@@ -0,0 +1,69 @@
<?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\AdExchangeBuyer;
class UpdatePrivateAuctionProposalRequest extends \Google\Model
{
public $externalDealId;
protected $noteType = MarketplaceNote::class;
protected $noteDataType = '';
public $proposalRevisionNumber;
public $updateAction;
public function setExternalDealId($externalDealId)
{
$this->externalDealId = $externalDealId;
}
public function getExternalDealId()
{
return $this->externalDealId;
}
/**
* @param MarketplaceNote
*/
public function setNote(MarketplaceNote $note)
{
$this->note = $note;
}
/**
* @return MarketplaceNote
*/
public function getNote()
{
return $this->note;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setUpdateAction($updateAction)
{
$this->updateAction = $updateAction;
}
public function getUpdateAction()
{
return $this->updateAction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UpdatePrivateAuctionProposalRequest::class, 'Google_Service_AdExchangeBuyer_UpdatePrivateAuctionProposalRequest');