source: vendor/google/apiclient-services/src/RealTimeBidding/Creative.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 7.4 KB
Line 
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 Creative extends \Google\Collection
21{
22 protected $collection_key = 'restrictedCategories';
23 /**
24 * @var string
25 */
26 public $accountId;
27 /**
28 * @var string
29 */
30 public $adChoicesDestinationUrl;
31 /**
32 * @var string
33 */
34 public $advertiserName;
35 /**
36 * @var string
37 */
38 public $agencyId;
39 /**
40 * @var string
41 */
42 public $apiUpdateTime;
43 /**
44 * @var string
45 */
46 public $creativeFormat;
47 /**
48 * @var string
49 */
50 public $creativeId;
51 protected $creativeServingDecisionType = CreativeServingDecision::class;
52 protected $creativeServingDecisionDataType = '';
53 /**
54 * @var string[]
55 */
56 public $dealIds;
57 /**
58 * @var string[]
59 */
60 public $declaredAttributes;
61 /**
62 * @var string[]
63 */
64 public $declaredClickThroughUrls;
65 /**
66 * @var string[]
67 */
68 public $declaredRestrictedCategories;
69 /**
70 * @var int[]
71 */
72 public $declaredVendorIds;
73 protected $htmlType = HtmlContent::class;
74 protected $htmlDataType = '';
75 /**
76 * @var string[]
77 */
78 public $impressionTrackingUrls;
79 /**
80 * @var string
81 */
82 public $name;
83 protected $nativeType = NativeContent::class;
84 protected $nativeDataType = '';
85 /**
86 * @var string
87 */
88 public $renderUrl;
89 /**
90 * @var string[]
91 */
92 public $restrictedCategories;
93 /**
94 * @var int
95 */
96 public $version;
97 protected $videoType = VideoContent::class;
98 protected $videoDataType = '';
99
100 /**
101 * @param string
102 */
103 public function setAccountId($accountId)
104 {
105 $this->accountId = $accountId;
106 }
107 /**
108 * @return string
109 */
110 public function getAccountId()
111 {
112 return $this->accountId;
113 }
114 /**
115 * @param string
116 */
117 public function setAdChoicesDestinationUrl($adChoicesDestinationUrl)
118 {
119 $this->adChoicesDestinationUrl = $adChoicesDestinationUrl;
120 }
121 /**
122 * @return string
123 */
124 public function getAdChoicesDestinationUrl()
125 {
126 return $this->adChoicesDestinationUrl;
127 }
128 /**
129 * @param string
130 */
131 public function setAdvertiserName($advertiserName)
132 {
133 $this->advertiserName = $advertiserName;
134 }
135 /**
136 * @return string
137 */
138 public function getAdvertiserName()
139 {
140 return $this->advertiserName;
141 }
142 /**
143 * @param string
144 */
145 public function setAgencyId($agencyId)
146 {
147 $this->agencyId = $agencyId;
148 }
149 /**
150 * @return string
151 */
152 public function getAgencyId()
153 {
154 return $this->agencyId;
155 }
156 /**
157 * @param string
158 */
159 public function setApiUpdateTime($apiUpdateTime)
160 {
161 $this->apiUpdateTime = $apiUpdateTime;
162 }
163 /**
164 * @return string
165 */
166 public function getApiUpdateTime()
167 {
168 return $this->apiUpdateTime;
169 }
170 /**
171 * @param string
172 */
173 public function setCreativeFormat($creativeFormat)
174 {
175 $this->creativeFormat = $creativeFormat;
176 }
177 /**
178 * @return string
179 */
180 public function getCreativeFormat()
181 {
182 return $this->creativeFormat;
183 }
184 /**
185 * @param string
186 */
187 public function setCreativeId($creativeId)
188 {
189 $this->creativeId = $creativeId;
190 }
191 /**
192 * @return string
193 */
194 public function getCreativeId()
195 {
196 return $this->creativeId;
197 }
198 /**
199 * @param CreativeServingDecision
200 */
201 public function setCreativeServingDecision(CreativeServingDecision $creativeServingDecision)
202 {
203 $this->creativeServingDecision = $creativeServingDecision;
204 }
205 /**
206 * @return CreativeServingDecision
207 */
208 public function getCreativeServingDecision()
209 {
210 return $this->creativeServingDecision;
211 }
212 /**
213 * @param string[]
214 */
215 public function setDealIds($dealIds)
216 {
217 $this->dealIds = $dealIds;
218 }
219 /**
220 * @return string[]
221 */
222 public function getDealIds()
223 {
224 return $this->dealIds;
225 }
226 /**
227 * @param string[]
228 */
229 public function setDeclaredAttributes($declaredAttributes)
230 {
231 $this->declaredAttributes = $declaredAttributes;
232 }
233 /**
234 * @return string[]
235 */
236 public function getDeclaredAttributes()
237 {
238 return $this->declaredAttributes;
239 }
240 /**
241 * @param string[]
242 */
243 public function setDeclaredClickThroughUrls($declaredClickThroughUrls)
244 {
245 $this->declaredClickThroughUrls = $declaredClickThroughUrls;
246 }
247 /**
248 * @return string[]
249 */
250 public function getDeclaredClickThroughUrls()
251 {
252 return $this->declaredClickThroughUrls;
253 }
254 /**
255 * @param string[]
256 */
257 public function setDeclaredRestrictedCategories($declaredRestrictedCategories)
258 {
259 $this->declaredRestrictedCategories = $declaredRestrictedCategories;
260 }
261 /**
262 * @return string[]
263 */
264 public function getDeclaredRestrictedCategories()
265 {
266 return $this->declaredRestrictedCategories;
267 }
268 /**
269 * @param int[]
270 */
271 public function setDeclaredVendorIds($declaredVendorIds)
272 {
273 $this->declaredVendorIds = $declaredVendorIds;
274 }
275 /**
276 * @return int[]
277 */
278 public function getDeclaredVendorIds()
279 {
280 return $this->declaredVendorIds;
281 }
282 /**
283 * @param HtmlContent
284 */
285 public function setHtml(HtmlContent $html)
286 {
287 $this->html = $html;
288 }
289 /**
290 * @return HtmlContent
291 */
292 public function getHtml()
293 {
294 return $this->html;
295 }
296 /**
297 * @param string[]
298 */
299 public function setImpressionTrackingUrls($impressionTrackingUrls)
300 {
301 $this->impressionTrackingUrls = $impressionTrackingUrls;
302 }
303 /**
304 * @return string[]
305 */
306 public function getImpressionTrackingUrls()
307 {
308 return $this->impressionTrackingUrls;
309 }
310 /**
311 * @param string
312 */
313 public function setName($name)
314 {
315 $this->name = $name;
316 }
317 /**
318 * @return string
319 */
320 public function getName()
321 {
322 return $this->name;
323 }
324 /**
325 * @param NativeContent
326 */
327 public function setNative(NativeContent $native)
328 {
329 $this->native = $native;
330 }
331 /**
332 * @return NativeContent
333 */
334 public function getNative()
335 {
336 return $this->native;
337 }
338 /**
339 * @param string
340 */
341 public function setRenderUrl($renderUrl)
342 {
343 $this->renderUrl = $renderUrl;
344 }
345 /**
346 * @return string
347 */
348 public function getRenderUrl()
349 {
350 return $this->renderUrl;
351 }
352 /**
353 * @param string[]
354 */
355 public function setRestrictedCategories($restrictedCategories)
356 {
357 $this->restrictedCategories = $restrictedCategories;
358 }
359 /**
360 * @return string[]
361 */
362 public function getRestrictedCategories()
363 {
364 return $this->restrictedCategories;
365 }
366 /**
367 * @param int
368 */
369 public function setVersion($version)
370 {
371 $this->version = $version;
372 }
373 /**
374 * @return int
375 */
376 public function getVersion()
377 {
378 return $this->version;
379 }
380 /**
381 * @param VideoContent
382 */
383 public function setVideo(VideoContent $video)
384 {
385 $this->video = $video;
386 }
387 /**
388 * @return VideoContent
389 */
390 public function getVideo()
391 {
392 return $this->video;
393 }
394}
395
396// Adding a class alias for backwards compatibility with the previous class name.
397class_alias(Creative::class, 'Google_Service_RealTimeBidding_Creative');
Note: See TracBrowser for help on using the repository browser.