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 Ad extends \Google\Collection
21{
22  protected $collection_key = 'placementAssignments';
23  /**
24   * @var string
25   */
26  public $accountId;
27  /**
28   * @var bool
29   */
30  public $active;
31  /**
32   * @var string
33   */
34  public $advertiserId;
35  protected $advertiserIdDimensionValueType = DimensionValue::class;
36  protected $advertiserIdDimensionValueDataType = '';
37  /**
38   * @var bool
39   */
40  public $archived;
41  /**
42   * @var string
43   */
44  public $audienceSegmentId;
45  /**
46   * @var string
47   */
48  public $campaignId;
49  protected $campaignIdDimensionValueType = DimensionValue::class;
50  protected $campaignIdDimensionValueDataType = '';
51  protected $clickThroughUrlType = ClickThroughUrl::class;
52  protected $clickThroughUrlDataType = '';
53  protected $clickThroughUrlSuffixPropertiesType = ClickThroughUrlSuffixProperties::class;
54  protected $clickThroughUrlSuffixPropertiesDataType = '';
55  /**
56   * @var string
57   */
58  public $comments;
59  /**
60   * @var string
61   */
62  public $compatibility;
63  protected $createInfoType = LastModifiedInfo::class;
64  protected $createInfoDataType = '';
65  protected $creativeGroupAssignmentsType = CreativeGroupAssignment::class;
66  protected $creativeGroupAssignmentsDataType = 'array';
67  protected $creativeRotationType = CreativeRotation::class;
68  protected $creativeRotationDataType = '';
69  protected $dayPartTargetingType = DayPartTargeting::class;
70  protected $dayPartTargetingDataType = '';
71  protected $defaultClickThroughEventTagPropertiesType = DefaultClickThroughEventTagProperties::class;
72  protected $defaultClickThroughEventTagPropertiesDataType = '';
73  protected $deliveryScheduleType = DeliverySchedule::class;
74  protected $deliveryScheduleDataType = '';
75  /**
76   * @var bool
77   */
78  public $dynamicClickTracker;
79  /**
80   * @var string
81   */
82  public $endTime;
83  protected $eventTagOverridesType = EventTagOverride::class;
84  protected $eventTagOverridesDataType = 'array';
85  protected $geoTargetingType = GeoTargeting::class;
86  protected $geoTargetingDataType = '';
87  /**
88   * @var string
89   */
90  public $id;
91  protected $idDimensionValueType = DimensionValue::class;
92  protected $idDimensionValueDataType = '';
93  protected $keyValueTargetingExpressionType = KeyValueTargetingExpression::class;
94  protected $keyValueTargetingExpressionDataType = '';
95  /**
96   * @var string
97   */
98  public $kind;
99  protected $languageTargetingType = LanguageTargeting::class;
100  protected $languageTargetingDataType = '';
101  protected $lastModifiedInfoType = LastModifiedInfo::class;
102  protected $lastModifiedInfoDataType = '';
103  /**
104   * @var string
105   */
106  public $name;
107  protected $placementAssignmentsType = PlacementAssignment::class;
108  protected $placementAssignmentsDataType = 'array';
109  protected $remarketingListExpressionType = ListTargetingExpression::class;
110  protected $remarketingListExpressionDataType = '';
111  protected $sizeType = Size::class;
112  protected $sizeDataType = '';
113  /**
114   * @var bool
115   */
116  public $sslCompliant;
117  /**
118   * @var bool
119   */
120  public $sslRequired;
121  /**
122   * @var string
123   */
124  public $startTime;
125  /**
126   * @var string
127   */
128  public $subaccountId;
129  /**
130   * @var string
131   */
132  public $targetingTemplateId;
133  protected $technologyTargetingType = TechnologyTargeting::class;
134  protected $technologyTargetingDataType = '';
135  /**
136   * @var string
137   */
138  public $type;
139
140  /**
141   * @param string
142   */
143  public function setAccountId($accountId)
144  {
145    $this->accountId = $accountId;
146  }
147  /**
148   * @return string
149   */
150  public function getAccountId()
151  {
152    return $this->accountId;
153  }
154  /**
155   * @param bool
156   */
157  public function setActive($active)
158  {
159    $this->active = $active;
160  }
161  /**
162   * @return bool
163   */
164  public function getActive()
165  {
166    return $this->active;
167  }
168  /**
169   * @param string
170   */
171  public function setAdvertiserId($advertiserId)
172  {
173    $this->advertiserId = $advertiserId;
174  }
175  /**
176   * @return string
177   */
178  public function getAdvertiserId()
179  {
180    return $this->advertiserId;
181  }
182  /**
183   * @param DimensionValue
184   */
185  public function setAdvertiserIdDimensionValue(DimensionValue $advertiserIdDimensionValue)
186  {
187    $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
188  }
189  /**
190   * @return DimensionValue
191   */
192  public function getAdvertiserIdDimensionValue()
193  {
194    return $this->advertiserIdDimensionValue;
195  }
196  /**
197   * @param bool
198   */
199  public function setArchived($archived)
200  {
201    $this->archived = $archived;
202  }
203  /**
204   * @return bool
205   */
206  public function getArchived()
207  {
208    return $this->archived;
209  }
210  /**
211   * @param string
212   */
213  public function setAudienceSegmentId($audienceSegmentId)
214  {
215    $this->audienceSegmentId = $audienceSegmentId;
216  }
217  /**
218   * @return string
219   */
220  public function getAudienceSegmentId()
221  {
222    return $this->audienceSegmentId;
223  }
224  /**
225   * @param string
226   */
227  public function setCampaignId($campaignId)
228  {
229    $this->campaignId = $campaignId;
230  }
231  /**
232   * @return string
233   */
234  public function getCampaignId()
235  {
236    return $this->campaignId;
237  }
238  /**
239   * @param DimensionValue
240   */
241  public function setCampaignIdDimensionValue(DimensionValue $campaignIdDimensionValue)
242  {
243    $this->campaignIdDimensionValue = $campaignIdDimensionValue;
244  }
245  /**
246   * @return DimensionValue
247   */
248  public function getCampaignIdDimensionValue()
249  {
250    return $this->campaignIdDimensionValue;
251  }
252  /**
253   * @param ClickThroughUrl
254   */
255  public function setClickThroughUrl(ClickThroughUrl $clickThroughUrl)
256  {
257    $this->clickThroughUrl = $clickThroughUrl;
258  }
259  /**
260   * @return ClickThroughUrl
261   */
262  public function getClickThroughUrl()
263  {
264    return $this->clickThroughUrl;
265  }
266  /**
267   * @param ClickThroughUrlSuffixProperties
268   */
269  public function setClickThroughUrlSuffixProperties(ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties)
270  {
271    $this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties;
272  }
273  /**
274   * @return ClickThroughUrlSuffixProperties
275   */
276  public function getClickThroughUrlSuffixProperties()
277  {
278    return $this->clickThroughUrlSuffixProperties;
279  }
280  /**
281   * @param string
282   */
283  public function setComments($comments)
284  {
285    $this->comments = $comments;
286  }
287  /**
288   * @return string
289   */
290  public function getComments()
291  {
292    return $this->comments;
293  }
294  /**
295   * @param string
296   */
297  public function setCompatibility($compatibility)
298  {
299    $this->compatibility = $compatibility;
300  }
301  /**
302   * @return string
303   */
304  public function getCompatibility()
305  {
306    return $this->compatibility;
307  }
308  /**
309   * @param LastModifiedInfo
310   */
311  public function setCreateInfo(LastModifiedInfo $createInfo)
312  {
313    $this->createInfo = $createInfo;
314  }
315  /**
316   * @return LastModifiedInfo
317   */
318  public function getCreateInfo()
319  {
320    return $this->createInfo;
321  }
322  /**
323   * @param CreativeGroupAssignment[]
324   */
325  public function setCreativeGroupAssignments($creativeGroupAssignments)
326  {
327    $this->creativeGroupAssignments = $creativeGroupAssignments;
328  }
329  /**
330   * @return CreativeGroupAssignment[]
331   */
332  public function getCreativeGroupAssignments()
333  {
334    return $this->creativeGroupAssignments;
335  }
336  /**
337   * @param CreativeRotation
338   */
339  public function setCreativeRotation(CreativeRotation $creativeRotation)
340  {
341    $this->creativeRotation = $creativeRotation;
342  }
343  /**
344   * @return CreativeRotation
345   */
346  public function getCreativeRotation()
347  {
348    return $this->creativeRotation;
349  }
350  /**
351   * @param DayPartTargeting
352   */
353  public function setDayPartTargeting(DayPartTargeting $dayPartTargeting)
354  {
355    $this->dayPartTargeting = $dayPartTargeting;
356  }
357  /**
358   * @return DayPartTargeting
359   */
360  public function getDayPartTargeting()
361  {
362    return $this->dayPartTargeting;
363  }
364  /**
365   * @param DefaultClickThroughEventTagProperties
366   */
367  public function setDefaultClickThroughEventTagProperties(DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties)
368  {
369    $this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties;
370  }
371  /**
372   * @return DefaultClickThroughEventTagProperties
373   */
374  public function getDefaultClickThroughEventTagProperties()
375  {
376    return $this->defaultClickThroughEventTagProperties;
377  }
378  /**
379   * @param DeliverySchedule
380   */
381  public function setDeliverySchedule(DeliverySchedule $deliverySchedule)
382  {
383    $this->deliverySchedule = $deliverySchedule;
384  }
385  /**
386   * @return DeliverySchedule
387   */
388  public function getDeliverySchedule()
389  {
390    return $this->deliverySchedule;
391  }
392  /**
393   * @param bool
394   */
395  public function setDynamicClickTracker($dynamicClickTracker)
396  {
397    $this->dynamicClickTracker = $dynamicClickTracker;
398  }
399  /**
400   * @return bool
401   */
402  public function getDynamicClickTracker()
403  {
404    return $this->dynamicClickTracker;
405  }
406  /**
407   * @param string
408   */
409  public function setEndTime($endTime)
410  {
411    $this->endTime = $endTime;
412  }
413  /**
414   * @return string
415   */
416  public function getEndTime()
417  {
418    return $this->endTime;
419  }
420  /**
421   * @param EventTagOverride[]
422   */
423  public function setEventTagOverrides($eventTagOverrides)
424  {
425    $this->eventTagOverrides = $eventTagOverrides;
426  }
427  /**
428   * @return EventTagOverride[]
429   */
430  public function getEventTagOverrides()
431  {
432    return $this->eventTagOverrides;
433  }
434  /**
435   * @param GeoTargeting
436   */
437  public function setGeoTargeting(GeoTargeting $geoTargeting)
438  {
439    $this->geoTargeting = $geoTargeting;
440  }
441  /**
442   * @return GeoTargeting
443   */
444  public function getGeoTargeting()
445  {
446    return $this->geoTargeting;
447  }
448  /**
449   * @param string
450   */
451  public function setId($id)
452  {
453    $this->id = $id;
454  }
455  /**
456   * @return string
457   */
458  public function getId()
459  {
460    return $this->id;
461  }
462  /**
463   * @param DimensionValue
464   */
465  public function setIdDimensionValue(DimensionValue $idDimensionValue)
466  {
467    $this->idDimensionValue = $idDimensionValue;
468  }
469  /**
470   * @return DimensionValue
471   */
472  public function getIdDimensionValue()
473  {
474    return $this->idDimensionValue;
475  }
476  /**
477   * @param KeyValueTargetingExpression
478   */
479  public function setKeyValueTargetingExpression(KeyValueTargetingExpression $keyValueTargetingExpression)
480  {
481    $this->keyValueTargetingExpression = $keyValueTargetingExpression;
482  }
483  /**
484   * @return KeyValueTargetingExpression
485   */
486  public function getKeyValueTargetingExpression()
487  {
488    return $this->keyValueTargetingExpression;
489  }
490  /**
491   * @param string
492   */
493  public function setKind($kind)
494  {
495    $this->kind = $kind;
496  }
497  /**
498   * @return string
499   */
500  public function getKind()
501  {
502    return $this->kind;
503  }
504  /**
505   * @param LanguageTargeting
506   */
507  public function setLanguageTargeting(LanguageTargeting $languageTargeting)
508  {
509    $this->languageTargeting = $languageTargeting;
510  }
511  /**
512   * @return LanguageTargeting
513   */
514  public function getLanguageTargeting()
515  {
516    return $this->languageTargeting;
517  }
518  /**
519   * @param LastModifiedInfo
520   */
521  public function setLastModifiedInfo(LastModifiedInfo $lastModifiedInfo)
522  {
523    $this->lastModifiedInfo = $lastModifiedInfo;
524  }
525  /**
526   * @return LastModifiedInfo
527   */
528  public function getLastModifiedInfo()
529  {
530    return $this->lastModifiedInfo;
531  }
532  /**
533   * @param string
534   */
535  public function setName($name)
536  {
537    $this->name = $name;
538  }
539  /**
540   * @return string
541   */
542  public function getName()
543  {
544    return $this->name;
545  }
546  /**
547   * @param PlacementAssignment[]
548   */
549  public function setPlacementAssignments($placementAssignments)
550  {
551    $this->placementAssignments = $placementAssignments;
552  }
553  /**
554   * @return PlacementAssignment[]
555   */
556  public function getPlacementAssignments()
557  {
558    return $this->placementAssignments;
559  }
560  /**
561   * @param ListTargetingExpression
562   */
563  public function setRemarketingListExpression(ListTargetingExpression $remarketingListExpression)
564  {
565    $this->remarketingListExpression = $remarketingListExpression;
566  }
567  /**
568   * @return ListTargetingExpression
569   */
570  public function getRemarketingListExpression()
571  {
572    return $this->remarketingListExpression;
573  }
574  /**
575   * @param Size
576   */
577  public function setSize(Size $size)
578  {
579    $this->size = $size;
580  }
581  /**
582   * @return Size
583   */
584  public function getSize()
585  {
586    return $this->size;
587  }
588  /**
589   * @param bool
590   */
591  public function setSslCompliant($sslCompliant)
592  {
593    $this->sslCompliant = $sslCompliant;
594  }
595  /**
596   * @return bool
597   */
598  public function getSslCompliant()
599  {
600    return $this->sslCompliant;
601  }
602  /**
603   * @param bool
604   */
605  public function setSslRequired($sslRequired)
606  {
607    $this->sslRequired = $sslRequired;
608  }
609  /**
610   * @return bool
611   */
612  public function getSslRequired()
613  {
614    return $this->sslRequired;
615  }
616  /**
617   * @param string
618   */
619  public function setStartTime($startTime)
620  {
621    $this->startTime = $startTime;
622  }
623  /**
624   * @return string
625   */
626  public function getStartTime()
627  {
628    return $this->startTime;
629  }
630  /**
631   * @param string
632   */
633  public function setSubaccountId($subaccountId)
634  {
635    $this->subaccountId = $subaccountId;
636  }
637  /**
638   * @return string
639   */
640  public function getSubaccountId()
641  {
642    return $this->subaccountId;
643  }
644  /**
645   * @param string
646   */
647  public function setTargetingTemplateId($targetingTemplateId)
648  {
649    $this->targetingTemplateId = $targetingTemplateId;
650  }
651  /**
652   * @return string
653   */
654  public function getTargetingTemplateId()
655  {
656    return $this->targetingTemplateId;
657  }
658  /**
659   * @param TechnologyTargeting
660   */
661  public function setTechnologyTargeting(TechnologyTargeting $technologyTargeting)
662  {
663    $this->technologyTargeting = $technologyTargeting;
664  }
665  /**
666   * @return TechnologyTargeting
667   */
668  public function getTechnologyTargeting()
669  {
670    return $this->technologyTargeting;
671  }
672  /**
673   * @param string
674   */
675  public function setType($type)
676  {
677    $this->type = $type;
678  }
679  /**
680   * @return string
681   */
682  public function getType()
683  {
684    return $this->type;
685  }
686}
687
688// Adding a class alias for backwards compatibility with the previous class name.
689class_alias(Ad::class, 'Google_Service_Dfareporting_Ad');
690