1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18namespace Google\Service\AdExchangeBuyer; 19 20class Account extends \Google\Collection 21{ 22 protected $collection_key = 'bidderLocation'; 23 public $applyPretargetingToNonGuaranteedDeals; 24 protected $bidderLocationType = AccountBidderLocation::class; 25 protected $bidderLocationDataType = 'array'; 26 public $cookieMatchingNid; 27 public $cookieMatchingUrl; 28 public $id; 29 public $kind; 30 public $maximumActiveCreatives; 31 public $maximumTotalQps; 32 public $numberActiveCreatives; 33 34 public function setApplyPretargetingToNonGuaranteedDeals($applyPretargetingToNonGuaranteedDeals) 35 { 36 $this->applyPretargetingToNonGuaranteedDeals = $applyPretargetingToNonGuaranteedDeals; 37 } 38 public function getApplyPretargetingToNonGuaranteedDeals() 39 { 40 return $this->applyPretargetingToNonGuaranteedDeals; 41 } 42 /** 43 * @param AccountBidderLocation[] 44 */ 45 public function setBidderLocation($bidderLocation) 46 { 47 $this->bidderLocation = $bidderLocation; 48 } 49 /** 50 * @return AccountBidderLocation[] 51 */ 52 public function getBidderLocation() 53 { 54 return $this->bidderLocation; 55 } 56 public function setCookieMatchingNid($cookieMatchingNid) 57 { 58 $this->cookieMatchingNid = $cookieMatchingNid; 59 } 60 public function getCookieMatchingNid() 61 { 62 return $this->cookieMatchingNid; 63 } 64 public function setCookieMatchingUrl($cookieMatchingUrl) 65 { 66 $this->cookieMatchingUrl = $cookieMatchingUrl; 67 } 68 public function getCookieMatchingUrl() 69 { 70 return $this->cookieMatchingUrl; 71 } 72 public function setId($id) 73 { 74 $this->id = $id; 75 } 76 public function getId() 77 { 78 return $this->id; 79 } 80 public function setKind($kind) 81 { 82 $this->kind = $kind; 83 } 84 public function getKind() 85 { 86 return $this->kind; 87 } 88 public function setMaximumActiveCreatives($maximumActiveCreatives) 89 { 90 $this->maximumActiveCreatives = $maximumActiveCreatives; 91 } 92 public function getMaximumActiveCreatives() 93 { 94 return $this->maximumActiveCreatives; 95 } 96 public function setMaximumTotalQps($maximumTotalQps) 97 { 98 $this->maximumTotalQps = $maximumTotalQps; 99 } 100 public function getMaximumTotalQps() 101 { 102 return $this->maximumTotalQps; 103 } 104 public function setNumberActiveCreatives($numberActiveCreatives) 105 { 106 $this->numberActiveCreatives = $numberActiveCreatives; 107 } 108 public function getNumberActiveCreatives() 109 { 110 return $this->numberActiveCreatives; 111 } 112} 113 114// Adding a class alias for backwards compatibility with the previous class name. 115class_alias(Account::class, 'Google_Service_AdExchangeBuyer_Account'); 116