[e3d4e0a] | 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\RealTimeBidding;
|
---|
| 19 |
|
---|
| 20 | class CreativeServingDecision extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'detectedVendorIds';
|
---|
| 23 | protected $adTechnologyProvidersType = AdTechnologyProviders::class;
|
---|
| 24 | protected $adTechnologyProvidersDataType = '';
|
---|
| 25 | protected $chinaPolicyComplianceType = PolicyCompliance::class;
|
---|
| 26 | protected $chinaPolicyComplianceDataType = '';
|
---|
| 27 | protected $dealsPolicyComplianceType = PolicyCompliance::class;
|
---|
| 28 | protected $dealsPolicyComplianceDataType = '';
|
---|
| 29 | protected $detectedAdvertisersType = AdvertiserAndBrand::class;
|
---|
| 30 | protected $detectedAdvertisersDataType = 'array';
|
---|
| 31 | /**
|
---|
| 32 | * @var string[]
|
---|
| 33 | */
|
---|
| 34 | public $detectedAttributes;
|
---|
| 35 | /**
|
---|
| 36 | * @var string[]
|
---|
| 37 | */
|
---|
| 38 | public $detectedCategories;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $detectedCategoriesTaxonomy;
|
---|
| 43 | /**
|
---|
| 44 | * @var string[]
|
---|
| 45 | */
|
---|
| 46 | public $detectedClickThroughUrls;
|
---|
| 47 | /**
|
---|
| 48 | * @var string[]
|
---|
| 49 | */
|
---|
| 50 | public $detectedDomains;
|
---|
| 51 | /**
|
---|
| 52 | * @var string[]
|
---|
| 53 | */
|
---|
| 54 | public $detectedLanguages;
|
---|
| 55 | /**
|
---|
| 56 | * @var int[]
|
---|
| 57 | */
|
---|
| 58 | public $detectedProductCategories;
|
---|
| 59 | /**
|
---|
| 60 | * @var int[]
|
---|
| 61 | */
|
---|
| 62 | public $detectedSensitiveCategories;
|
---|
| 63 | /**
|
---|
| 64 | * @var int[]
|
---|
| 65 | */
|
---|
| 66 | public $detectedVendorIds;
|
---|
| 67 | /**
|
---|
| 68 | * @var string
|
---|
| 69 | */
|
---|
| 70 | public $lastStatusUpdate;
|
---|
| 71 | protected $networkPolicyComplianceType = PolicyCompliance::class;
|
---|
| 72 | protected $networkPolicyComplianceDataType = '';
|
---|
| 73 | protected $platformPolicyComplianceType = PolicyCompliance::class;
|
---|
| 74 | protected $platformPolicyComplianceDataType = '';
|
---|
| 75 | protected $russiaPolicyComplianceType = PolicyCompliance::class;
|
---|
| 76 | protected $russiaPolicyComplianceDataType = '';
|
---|
| 77 |
|
---|
| 78 | /**
|
---|
| 79 | * @param AdTechnologyProviders
|
---|
| 80 | */
|
---|
| 81 | public function setAdTechnologyProviders(AdTechnologyProviders $adTechnologyProviders)
|
---|
| 82 | {
|
---|
| 83 | $this->adTechnologyProviders = $adTechnologyProviders;
|
---|
| 84 | }
|
---|
| 85 | /**
|
---|
| 86 | * @return AdTechnologyProviders
|
---|
| 87 | */
|
---|
| 88 | public function getAdTechnologyProviders()
|
---|
| 89 | {
|
---|
| 90 | return $this->adTechnologyProviders;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @param PolicyCompliance
|
---|
| 94 | */
|
---|
| 95 | public function setChinaPolicyCompliance(PolicyCompliance $chinaPolicyCompliance)
|
---|
| 96 | {
|
---|
| 97 | $this->chinaPolicyCompliance = $chinaPolicyCompliance;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @return PolicyCompliance
|
---|
| 101 | */
|
---|
| 102 | public function getChinaPolicyCompliance()
|
---|
| 103 | {
|
---|
| 104 | return $this->chinaPolicyCompliance;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @param PolicyCompliance
|
---|
| 108 | */
|
---|
| 109 | public function setDealsPolicyCompliance(PolicyCompliance $dealsPolicyCompliance)
|
---|
| 110 | {
|
---|
| 111 | $this->dealsPolicyCompliance = $dealsPolicyCompliance;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @return PolicyCompliance
|
---|
| 115 | */
|
---|
| 116 | public function getDealsPolicyCompliance()
|
---|
| 117 | {
|
---|
| 118 | return $this->dealsPolicyCompliance;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @param AdvertiserAndBrand[]
|
---|
| 122 | */
|
---|
| 123 | public function setDetectedAdvertisers($detectedAdvertisers)
|
---|
| 124 | {
|
---|
| 125 | $this->detectedAdvertisers = $detectedAdvertisers;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @return AdvertiserAndBrand[]
|
---|
| 129 | */
|
---|
| 130 | public function getDetectedAdvertisers()
|
---|
| 131 | {
|
---|
| 132 | return $this->detectedAdvertisers;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @param string[]
|
---|
| 136 | */
|
---|
| 137 | public function setDetectedAttributes($detectedAttributes)
|
---|
| 138 | {
|
---|
| 139 | $this->detectedAttributes = $detectedAttributes;
|
---|
| 140 | }
|
---|
| 141 | /**
|
---|
| 142 | * @return string[]
|
---|
| 143 | */
|
---|
| 144 | public function getDetectedAttributes()
|
---|
| 145 | {
|
---|
| 146 | return $this->detectedAttributes;
|
---|
| 147 | }
|
---|
| 148 | /**
|
---|
| 149 | * @param string[]
|
---|
| 150 | */
|
---|
| 151 | public function setDetectedCategories($detectedCategories)
|
---|
| 152 | {
|
---|
| 153 | $this->detectedCategories = $detectedCategories;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @return string[]
|
---|
| 157 | */
|
---|
| 158 | public function getDetectedCategories()
|
---|
| 159 | {
|
---|
| 160 | return $this->detectedCategories;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @param string
|
---|
| 164 | */
|
---|
| 165 | public function setDetectedCategoriesTaxonomy($detectedCategoriesTaxonomy)
|
---|
| 166 | {
|
---|
| 167 | $this->detectedCategoriesTaxonomy = $detectedCategoriesTaxonomy;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @return string
|
---|
| 171 | */
|
---|
| 172 | public function getDetectedCategoriesTaxonomy()
|
---|
| 173 | {
|
---|
| 174 | return $this->detectedCategoriesTaxonomy;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @param string[]
|
---|
| 178 | */
|
---|
| 179 | public function setDetectedClickThroughUrls($detectedClickThroughUrls)
|
---|
| 180 | {
|
---|
| 181 | $this->detectedClickThroughUrls = $detectedClickThroughUrls;
|
---|
| 182 | }
|
---|
| 183 | /**
|
---|
| 184 | * @return string[]
|
---|
| 185 | */
|
---|
| 186 | public function getDetectedClickThroughUrls()
|
---|
| 187 | {
|
---|
| 188 | return $this->detectedClickThroughUrls;
|
---|
| 189 | }
|
---|
| 190 | /**
|
---|
| 191 | * @param string[]
|
---|
| 192 | */
|
---|
| 193 | public function setDetectedDomains($detectedDomains)
|
---|
| 194 | {
|
---|
| 195 | $this->detectedDomains = $detectedDomains;
|
---|
| 196 | }
|
---|
| 197 | /**
|
---|
| 198 | * @return string[]
|
---|
| 199 | */
|
---|
| 200 | public function getDetectedDomains()
|
---|
| 201 | {
|
---|
| 202 | return $this->detectedDomains;
|
---|
| 203 | }
|
---|
| 204 | /**
|
---|
| 205 | * @param string[]
|
---|
| 206 | */
|
---|
| 207 | public function setDetectedLanguages($detectedLanguages)
|
---|
| 208 | {
|
---|
| 209 | $this->detectedLanguages = $detectedLanguages;
|
---|
| 210 | }
|
---|
| 211 | /**
|
---|
| 212 | * @return string[]
|
---|
| 213 | */
|
---|
| 214 | public function getDetectedLanguages()
|
---|
| 215 | {
|
---|
| 216 | return $this->detectedLanguages;
|
---|
| 217 | }
|
---|
| 218 | /**
|
---|
| 219 | * @param int[]
|
---|
| 220 | */
|
---|
| 221 | public function setDetectedProductCategories($detectedProductCategories)
|
---|
| 222 | {
|
---|
| 223 | $this->detectedProductCategories = $detectedProductCategories;
|
---|
| 224 | }
|
---|
| 225 | /**
|
---|
| 226 | * @return int[]
|
---|
| 227 | */
|
---|
| 228 | public function getDetectedProductCategories()
|
---|
| 229 | {
|
---|
| 230 | return $this->detectedProductCategories;
|
---|
| 231 | }
|
---|
| 232 | /**
|
---|
| 233 | * @param int[]
|
---|
| 234 | */
|
---|
| 235 | public function setDetectedSensitiveCategories($detectedSensitiveCategories)
|
---|
| 236 | {
|
---|
| 237 | $this->detectedSensitiveCategories = $detectedSensitiveCategories;
|
---|
| 238 | }
|
---|
| 239 | /**
|
---|
| 240 | * @return int[]
|
---|
| 241 | */
|
---|
| 242 | public function getDetectedSensitiveCategories()
|
---|
| 243 | {
|
---|
| 244 | return $this->detectedSensitiveCategories;
|
---|
| 245 | }
|
---|
| 246 | /**
|
---|
| 247 | * @param int[]
|
---|
| 248 | */
|
---|
| 249 | public function setDetectedVendorIds($detectedVendorIds)
|
---|
| 250 | {
|
---|
| 251 | $this->detectedVendorIds = $detectedVendorIds;
|
---|
| 252 | }
|
---|
| 253 | /**
|
---|
| 254 | * @return int[]
|
---|
| 255 | */
|
---|
| 256 | public function getDetectedVendorIds()
|
---|
| 257 | {
|
---|
| 258 | return $this->detectedVendorIds;
|
---|
| 259 | }
|
---|
| 260 | /**
|
---|
| 261 | * @param string
|
---|
| 262 | */
|
---|
| 263 | public function setLastStatusUpdate($lastStatusUpdate)
|
---|
| 264 | {
|
---|
| 265 | $this->lastStatusUpdate = $lastStatusUpdate;
|
---|
| 266 | }
|
---|
| 267 | /**
|
---|
| 268 | * @return string
|
---|
| 269 | */
|
---|
| 270 | public function getLastStatusUpdate()
|
---|
| 271 | {
|
---|
| 272 | return $this->lastStatusUpdate;
|
---|
| 273 | }
|
---|
| 274 | /**
|
---|
| 275 | * @param PolicyCompliance
|
---|
| 276 | */
|
---|
| 277 | public function setNetworkPolicyCompliance(PolicyCompliance $networkPolicyCompliance)
|
---|
| 278 | {
|
---|
| 279 | $this->networkPolicyCompliance = $networkPolicyCompliance;
|
---|
| 280 | }
|
---|
| 281 | /**
|
---|
| 282 | * @return PolicyCompliance
|
---|
| 283 | */
|
---|
| 284 | public function getNetworkPolicyCompliance()
|
---|
| 285 | {
|
---|
| 286 | return $this->networkPolicyCompliance;
|
---|
| 287 | }
|
---|
| 288 | /**
|
---|
| 289 | * @param PolicyCompliance
|
---|
| 290 | */
|
---|
| 291 | public function setPlatformPolicyCompliance(PolicyCompliance $platformPolicyCompliance)
|
---|
| 292 | {
|
---|
| 293 | $this->platformPolicyCompliance = $platformPolicyCompliance;
|
---|
| 294 | }
|
---|
| 295 | /**
|
---|
| 296 | * @return PolicyCompliance
|
---|
| 297 | */
|
---|
| 298 | public function getPlatformPolicyCompliance()
|
---|
| 299 | {
|
---|
| 300 | return $this->platformPolicyCompliance;
|
---|
| 301 | }
|
---|
| 302 | /**
|
---|
| 303 | * @param PolicyCompliance
|
---|
| 304 | */
|
---|
| 305 | public function setRussiaPolicyCompliance(PolicyCompliance $russiaPolicyCompliance)
|
---|
| 306 | {
|
---|
| 307 | $this->russiaPolicyCompliance = $russiaPolicyCompliance;
|
---|
| 308 | }
|
---|
| 309 | /**
|
---|
| 310 | * @return PolicyCompliance
|
---|
| 311 | */
|
---|
| 312 | public function getRussiaPolicyCompliance()
|
---|
| 313 | {
|
---|
| 314 | return $this->russiaPolicyCompliance;
|
---|
| 315 | }
|
---|
| 316 | }
|
---|
| 317 |
|
---|
| 318 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 319 | class_alias(CreativeServingDecision::class, 'Google_Service_RealTimeBidding_CreativeServingDecision');
|
---|