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\AdExchangeBuyerII;
19
20class Creative extends \Google\Collection
21{
22  protected $collection_key = 'vendorIds';
23  /**
24   * @var string
25   */
26  public $accountId;
27  /**
28   * @var string
29   */
30  public $adChoicesDestinationUrl;
31  protected $adTechnologyProvidersType = AdTechnologyProviders::class;
32  protected $adTechnologyProvidersDataType = '';
33  /**
34   * @var string
35   */
36  public $advertiserName;
37  /**
38   * @var string
39   */
40  public $agencyId;
41  /**
42   * @var string
43   */
44  public $apiUpdateTime;
45  /**
46   * @var string[]
47   */
48  public $attributes;
49  /**
50   * @var string[]
51   */
52  public $clickThroughUrls;
53  protected $correctionsType = Correction::class;
54  protected $correctionsDataType = 'array';
55  /**
56   * @var string
57   */
58  public $creativeId;
59  /**
60   * @var string
61   */
62  public $dealsStatus;
63  /**
64   * @var string[]
65   */
66  public $declaredClickThroughUrls;
67  /**
68   * @var string[]
69   */
70  public $detectedAdvertiserIds;
71  /**
72   * @var string[]
73   */
74  public $detectedDomains;
75  /**
76   * @var string[]
77   */
78  public $detectedLanguages;
79  /**
80   * @var int[]
81   */
82  public $detectedProductCategories;
83  /**
84   * @var int[]
85   */
86  public $detectedSensitiveCategories;
87  protected $htmlType = HtmlContent::class;
88  protected $htmlDataType = '';
89  /**
90   * @var string[]
91   */
92  public $impressionTrackingUrls;
93  protected $nativeType = NativeContent::class;
94  protected $nativeDataType = '';
95  /**
96   * @var string
97   */
98  public $openAuctionStatus;
99  /**
100   * @var string[]
101   */
102  public $restrictedCategories;
103  protected $servingRestrictionsType = ServingRestriction::class;
104  protected $servingRestrictionsDataType = 'array';
105  /**
106   * @var int[]
107   */
108  public $vendorIds;
109  /**
110   * @var int
111   */
112  public $version;
113  protected $videoType = VideoContent::class;
114  protected $videoDataType = '';
115
116  /**
117   * @param string
118   */
119  public function setAccountId($accountId)
120  {
121    $this->accountId = $accountId;
122  }
123  /**
124   * @return string
125   */
126  public function getAccountId()
127  {
128    return $this->accountId;
129  }
130  /**
131   * @param string
132   */
133  public function setAdChoicesDestinationUrl($adChoicesDestinationUrl)
134  {
135    $this->adChoicesDestinationUrl = $adChoicesDestinationUrl;
136  }
137  /**
138   * @return string
139   */
140  public function getAdChoicesDestinationUrl()
141  {
142    return $this->adChoicesDestinationUrl;
143  }
144  /**
145   * @param AdTechnologyProviders
146   */
147  public function setAdTechnologyProviders(AdTechnologyProviders $adTechnologyProviders)
148  {
149    $this->adTechnologyProviders = $adTechnologyProviders;
150  }
151  /**
152   * @return AdTechnologyProviders
153   */
154  public function getAdTechnologyProviders()
155  {
156    return $this->adTechnologyProviders;
157  }
158  /**
159   * @param string
160   */
161  public function setAdvertiserName($advertiserName)
162  {
163    $this->advertiserName = $advertiserName;
164  }
165  /**
166   * @return string
167   */
168  public function getAdvertiserName()
169  {
170    return $this->advertiserName;
171  }
172  /**
173   * @param string
174   */
175  public function setAgencyId($agencyId)
176  {
177    $this->agencyId = $agencyId;
178  }
179  /**
180   * @return string
181   */
182  public function getAgencyId()
183  {
184    return $this->agencyId;
185  }
186  /**
187   * @param string
188   */
189  public function setApiUpdateTime($apiUpdateTime)
190  {
191    $this->apiUpdateTime = $apiUpdateTime;
192  }
193  /**
194   * @return string
195   */
196  public function getApiUpdateTime()
197  {
198    return $this->apiUpdateTime;
199  }
200  /**
201   * @param string[]
202   */
203  public function setAttributes($attributes)
204  {
205    $this->attributes = $attributes;
206  }
207  /**
208   * @return string[]
209   */
210  public function getAttributes()
211  {
212    return $this->attributes;
213  }
214  /**
215   * @param string[]
216   */
217  public function setClickThroughUrls($clickThroughUrls)
218  {
219    $this->clickThroughUrls = $clickThroughUrls;
220  }
221  /**
222   * @return string[]
223   */
224  public function getClickThroughUrls()
225  {
226    return $this->clickThroughUrls;
227  }
228  /**
229   * @param Correction[]
230   */
231  public function setCorrections($corrections)
232  {
233    $this->corrections = $corrections;
234  }
235  /**
236   * @return Correction[]
237   */
238  public function getCorrections()
239  {
240    return $this->corrections;
241  }
242  /**
243   * @param string
244   */
245  public function setCreativeId($creativeId)
246  {
247    $this->creativeId = $creativeId;
248  }
249  /**
250   * @return string
251   */
252  public function getCreativeId()
253  {
254    return $this->creativeId;
255  }
256  /**
257   * @param string
258   */
259  public function setDealsStatus($dealsStatus)
260  {
261    $this->dealsStatus = $dealsStatus;
262  }
263  /**
264   * @return string
265   */
266  public function getDealsStatus()
267  {
268    return $this->dealsStatus;
269  }
270  /**
271   * @param string[]
272   */
273  public function setDeclaredClickThroughUrls($declaredClickThroughUrls)
274  {
275    $this->declaredClickThroughUrls = $declaredClickThroughUrls;
276  }
277  /**
278   * @return string[]
279   */
280  public function getDeclaredClickThroughUrls()
281  {
282    return $this->declaredClickThroughUrls;
283  }
284  /**
285   * @param string[]
286   */
287  public function setDetectedAdvertiserIds($detectedAdvertiserIds)
288  {
289    $this->detectedAdvertiserIds = $detectedAdvertiserIds;
290  }
291  /**
292   * @return string[]
293   */
294  public function getDetectedAdvertiserIds()
295  {
296    return $this->detectedAdvertiserIds;
297  }
298  /**
299   * @param string[]
300   */
301  public function setDetectedDomains($detectedDomains)
302  {
303    $this->detectedDomains = $detectedDomains;
304  }
305  /**
306   * @return string[]
307   */
308  public function getDetectedDomains()
309  {
310    return $this->detectedDomains;
311  }
312  /**
313   * @param string[]
314   */
315  public function setDetectedLanguages($detectedLanguages)
316  {
317    $this->detectedLanguages = $detectedLanguages;
318  }
319  /**
320   * @return string[]
321   */
322  public function getDetectedLanguages()
323  {
324    return $this->detectedLanguages;
325  }
326  /**
327   * @param int[]
328   */
329  public function setDetectedProductCategories($detectedProductCategories)
330  {
331    $this->detectedProductCategories = $detectedProductCategories;
332  }
333  /**
334   * @return int[]
335   */
336  public function getDetectedProductCategories()
337  {
338    return $this->detectedProductCategories;
339  }
340  /**
341   * @param int[]
342   */
343  public function setDetectedSensitiveCategories($detectedSensitiveCategories)
344  {
345    $this->detectedSensitiveCategories = $detectedSensitiveCategories;
346  }
347  /**
348   * @return int[]
349   */
350  public function getDetectedSensitiveCategories()
351  {
352    return $this->detectedSensitiveCategories;
353  }
354  /**
355   * @param HtmlContent
356   */
357  public function setHtml(HtmlContent $html)
358  {
359    $this->html = $html;
360  }
361  /**
362   * @return HtmlContent
363   */
364  public function getHtml()
365  {
366    return $this->html;
367  }
368  /**
369   * @param string[]
370   */
371  public function setImpressionTrackingUrls($impressionTrackingUrls)
372  {
373    $this->impressionTrackingUrls = $impressionTrackingUrls;
374  }
375  /**
376   * @return string[]
377   */
378  public function getImpressionTrackingUrls()
379  {
380    return $this->impressionTrackingUrls;
381  }
382  /**
383   * @param NativeContent
384   */
385  public function setNative(NativeContent $native)
386  {
387    $this->native = $native;
388  }
389  /**
390   * @return NativeContent
391   */
392  public function getNative()
393  {
394    return $this->native;
395  }
396  /**
397   * @param string
398   */
399  public function setOpenAuctionStatus($openAuctionStatus)
400  {
401    $this->openAuctionStatus = $openAuctionStatus;
402  }
403  /**
404   * @return string
405   */
406  public function getOpenAuctionStatus()
407  {
408    return $this->openAuctionStatus;
409  }
410  /**
411   * @param string[]
412   */
413  public function setRestrictedCategories($restrictedCategories)
414  {
415    $this->restrictedCategories = $restrictedCategories;
416  }
417  /**
418   * @return string[]
419   */
420  public function getRestrictedCategories()
421  {
422    return $this->restrictedCategories;
423  }
424  /**
425   * @param ServingRestriction[]
426   */
427  public function setServingRestrictions($servingRestrictions)
428  {
429    $this->servingRestrictions = $servingRestrictions;
430  }
431  /**
432   * @return ServingRestriction[]
433   */
434  public function getServingRestrictions()
435  {
436    return $this->servingRestrictions;
437  }
438  /**
439   * @param int[]
440   */
441  public function setVendorIds($vendorIds)
442  {
443    $this->vendorIds = $vendorIds;
444  }
445  /**
446   * @return int[]
447   */
448  public function getVendorIds()
449  {
450    return $this->vendorIds;
451  }
452  /**
453   * @param int
454   */
455  public function setVersion($version)
456  {
457    $this->version = $version;
458  }
459  /**
460   * @return int
461   */
462  public function getVersion()
463  {
464    return $this->version;
465  }
466  /**
467   * @param VideoContent
468   */
469  public function setVideo(VideoContent $video)
470  {
471    $this->video = $video;
472  }
473  /**
474   * @return VideoContent
475   */
476  public function getVideo()
477  {
478    return $this->video;
479  }
480}
481
482// Adding a class alias for backwards compatibility with the previous class name.
483class_alias(Creative::class, 'Google_Service_AdExchangeBuyerII_Creative');
484