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\RealTimeBidding;
19
20class PretargetingConfig extends \Google\Collection
21{
22  protected $collection_key = 'invalidGeoIds';
23  /**
24   * @var string[]
25   */
26  public $allowedUserTargetingModes;
27  protected $appTargetingType = AppTargeting::class;
28  protected $appTargetingDataType = '';
29  /**
30   * @var string
31   */
32  public $billingId;
33  /**
34   * @var string
35   */
36  public $displayName;
37  /**
38   * @var string[]
39   */
40  public $excludedContentLabelIds;
41  protected $geoTargetingType = NumericTargetingDimension::class;
42  protected $geoTargetingDataType = '';
43  protected $includedCreativeDimensionsType = CreativeDimensions::class;
44  protected $includedCreativeDimensionsDataType = 'array';
45  /**
46   * @var string[]
47   */
48  public $includedEnvironments;
49  /**
50   * @var string[]
51   */
52  public $includedFormats;
53  /**
54   * @var string[]
55   */
56  public $includedLanguages;
57  /**
58   * @var string[]
59   */
60  public $includedMobileOperatingSystemIds;
61  /**
62   * @var string[]
63   */
64  public $includedPlatforms;
65  /**
66   * @var string[]
67   */
68  public $includedUserIdTypes;
69  /**
70   * @var string
71   */
72  public $interstitialTargeting;
73  /**
74   * @var string[]
75   */
76  public $invalidGeoIds;
77  /**
78   * @var string
79   */
80  public $maximumQps;
81  /**
82   * @var int
83   */
84  public $minimumViewabilityDecile;
85  /**
86   * @var string
87   */
88  public $name;
89  protected $publisherTargetingType = StringTargetingDimension::class;
90  protected $publisherTargetingDataType = '';
91  /**
92   * @var string
93   */
94  public $state;
95  protected $userListTargetingType = NumericTargetingDimension::class;
96  protected $userListTargetingDataType = '';
97  protected $verticalTargetingType = NumericTargetingDimension::class;
98  protected $verticalTargetingDataType = '';
99  protected $webTargetingType = StringTargetingDimension::class;
100  protected $webTargetingDataType = '';
101
102  /**
103   * @param string[]
104   */
105  public function setAllowedUserTargetingModes($allowedUserTargetingModes)
106  {
107    $this->allowedUserTargetingModes = $allowedUserTargetingModes;
108  }
109  /**
110   * @return string[]
111   */
112  public function getAllowedUserTargetingModes()
113  {
114    return $this->allowedUserTargetingModes;
115  }
116  /**
117   * @param AppTargeting
118   */
119  public function setAppTargeting(AppTargeting $appTargeting)
120  {
121    $this->appTargeting = $appTargeting;
122  }
123  /**
124   * @return AppTargeting
125   */
126  public function getAppTargeting()
127  {
128    return $this->appTargeting;
129  }
130  /**
131   * @param string
132   */
133  public function setBillingId($billingId)
134  {
135    $this->billingId = $billingId;
136  }
137  /**
138   * @return string
139   */
140  public function getBillingId()
141  {
142    return $this->billingId;
143  }
144  /**
145   * @param string
146   */
147  public function setDisplayName($displayName)
148  {
149    $this->displayName = $displayName;
150  }
151  /**
152   * @return string
153   */
154  public function getDisplayName()
155  {
156    return $this->displayName;
157  }
158  /**
159   * @param string[]
160   */
161  public function setExcludedContentLabelIds($excludedContentLabelIds)
162  {
163    $this->excludedContentLabelIds = $excludedContentLabelIds;
164  }
165  /**
166   * @return string[]
167   */
168  public function getExcludedContentLabelIds()
169  {
170    return $this->excludedContentLabelIds;
171  }
172  /**
173   * @param NumericTargetingDimension
174   */
175  public function setGeoTargeting(NumericTargetingDimension $geoTargeting)
176  {
177    $this->geoTargeting = $geoTargeting;
178  }
179  /**
180   * @return NumericTargetingDimension
181   */
182  public function getGeoTargeting()
183  {
184    return $this->geoTargeting;
185  }
186  /**
187   * @param CreativeDimensions[]
188   */
189  public function setIncludedCreativeDimensions($includedCreativeDimensions)
190  {
191    $this->includedCreativeDimensions = $includedCreativeDimensions;
192  }
193  /**
194   * @return CreativeDimensions[]
195   */
196  public function getIncludedCreativeDimensions()
197  {
198    return $this->includedCreativeDimensions;
199  }
200  /**
201   * @param string[]
202   */
203  public function setIncludedEnvironments($includedEnvironments)
204  {
205    $this->includedEnvironments = $includedEnvironments;
206  }
207  /**
208   * @return string[]
209   */
210  public function getIncludedEnvironments()
211  {
212    return $this->includedEnvironments;
213  }
214  /**
215   * @param string[]
216   */
217  public function setIncludedFormats($includedFormats)
218  {
219    $this->includedFormats = $includedFormats;
220  }
221  /**
222   * @return string[]
223   */
224  public function getIncludedFormats()
225  {
226    return $this->includedFormats;
227  }
228  /**
229   * @param string[]
230   */
231  public function setIncludedLanguages($includedLanguages)
232  {
233    $this->includedLanguages = $includedLanguages;
234  }
235  /**
236   * @return string[]
237   */
238  public function getIncludedLanguages()
239  {
240    return $this->includedLanguages;
241  }
242  /**
243   * @param string[]
244   */
245  public function setIncludedMobileOperatingSystemIds($includedMobileOperatingSystemIds)
246  {
247    $this->includedMobileOperatingSystemIds = $includedMobileOperatingSystemIds;
248  }
249  /**
250   * @return string[]
251   */
252  public function getIncludedMobileOperatingSystemIds()
253  {
254    return $this->includedMobileOperatingSystemIds;
255  }
256  /**
257   * @param string[]
258   */
259  public function setIncludedPlatforms($includedPlatforms)
260  {
261    $this->includedPlatforms = $includedPlatforms;
262  }
263  /**
264   * @return string[]
265   */
266  public function getIncludedPlatforms()
267  {
268    return $this->includedPlatforms;
269  }
270  /**
271   * @param string[]
272   */
273  public function setIncludedUserIdTypes($includedUserIdTypes)
274  {
275    $this->includedUserIdTypes = $includedUserIdTypes;
276  }
277  /**
278   * @return string[]
279   */
280  public function getIncludedUserIdTypes()
281  {
282    return $this->includedUserIdTypes;
283  }
284  /**
285   * @param string
286   */
287  public function setInterstitialTargeting($interstitialTargeting)
288  {
289    $this->interstitialTargeting = $interstitialTargeting;
290  }
291  /**
292   * @return string
293   */
294  public function getInterstitialTargeting()
295  {
296    return $this->interstitialTargeting;
297  }
298  /**
299   * @param string[]
300   */
301  public function setInvalidGeoIds($invalidGeoIds)
302  {
303    $this->invalidGeoIds = $invalidGeoIds;
304  }
305  /**
306   * @return string[]
307   */
308  public function getInvalidGeoIds()
309  {
310    return $this->invalidGeoIds;
311  }
312  /**
313   * @param string
314   */
315  public function setMaximumQps($maximumQps)
316  {
317    $this->maximumQps = $maximumQps;
318  }
319  /**
320   * @return string
321   */
322  public function getMaximumQps()
323  {
324    return $this->maximumQps;
325  }
326  /**
327   * @param int
328   */
329  public function setMinimumViewabilityDecile($minimumViewabilityDecile)
330  {
331    $this->minimumViewabilityDecile = $minimumViewabilityDecile;
332  }
333  /**
334   * @return int
335   */
336  public function getMinimumViewabilityDecile()
337  {
338    return $this->minimumViewabilityDecile;
339  }
340  /**
341   * @param string
342   */
343  public function setName($name)
344  {
345    $this->name = $name;
346  }
347  /**
348   * @return string
349   */
350  public function getName()
351  {
352    return $this->name;
353  }
354  /**
355   * @param StringTargetingDimension
356   */
357  public function setPublisherTargeting(StringTargetingDimension $publisherTargeting)
358  {
359    $this->publisherTargeting = $publisherTargeting;
360  }
361  /**
362   * @return StringTargetingDimension
363   */
364  public function getPublisherTargeting()
365  {
366    return $this->publisherTargeting;
367  }
368  /**
369   * @param string
370   */
371  public function setState($state)
372  {
373    $this->state = $state;
374  }
375  /**
376   * @return string
377   */
378  public function getState()
379  {
380    return $this->state;
381  }
382  /**
383   * @param NumericTargetingDimension
384   */
385  public function setUserListTargeting(NumericTargetingDimension $userListTargeting)
386  {
387    $this->userListTargeting = $userListTargeting;
388  }
389  /**
390   * @return NumericTargetingDimension
391   */
392  public function getUserListTargeting()
393  {
394    return $this->userListTargeting;
395  }
396  /**
397   * @param NumericTargetingDimension
398   */
399  public function setVerticalTargeting(NumericTargetingDimension $verticalTargeting)
400  {
401    $this->verticalTargeting = $verticalTargeting;
402  }
403  /**
404   * @return NumericTargetingDimension
405   */
406  public function getVerticalTargeting()
407  {
408    return $this->verticalTargeting;
409  }
410  /**
411   * @param StringTargetingDimension
412   */
413  public function setWebTargeting(StringTargetingDimension $webTargeting)
414  {
415    $this->webTargeting = $webTargeting;
416  }
417  /**
418   * @return StringTargetingDimension
419   */
420  public function getWebTargeting()
421  {
422    return $this->webTargeting;
423  }
424}
425
426// Adding a class alias for backwards compatibility with the previous class name.
427class_alias(PretargetingConfig::class, 'Google_Service_RealTimeBidding_PretargetingConfig');
428