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 Advertiser extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $adServerConfigType = AdvertiserAdServerConfig::class;
|
---|
23 | protected $adServerConfigDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $advertiserId;
|
---|
28 | protected $billingConfigType = AdvertiserBillingConfig::class;
|
---|
29 | protected $billingConfigDataType = '';
|
---|
30 | protected $creativeConfigType = AdvertiserCreativeConfig::class;
|
---|
31 | protected $creativeConfigDataType = '';
|
---|
32 | protected $dataAccessConfigType = AdvertiserDataAccessConfig::class;
|
---|
33 | protected $dataAccessConfigDataType = '';
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $displayName;
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $entityStatus;
|
---|
42 | protected $generalConfigType = AdvertiserGeneralConfig::class;
|
---|
43 | protected $generalConfigDataType = '';
|
---|
44 | protected $integrationDetailsType = IntegrationDetails::class;
|
---|
45 | protected $integrationDetailsDataType = '';
|
---|
46 | /**
|
---|
47 | * @var string
|
---|
48 | */
|
---|
49 | public $name;
|
---|
50 | /**
|
---|
51 | * @var string
|
---|
52 | */
|
---|
53 | public $partnerId;
|
---|
54 | /**
|
---|
55 | * @var bool
|
---|
56 | */
|
---|
57 | public $prismaEnabled;
|
---|
58 | protected $servingConfigType = AdvertiserTargetingConfig::class;
|
---|
59 | protected $servingConfigDataType = '';
|
---|
60 | /**
|
---|
61 | * @var string
|
---|
62 | */
|
---|
63 | public $updateTime;
|
---|
64 |
|
---|
65 | /**
|
---|
66 | * @param AdvertiserAdServerConfig
|
---|
67 | */
|
---|
68 | public function setAdServerConfig(AdvertiserAdServerConfig $adServerConfig)
|
---|
69 | {
|
---|
70 | $this->adServerConfig = $adServerConfig;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @return AdvertiserAdServerConfig
|
---|
74 | */
|
---|
75 | public function getAdServerConfig()
|
---|
76 | {
|
---|
77 | return $this->adServerConfig;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @param string
|
---|
81 | */
|
---|
82 | public function setAdvertiserId($advertiserId)
|
---|
83 | {
|
---|
84 | $this->advertiserId = $advertiserId;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @return string
|
---|
88 | */
|
---|
89 | public function getAdvertiserId()
|
---|
90 | {
|
---|
91 | return $this->advertiserId;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @param AdvertiserBillingConfig
|
---|
95 | */
|
---|
96 | public function setBillingConfig(AdvertiserBillingConfig $billingConfig)
|
---|
97 | {
|
---|
98 | $this->billingConfig = $billingConfig;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @return AdvertiserBillingConfig
|
---|
102 | */
|
---|
103 | public function getBillingConfig()
|
---|
104 | {
|
---|
105 | return $this->billingConfig;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @param AdvertiserCreativeConfig
|
---|
109 | */
|
---|
110 | public function setCreativeConfig(AdvertiserCreativeConfig $creativeConfig)
|
---|
111 | {
|
---|
112 | $this->creativeConfig = $creativeConfig;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @return AdvertiserCreativeConfig
|
---|
116 | */
|
---|
117 | public function getCreativeConfig()
|
---|
118 | {
|
---|
119 | return $this->creativeConfig;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @param AdvertiserDataAccessConfig
|
---|
123 | */
|
---|
124 | public function setDataAccessConfig(AdvertiserDataAccessConfig $dataAccessConfig)
|
---|
125 | {
|
---|
126 | $this->dataAccessConfig = $dataAccessConfig;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @return AdvertiserDataAccessConfig
|
---|
130 | */
|
---|
131 | public function getDataAccessConfig()
|
---|
132 | {
|
---|
133 | return $this->dataAccessConfig;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @param string
|
---|
137 | */
|
---|
138 | public function setDisplayName($displayName)
|
---|
139 | {
|
---|
140 | $this->displayName = $displayName;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @return string
|
---|
144 | */
|
---|
145 | public function getDisplayName()
|
---|
146 | {
|
---|
147 | return $this->displayName;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @param string
|
---|
151 | */
|
---|
152 | public function setEntityStatus($entityStatus)
|
---|
153 | {
|
---|
154 | $this->entityStatus = $entityStatus;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @return string
|
---|
158 | */
|
---|
159 | public function getEntityStatus()
|
---|
160 | {
|
---|
161 | return $this->entityStatus;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @param AdvertiserGeneralConfig
|
---|
165 | */
|
---|
166 | public function setGeneralConfig(AdvertiserGeneralConfig $generalConfig)
|
---|
167 | {
|
---|
168 | $this->generalConfig = $generalConfig;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @return AdvertiserGeneralConfig
|
---|
172 | */
|
---|
173 | public function getGeneralConfig()
|
---|
174 | {
|
---|
175 | return $this->generalConfig;
|
---|
176 | }
|
---|
177 | /**
|
---|
178 | * @param IntegrationDetails
|
---|
179 | */
|
---|
180 | public function setIntegrationDetails(IntegrationDetails $integrationDetails)
|
---|
181 | {
|
---|
182 | $this->integrationDetails = $integrationDetails;
|
---|
183 | }
|
---|
184 | /**
|
---|
185 | * @return IntegrationDetails
|
---|
186 | */
|
---|
187 | public function getIntegrationDetails()
|
---|
188 | {
|
---|
189 | return $this->integrationDetails;
|
---|
190 | }
|
---|
191 | /**
|
---|
192 | * @param string
|
---|
193 | */
|
---|
194 | public function setName($name)
|
---|
195 | {
|
---|
196 | $this->name = $name;
|
---|
197 | }
|
---|
198 | /**
|
---|
199 | * @return string
|
---|
200 | */
|
---|
201 | public function getName()
|
---|
202 | {
|
---|
203 | return $this->name;
|
---|
204 | }
|
---|
205 | /**
|
---|
206 | * @param string
|
---|
207 | */
|
---|
208 | public function setPartnerId($partnerId)
|
---|
209 | {
|
---|
210 | $this->partnerId = $partnerId;
|
---|
211 | }
|
---|
212 | /**
|
---|
213 | * @return string
|
---|
214 | */
|
---|
215 | public function getPartnerId()
|
---|
216 | {
|
---|
217 | return $this->partnerId;
|
---|
218 | }
|
---|
219 | /**
|
---|
220 | * @param bool
|
---|
221 | */
|
---|
222 | public function setPrismaEnabled($prismaEnabled)
|
---|
223 | {
|
---|
224 | $this->prismaEnabled = $prismaEnabled;
|
---|
225 | }
|
---|
226 | /**
|
---|
227 | * @return bool
|
---|
228 | */
|
---|
229 | public function getPrismaEnabled()
|
---|
230 | {
|
---|
231 | return $this->prismaEnabled;
|
---|
232 | }
|
---|
233 | /**
|
---|
234 | * @param AdvertiserTargetingConfig
|
---|
235 | */
|
---|
236 | public function setServingConfig(AdvertiserTargetingConfig $servingConfig)
|
---|
237 | {
|
---|
238 | $this->servingConfig = $servingConfig;
|
---|
239 | }
|
---|
240 | /**
|
---|
241 | * @return AdvertiserTargetingConfig
|
---|
242 | */
|
---|
243 | public function getServingConfig()
|
---|
244 | {
|
---|
245 | return $this->servingConfig;
|
---|
246 | }
|
---|
247 | /**
|
---|
248 | * @param string
|
---|
249 | */
|
---|
250 | public function setUpdateTime($updateTime)
|
---|
251 | {
|
---|
252 | $this->updateTime = $updateTime;
|
---|
253 | }
|
---|
254 | /**
|
---|
255 | * @return string
|
---|
256 | */
|
---|
257 | public function getUpdateTime()
|
---|
258 | {
|
---|
259 | return $this->updateTime;
|
---|
260 | }
|
---|
261 | }
|
---|
262 |
|
---|
263 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
264 | class_alias(Advertiser::class, 'Google_Service_DisplayVideo_Advertiser');
|
---|