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 TargetingTemplate extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $accountId;
26  /**
27   * @var string
28   */
29  public $advertiserId;
30  protected $advertiserIdDimensionValueType = DimensionValue::class;
31  protected $advertiserIdDimensionValueDataType = '';
32  protected $dayPartTargetingType = DayPartTargeting::class;
33  protected $dayPartTargetingDataType = '';
34  protected $geoTargetingType = GeoTargeting::class;
35  protected $geoTargetingDataType = '';
36  /**
37   * @var string
38   */
39  public $id;
40  protected $keyValueTargetingExpressionType = KeyValueTargetingExpression::class;
41  protected $keyValueTargetingExpressionDataType = '';
42  /**
43   * @var string
44   */
45  public $kind;
46  protected $languageTargetingType = LanguageTargeting::class;
47  protected $languageTargetingDataType = '';
48  protected $listTargetingExpressionType = ListTargetingExpression::class;
49  protected $listTargetingExpressionDataType = '';
50  /**
51   * @var string
52   */
53  public $name;
54  /**
55   * @var string
56   */
57  public $subaccountId;
58  protected $technologyTargetingType = TechnologyTargeting::class;
59  protected $technologyTargetingDataType = '';
60
61  /**
62   * @param string
63   */
64  public function setAccountId($accountId)
65  {
66    $this->accountId = $accountId;
67  }
68  /**
69   * @return string
70   */
71  public function getAccountId()
72  {
73    return $this->accountId;
74  }
75  /**
76   * @param string
77   */
78  public function setAdvertiserId($advertiserId)
79  {
80    $this->advertiserId = $advertiserId;
81  }
82  /**
83   * @return string
84   */
85  public function getAdvertiserId()
86  {
87    return $this->advertiserId;
88  }
89  /**
90   * @param DimensionValue
91   */
92  public function setAdvertiserIdDimensionValue(DimensionValue $advertiserIdDimensionValue)
93  {
94    $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
95  }
96  /**
97   * @return DimensionValue
98   */
99  public function getAdvertiserIdDimensionValue()
100  {
101    return $this->advertiserIdDimensionValue;
102  }
103  /**
104   * @param DayPartTargeting
105   */
106  public function setDayPartTargeting(DayPartTargeting $dayPartTargeting)
107  {
108    $this->dayPartTargeting = $dayPartTargeting;
109  }
110  /**
111   * @return DayPartTargeting
112   */
113  public function getDayPartTargeting()
114  {
115    return $this->dayPartTargeting;
116  }
117  /**
118   * @param GeoTargeting
119   */
120  public function setGeoTargeting(GeoTargeting $geoTargeting)
121  {
122    $this->geoTargeting = $geoTargeting;
123  }
124  /**
125   * @return GeoTargeting
126   */
127  public function getGeoTargeting()
128  {
129    return $this->geoTargeting;
130  }
131  /**
132   * @param string
133   */
134  public function setId($id)
135  {
136    $this->id = $id;
137  }
138  /**
139   * @return string
140   */
141  public function getId()
142  {
143    return $this->id;
144  }
145  /**
146   * @param KeyValueTargetingExpression
147   */
148  public function setKeyValueTargetingExpression(KeyValueTargetingExpression $keyValueTargetingExpression)
149  {
150    $this->keyValueTargetingExpression = $keyValueTargetingExpression;
151  }
152  /**
153   * @return KeyValueTargetingExpression
154   */
155  public function getKeyValueTargetingExpression()
156  {
157    return $this->keyValueTargetingExpression;
158  }
159  /**
160   * @param string
161   */
162  public function setKind($kind)
163  {
164    $this->kind = $kind;
165  }
166  /**
167   * @return string
168   */
169  public function getKind()
170  {
171    return $this->kind;
172  }
173  /**
174   * @param LanguageTargeting
175   */
176  public function setLanguageTargeting(LanguageTargeting $languageTargeting)
177  {
178    $this->languageTargeting = $languageTargeting;
179  }
180  /**
181   * @return LanguageTargeting
182   */
183  public function getLanguageTargeting()
184  {
185    return $this->languageTargeting;
186  }
187  /**
188   * @param ListTargetingExpression
189   */
190  public function setListTargetingExpression(ListTargetingExpression $listTargetingExpression)
191  {
192    $this->listTargetingExpression = $listTargetingExpression;
193  }
194  /**
195   * @return ListTargetingExpression
196   */
197  public function getListTargetingExpression()
198  {
199    return $this->listTargetingExpression;
200  }
201  /**
202   * @param string
203   */
204  public function setName($name)
205  {
206    $this->name = $name;
207  }
208  /**
209   * @return string
210   */
211  public function getName()
212  {
213    return $this->name;
214  }
215  /**
216   * @param string
217   */
218  public function setSubaccountId($subaccountId)
219  {
220    $this->subaccountId = $subaccountId;
221  }
222  /**
223   * @return string
224   */
225  public function getSubaccountId()
226  {
227    return $this->subaccountId;
228  }
229  /**
230   * @param TechnologyTargeting
231   */
232  public function setTechnologyTargeting(TechnologyTargeting $technologyTargeting)
233  {
234    $this->technologyTargeting = $technologyTargeting;
235  }
236  /**
237   * @return TechnologyTargeting
238   */
239  public function getTechnologyTargeting()
240  {
241    return $this->technologyTargeting;
242  }
243}
244
245// Adding a class alias for backwards compatibility with the previous class name.
246class_alias(TargetingTemplate::class, 'Google_Service_Dfareporting_TargetingTemplate');
247