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\Dfareporting;
19
20class Placement extends \Google\Collection
21{
22  protected $collection_key = 'tagFormats';
23  /**
24   * @var string
25   */
26  public $accountId;
27  /**
28   * @var bool
29   */
30  public $adBlockingOptOut;
31  protected $additionalSizesType = Size::class;
32  protected $additionalSizesDataType = 'array';
33  /**
34   * @var string
35   */
36  public $advertiserId;
37  protected $advertiserIdDimensionValueType = DimensionValue::class;
38  protected $advertiserIdDimensionValueDataType = '';
39  /**
40   * @var bool
41   */
42  public $archived;
43  /**
44   * @var string
45   */
46  public $campaignId;
47  protected $campaignIdDimensionValueType = DimensionValue::class;
48  protected $campaignIdDimensionValueDataType = '';
49  /**
50   * @var string
51   */
52  public $comment;
53  /**
54   * @var string
55   */
56  public $compatibility;
57  /**
58   * @var string
59   */
60  public $contentCategoryId;
61  protected $createInfoType = LastModifiedInfo::class;
62  protected $createInfoDataType = '';
63  /**
64   * @var string
65   */
66  public $directorySiteId;
67  protected $directorySiteIdDimensionValueType = DimensionValue::class;
68  protected $directorySiteIdDimensionValueDataType = '';
69  /**
70   * @var string
71   */
72  public $externalId;
73  /**
74   * @var string
75   */
76  public $id;
77  protected $idDimensionValueType = DimensionValue::class;
78  protected $idDimensionValueDataType = '';
79  /**
80   * @var string
81   */
82  public $keyName;
83  /**
84   * @var string
85   */
86  public $kind;
87  protected $lastModifiedInfoType = LastModifiedInfo::class;
88  protected $lastModifiedInfoDataType = '';
89  protected $lookbackConfigurationType = LookbackConfiguration::class;
90  protected $lookbackConfigurationDataType = '';
91  /**
92   * @var string
93   */
94  public $name;
95  protected $partnerWrappingDataType = MeasurementPartnerWrappingData::class;
96  protected $partnerWrappingDataDataType = '';
97  /**
98   * @var bool
99   */
100  public $paymentApproved;
101  /**
102   * @var string
103   */
104  public $paymentSource;
105  /**
106   * @var string
107   */
108  public $placementGroupId;
109  protected $placementGroupIdDimensionValueType = DimensionValue::class;
110  protected $placementGroupIdDimensionValueDataType = '';
111  /**
112   * @var string
113   */
114  public $placementStrategyId;
115  protected $pricingScheduleType = PricingSchedule::class;
116  protected $pricingScheduleDataType = '';
117  /**
118   * @var bool
119   */
120  public $primary;
121  protected $publisherUpdateInfoType = LastModifiedInfo::class;
122  protected $publisherUpdateInfoDataType = '';
123  /**
124   * @var string
125   */
126  public $siteId;
127  protected $siteIdDimensionValueType = DimensionValue::class;
128  protected $siteIdDimensionValueDataType = '';
129  protected $sizeType = Size::class;
130  protected $sizeDataType = '';
131  /**
132   * @var bool
133   */
134  public $sslRequired;
135  /**
136   * @var string
137   */
138  public $status;
139  /**
140   * @var string
141   */
142  public $subaccountId;
143  /**
144   * @var string[]
145   */
146  public $tagFormats;
147  protected $tagSettingType = TagSetting::class;
148  protected $tagSettingDataType = '';
149  /**
150   * @var bool
151   */
152  public $videoActiveViewOptOut;
153  protected $videoSettingsType = VideoSettings::class;
154  protected $videoSettingsDataType = '';
155  /**
156   * @var string
157   */
158  public $vpaidAdapterChoice;
159  /**
160   * @var bool
161   */
162  public $wrappingOptOut;
163
164  /**
165   * @param string
166   */
167  public function setAccountId($accountId)
168  {
169    $this->accountId = $accountId;
170  }
171  /**
172   * @return string
173   */
174  public function getAccountId()
175  {
176    return $this->accountId;
177  }
178  /**
179   * @param bool
180   */
181  public function setAdBlockingOptOut($adBlockingOptOut)
182  {
183    $this->adBlockingOptOut = $adBlockingOptOut;
184  }
185  /**
186   * @return bool
187   */
188  public function getAdBlockingOptOut()
189  {
190    return $this->adBlockingOptOut;
191  }
192  /**
193   * @param Size[]
194   */
195  public function setAdditionalSizes($additionalSizes)
196  {
197    $this->additionalSizes = $additionalSizes;
198  }
199  /**
200   * @return Size[]
201   */
202  public function getAdditionalSizes()
203  {
204    return $this->additionalSizes;
205  }
206  /**
207   * @param string
208   */
209  public function setAdvertiserId($advertiserId)
210  {
211    $this->advertiserId = $advertiserId;
212  }
213  /**
214   * @return string
215   */
216  public function getAdvertiserId()
217  {
218    return $this->advertiserId;
219  }
220  /**
221   * @param DimensionValue
222   */
223  public function setAdvertiserIdDimensionValue(DimensionValue $advertiserIdDimensionValue)
224  {
225    $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
226  }
227  /**
228   * @return DimensionValue
229   */
230  public function getAdvertiserIdDimensionValue()
231  {
232    return $this->advertiserIdDimensionValue;
233  }
234  /**
235   * @param bool
236   */
237  public function setArchived($archived)
238  {
239    $this->archived = $archived;
240  }
241  /**
242   * @return bool
243   */
244  public function getArchived()
245  {
246    return $this->archived;
247  }
248  /**
249   * @param string
250   */
251  public function setCampaignId($campaignId)
252  {
253    $this->campaignId = $campaignId;
254  }
255  /**
256   * @return string
257   */
258  public function getCampaignId()
259  {
260    return $this->campaignId;
261  }
262  /**
263   * @param DimensionValue
264   */
265  public function setCampaignIdDimensionValue(DimensionValue $campaignIdDimensionValue)
266  {
267    $this->campaignIdDimensionValue = $campaignIdDimensionValue;
268  }
269  /**
270   * @return DimensionValue
271   */
272  public function getCampaignIdDimensionValue()
273  {
274    return $this->campaignIdDimensionValue;
275  }
276  /**
277   * @param string
278   */
279  public function setComment($comment)
280  {
281    $this->comment = $comment;
282  }
283  /**
284   * @return string
285   */
286  public function getComment()
287  {
288    return $this->comment;
289  }
290  /**
291   * @param string
292   */
293  public function setCompatibility($compatibility)
294  {
295    $this->compatibility = $compatibility;
296  }
297  /**
298   * @return string
299   */
300  public function getCompatibility()
301  {
302    return $this->compatibility;
303  }
304  /**
305   * @param string
306   */
307  public function setContentCategoryId($contentCategoryId)
308  {
309    $this->contentCategoryId = $contentCategoryId;
310  }
311  /**
312   * @return string
313   */
314  public function getContentCategoryId()
315  {
316    return $this->contentCategoryId;
317  }
318  /**
319   * @param LastModifiedInfo
320   */
321  public function setCreateInfo(LastModifiedInfo $createInfo)
322  {
323    $this->createInfo = $createInfo;
324  }
325  /**
326   * @return LastModifiedInfo
327   */
328  public function getCreateInfo()
329  {
330    return $this->createInfo;
331  }
332  /**
333   * @param string
334   */
335  public function setDirectorySiteId($directorySiteId)
336  {
337    $this->directorySiteId = $directorySiteId;
338  }
339  /**
340   * @return string
341   */
342  public function getDirectorySiteId()
343  {
344    return $this->directorySiteId;
345  }
346  /**
347   * @param DimensionValue
348   */
349  public function setDirectorySiteIdDimensionValue(DimensionValue $directorySiteIdDimensionValue)
350  {
351    $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue;
352  }
353  /**
354   * @return DimensionValue
355   */
356  public function getDirectorySiteIdDimensionValue()
357  {
358    return $this->directorySiteIdDimensionValue;
359  }
360  /**
361   * @param string
362   */
363  public function setExternalId($externalId)
364  {
365    $this->externalId = $externalId;
366  }
367  /**
368   * @return string
369   */
370  public function getExternalId()
371  {
372    return $this->externalId;
373  }
374  /**
375   * @param string
376   */
377  public function setId($id)
378  {
379    $this->id = $id;
380  }
381  /**
382   * @return string
383   */
384  public function getId()
385  {
386    return $this->id;
387  }
388  /**
389   * @param DimensionValue
390   */
391  public function setIdDimensionValue(DimensionValue $idDimensionValue)
392  {
393    $this->idDimensionValue = $idDimensionValue;
394  }
395  /**
396   * @return DimensionValue
397   */
398  public function getIdDimensionValue()
399  {
400    return $this->idDimensionValue;
401  }
402  /**
403   * @param string
404   */
405  public function setKeyName($keyName)
406  {
407    $this->keyName = $keyName;
408  }
409  /**
410   * @return string
411   */
412  public function getKeyName()
413  {
414    return $this->keyName;
415  }
416  /**
417   * @param string
418   */
419  public function setKind($kind)
420  {
421    $this->kind = $kind;
422  }
423  /**
424   * @return string
425   */
426  public function getKind()
427  {
428    return $this->kind;
429  }
430  /**
431   * @param LastModifiedInfo
432   */
433  public function setLastModifiedInfo(LastModifiedInfo $lastModifiedInfo)
434  {
435    $this->lastModifiedInfo = $lastModifiedInfo;
436  }
437  /**
438   * @return LastModifiedInfo
439   */
440  public function getLastModifiedInfo()
441  {
442    return $this->lastModifiedInfo;
443  }
444  /**
445   * @param LookbackConfiguration
446   */
447  public function setLookbackConfiguration(LookbackConfiguration $lookbackConfiguration)
448  {
449    $this->lookbackConfiguration = $lookbackConfiguration;
450  }
451  /**
452   * @return LookbackConfiguration
453   */
454  public function getLookbackConfiguration()
455  {
456    return $this->lookbackConfiguration;
457  }
458  /**
459   * @param string
460   */
461  public function setName($name)
462  {
463    $this->name = $name;
464  }
465  /**
466   * @return string
467   */
468  public function getName()
469  {
470    return $this->name;
471  }
472  /**
473   * @param MeasurementPartnerWrappingData
474   */
475  public function setPartnerWrappingData(MeasurementPartnerWrappingData $partnerWrappingData)
476  {
477    $this->partnerWrappingData = $partnerWrappingData;
478  }
479  /**
480   * @return MeasurementPartnerWrappingData
481   */
482  public function getPartnerWrappingData()
483  {
484    return $this->partnerWrappingData;
485  }
486  /**
487   * @param bool
488   */
489  public function setPaymentApproved($paymentApproved)
490  {
491    $this->paymentApproved = $paymentApproved;
492  }
493  /**
494   * @return bool
495   */
496  public function getPaymentApproved()
497  {
498    return $this->paymentApproved;
499  }
500  /**
501   * @param string
502   */
503  public function setPaymentSource($paymentSource)
504  {
505    $this->paymentSource = $paymentSource;
506  }
507  /**
508   * @return string
509   */
510  public function getPaymentSource()
511  {
512    return $this->paymentSource;
513  }
514  /**
515   * @param string
516   */
517  public function setPlacementGroupId($placementGroupId)
518  {
519    $this->placementGroupId = $placementGroupId;
520  }
521  /**
522   * @return string
523   */
524  public function getPlacementGroupId()
525  {
526    return $this->placementGroupId;
527  }
528  /**
529   * @param DimensionValue
530   */
531  public function setPlacementGroupIdDimensionValue(DimensionValue $placementGroupIdDimensionValue)
532  {
533    $this->placementGroupIdDimensionValue = $placementGroupIdDimensionValue;
534  }
535  /**
536   * @return DimensionValue
537   */
538  public function getPlacementGroupIdDimensionValue()
539  {
540    return $this->placementGroupIdDimensionValue;
541  }
542  /**
543   * @param string
544   */
545  public function setPlacementStrategyId($placementStrategyId)
546  {
547    $this->placementStrategyId = $placementStrategyId;
548  }
549  /**
550   * @return string
551   */
552  public function getPlacementStrategyId()
553  {
554    return $this->placementStrategyId;
555  }
556  /**
557   * @param PricingSchedule
558   */
559  public function setPricingSchedule(PricingSchedule $pricingSchedule)
560  {
561    $this->pricingSchedule = $pricingSchedule;
562  }
563  /**
564   * @return PricingSchedule
565   */
566  public function getPricingSchedule()
567  {
568    return $this->pricingSchedule;
569  }
570  /**
571   * @param bool
572   */
573  public function setPrimary($primary)
574  {
575    $this->primary = $primary;
576  }
577  /**
578   * @return bool
579   */
580  public function getPrimary()
581  {
582    return $this->primary;
583  }
584  /**
585   * @param LastModifiedInfo
586   */
587  public function setPublisherUpdateInfo(LastModifiedInfo $publisherUpdateInfo)
588  {
589    $this->publisherUpdateInfo = $publisherUpdateInfo;
590  }
591  /**
592   * @return LastModifiedInfo
593   */
594  public function getPublisherUpdateInfo()
595  {
596    return $this->publisherUpdateInfo;
597  }
598  /**
599   * @param string
600   */
601  public function setSiteId($siteId)
602  {
603    $this->siteId = $siteId;
604  }
605  /**
606   * @return string
607   */
608  public function getSiteId()
609  {
610    return $this->siteId;
611  }
612  /**
613   * @param DimensionValue
614   */
615  public function setSiteIdDimensionValue(DimensionValue $siteIdDimensionValue)
616  {
617    $this->siteIdDimensionValue = $siteIdDimensionValue;
618  }
619  /**
620   * @return DimensionValue
621   */
622  public function getSiteIdDimensionValue()
623  {
624    return $this->siteIdDimensionValue;
625  }
626  /**
627   * @param Size
628   */
629  public function setSize(Size $size)
630  {
631    $this->size = $size;
632  }
633  /**
634   * @return Size
635   */
636  public function getSize()
637  {
638    return $this->size;
639  }
640  /**
641   * @param bool
642   */
643  public function setSslRequired($sslRequired)
644  {
645    $this->sslRequired = $sslRequired;
646  }
647  /**
648   * @return bool
649   */
650  public function getSslRequired()
651  {
652    return $this->sslRequired;
653  }
654  /**
655   * @param string
656   */
657  public function setStatus($status)
658  {
659    $this->status = $status;
660  }
661  /**
662   * @return string
663   */
664  public function getStatus()
665  {
666    return $this->status;
667  }
668  /**
669   * @param string
670   */
671  public function setSubaccountId($subaccountId)
672  {
673    $this->subaccountId = $subaccountId;
674  }
675  /**
676   * @return string
677   */
678  public function getSubaccountId()
679  {
680    return $this->subaccountId;
681  }
682  /**
683   * @param string[]
684   */
685  public function setTagFormats($tagFormats)
686  {
687    $this->tagFormats = $tagFormats;
688  }
689  /**
690   * @return string[]
691   */
692  public function getTagFormats()
693  {
694    return $this->tagFormats;
695  }
696  /**
697   * @param TagSetting
698   */
699  public function setTagSetting(TagSetting $tagSetting)
700  {
701    $this->tagSetting = $tagSetting;
702  }
703  /**
704   * @return TagSetting
705   */
706  public function getTagSetting()
707  {
708    return $this->tagSetting;
709  }
710  /**
711   * @param bool
712   */
713  public function setVideoActiveViewOptOut($videoActiveViewOptOut)
714  {
715    $this->videoActiveViewOptOut = $videoActiveViewOptOut;
716  }
717  /**
718   * @return bool
719   */
720  public function getVideoActiveViewOptOut()
721  {
722    return $this->videoActiveViewOptOut;
723  }
724  /**
725   * @param VideoSettings
726   */
727  public function setVideoSettings(VideoSettings $videoSettings)
728  {
729    $this->videoSettings = $videoSettings;
730  }
731  /**
732   * @return VideoSettings
733   */
734  public function getVideoSettings()
735  {
736    return $this->videoSettings;
737  }
738  /**
739   * @param string
740   */
741  public function setVpaidAdapterChoice($vpaidAdapterChoice)
742  {
743    $this->vpaidAdapterChoice = $vpaidAdapterChoice;
744  }
745  /**
746   * @return string
747   */
748  public function getVpaidAdapterChoice()
749  {
750    return $this->vpaidAdapterChoice;
751  }
752  /**
753   * @param bool
754   */
755  public function setWrappingOptOut($wrappingOptOut)
756  {
757    $this->wrappingOptOut = $wrappingOptOut;
758  }
759  /**
760   * @return bool
761   */
762  public function getWrappingOptOut()
763  {
764    return $this->wrappingOptOut;
765  }
766}
767
768// Adding a class alias for backwards compatibility with the previous class name.
769class_alias(Placement::class, 'Google_Service_Dfareporting_Placement');
770