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 |
|
---|
18 | namespace Google\Service\DisplayVideo;
|
---|
19 |
|
---|
20 | class AdGroupAd extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'adUrls';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $adGroupAdId;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $adGroupId;
|
---|
31 | protected $adUrlsType = AdUrl::class;
|
---|
32 | protected $adUrlsDataType = 'array';
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $advertiserId;
|
---|
37 | protected $audioAdType = AudioAd::class;
|
---|
38 | protected $audioAdDataType = '';
|
---|
39 | protected $bumperAdType = BumperAd::class;
|
---|
40 | protected $bumperAdDataType = '';
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $displayName;
|
---|
45 | protected $displayVideoSourceAdType = DisplayVideoSourceAd::class;
|
---|
46 | protected $displayVideoSourceAdDataType = '';
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $entityStatus;
|
---|
51 | protected $inStreamAdType = InStreamAd::class;
|
---|
52 | protected $inStreamAdDataType = '';
|
---|
53 | protected $mastheadAdType = MastheadAd::class;
|
---|
54 | protected $mastheadAdDataType = '';
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $name;
|
---|
59 | protected $nonSkippableAdType = NonSkippableAd::class;
|
---|
60 | protected $nonSkippableAdDataType = '';
|
---|
61 | protected $videoDiscoverAdType = VideoDiscoveryAd::class;
|
---|
62 | protected $videoDiscoverAdDataType = '';
|
---|
63 | protected $videoPerformanceAdType = VideoPerformanceAd::class;
|
---|
64 | protected $videoPerformanceAdDataType = '';
|
---|
65 |
|
---|
66 | /**
|
---|
67 | * @param string
|
---|
68 | */
|
---|
69 | public function setAdGroupAdId($adGroupAdId)
|
---|
70 | {
|
---|
71 | $this->adGroupAdId = $adGroupAdId;
|
---|
72 | }
|
---|
73 | /**
|
---|
74 | * @return string
|
---|
75 | */
|
---|
76 | public function getAdGroupAdId()
|
---|
77 | {
|
---|
78 | return $this->adGroupAdId;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @param string
|
---|
82 | */
|
---|
83 | public function setAdGroupId($adGroupId)
|
---|
84 | {
|
---|
85 | $this->adGroupId = $adGroupId;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @return string
|
---|
89 | */
|
---|
90 | public function getAdGroupId()
|
---|
91 | {
|
---|
92 | return $this->adGroupId;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @param AdUrl[]
|
---|
96 | */
|
---|
97 | public function setAdUrls($adUrls)
|
---|
98 | {
|
---|
99 | $this->adUrls = $adUrls;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @return AdUrl[]
|
---|
103 | */
|
---|
104 | public function getAdUrls()
|
---|
105 | {
|
---|
106 | return $this->adUrls;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @param string
|
---|
110 | */
|
---|
111 | public function setAdvertiserId($advertiserId)
|
---|
112 | {
|
---|
113 | $this->advertiserId = $advertiserId;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @return string
|
---|
117 | */
|
---|
118 | public function getAdvertiserId()
|
---|
119 | {
|
---|
120 | return $this->advertiserId;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @param AudioAd
|
---|
124 | */
|
---|
125 | public function setAudioAd(AudioAd $audioAd)
|
---|
126 | {
|
---|
127 | $this->audioAd = $audioAd;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @return AudioAd
|
---|
131 | */
|
---|
132 | public function getAudioAd()
|
---|
133 | {
|
---|
134 | return $this->audioAd;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @param BumperAd
|
---|
138 | */
|
---|
139 | public function setBumperAd(BumperAd $bumperAd)
|
---|
140 | {
|
---|
141 | $this->bumperAd = $bumperAd;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @return BumperAd
|
---|
145 | */
|
---|
146 | public function getBumperAd()
|
---|
147 | {
|
---|
148 | return $this->bumperAd;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @param string
|
---|
152 | */
|
---|
153 | public function setDisplayName($displayName)
|
---|
154 | {
|
---|
155 | $this->displayName = $displayName;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @return string
|
---|
159 | */
|
---|
160 | public function getDisplayName()
|
---|
161 | {
|
---|
162 | return $this->displayName;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @param DisplayVideoSourceAd
|
---|
166 | */
|
---|
167 | public function setDisplayVideoSourceAd(DisplayVideoSourceAd $displayVideoSourceAd)
|
---|
168 | {
|
---|
169 | $this->displayVideoSourceAd = $displayVideoSourceAd;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @return DisplayVideoSourceAd
|
---|
173 | */
|
---|
174 | public function getDisplayVideoSourceAd()
|
---|
175 | {
|
---|
176 | return $this->displayVideoSourceAd;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @param string
|
---|
180 | */
|
---|
181 | public function setEntityStatus($entityStatus)
|
---|
182 | {
|
---|
183 | $this->entityStatus = $entityStatus;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @return string
|
---|
187 | */
|
---|
188 | public function getEntityStatus()
|
---|
189 | {
|
---|
190 | return $this->entityStatus;
|
---|
191 | }
|
---|
192 | /**
|
---|
193 | * @param InStreamAd
|
---|
194 | */
|
---|
195 | public function setInStreamAd(InStreamAd $inStreamAd)
|
---|
196 | {
|
---|
197 | $this->inStreamAd = $inStreamAd;
|
---|
198 | }
|
---|
199 | /**
|
---|
200 | * @return InStreamAd
|
---|
201 | */
|
---|
202 | public function getInStreamAd()
|
---|
203 | {
|
---|
204 | return $this->inStreamAd;
|
---|
205 | }
|
---|
206 | /**
|
---|
207 | * @param MastheadAd
|
---|
208 | */
|
---|
209 | public function setMastheadAd(MastheadAd $mastheadAd)
|
---|
210 | {
|
---|
211 | $this->mastheadAd = $mastheadAd;
|
---|
212 | }
|
---|
213 | /**
|
---|
214 | * @return MastheadAd
|
---|
215 | */
|
---|
216 | public function getMastheadAd()
|
---|
217 | {
|
---|
218 | return $this->mastheadAd;
|
---|
219 | }
|
---|
220 | /**
|
---|
221 | * @param string
|
---|
222 | */
|
---|
223 | public function setName($name)
|
---|
224 | {
|
---|
225 | $this->name = $name;
|
---|
226 | }
|
---|
227 | /**
|
---|
228 | * @return string
|
---|
229 | */
|
---|
230 | public function getName()
|
---|
231 | {
|
---|
232 | return $this->name;
|
---|
233 | }
|
---|
234 | /**
|
---|
235 | * @param NonSkippableAd
|
---|
236 | */
|
---|
237 | public function setNonSkippableAd(NonSkippableAd $nonSkippableAd)
|
---|
238 | {
|
---|
239 | $this->nonSkippableAd = $nonSkippableAd;
|
---|
240 | }
|
---|
241 | /**
|
---|
242 | * @return NonSkippableAd
|
---|
243 | */
|
---|
244 | public function getNonSkippableAd()
|
---|
245 | {
|
---|
246 | return $this->nonSkippableAd;
|
---|
247 | }
|
---|
248 | /**
|
---|
249 | * @param VideoDiscoveryAd
|
---|
250 | */
|
---|
251 | public function setVideoDiscoverAd(VideoDiscoveryAd $videoDiscoverAd)
|
---|
252 | {
|
---|
253 | $this->videoDiscoverAd = $videoDiscoverAd;
|
---|
254 | }
|
---|
255 | /**
|
---|
256 | * @return VideoDiscoveryAd
|
---|
257 | */
|
---|
258 | public function getVideoDiscoverAd()
|
---|
259 | {
|
---|
260 | return $this->videoDiscoverAd;
|
---|
261 | }
|
---|
262 | /**
|
---|
263 | * @param VideoPerformanceAd
|
---|
264 | */
|
---|
265 | public function setVideoPerformanceAd(VideoPerformanceAd $videoPerformanceAd)
|
---|
266 | {
|
---|
267 | $this->videoPerformanceAd = $videoPerformanceAd;
|
---|
268 | }
|
---|
269 | /**
|
---|
270 | * @return VideoPerformanceAd
|
---|
271 | */
|
---|
272 | public function getVideoPerformanceAd()
|
---|
273 | {
|
---|
274 | return $this->videoPerformanceAd;
|
---|
275 | }
|
---|
276 | }
|
---|
277 |
|
---|
278 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
279 | class_alias(AdGroupAd::class, 'Google_Service_DisplayVideo_AdGroupAd');
|
---|