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
18class Google_Service_Dfareporting_Creative extends Google_Collection
19{
20  protected $collection_key = 'timerCustomEvents';
21  public $accountId;
22  public $active;
23  public $adParameters;
24  public $adTagKeys;
25  protected $additionalSizesType = 'Google_Service_Dfareporting_Size';
26  protected $additionalSizesDataType = 'array';
27  public $advertiserId;
28  public $allowScriptAccess;
29  public $archived;
30  public $artworkType;
31  public $authoringSource;
32  public $authoringTool;
33  public $autoAdvanceImages;
34  public $backgroundColor;
35  protected $backupImageClickThroughUrlType = 'Google_Service_Dfareporting_CreativeClickThroughUrl';
36  protected $backupImageClickThroughUrlDataType = '';
37  public $backupImageFeatures;
38  public $backupImageReportingLabel;
39  protected $backupImageTargetWindowType = 'Google_Service_Dfareporting_TargetWindow';
40  protected $backupImageTargetWindowDataType = '';
41  protected $clickTagsType = 'Google_Service_Dfareporting_ClickTag';
42  protected $clickTagsDataType = 'array';
43  public $commercialId;
44  public $companionCreatives;
45  public $compatibility;
46  public $convertFlashToHtml5;
47  protected $counterCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent';
48  protected $counterCustomEventsDataType = 'array';
49  protected $creativeAssetSelectionType = 'Google_Service_Dfareporting_CreativeAssetSelection';
50  protected $creativeAssetSelectionDataType = '';
51  protected $creativeAssetsType = 'Google_Service_Dfareporting_CreativeAsset';
52  protected $creativeAssetsDataType = 'array';
53  protected $creativeFieldAssignmentsType = 'Google_Service_Dfareporting_CreativeFieldAssignment';
54  protected $creativeFieldAssignmentsDataType = 'array';
55  public $customKeyValues;
56  public $dynamicAssetSelection;
57  protected $exitCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent';
58  protected $exitCustomEventsDataType = 'array';
59  protected $fsCommandType = 'Google_Service_Dfareporting_FsCommand';
60  protected $fsCommandDataType = '';
61  public $htmlCode;
62  public $htmlCodeLocked;
63  public $id;
64  protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
65  protected $idDimensionValueDataType = '';
66  public $kind;
67  protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
68  protected $lastModifiedInfoDataType = '';
69  public $latestTraffickedCreativeId;
70  public $mediaDescription;
71  public $mediaDuration;
72  public $name;
73  protected $obaIconType = 'Google_Service_Dfareporting_ObaIcon';
74  protected $obaIconDataType = '';
75  public $overrideCss;
76  protected $progressOffsetType = 'Google_Service_Dfareporting_VideoOffset';
77  protected $progressOffsetDataType = '';
78  public $redirectUrl;
79  public $renderingId;
80  protected $renderingIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
81  protected $renderingIdDimensionValueDataType = '';
82  public $requiredFlashPluginVersion;
83  public $requiredFlashVersion;
84  protected $sizeType = 'Google_Service_Dfareporting_Size';
85  protected $sizeDataType = '';
86  protected $skipOffsetType = 'Google_Service_Dfareporting_VideoOffset';
87  protected $skipOffsetDataType = '';
88  public $skippable;
89  public $sslCompliant;
90  public $sslOverride;
91  public $studioAdvertiserId;
92  public $studioCreativeId;
93  public $studioTraffickedCreativeId;
94  public $subaccountId;
95  public $thirdPartyBackupImageImpressionsUrl;
96  public $thirdPartyRichMediaImpressionsUrl;
97  protected $thirdPartyUrlsType = 'Google_Service_Dfareporting_ThirdPartyTrackingUrl';
98  protected $thirdPartyUrlsDataType = 'array';
99  protected $timerCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent';
100  protected $timerCustomEventsDataType = 'array';
101  public $totalFileSize;
102  public $type;
103  protected $universalAdIdType = 'Google_Service_Dfareporting_UniversalAdId';
104  protected $universalAdIdDataType = '';
105  public $version;
106
107  public function setAccountId($accountId)
108  {
109    $this->accountId = $accountId;
110  }
111  public function getAccountId()
112  {
113    return $this->accountId;
114  }
115  public function setActive($active)
116  {
117    $this->active = $active;
118  }
119  public function getActive()
120  {
121    return $this->active;
122  }
123  public function setAdParameters($adParameters)
124  {
125    $this->adParameters = $adParameters;
126  }
127  public function getAdParameters()
128  {
129    return $this->adParameters;
130  }
131  public function setAdTagKeys($adTagKeys)
132  {
133    $this->adTagKeys = $adTagKeys;
134  }
135  public function getAdTagKeys()
136  {
137    return $this->adTagKeys;
138  }
139  /**
140   * @param Google_Service_Dfareporting_Size[]
141   */
142  public function setAdditionalSizes($additionalSizes)
143  {
144    $this->additionalSizes = $additionalSizes;
145  }
146  /**
147   * @return Google_Service_Dfareporting_Size[]
148   */
149  public function getAdditionalSizes()
150  {
151    return $this->additionalSizes;
152  }
153  public function setAdvertiserId($advertiserId)
154  {
155    $this->advertiserId = $advertiserId;
156  }
157  public function getAdvertiserId()
158  {
159    return $this->advertiserId;
160  }
161  public function setAllowScriptAccess($allowScriptAccess)
162  {
163    $this->allowScriptAccess = $allowScriptAccess;
164  }
165  public function getAllowScriptAccess()
166  {
167    return $this->allowScriptAccess;
168  }
169  public function setArchived($archived)
170  {
171    $this->archived = $archived;
172  }
173  public function getArchived()
174  {
175    return $this->archived;
176  }
177  public function setArtworkType($artworkType)
178  {
179    $this->artworkType = $artworkType;
180  }
181  public function getArtworkType()
182  {
183    return $this->artworkType;
184  }
185  public function setAuthoringSource($authoringSource)
186  {
187    $this->authoringSource = $authoringSource;
188  }
189  public function getAuthoringSource()
190  {
191    return $this->authoringSource;
192  }
193  public function setAuthoringTool($authoringTool)
194  {
195    $this->authoringTool = $authoringTool;
196  }
197  public function getAuthoringTool()
198  {
199    return $this->authoringTool;
200  }
201  public function setAutoAdvanceImages($autoAdvanceImages)
202  {
203    $this->autoAdvanceImages = $autoAdvanceImages;
204  }
205  public function getAutoAdvanceImages()
206  {
207    return $this->autoAdvanceImages;
208  }
209  public function setBackgroundColor($backgroundColor)
210  {
211    $this->backgroundColor = $backgroundColor;
212  }
213  public function getBackgroundColor()
214  {
215    return $this->backgroundColor;
216  }
217  /**
218   * @param Google_Service_Dfareporting_CreativeClickThroughUrl
219   */
220  public function setBackupImageClickThroughUrl(Google_Service_Dfareporting_CreativeClickThroughUrl $backupImageClickThroughUrl)
221  {
222    $this->backupImageClickThroughUrl = $backupImageClickThroughUrl;
223  }
224  /**
225   * @return Google_Service_Dfareporting_CreativeClickThroughUrl
226   */
227  public function getBackupImageClickThroughUrl()
228  {
229    return $this->backupImageClickThroughUrl;
230  }
231  public function setBackupImageFeatures($backupImageFeatures)
232  {
233    $this->backupImageFeatures = $backupImageFeatures;
234  }
235  public function getBackupImageFeatures()
236  {
237    return $this->backupImageFeatures;
238  }
239  public function setBackupImageReportingLabel($backupImageReportingLabel)
240  {
241    $this->backupImageReportingLabel = $backupImageReportingLabel;
242  }
243  public function getBackupImageReportingLabel()
244  {
245    return $this->backupImageReportingLabel;
246  }
247  /**
248   * @param Google_Service_Dfareporting_TargetWindow
249   */
250  public function setBackupImageTargetWindow(Google_Service_Dfareporting_TargetWindow $backupImageTargetWindow)
251  {
252    $this->backupImageTargetWindow = $backupImageTargetWindow;
253  }
254  /**
255   * @return Google_Service_Dfareporting_TargetWindow
256   */
257  public function getBackupImageTargetWindow()
258  {
259    return $this->backupImageTargetWindow;
260  }
261  /**
262   * @param Google_Service_Dfareporting_ClickTag[]
263   */
264  public function setClickTags($clickTags)
265  {
266    $this->clickTags = $clickTags;
267  }
268  /**
269   * @return Google_Service_Dfareporting_ClickTag[]
270   */
271  public function getClickTags()
272  {
273    return $this->clickTags;
274  }
275  public function setCommercialId($commercialId)
276  {
277    $this->commercialId = $commercialId;
278  }
279  public function getCommercialId()
280  {
281    return $this->commercialId;
282  }
283  public function setCompanionCreatives($companionCreatives)
284  {
285    $this->companionCreatives = $companionCreatives;
286  }
287  public function getCompanionCreatives()
288  {
289    return $this->companionCreatives;
290  }
291  public function setCompatibility($compatibility)
292  {
293    $this->compatibility = $compatibility;
294  }
295  public function getCompatibility()
296  {
297    return $this->compatibility;
298  }
299  public function setConvertFlashToHtml5($convertFlashToHtml5)
300  {
301    $this->convertFlashToHtml5 = $convertFlashToHtml5;
302  }
303  public function getConvertFlashToHtml5()
304  {
305    return $this->convertFlashToHtml5;
306  }
307  /**
308   * @param Google_Service_Dfareporting_CreativeCustomEvent[]
309   */
310  public function setCounterCustomEvents($counterCustomEvents)
311  {
312    $this->counterCustomEvents = $counterCustomEvents;
313  }
314  /**
315   * @return Google_Service_Dfareporting_CreativeCustomEvent[]
316   */
317  public function getCounterCustomEvents()
318  {
319    return $this->counterCustomEvents;
320  }
321  /**
322   * @param Google_Service_Dfareporting_CreativeAssetSelection
323   */
324  public function setCreativeAssetSelection(Google_Service_Dfareporting_CreativeAssetSelection $creativeAssetSelection)
325  {
326    $this->creativeAssetSelection = $creativeAssetSelection;
327  }
328  /**
329   * @return Google_Service_Dfareporting_CreativeAssetSelection
330   */
331  public function getCreativeAssetSelection()
332  {
333    return $this->creativeAssetSelection;
334  }
335  /**
336   * @param Google_Service_Dfareporting_CreativeAsset[]
337   */
338  public function setCreativeAssets($creativeAssets)
339  {
340    $this->creativeAssets = $creativeAssets;
341  }
342  /**
343   * @return Google_Service_Dfareporting_CreativeAsset[]
344   */
345  public function getCreativeAssets()
346  {
347    return $this->creativeAssets;
348  }
349  /**
350   * @param Google_Service_Dfareporting_CreativeFieldAssignment[]
351   */
352  public function setCreativeFieldAssignments($creativeFieldAssignments)
353  {
354    $this->creativeFieldAssignments = $creativeFieldAssignments;
355  }
356  /**
357   * @return Google_Service_Dfareporting_CreativeFieldAssignment[]
358   */
359  public function getCreativeFieldAssignments()
360  {
361    return $this->creativeFieldAssignments;
362  }
363  public function setCustomKeyValues($customKeyValues)
364  {
365    $this->customKeyValues = $customKeyValues;
366  }
367  public function getCustomKeyValues()
368  {
369    return $this->customKeyValues;
370  }
371  public function setDynamicAssetSelection($dynamicAssetSelection)
372  {
373    $this->dynamicAssetSelection = $dynamicAssetSelection;
374  }
375  public function getDynamicAssetSelection()
376  {
377    return $this->dynamicAssetSelection;
378  }
379  /**
380   * @param Google_Service_Dfareporting_CreativeCustomEvent[]
381   */
382  public function setExitCustomEvents($exitCustomEvents)
383  {
384    $this->exitCustomEvents = $exitCustomEvents;
385  }
386  /**
387   * @return Google_Service_Dfareporting_CreativeCustomEvent[]
388   */
389  public function getExitCustomEvents()
390  {
391    return $this->exitCustomEvents;
392  }
393  /**
394   * @param Google_Service_Dfareporting_FsCommand
395   */
396  public function setFsCommand(Google_Service_Dfareporting_FsCommand $fsCommand)
397  {
398    $this->fsCommand = $fsCommand;
399  }
400  /**
401   * @return Google_Service_Dfareporting_FsCommand
402   */
403  public function getFsCommand()
404  {
405    return $this->fsCommand;
406  }
407  public function setHtmlCode($htmlCode)
408  {
409    $this->htmlCode = $htmlCode;
410  }
411  public function getHtmlCode()
412  {
413    return $this->htmlCode;
414  }
415  public function setHtmlCodeLocked($htmlCodeLocked)
416  {
417    $this->htmlCodeLocked = $htmlCodeLocked;
418  }
419  public function getHtmlCodeLocked()
420  {
421    return $this->htmlCodeLocked;
422  }
423  public function setId($id)
424  {
425    $this->id = $id;
426  }
427  public function getId()
428  {
429    return $this->id;
430  }
431  /**
432   * @param Google_Service_Dfareporting_DimensionValue
433   */
434  public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
435  {
436    $this->idDimensionValue = $idDimensionValue;
437  }
438  /**
439   * @return Google_Service_Dfareporting_DimensionValue
440   */
441  public function getIdDimensionValue()
442  {
443    return $this->idDimensionValue;
444  }
445  public function setKind($kind)
446  {
447    $this->kind = $kind;
448  }
449  public function getKind()
450  {
451    return $this->kind;
452  }
453  /**
454   * @param Google_Service_Dfareporting_LastModifiedInfo
455   */
456  public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
457  {
458    $this->lastModifiedInfo = $lastModifiedInfo;
459  }
460  /**
461   * @return Google_Service_Dfareporting_LastModifiedInfo
462   */
463  public function getLastModifiedInfo()
464  {
465    return $this->lastModifiedInfo;
466  }
467  public function setLatestTraffickedCreativeId($latestTraffickedCreativeId)
468  {
469    $this->latestTraffickedCreativeId = $latestTraffickedCreativeId;
470  }
471  public function getLatestTraffickedCreativeId()
472  {
473    return $this->latestTraffickedCreativeId;
474  }
475  public function setMediaDescription($mediaDescription)
476  {
477    $this->mediaDescription = $mediaDescription;
478  }
479  public function getMediaDescription()
480  {
481    return $this->mediaDescription;
482  }
483  public function setMediaDuration($mediaDuration)
484  {
485    $this->mediaDuration = $mediaDuration;
486  }
487  public function getMediaDuration()
488  {
489    return $this->mediaDuration;
490  }
491  public function setName($name)
492  {
493    $this->name = $name;
494  }
495  public function getName()
496  {
497    return $this->name;
498  }
499  /**
500   * @param Google_Service_Dfareporting_ObaIcon
501   */
502  public function setObaIcon(Google_Service_Dfareporting_ObaIcon $obaIcon)
503  {
504    $this->obaIcon = $obaIcon;
505  }
506  /**
507   * @return Google_Service_Dfareporting_ObaIcon
508   */
509  public function getObaIcon()
510  {
511    return $this->obaIcon;
512  }
513  public function setOverrideCss($overrideCss)
514  {
515    $this->overrideCss = $overrideCss;
516  }
517  public function getOverrideCss()
518  {
519    return $this->overrideCss;
520  }
521  /**
522   * @param Google_Service_Dfareporting_VideoOffset
523   */
524  public function setProgressOffset(Google_Service_Dfareporting_VideoOffset $progressOffset)
525  {
526    $this->progressOffset = $progressOffset;
527  }
528  /**
529   * @return Google_Service_Dfareporting_VideoOffset
530   */
531  public function getProgressOffset()
532  {
533    return $this->progressOffset;
534  }
535  public function setRedirectUrl($redirectUrl)
536  {
537    $this->redirectUrl = $redirectUrl;
538  }
539  public function getRedirectUrl()
540  {
541    return $this->redirectUrl;
542  }
543  public function setRenderingId($renderingId)
544  {
545    $this->renderingId = $renderingId;
546  }
547  public function getRenderingId()
548  {
549    return $this->renderingId;
550  }
551  /**
552   * @param Google_Service_Dfareporting_DimensionValue
553   */
554  public function setRenderingIdDimensionValue(Google_Service_Dfareporting_DimensionValue $renderingIdDimensionValue)
555  {
556    $this->renderingIdDimensionValue = $renderingIdDimensionValue;
557  }
558  /**
559   * @return Google_Service_Dfareporting_DimensionValue
560   */
561  public function getRenderingIdDimensionValue()
562  {
563    return $this->renderingIdDimensionValue;
564  }
565  public function setRequiredFlashPluginVersion($requiredFlashPluginVersion)
566  {
567    $this->requiredFlashPluginVersion = $requiredFlashPluginVersion;
568  }
569  public function getRequiredFlashPluginVersion()
570  {
571    return $this->requiredFlashPluginVersion;
572  }
573  public function setRequiredFlashVersion($requiredFlashVersion)
574  {
575    $this->requiredFlashVersion = $requiredFlashVersion;
576  }
577  public function getRequiredFlashVersion()
578  {
579    return $this->requiredFlashVersion;
580  }
581  /**
582   * @param Google_Service_Dfareporting_Size
583   */
584  public function setSize(Google_Service_Dfareporting_Size $size)
585  {
586    $this->size = $size;
587  }
588  /**
589   * @return Google_Service_Dfareporting_Size
590   */
591  public function getSize()
592  {
593    return $this->size;
594  }
595  /**
596   * @param Google_Service_Dfareporting_VideoOffset
597   */
598  public function setSkipOffset(Google_Service_Dfareporting_VideoOffset $skipOffset)
599  {
600    $this->skipOffset = $skipOffset;
601  }
602  /**
603   * @return Google_Service_Dfareporting_VideoOffset
604   */
605  public function getSkipOffset()
606  {
607    return $this->skipOffset;
608  }
609  public function setSkippable($skippable)
610  {
611    $this->skippable = $skippable;
612  }
613  public function getSkippable()
614  {
615    return $this->skippable;
616  }
617  public function setSslCompliant($sslCompliant)
618  {
619    $this->sslCompliant = $sslCompliant;
620  }
621  public function getSslCompliant()
622  {
623    return $this->sslCompliant;
624  }
625  public function setSslOverride($sslOverride)
626  {
627    $this->sslOverride = $sslOverride;
628  }
629  public function getSslOverride()
630  {
631    return $this->sslOverride;
632  }
633  public function setStudioAdvertiserId($studioAdvertiserId)
634  {
635    $this->studioAdvertiserId = $studioAdvertiserId;
636  }
637  public function getStudioAdvertiserId()
638  {
639    return $this->studioAdvertiserId;
640  }
641  public function setStudioCreativeId($studioCreativeId)
642  {
643    $this->studioCreativeId = $studioCreativeId;
644  }
645  public function getStudioCreativeId()
646  {
647    return $this->studioCreativeId;
648  }
649  public function setStudioTraffickedCreativeId($studioTraffickedCreativeId)
650  {
651    $this->studioTraffickedCreativeId = $studioTraffickedCreativeId;
652  }
653  public function getStudioTraffickedCreativeId()
654  {
655    return $this->studioTraffickedCreativeId;
656  }
657  public function setSubaccountId($subaccountId)
658  {
659    $this->subaccountId = $subaccountId;
660  }
661  public function getSubaccountId()
662  {
663    return $this->subaccountId;
664  }
665  public function setThirdPartyBackupImageImpressionsUrl($thirdPartyBackupImageImpressionsUrl)
666  {
667    $this->thirdPartyBackupImageImpressionsUrl = $thirdPartyBackupImageImpressionsUrl;
668  }
669  public function getThirdPartyBackupImageImpressionsUrl()
670  {
671    return $this->thirdPartyBackupImageImpressionsUrl;
672  }
673  public function setThirdPartyRichMediaImpressionsUrl($thirdPartyRichMediaImpressionsUrl)
674  {
675    $this->thirdPartyRichMediaImpressionsUrl = $thirdPartyRichMediaImpressionsUrl;
676  }
677  public function getThirdPartyRichMediaImpressionsUrl()
678  {
679    return $this->thirdPartyRichMediaImpressionsUrl;
680  }
681  /**
682   * @param Google_Service_Dfareporting_ThirdPartyTrackingUrl[]
683   */
684  public function setThirdPartyUrls($thirdPartyUrls)
685  {
686    $this->thirdPartyUrls = $thirdPartyUrls;
687  }
688  /**
689   * @return Google_Service_Dfareporting_ThirdPartyTrackingUrl[]
690   */
691  public function getThirdPartyUrls()
692  {
693    return $this->thirdPartyUrls;
694  }
695  /**
696   * @param Google_Service_Dfareporting_CreativeCustomEvent[]
697   */
698  public function setTimerCustomEvents($timerCustomEvents)
699  {
700    $this->timerCustomEvents = $timerCustomEvents;
701  }
702  /**
703   * @return Google_Service_Dfareporting_CreativeCustomEvent[]
704   */
705  public function getTimerCustomEvents()
706  {
707    return $this->timerCustomEvents;
708  }
709  public function setTotalFileSize($totalFileSize)
710  {
711    $this->totalFileSize = $totalFileSize;
712  }
713  public function getTotalFileSize()
714  {
715    return $this->totalFileSize;
716  }
717  public function setType($type)
718  {
719    $this->type = $type;
720  }
721  public function getType()
722  {
723    return $this->type;
724  }
725  /**
726   * @param Google_Service_Dfareporting_UniversalAdId
727   */
728  public function setUniversalAdId(Google_Service_Dfareporting_UniversalAdId $universalAdId)
729  {
730    $this->universalAdId = $universalAdId;
731  }
732  /**
733   * @return Google_Service_Dfareporting_UniversalAdId
734   */
735  public function getUniversalAdId()
736  {
737    return $this->universalAdId;
738  }
739  public function setVersion($version)
740  {
741    $this->version = $version;
742  }
743  public function getVersion()
744  {
745    return $this->version;
746  }
747}
748