[f9c482b] | 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 LineItem extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'warningMessages';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $advertiserId;
|
---|
| 27 | protected $bidStrategyType = BiddingStrategy::class;
|
---|
| 28 | protected $bidStrategyDataType = '';
|
---|
| 29 | protected $budgetType = LineItemBudget::class;
|
---|
| 30 | protected $budgetDataType = '';
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $campaignId;
|
---|
| 35 | protected $conversionCountingType = ConversionCountingConfig::class;
|
---|
| 36 | protected $conversionCountingDataType = '';
|
---|
| 37 | /**
|
---|
| 38 | * @var string[]
|
---|
| 39 | */
|
---|
| 40 | public $creativeIds;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $displayName;
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $entityStatus;
|
---|
| 49 | /**
|
---|
| 50 | * @var bool
|
---|
| 51 | */
|
---|
| 52 | public $excludeNewExchanges;
|
---|
| 53 | protected $flightType = LineItemFlight::class;
|
---|
| 54 | protected $flightDataType = '';
|
---|
| 55 | protected $frequencyCapType = FrequencyCap::class;
|
---|
| 56 | protected $frequencyCapDataType = '';
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $insertionOrderId;
|
---|
| 61 | protected $integrationDetailsType = IntegrationDetails::class;
|
---|
| 62 | protected $integrationDetailsDataType = '';
|
---|
| 63 | /**
|
---|
| 64 | * @var string
|
---|
| 65 | */
|
---|
| 66 | public $lineItemId;
|
---|
| 67 | /**
|
---|
| 68 | * @var string
|
---|
| 69 | */
|
---|
| 70 | public $lineItemType;
|
---|
| 71 | protected $mobileAppType = MobileApp::class;
|
---|
| 72 | protected $mobileAppDataType = '';
|
---|
| 73 | /**
|
---|
| 74 | * @var string
|
---|
| 75 | */
|
---|
| 76 | public $name;
|
---|
| 77 | protected $pacingType = Pacing::class;
|
---|
| 78 | protected $pacingDataType = '';
|
---|
| 79 | protected $partnerCostsType = PartnerCost::class;
|
---|
| 80 | protected $partnerCostsDataType = 'array';
|
---|
| 81 | protected $partnerRevenueModelType = PartnerRevenueModel::class;
|
---|
| 82 | protected $partnerRevenueModelDataType = '';
|
---|
| 83 | /**
|
---|
| 84 | * @var string
|
---|
| 85 | */
|
---|
| 86 | public $reservationType;
|
---|
| 87 | protected $targetingExpansionType = TargetingExpansionConfig::class;
|
---|
| 88 | protected $targetingExpansionDataType = '';
|
---|
| 89 | /**
|
---|
| 90 | * @var string
|
---|
| 91 | */
|
---|
| 92 | public $updateTime;
|
---|
| 93 | /**
|
---|
| 94 | * @var string[]
|
---|
| 95 | */
|
---|
| 96 | public $warningMessages;
|
---|
| 97 | protected $youtubeAndPartnersSettingsType = YoutubeAndPartnersSettings::class;
|
---|
| 98 | protected $youtubeAndPartnersSettingsDataType = '';
|
---|
| 99 |
|
---|
| 100 | /**
|
---|
| 101 | * @param string
|
---|
| 102 | */
|
---|
| 103 | public function setAdvertiserId($advertiserId)
|
---|
| 104 | {
|
---|
| 105 | $this->advertiserId = $advertiserId;
|
---|
| 106 | }
|
---|
| 107 | /**
|
---|
| 108 | * @return string
|
---|
| 109 | */
|
---|
| 110 | public function getAdvertiserId()
|
---|
| 111 | {
|
---|
| 112 | return $this->advertiserId;
|
---|
| 113 | }
|
---|
| 114 | /**
|
---|
| 115 | * @param BiddingStrategy
|
---|
| 116 | */
|
---|
| 117 | public function setBidStrategy(BiddingStrategy $bidStrategy)
|
---|
| 118 | {
|
---|
| 119 | $this->bidStrategy = $bidStrategy;
|
---|
| 120 | }
|
---|
| 121 | /**
|
---|
| 122 | * @return BiddingStrategy
|
---|
| 123 | */
|
---|
| 124 | public function getBidStrategy()
|
---|
| 125 | {
|
---|
| 126 | return $this->bidStrategy;
|
---|
| 127 | }
|
---|
| 128 | /**
|
---|
| 129 | * @param LineItemBudget
|
---|
| 130 | */
|
---|
| 131 | public function setBudget(LineItemBudget $budget)
|
---|
| 132 | {
|
---|
| 133 | $this->budget = $budget;
|
---|
| 134 | }
|
---|
| 135 | /**
|
---|
| 136 | * @return LineItemBudget
|
---|
| 137 | */
|
---|
| 138 | public function getBudget()
|
---|
| 139 | {
|
---|
| 140 | return $this->budget;
|
---|
| 141 | }
|
---|
| 142 | /**
|
---|
| 143 | * @param string
|
---|
| 144 | */
|
---|
| 145 | public function setCampaignId($campaignId)
|
---|
| 146 | {
|
---|
| 147 | $this->campaignId = $campaignId;
|
---|
| 148 | }
|
---|
| 149 | /**
|
---|
| 150 | * @return string
|
---|
| 151 | */
|
---|
| 152 | public function getCampaignId()
|
---|
| 153 | {
|
---|
| 154 | return $this->campaignId;
|
---|
| 155 | }
|
---|
| 156 | /**
|
---|
| 157 | * @param ConversionCountingConfig
|
---|
| 158 | */
|
---|
| 159 | public function setConversionCounting(ConversionCountingConfig $conversionCounting)
|
---|
| 160 | {
|
---|
| 161 | $this->conversionCounting = $conversionCounting;
|
---|
| 162 | }
|
---|
| 163 | /**
|
---|
| 164 | * @return ConversionCountingConfig
|
---|
| 165 | */
|
---|
| 166 | public function getConversionCounting()
|
---|
| 167 | {
|
---|
| 168 | return $this->conversionCounting;
|
---|
| 169 | }
|
---|
| 170 | /**
|
---|
| 171 | * @param string[]
|
---|
| 172 | */
|
---|
| 173 | public function setCreativeIds($creativeIds)
|
---|
| 174 | {
|
---|
| 175 | $this->creativeIds = $creativeIds;
|
---|
| 176 | }
|
---|
| 177 | /**
|
---|
| 178 | * @return string[]
|
---|
| 179 | */
|
---|
| 180 | public function getCreativeIds()
|
---|
| 181 | {
|
---|
| 182 | return $this->creativeIds;
|
---|
| 183 | }
|
---|
| 184 | /**
|
---|
| 185 | * @param string
|
---|
| 186 | */
|
---|
| 187 | public function setDisplayName($displayName)
|
---|
| 188 | {
|
---|
| 189 | $this->displayName = $displayName;
|
---|
| 190 | }
|
---|
| 191 | /**
|
---|
| 192 | * @return string
|
---|
| 193 | */
|
---|
| 194 | public function getDisplayName()
|
---|
| 195 | {
|
---|
| 196 | return $this->displayName;
|
---|
| 197 | }
|
---|
| 198 | /**
|
---|
| 199 | * @param string
|
---|
| 200 | */
|
---|
| 201 | public function setEntityStatus($entityStatus)
|
---|
| 202 | {
|
---|
| 203 | $this->entityStatus = $entityStatus;
|
---|
| 204 | }
|
---|
| 205 | /**
|
---|
| 206 | * @return string
|
---|
| 207 | */
|
---|
| 208 | public function getEntityStatus()
|
---|
| 209 | {
|
---|
| 210 | return $this->entityStatus;
|
---|
| 211 | }
|
---|
| 212 | /**
|
---|
| 213 | * @param bool
|
---|
| 214 | */
|
---|
| 215 | public function setExcludeNewExchanges($excludeNewExchanges)
|
---|
| 216 | {
|
---|
| 217 | $this->excludeNewExchanges = $excludeNewExchanges;
|
---|
| 218 | }
|
---|
| 219 | /**
|
---|
| 220 | * @return bool
|
---|
| 221 | */
|
---|
| 222 | public function getExcludeNewExchanges()
|
---|
| 223 | {
|
---|
| 224 | return $this->excludeNewExchanges;
|
---|
| 225 | }
|
---|
| 226 | /**
|
---|
| 227 | * @param LineItemFlight
|
---|
| 228 | */
|
---|
| 229 | public function setFlight(LineItemFlight $flight)
|
---|
| 230 | {
|
---|
| 231 | $this->flight = $flight;
|
---|
| 232 | }
|
---|
| 233 | /**
|
---|
| 234 | * @return LineItemFlight
|
---|
| 235 | */
|
---|
| 236 | public function getFlight()
|
---|
| 237 | {
|
---|
| 238 | return $this->flight;
|
---|
| 239 | }
|
---|
| 240 | /**
|
---|
| 241 | * @param FrequencyCap
|
---|
| 242 | */
|
---|
| 243 | public function setFrequencyCap(FrequencyCap $frequencyCap)
|
---|
| 244 | {
|
---|
| 245 | $this->frequencyCap = $frequencyCap;
|
---|
| 246 | }
|
---|
| 247 | /**
|
---|
| 248 | * @return FrequencyCap
|
---|
| 249 | */
|
---|
| 250 | public function getFrequencyCap()
|
---|
| 251 | {
|
---|
| 252 | return $this->frequencyCap;
|
---|
| 253 | }
|
---|
| 254 | /**
|
---|
| 255 | * @param string
|
---|
| 256 | */
|
---|
| 257 | public function setInsertionOrderId($insertionOrderId)
|
---|
| 258 | {
|
---|
| 259 | $this->insertionOrderId = $insertionOrderId;
|
---|
| 260 | }
|
---|
| 261 | /**
|
---|
| 262 | * @return string
|
---|
| 263 | */
|
---|
| 264 | public function getInsertionOrderId()
|
---|
| 265 | {
|
---|
| 266 | return $this->insertionOrderId;
|
---|
| 267 | }
|
---|
| 268 | /**
|
---|
| 269 | * @param IntegrationDetails
|
---|
| 270 | */
|
---|
| 271 | public function setIntegrationDetails(IntegrationDetails $integrationDetails)
|
---|
| 272 | {
|
---|
| 273 | $this->integrationDetails = $integrationDetails;
|
---|
| 274 | }
|
---|
| 275 | /**
|
---|
| 276 | * @return IntegrationDetails
|
---|
| 277 | */
|
---|
| 278 | public function getIntegrationDetails()
|
---|
| 279 | {
|
---|
| 280 | return $this->integrationDetails;
|
---|
| 281 | }
|
---|
| 282 | /**
|
---|
| 283 | * @param string
|
---|
| 284 | */
|
---|
| 285 | public function setLineItemId($lineItemId)
|
---|
| 286 | {
|
---|
| 287 | $this->lineItemId = $lineItemId;
|
---|
| 288 | }
|
---|
| 289 | /**
|
---|
| 290 | * @return string
|
---|
| 291 | */
|
---|
| 292 | public function getLineItemId()
|
---|
| 293 | {
|
---|
| 294 | return $this->lineItemId;
|
---|
| 295 | }
|
---|
| 296 | /**
|
---|
| 297 | * @param string
|
---|
| 298 | */
|
---|
| 299 | public function setLineItemType($lineItemType)
|
---|
| 300 | {
|
---|
| 301 | $this->lineItemType = $lineItemType;
|
---|
| 302 | }
|
---|
| 303 | /**
|
---|
| 304 | * @return string
|
---|
| 305 | */
|
---|
| 306 | public function getLineItemType()
|
---|
| 307 | {
|
---|
| 308 | return $this->lineItemType;
|
---|
| 309 | }
|
---|
| 310 | /**
|
---|
| 311 | * @param MobileApp
|
---|
| 312 | */
|
---|
| 313 | public function setMobileApp(MobileApp $mobileApp)
|
---|
| 314 | {
|
---|
| 315 | $this->mobileApp = $mobileApp;
|
---|
| 316 | }
|
---|
| 317 | /**
|
---|
| 318 | * @return MobileApp
|
---|
| 319 | */
|
---|
| 320 | public function getMobileApp()
|
---|
| 321 | {
|
---|
| 322 | return $this->mobileApp;
|
---|
| 323 | }
|
---|
| 324 | /**
|
---|
| 325 | * @param string
|
---|
| 326 | */
|
---|
| 327 | public function setName($name)
|
---|
| 328 | {
|
---|
| 329 | $this->name = $name;
|
---|
| 330 | }
|
---|
| 331 | /**
|
---|
| 332 | * @return string
|
---|
| 333 | */
|
---|
| 334 | public function getName()
|
---|
| 335 | {
|
---|
| 336 | return $this->name;
|
---|
| 337 | }
|
---|
| 338 | /**
|
---|
| 339 | * @param Pacing
|
---|
| 340 | */
|
---|
| 341 | public function setPacing(Pacing $pacing)
|
---|
| 342 | {
|
---|
| 343 | $this->pacing = $pacing;
|
---|
| 344 | }
|
---|
| 345 | /**
|
---|
| 346 | * @return Pacing
|
---|
| 347 | */
|
---|
| 348 | public function getPacing()
|
---|
| 349 | {
|
---|
| 350 | return $this->pacing;
|
---|
| 351 | }
|
---|
| 352 | /**
|
---|
| 353 | * @param PartnerCost[]
|
---|
| 354 | */
|
---|
| 355 | public function setPartnerCosts($partnerCosts)
|
---|
| 356 | {
|
---|
| 357 | $this->partnerCosts = $partnerCosts;
|
---|
| 358 | }
|
---|
| 359 | /**
|
---|
| 360 | * @return PartnerCost[]
|
---|
| 361 | */
|
---|
| 362 | public function getPartnerCosts()
|
---|
| 363 | {
|
---|
| 364 | return $this->partnerCosts;
|
---|
| 365 | }
|
---|
| 366 | /**
|
---|
| 367 | * @param PartnerRevenueModel
|
---|
| 368 | */
|
---|
| 369 | public function setPartnerRevenueModel(PartnerRevenueModel $partnerRevenueModel)
|
---|
| 370 | {
|
---|
| 371 | $this->partnerRevenueModel = $partnerRevenueModel;
|
---|
| 372 | }
|
---|
| 373 | /**
|
---|
| 374 | * @return PartnerRevenueModel
|
---|
| 375 | */
|
---|
| 376 | public function getPartnerRevenueModel()
|
---|
| 377 | {
|
---|
| 378 | return $this->partnerRevenueModel;
|
---|
| 379 | }
|
---|
| 380 | /**
|
---|
| 381 | * @param string
|
---|
| 382 | */
|
---|
| 383 | public function setReservationType($reservationType)
|
---|
| 384 | {
|
---|
| 385 | $this->reservationType = $reservationType;
|
---|
| 386 | }
|
---|
| 387 | /**
|
---|
| 388 | * @return string
|
---|
| 389 | */
|
---|
| 390 | public function getReservationType()
|
---|
| 391 | {
|
---|
| 392 | return $this->reservationType;
|
---|
| 393 | }
|
---|
| 394 | /**
|
---|
| 395 | * @param TargetingExpansionConfig
|
---|
| 396 | */
|
---|
| 397 | public function setTargetingExpansion(TargetingExpansionConfig $targetingExpansion)
|
---|
| 398 | {
|
---|
| 399 | $this->targetingExpansion = $targetingExpansion;
|
---|
| 400 | }
|
---|
| 401 | /**
|
---|
| 402 | * @return TargetingExpansionConfig
|
---|
| 403 | */
|
---|
| 404 | public function getTargetingExpansion()
|
---|
| 405 | {
|
---|
| 406 | return $this->targetingExpansion;
|
---|
| 407 | }
|
---|
| 408 | /**
|
---|
| 409 | * @param string
|
---|
| 410 | */
|
---|
| 411 | public function setUpdateTime($updateTime)
|
---|
| 412 | {
|
---|
| 413 | $this->updateTime = $updateTime;
|
---|
| 414 | }
|
---|
| 415 | /**
|
---|
| 416 | * @return string
|
---|
| 417 | */
|
---|
| 418 | public function getUpdateTime()
|
---|
| 419 | {
|
---|
| 420 | return $this->updateTime;
|
---|
| 421 | }
|
---|
| 422 | /**
|
---|
| 423 | * @param string[]
|
---|
| 424 | */
|
---|
| 425 | public function setWarningMessages($warningMessages)
|
---|
| 426 | {
|
---|
| 427 | $this->warningMessages = $warningMessages;
|
---|
| 428 | }
|
---|
| 429 | /**
|
---|
| 430 | * @return string[]
|
---|
| 431 | */
|
---|
| 432 | public function getWarningMessages()
|
---|
| 433 | {
|
---|
| 434 | return $this->warningMessages;
|
---|
| 435 | }
|
---|
| 436 | /**
|
---|
| 437 | * @param YoutubeAndPartnersSettings
|
---|
| 438 | */
|
---|
| 439 | public function setYoutubeAndPartnersSettings(YoutubeAndPartnersSettings $youtubeAndPartnersSettings)
|
---|
| 440 | {
|
---|
| 441 | $this->youtubeAndPartnersSettings = $youtubeAndPartnersSettings;
|
---|
| 442 | }
|
---|
| 443 | /**
|
---|
| 444 | * @return YoutubeAndPartnersSettings
|
---|
| 445 | */
|
---|
| 446 | public function getYoutubeAndPartnersSettings()
|
---|
| 447 | {
|
---|
| 448 | return $this->youtubeAndPartnersSettings;
|
---|
| 449 | }
|
---|
| 450 | }
|
---|
| 451 |
|
---|
| 452 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 453 | class_alias(LineItem::class, 'Google_Service_DisplayVideo_LineItem');
|
---|