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