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 PlacementGroup extends \Google\Collection
21{
22  protected $collection_key = 'childPlacementIds';
23  /**
24   * @var string
25   */
26  public $accountId;
27  /**
28   * @var string
29   */
30  public $advertiserId;
31  protected $advertiserIdDimensionValueType = DimensionValue::class;
32  protected $advertiserIdDimensionValueDataType = '';
33  /**
34   * @var bool
35   */
36  public $archived;
37  /**
38   * @var string
39   */
40  public $campaignId;
41  protected $campaignIdDimensionValueType = DimensionValue::class;
42  protected $campaignIdDimensionValueDataType = '';
43  /**
44   * @var string[]
45   */
46  public $childPlacementIds;
47  /**
48   * @var string
49   */
50  public $comment;
51  /**
52   * @var string
53   */
54  public $contentCategoryId;
55  protected $createInfoType = LastModifiedInfo::class;
56  protected $createInfoDataType = '';
57  /**
58   * @var string
59   */
60  public $directorySiteId;
61  protected $directorySiteIdDimensionValueType = DimensionValue::class;
62  protected $directorySiteIdDimensionValueDataType = '';
63  /**
64   * @var string
65   */
66  public $externalId;
67  /**
68   * @var string
69   */
70  public $id;
71  protected $idDimensionValueType = DimensionValue::class;
72  protected $idDimensionValueDataType = '';
73  /**
74   * @var string
75   */
76  public $kind;
77  protected $lastModifiedInfoType = LastModifiedInfo::class;
78  protected $lastModifiedInfoDataType = '';
79  /**
80   * @var string
81   */
82  public $name;
83  /**
84   * @var string
85   */
86  public $placementGroupType;
87  /**
88   * @var string
89   */
90  public $placementStrategyId;
91  protected $pricingScheduleType = PricingSchedule::class;
92  protected $pricingScheduleDataType = '';
93  /**
94   * @var string
95   */
96  public $primaryPlacementId;
97  protected $primaryPlacementIdDimensionValueType = DimensionValue::class;
98  protected $primaryPlacementIdDimensionValueDataType = '';
99  /**
100   * @var string
101   */
102  public $siteId;
103  protected $siteIdDimensionValueType = DimensionValue::class;
104  protected $siteIdDimensionValueDataType = '';
105  /**
106   * @var string
107   */
108  public $subaccountId;
109
110  /**
111   * @param string
112   */
113  public function setAccountId($accountId)
114  {
115    $this->accountId = $accountId;
116  }
117  /**
118   * @return string
119   */
120  public function getAccountId()
121  {
122    return $this->accountId;
123  }
124  /**
125   * @param string
126   */
127  public function setAdvertiserId($advertiserId)
128  {
129    $this->advertiserId = $advertiserId;
130  }
131  /**
132   * @return string
133   */
134  public function getAdvertiserId()
135  {
136    return $this->advertiserId;
137  }
138  /**
139   * @param DimensionValue
140   */
141  public function setAdvertiserIdDimensionValue(DimensionValue $advertiserIdDimensionValue)
142  {
143    $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
144  }
145  /**
146   * @return DimensionValue
147   */
148  public function getAdvertiserIdDimensionValue()
149  {
150    return $this->advertiserIdDimensionValue;
151  }
152  /**
153   * @param bool
154   */
155  public function setArchived($archived)
156  {
157    $this->archived = $archived;
158  }
159  /**
160   * @return bool
161   */
162  public function getArchived()
163  {
164    return $this->archived;
165  }
166  /**
167   * @param string
168   */
169  public function setCampaignId($campaignId)
170  {
171    $this->campaignId = $campaignId;
172  }
173  /**
174   * @return string
175   */
176  public function getCampaignId()
177  {
178    return $this->campaignId;
179  }
180  /**
181   * @param DimensionValue
182   */
183  public function setCampaignIdDimensionValue(DimensionValue $campaignIdDimensionValue)
184  {
185    $this->campaignIdDimensionValue = $campaignIdDimensionValue;
186  }
187  /**
188   * @return DimensionValue
189   */
190  public function getCampaignIdDimensionValue()
191  {
192    return $this->campaignIdDimensionValue;
193  }
194  /**
195   * @param string[]
196   */
197  public function setChildPlacementIds($childPlacementIds)
198  {
199    $this->childPlacementIds = $childPlacementIds;
200  }
201  /**
202   * @return string[]
203   */
204  public function getChildPlacementIds()
205  {
206    return $this->childPlacementIds;
207  }
208  /**
209   * @param string
210   */
211  public function setComment($comment)
212  {
213    $this->comment = $comment;
214  }
215  /**
216   * @return string
217   */
218  public function getComment()
219  {
220    return $this->comment;
221  }
222  /**
223   * @param string
224   */
225  public function setContentCategoryId($contentCategoryId)
226  {
227    $this->contentCategoryId = $contentCategoryId;
228  }
229  /**
230   * @return string
231   */
232  public function getContentCategoryId()
233  {
234    return $this->contentCategoryId;
235  }
236  /**
237   * @param LastModifiedInfo
238   */
239  public function setCreateInfo(LastModifiedInfo $createInfo)
240  {
241    $this->createInfo = $createInfo;
242  }
243  /**
244   * @return LastModifiedInfo
245   */
246  public function getCreateInfo()
247  {
248    return $this->createInfo;
249  }
250  /**
251   * @param string
252   */
253  public function setDirectorySiteId($directorySiteId)
254  {
255    $this->directorySiteId = $directorySiteId;
256  }
257  /**
258   * @return string
259   */
260  public function getDirectorySiteId()
261  {
262    return $this->directorySiteId;
263  }
264  /**
265   * @param DimensionValue
266   */
267  public function setDirectorySiteIdDimensionValue(DimensionValue $directorySiteIdDimensionValue)
268  {
269    $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue;
270  }
271  /**
272   * @return DimensionValue
273   */
274  public function getDirectorySiteIdDimensionValue()
275  {
276    return $this->directorySiteIdDimensionValue;
277  }
278  /**
279   * @param string
280   */
281  public function setExternalId($externalId)
282  {
283    $this->externalId = $externalId;
284  }
285  /**
286   * @return string
287   */
288  public function getExternalId()
289  {
290    return $this->externalId;
291  }
292  /**
293   * @param string
294   */
295  public function setId($id)
296  {
297    $this->id = $id;
298  }
299  /**
300   * @return string
301   */
302  public function getId()
303  {
304    return $this->id;
305  }
306  /**
307   * @param DimensionValue
308   */
309  public function setIdDimensionValue(DimensionValue $idDimensionValue)
310  {
311    $this->idDimensionValue = $idDimensionValue;
312  }
313  /**
314   * @return DimensionValue
315   */
316  public function getIdDimensionValue()
317  {
318    return $this->idDimensionValue;
319  }
320  /**
321   * @param string
322   */
323  public function setKind($kind)
324  {
325    $this->kind = $kind;
326  }
327  /**
328   * @return string
329   */
330  public function getKind()
331  {
332    return $this->kind;
333  }
334  /**
335   * @param LastModifiedInfo
336   */
337  public function setLastModifiedInfo(LastModifiedInfo $lastModifiedInfo)
338  {
339    $this->lastModifiedInfo = $lastModifiedInfo;
340  }
341  /**
342   * @return LastModifiedInfo
343   */
344  public function getLastModifiedInfo()
345  {
346    return $this->lastModifiedInfo;
347  }
348  /**
349   * @param string
350   */
351  public function setName($name)
352  {
353    $this->name = $name;
354  }
355  /**
356   * @return string
357   */
358  public function getName()
359  {
360    return $this->name;
361  }
362  /**
363   * @param string
364   */
365  public function setPlacementGroupType($placementGroupType)
366  {
367    $this->placementGroupType = $placementGroupType;
368  }
369  /**
370   * @return string
371   */
372  public function getPlacementGroupType()
373  {
374    return $this->placementGroupType;
375  }
376  /**
377   * @param string
378   */
379  public function setPlacementStrategyId($placementStrategyId)
380  {
381    $this->placementStrategyId = $placementStrategyId;
382  }
383  /**
384   * @return string
385   */
386  public function getPlacementStrategyId()
387  {
388    return $this->placementStrategyId;
389  }
390  /**
391   * @param PricingSchedule
392   */
393  public function setPricingSchedule(PricingSchedule $pricingSchedule)
394  {
395    $this->pricingSchedule = $pricingSchedule;
396  }
397  /**
398   * @return PricingSchedule
399   */
400  public function getPricingSchedule()
401  {
402    return $this->pricingSchedule;
403  }
404  /**
405   * @param string
406   */
407  public function setPrimaryPlacementId($primaryPlacementId)
408  {
409    $this->primaryPlacementId = $primaryPlacementId;
410  }
411  /**
412   * @return string
413   */
414  public function getPrimaryPlacementId()
415  {
416    return $this->primaryPlacementId;
417  }
418  /**
419   * @param DimensionValue
420   */
421  public function setPrimaryPlacementIdDimensionValue(DimensionValue $primaryPlacementIdDimensionValue)
422  {
423    $this->primaryPlacementIdDimensionValue = $primaryPlacementIdDimensionValue;
424  }
425  /**
426   * @return DimensionValue
427   */
428  public function getPrimaryPlacementIdDimensionValue()
429  {
430    return $this->primaryPlacementIdDimensionValue;
431  }
432  /**
433   * @param string
434   */
435  public function setSiteId($siteId)
436  {
437    $this->siteId = $siteId;
438  }
439  /**
440   * @return string
441   */
442  public function getSiteId()
443  {
444    return $this->siteId;
445  }
446  /**
447   * @param DimensionValue
448   */
449  public function setSiteIdDimensionValue(DimensionValue $siteIdDimensionValue)
450  {
451    $this->siteIdDimensionValue = $siteIdDimensionValue;
452  }
453  /**
454   * @return DimensionValue
455   */
456  public function getSiteIdDimensionValue()
457  {
458    return $this->siteIdDimensionValue;
459  }
460  /**
461   * @param string
462   */
463  public function setSubaccountId($subaccountId)
464  {
465    $this->subaccountId = $subaccountId;
466  }
467  /**
468   * @return string
469   */
470  public function getSubaccountId()
471  {
472    return $this->subaccountId;
473  }
474}
475
476// Adding a class alias for backwards compatibility with the previous class name.
477class_alias(PlacementGroup::class, 'Google_Service_Dfareporting_PlacementGroup');
478