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\DisplayVideo;
19
20class Creative extends \Google\Collection
21{
22  protected $collection_key = 'transcodes';
23  protected $additionalDimensionsType = Dimensions::class;
24  protected $additionalDimensionsDataType = 'array';
25  /**
26   * @var string
27   */
28  public $advertiserId;
29  /**
30   * @var string
31   */
32  public $appendedTag;
33  protected $assetsType = AssetAssociation::class;
34  protected $assetsDataType = 'array';
35  /**
36   * @var string
37   */
38  public $cmPlacementId;
39  protected $cmTrackingAdType = CmTrackingAd::class;
40  protected $cmTrackingAdDataType = '';
41  /**
42   * @var string[]
43   */
44  public $companionCreativeIds;
45  protected $counterEventsType = CounterEvent::class;
46  protected $counterEventsDataType = 'array';
47  /**
48   * @var string
49   */
50  public $createTime;
51  /**
52   * @var string[]
53   */
54  public $creativeAttributes;
55  /**
56   * @var string
57   */
58  public $creativeId;
59  /**
60   * @var string
61   */
62  public $creativeType;
63  protected $dimensionsType = Dimensions::class;
64  protected $dimensionsDataType = '';
65  /**
66   * @var string
67   */
68  public $displayName;
69  /**
70   * @var bool
71   */
72  public $dynamic;
73  /**
74   * @var string
75   */
76  public $entityStatus;
77  protected $exitEventsType = ExitEvent::class;
78  protected $exitEventsDataType = 'array';
79  /**
80   * @var bool
81   */
82  public $expandOnHover;
83  /**
84   * @var string
85   */
86  public $expandingDirection;
87  /**
88   * @var string
89   */
90  public $hostingSource;
91  /**
92   * @var bool
93   */
94  public $html5Video;
95  /**
96   * @var bool
97   */
98  public $iasCampaignMonitoring;
99  /**
100   * @var string
101   */
102  public $integrationCode;
103  /**
104   * @var string
105   */
106  public $jsTrackerUrl;
107  /**
108   * @var string[]
109   */
110  public $lineItemIds;
111  /**
112   * @var string
113   */
114  public $mediaDuration;
115  /**
116   * @var bool
117   */
118  public $mp3Audio;
119  /**
120   * @var string
121   */
122  public $name;
123  /**
124   * @var string
125   */
126  public $notes;
127  protected $obaIconType = ObaIcon::class;
128  protected $obaIconDataType = '';
129  /**
130   * @var bool
131   */
132  public $oggAudio;
133  protected $progressOffsetType = AudioVideoOffset::class;
134  protected $progressOffsetDataType = '';
135  /**
136   * @var bool
137   */
138  public $requireHtml5;
139  /**
140   * @var bool
141   */
142  public $requireMraid;
143  /**
144   * @var bool
145   */
146  public $requirePingForAttribution;
147  protected $reviewStatusType = ReviewStatusInfo::class;
148  protected $reviewStatusDataType = '';
149  protected $skipOffsetType = AudioVideoOffset::class;
150  protected $skipOffsetDataType = '';
151  /**
152   * @var bool
153   */
154  public $skippable;
155  /**
156   * @var string
157   */
158  public $thirdPartyTag;
159  protected $thirdPartyUrlsType = ThirdPartyUrl::class;
160  protected $thirdPartyUrlsDataType = 'array';
161  protected $timerEventsType = TimerEvent::class;
162  protected $timerEventsDataType = 'array';
163  /**
164   * @var string[]
165   */
166  public $trackerUrls;
167  protected $transcodesType = Transcode::class;
168  protected $transcodesDataType = 'array';
169  protected $universalAdIdType = UniversalAdId::class;
170  protected $universalAdIdDataType = '';
171  /**
172   * @var string
173   */
174  public $updateTime;
175  /**
176   * @var string
177   */
178  public $vastTagUrl;
179  /**
180   * @var bool
181   */
182  public $vpaid;
183
184  /**
185   * @param Dimensions[]
186   */
187  public function setAdditionalDimensions($additionalDimensions)
188  {
189    $this->additionalDimensions = $additionalDimensions;
190  }
191  /**
192   * @return Dimensions[]
193   */
194  public function getAdditionalDimensions()
195  {
196    return $this->additionalDimensions;
197  }
198  /**
199   * @param string
200   */
201  public function setAdvertiserId($advertiserId)
202  {
203    $this->advertiserId = $advertiserId;
204  }
205  /**
206   * @return string
207   */
208  public function getAdvertiserId()
209  {
210    return $this->advertiserId;
211  }
212  /**
213   * @param string
214   */
215  public function setAppendedTag($appendedTag)
216  {
217    $this->appendedTag = $appendedTag;
218  }
219  /**
220   * @return string
221   */
222  public function getAppendedTag()
223  {
224    return $this->appendedTag;
225  }
226  /**
227   * @param AssetAssociation[]
228   */
229  public function setAssets($assets)
230  {
231    $this->assets = $assets;
232  }
233  /**
234   * @return AssetAssociation[]
235   */
236  public function getAssets()
237  {
238    return $this->assets;
239  }
240  /**
241   * @param string
242   */
243  public function setCmPlacementId($cmPlacementId)
244  {
245    $this->cmPlacementId = $cmPlacementId;
246  }
247  /**
248   * @return string
249   */
250  public function getCmPlacementId()
251  {
252    return $this->cmPlacementId;
253  }
254  /**
255   * @param CmTrackingAd
256   */
257  public function setCmTrackingAd(CmTrackingAd $cmTrackingAd)
258  {
259    $this->cmTrackingAd = $cmTrackingAd;
260  }
261  /**
262   * @return CmTrackingAd
263   */
264  public function getCmTrackingAd()
265  {
266    return $this->cmTrackingAd;
267  }
268  /**
269   * @param string[]
270   */
271  public function setCompanionCreativeIds($companionCreativeIds)
272  {
273    $this->companionCreativeIds = $companionCreativeIds;
274  }
275  /**
276   * @return string[]
277   */
278  public function getCompanionCreativeIds()
279  {
280    return $this->companionCreativeIds;
281  }
282  /**
283   * @param CounterEvent[]
284   */
285  public function setCounterEvents($counterEvents)
286  {
287    $this->counterEvents = $counterEvents;
288  }
289  /**
290   * @return CounterEvent[]
291   */
292  public function getCounterEvents()
293  {
294    return $this->counterEvents;
295  }
296  /**
297   * @param string
298   */
299  public function setCreateTime($createTime)
300  {
301    $this->createTime = $createTime;
302  }
303  /**
304   * @return string
305   */
306  public function getCreateTime()
307  {
308    return $this->createTime;
309  }
310  /**
311   * @param string[]
312   */
313  public function setCreativeAttributes($creativeAttributes)
314  {
315    $this->creativeAttributes = $creativeAttributes;
316  }
317  /**
318   * @return string[]
319   */
320  public function getCreativeAttributes()
321  {
322    return $this->creativeAttributes;
323  }
324  /**
325   * @param string
326   */
327  public function setCreativeId($creativeId)
328  {
329    $this->creativeId = $creativeId;
330  }
331  /**
332   * @return string
333   */
334  public function getCreativeId()
335  {
336    return $this->creativeId;
337  }
338  /**
339   * @param string
340   */
341  public function setCreativeType($creativeType)
342  {
343    $this->creativeType = $creativeType;
344  }
345  /**
346   * @return string
347   */
348  public function getCreativeType()
349  {
350    return $this->creativeType;
351  }
352  /**
353   * @param Dimensions
354   */
355  public function setDimensions(Dimensions $dimensions)
356  {
357    $this->dimensions = $dimensions;
358  }
359  /**
360   * @return Dimensions
361   */
362  public function getDimensions()
363  {
364    return $this->dimensions;
365  }
366  /**
367   * @param string
368   */
369  public function setDisplayName($displayName)
370  {
371    $this->displayName = $displayName;
372  }
373  /**
374   * @return string
375   */
376  public function getDisplayName()
377  {
378    return $this->displayName;
379  }
380  /**
381   * @param bool
382   */
383  public function setDynamic($dynamic)
384  {
385    $this->dynamic = $dynamic;
386  }
387  /**
388   * @return bool
389   */
390  public function getDynamic()
391  {
392    return $this->dynamic;
393  }
394  /**
395   * @param string
396   */
397  public function setEntityStatus($entityStatus)
398  {
399    $this->entityStatus = $entityStatus;
400  }
401  /**
402   * @return string
403   */
404  public function getEntityStatus()
405  {
406    return $this->entityStatus;
407  }
408  /**
409   * @param ExitEvent[]
410   */
411  public function setExitEvents($exitEvents)
412  {
413    $this->exitEvents = $exitEvents;
414  }
415  /**
416   * @return ExitEvent[]
417   */
418  public function getExitEvents()
419  {
420    return $this->exitEvents;
421  }
422  /**
423   * @param bool
424   */
425  public function setExpandOnHover($expandOnHover)
426  {
427    $this->expandOnHover = $expandOnHover;
428  }
429  /**
430   * @return bool
431   */
432  public function getExpandOnHover()
433  {
434    return $this->expandOnHover;
435  }
436  /**
437   * @param string
438   */
439  public function setExpandingDirection($expandingDirection)
440  {
441    $this->expandingDirection = $expandingDirection;
442  }
443  /**
444   * @return string
445   */
446  public function getExpandingDirection()
447  {
448    return $this->expandingDirection;
449  }
450  /**
451   * @param string
452   */
453  public function setHostingSource($hostingSource)
454  {
455    $this->hostingSource = $hostingSource;
456  }
457  /**
458   * @return string
459   */
460  public function getHostingSource()
461  {
462    return $this->hostingSource;
463  }
464  /**
465   * @param bool
466   */
467  public function setHtml5Video($html5Video)
468  {
469    $this->html5Video = $html5Video;
470  }
471  /**
472   * @return bool
473   */
474  public function getHtml5Video()
475  {
476    return $this->html5Video;
477  }
478  /**
479   * @param bool
480   */
481  public function setIasCampaignMonitoring($iasCampaignMonitoring)
482  {
483    $this->iasCampaignMonitoring = $iasCampaignMonitoring;
484  }
485  /**
486   * @return bool
487   */
488  public function getIasCampaignMonitoring()
489  {
490    return $this->iasCampaignMonitoring;
491  }
492  /**
493   * @param string
494   */
495  public function setIntegrationCode($integrationCode)
496  {
497    $this->integrationCode = $integrationCode;
498  }
499  /**
500   * @return string
501   */
502  public function getIntegrationCode()
503  {
504    return $this->integrationCode;
505  }
506  /**
507   * @param string
508   */
509  public function setJsTrackerUrl($jsTrackerUrl)
510  {
511    $this->jsTrackerUrl = $jsTrackerUrl;
512  }
513  /**
514   * @return string
515   */
516  public function getJsTrackerUrl()
517  {
518    return $this->jsTrackerUrl;
519  }
520  /**
521   * @param string[]
522   */
523  public function setLineItemIds($lineItemIds)
524  {
525    $this->lineItemIds = $lineItemIds;
526  }
527  /**
528   * @return string[]
529   */
530  public function getLineItemIds()
531  {
532    return $this->lineItemIds;
533  }
534  /**
535   * @param string
536   */
537  public function setMediaDuration($mediaDuration)
538  {
539    $this->mediaDuration = $mediaDuration;
540  }
541  /**
542   * @return string
543   */
544  public function getMediaDuration()
545  {
546    return $this->mediaDuration;
547  }
548  /**
549   * @param bool
550   */
551  public function setMp3Audio($mp3Audio)
552  {
553    $this->mp3Audio = $mp3Audio;
554  }
555  /**
556   * @return bool
557   */
558  public function getMp3Audio()
559  {
560    return $this->mp3Audio;
561  }
562  /**
563   * @param string
564   */
565  public function setName($name)
566  {
567    $this->name = $name;
568  }
569  /**
570   * @return string
571   */
572  public function getName()
573  {
574    return $this->name;
575  }
576  /**
577   * @param string
578   */
579  public function setNotes($notes)
580  {
581    $this->notes = $notes;
582  }
583  /**
584   * @return string
585   */
586  public function getNotes()
587  {
588    return $this->notes;
589  }
590  /**
591   * @param ObaIcon
592   */
593  public function setObaIcon(ObaIcon $obaIcon)
594  {
595    $this->obaIcon = $obaIcon;
596  }
597  /**
598   * @return ObaIcon
599   */
600  public function getObaIcon()
601  {
602    return $this->obaIcon;
603  }
604  /**
605   * @param bool
606   */
607  public function setOggAudio($oggAudio)
608  {
609    $this->oggAudio = $oggAudio;
610  }
611  /**
612   * @return bool
613   */
614  public function getOggAudio()
615  {
616    return $this->oggAudio;
617  }
618  /**
619   * @param AudioVideoOffset
620   */
621  public function setProgressOffset(AudioVideoOffset $progressOffset)
622  {
623    $this->progressOffset = $progressOffset;
624  }
625  /**
626   * @return AudioVideoOffset
627   */
628  public function getProgressOffset()
629  {
630    return $this->progressOffset;
631  }
632  /**
633   * @param bool
634   */
635  public function setRequireHtml5($requireHtml5)
636  {
637    $this->requireHtml5 = $requireHtml5;
638  }
639  /**
640   * @return bool
641   */
642  public function getRequireHtml5()
643  {
644    return $this->requireHtml5;
645  }
646  /**
647   * @param bool
648   */
649  public function setRequireMraid($requireMraid)
650  {
651    $this->requireMraid = $requireMraid;
652  }
653  /**
654   * @return bool
655   */
656  public function getRequireMraid()
657  {
658    return $this->requireMraid;
659  }
660  /**
661   * @param bool
662   */
663  public function setRequirePingForAttribution($requirePingForAttribution)
664  {
665    $this->requirePingForAttribution = $requirePingForAttribution;
666  }
667  /**
668   * @return bool
669   */
670  public function getRequirePingForAttribution()
671  {
672    return $this->requirePingForAttribution;
673  }
674  /**
675   * @param ReviewStatusInfo
676   */
677  public function setReviewStatus(ReviewStatusInfo $reviewStatus)
678  {
679    $this->reviewStatus = $reviewStatus;
680  }
681  /**
682   * @return ReviewStatusInfo
683   */
684  public function getReviewStatus()
685  {
686    return $this->reviewStatus;
687  }
688  /**
689   * @param AudioVideoOffset
690   */
691  public function setSkipOffset(AudioVideoOffset $skipOffset)
692  {
693    $this->skipOffset = $skipOffset;
694  }
695  /**
696   * @return AudioVideoOffset
697   */
698  public function getSkipOffset()
699  {
700    return $this->skipOffset;
701  }
702  /**
703   * @param bool
704   */
705  public function setSkippable($skippable)
706  {
707    $this->skippable = $skippable;
708  }
709  /**
710   * @return bool
711   */
712  public function getSkippable()
713  {
714    return $this->skippable;
715  }
716  /**
717   * @param string
718   */
719  public function setThirdPartyTag($thirdPartyTag)
720  {
721    $this->thirdPartyTag = $thirdPartyTag;
722  }
723  /**
724   * @return string
725   */
726  public function getThirdPartyTag()
727  {
728    return $this->thirdPartyTag;
729  }
730  /**
731   * @param ThirdPartyUrl[]
732   */
733  public function setThirdPartyUrls($thirdPartyUrls)
734  {
735    $this->thirdPartyUrls = $thirdPartyUrls;
736  }
737  /**
738   * @return ThirdPartyUrl[]
739   */
740  public function getThirdPartyUrls()
741  {
742    return $this->thirdPartyUrls;
743  }
744  /**
745   * @param TimerEvent[]
746   */
747  public function setTimerEvents($timerEvents)
748  {
749    $this->timerEvents = $timerEvents;
750  }
751  /**
752   * @return TimerEvent[]
753   */
754  public function getTimerEvents()
755  {
756    return $this->timerEvents;
757  }
758  /**
759   * @param string[]
760   */
761  public function setTrackerUrls($trackerUrls)
762  {
763    $this->trackerUrls = $trackerUrls;
764  }
765  /**
766   * @return string[]
767   */
768  public function getTrackerUrls()
769  {
770    return $this->trackerUrls;
771  }
772  /**
773   * @param Transcode[]
774   */
775  public function setTranscodes($transcodes)
776  {
777    $this->transcodes = $transcodes;
778  }
779  /**
780   * @return Transcode[]
781   */
782  public function getTranscodes()
783  {
784    return $this->transcodes;
785  }
786  /**
787   * @param UniversalAdId
788   */
789  public function setUniversalAdId(UniversalAdId $universalAdId)
790  {
791    $this->universalAdId = $universalAdId;
792  }
793  /**
794   * @return UniversalAdId
795   */
796  public function getUniversalAdId()
797  {
798    return $this->universalAdId;
799  }
800  /**
801   * @param string
802   */
803  public function setUpdateTime($updateTime)
804  {
805    $this->updateTime = $updateTime;
806  }
807  /**
808   * @return string
809   */
810  public function getUpdateTime()
811  {
812    return $this->updateTime;
813  }
814  /**
815   * @param string
816   */
817  public function setVastTagUrl($vastTagUrl)
818  {
819    $this->vastTagUrl = $vastTagUrl;
820  }
821  /**
822   * @return string
823   */
824  public function getVastTagUrl()
825  {
826    return $this->vastTagUrl;
827  }
828  /**
829   * @param bool
830   */
831  public function setVpaid($vpaid)
832  {
833    $this->vpaid = $vpaid;
834  }
835  /**
836   * @return bool
837   */
838  public function getVpaid()
839  {
840    return $this->vpaid;
841  }
842}
843
844// Adding a class alias for backwards compatibility with the previous class name.
845class_alias(Creative::class, 'Google_Service_DisplayVideo_Creative');
846