[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\DisplayVideo;
|
---|
| 19 |
|
---|
| 20 | class InsertionOrder extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'partnerCosts';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $advertiserId;
|
---|
| 27 | protected $bidStrategyType = BiddingStrategy::class;
|
---|
| 28 | protected $bidStrategyDataType = '';
|
---|
| 29 | protected $budgetType = InsertionOrderBudget::class;
|
---|
| 30 | protected $budgetDataType = '';
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $campaignId;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $displayName;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $entityStatus;
|
---|
| 43 | protected $frequencyCapType = FrequencyCap::class;
|
---|
| 44 | protected $frequencyCapDataType = '';
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $insertionOrderId;
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $insertionOrderType;
|
---|
| 53 | protected $integrationDetailsType = IntegrationDetails::class;
|
---|
| 54 | protected $integrationDetailsDataType = '';
|
---|
| 55 | protected $kpiType = Kpi::class;
|
---|
| 56 | protected $kpiDataType = '';
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $name;
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $optimizationObjective;
|
---|
| 65 | protected $pacingType = Pacing::class;
|
---|
| 66 | protected $pacingDataType = '';
|
---|
| 67 | protected $partnerCostsType = PartnerCost::class;
|
---|
| 68 | protected $partnerCostsDataType = 'array';
|
---|
| 69 | /**
|
---|
| 70 | * @var string
|
---|
| 71 | */
|
---|
| 72 | public $reservationType;
|
---|
| 73 | /**
|
---|
| 74 | * @var string
|
---|
| 75 | */
|
---|
| 76 | public $updateTime;
|
---|
| 77 |
|
---|
| 78 | /**
|
---|
| 79 | * @param string
|
---|
| 80 | */
|
---|
| 81 | public function setAdvertiserId($advertiserId)
|
---|
| 82 | {
|
---|
| 83 | $this->advertiserId = $advertiserId;
|
---|
| 84 | }
|
---|
| 85 | /**
|
---|
| 86 | * @return string
|
---|
| 87 | */
|
---|
| 88 | public function getAdvertiserId()
|
---|
| 89 | {
|
---|
| 90 | return $this->advertiserId;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @param BiddingStrategy
|
---|
| 94 | */
|
---|
| 95 | public function setBidStrategy(BiddingStrategy $bidStrategy)
|
---|
| 96 | {
|
---|
| 97 | $this->bidStrategy = $bidStrategy;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @return BiddingStrategy
|
---|
| 101 | */
|
---|
| 102 | public function getBidStrategy()
|
---|
| 103 | {
|
---|
| 104 | return $this->bidStrategy;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @param InsertionOrderBudget
|
---|
| 108 | */
|
---|
| 109 | public function setBudget(InsertionOrderBudget $budget)
|
---|
| 110 | {
|
---|
| 111 | $this->budget = $budget;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @return InsertionOrderBudget
|
---|
| 115 | */
|
---|
| 116 | public function getBudget()
|
---|
| 117 | {
|
---|
| 118 | return $this->budget;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @param string
|
---|
| 122 | */
|
---|
| 123 | public function setCampaignId($campaignId)
|
---|
| 124 | {
|
---|
| 125 | $this->campaignId = $campaignId;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @return string
|
---|
| 129 | */
|
---|
| 130 | public function getCampaignId()
|
---|
| 131 | {
|
---|
| 132 | return $this->campaignId;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @param string
|
---|
| 136 | */
|
---|
| 137 | public function setDisplayName($displayName)
|
---|
| 138 | {
|
---|
| 139 | $this->displayName = $displayName;
|
---|
| 140 | }
|
---|
| 141 | /**
|
---|
| 142 | * @return string
|
---|
| 143 | */
|
---|
| 144 | public function getDisplayName()
|
---|
| 145 | {
|
---|
| 146 | return $this->displayName;
|
---|
| 147 | }
|
---|
| 148 | /**
|
---|
| 149 | * @param string
|
---|
| 150 | */
|
---|
| 151 | public function setEntityStatus($entityStatus)
|
---|
| 152 | {
|
---|
| 153 | $this->entityStatus = $entityStatus;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @return string
|
---|
| 157 | */
|
---|
| 158 | public function getEntityStatus()
|
---|
| 159 | {
|
---|
| 160 | return $this->entityStatus;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @param FrequencyCap
|
---|
| 164 | */
|
---|
| 165 | public function setFrequencyCap(FrequencyCap $frequencyCap)
|
---|
| 166 | {
|
---|
| 167 | $this->frequencyCap = $frequencyCap;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @return FrequencyCap
|
---|
| 171 | */
|
---|
| 172 | public function getFrequencyCap()
|
---|
| 173 | {
|
---|
| 174 | return $this->frequencyCap;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @param string
|
---|
| 178 | */
|
---|
| 179 | public function setInsertionOrderId($insertionOrderId)
|
---|
| 180 | {
|
---|
| 181 | $this->insertionOrderId = $insertionOrderId;
|
---|
| 182 | }
|
---|
| 183 | /**
|
---|
| 184 | * @return string
|
---|
| 185 | */
|
---|
| 186 | public function getInsertionOrderId()
|
---|
| 187 | {
|
---|
| 188 | return $this->insertionOrderId;
|
---|
| 189 | }
|
---|
| 190 | /**
|
---|
| 191 | * @param string
|
---|
| 192 | */
|
---|
| 193 | public function setInsertionOrderType($insertionOrderType)
|
---|
| 194 | {
|
---|
| 195 | $this->insertionOrderType = $insertionOrderType;
|
---|
| 196 | }
|
---|
| 197 | /**
|
---|
| 198 | * @return string
|
---|
| 199 | */
|
---|
| 200 | public function getInsertionOrderType()
|
---|
| 201 | {
|
---|
| 202 | return $this->insertionOrderType;
|
---|
| 203 | }
|
---|
| 204 | /**
|
---|
| 205 | * @param IntegrationDetails
|
---|
| 206 | */
|
---|
| 207 | public function setIntegrationDetails(IntegrationDetails $integrationDetails)
|
---|
| 208 | {
|
---|
| 209 | $this->integrationDetails = $integrationDetails;
|
---|
| 210 | }
|
---|
| 211 | /**
|
---|
| 212 | * @return IntegrationDetails
|
---|
| 213 | */
|
---|
| 214 | public function getIntegrationDetails()
|
---|
| 215 | {
|
---|
| 216 | return $this->integrationDetails;
|
---|
| 217 | }
|
---|
| 218 | /**
|
---|
| 219 | * @param Kpi
|
---|
| 220 | */
|
---|
| 221 | public function setKpi(Kpi $kpi)
|
---|
| 222 | {
|
---|
| 223 | $this->kpi = $kpi;
|
---|
| 224 | }
|
---|
| 225 | /**
|
---|
| 226 | * @return Kpi
|
---|
| 227 | */
|
---|
| 228 | public function getKpi()
|
---|
| 229 | {
|
---|
| 230 | return $this->kpi;
|
---|
| 231 | }
|
---|
| 232 | /**
|
---|
| 233 | * @param string
|
---|
| 234 | */
|
---|
| 235 | public function setName($name)
|
---|
| 236 | {
|
---|
| 237 | $this->name = $name;
|
---|
| 238 | }
|
---|
| 239 | /**
|
---|
| 240 | * @return string
|
---|
| 241 | */
|
---|
| 242 | public function getName()
|
---|
| 243 | {
|
---|
| 244 | return $this->name;
|
---|
| 245 | }
|
---|
| 246 | /**
|
---|
| 247 | * @param string
|
---|
| 248 | */
|
---|
| 249 | public function setOptimizationObjective($optimizationObjective)
|
---|
| 250 | {
|
---|
| 251 | $this->optimizationObjective = $optimizationObjective;
|
---|
| 252 | }
|
---|
| 253 | /**
|
---|
| 254 | * @return string
|
---|
| 255 | */
|
---|
| 256 | public function getOptimizationObjective()
|
---|
| 257 | {
|
---|
| 258 | return $this->optimizationObjective;
|
---|
| 259 | }
|
---|
| 260 | /**
|
---|
| 261 | * @param Pacing
|
---|
| 262 | */
|
---|
| 263 | public function setPacing(Pacing $pacing)
|
---|
| 264 | {
|
---|
| 265 | $this->pacing = $pacing;
|
---|
| 266 | }
|
---|
| 267 | /**
|
---|
| 268 | * @return Pacing
|
---|
| 269 | */
|
---|
| 270 | public function getPacing()
|
---|
| 271 | {
|
---|
| 272 | return $this->pacing;
|
---|
| 273 | }
|
---|
| 274 | /**
|
---|
| 275 | * @param PartnerCost[]
|
---|
| 276 | */
|
---|
| 277 | public function setPartnerCosts($partnerCosts)
|
---|
| 278 | {
|
---|
| 279 | $this->partnerCosts = $partnerCosts;
|
---|
| 280 | }
|
---|
| 281 | /**
|
---|
| 282 | * @return PartnerCost[]
|
---|
| 283 | */
|
---|
| 284 | public function getPartnerCosts()
|
---|
| 285 | {
|
---|
| 286 | return $this->partnerCosts;
|
---|
| 287 | }
|
---|
| 288 | /**
|
---|
| 289 | * @param string
|
---|
| 290 | */
|
---|
| 291 | public function setReservationType($reservationType)
|
---|
| 292 | {
|
---|
| 293 | $this->reservationType = $reservationType;
|
---|
| 294 | }
|
---|
| 295 | /**
|
---|
| 296 | * @return string
|
---|
| 297 | */
|
---|
| 298 | public function getReservationType()
|
---|
| 299 | {
|
---|
| 300 | return $this->reservationType;
|
---|
| 301 | }
|
---|
| 302 | /**
|
---|
| 303 | * @param string
|
---|
| 304 | */
|
---|
| 305 | public function setUpdateTime($updateTime)
|
---|
| 306 | {
|
---|
| 307 | $this->updateTime = $updateTime;
|
---|
| 308 | }
|
---|
| 309 | /**
|
---|
| 310 | * @return string
|
---|
| 311 | */
|
---|
| 312 | public function getUpdateTime()
|
---|
| 313 | {
|
---|
| 314 | return $this->updateTime;
|
---|
| 315 | }
|
---|
| 316 | }
|
---|
| 317 |
|
---|
| 318 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 319 | class_alias(InsertionOrder::class, 'Google_Service_DisplayVideo_InsertionOrder');
|
---|