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\Dfareporting; 19 20class Conversion extends \Google\Collection 21{ 22 protected $collection_key = 'encryptedUserIdCandidates'; 23 /** 24 * @var bool 25 */ 26 public $childDirectedTreatment; 27 protected $customVariablesType = CustomFloodlightVariable::class; 28 protected $customVariablesDataType = 'array'; 29 /** 30 * @var string 31 */ 32 public $dclid; 33 /** 34 * @var string 35 */ 36 public $encryptedUserId; 37 /** 38 * @var string[] 39 */ 40 public $encryptedUserIdCandidates; 41 /** 42 * @var string 43 */ 44 public $floodlightActivityId; 45 /** 46 * @var string 47 */ 48 public $floodlightConfigurationId; 49 /** 50 * @var string 51 */ 52 public $gclid; 53 /** 54 * @var string 55 */ 56 public $kind; 57 /** 58 * @var bool 59 */ 60 public $limitAdTracking; 61 /** 62 * @var string 63 */ 64 public $matchId; 65 /** 66 * @var string 67 */ 68 public $mobileDeviceId; 69 /** 70 * @var bool 71 */ 72 public $nonPersonalizedAd; 73 /** 74 * @var string 75 */ 76 public $ordinal; 77 /** 78 * @var string 79 */ 80 public $quantity; 81 /** 82 * @var string 83 */ 84 public $timestampMicros; 85 /** 86 * @var bool 87 */ 88 public $treatmentForUnderage; 89 public $value; 90 91 /** 92 * @param bool 93 */ 94 public function setChildDirectedTreatment($childDirectedTreatment) 95 { 96 $this->childDirectedTreatment = $childDirectedTreatment; 97 } 98 /** 99 * @return bool 100 */ 101 public function getChildDirectedTreatment() 102 { 103 return $this->childDirectedTreatment; 104 } 105 /** 106 * @param CustomFloodlightVariable[] 107 */ 108 public function setCustomVariables($customVariables) 109 { 110 $this->customVariables = $customVariables; 111 } 112 /** 113 * @return CustomFloodlightVariable[] 114 */ 115 public function getCustomVariables() 116 { 117 return $this->customVariables; 118 } 119 /** 120 * @param string 121 */ 122 public function setDclid($dclid) 123 { 124 $this->dclid = $dclid; 125 } 126 /** 127 * @return string 128 */ 129 public function getDclid() 130 { 131 return $this->dclid; 132 } 133 /** 134 * @param string 135 */ 136 public function setEncryptedUserId($encryptedUserId) 137 { 138 $this->encryptedUserId = $encryptedUserId; 139 } 140 /** 141 * @return string 142 */ 143 public function getEncryptedUserId() 144 { 145 return $this->encryptedUserId; 146 } 147 /** 148 * @param string[] 149 */ 150 public function setEncryptedUserIdCandidates($encryptedUserIdCandidates) 151 { 152 $this->encryptedUserIdCandidates = $encryptedUserIdCandidates; 153 } 154 /** 155 * @return string[] 156 */ 157 public function getEncryptedUserIdCandidates() 158 { 159 return $this->encryptedUserIdCandidates; 160 } 161 /** 162 * @param string 163 */ 164 public function setFloodlightActivityId($floodlightActivityId) 165 { 166 $this->floodlightActivityId = $floodlightActivityId; 167 } 168 /** 169 * @return string 170 */ 171 public function getFloodlightActivityId() 172 { 173 return $this->floodlightActivityId; 174 } 175 /** 176 * @param string 177 */ 178 public function setFloodlightConfigurationId($floodlightConfigurationId) 179 { 180 $this->floodlightConfigurationId = $floodlightConfigurationId; 181 } 182 /** 183 * @return string 184 */ 185 public function getFloodlightConfigurationId() 186 { 187 return $this->floodlightConfigurationId; 188 } 189 /** 190 * @param string 191 */ 192 public function setGclid($gclid) 193 { 194 $this->gclid = $gclid; 195 } 196 /** 197 * @return string 198 */ 199 public function getGclid() 200 { 201 return $this->gclid; 202 } 203 /** 204 * @param string 205 */ 206 public function setKind($kind) 207 { 208 $this->kind = $kind; 209 } 210 /** 211 * @return string 212 */ 213 public function getKind() 214 { 215 return $this->kind; 216 } 217 /** 218 * @param bool 219 */ 220 public function setLimitAdTracking($limitAdTracking) 221 { 222 $this->limitAdTracking = $limitAdTracking; 223 } 224 /** 225 * @return bool 226 */ 227 public function getLimitAdTracking() 228 { 229 return $this->limitAdTracking; 230 } 231 /** 232 * @param string 233 */ 234 public function setMatchId($matchId) 235 { 236 $this->matchId = $matchId; 237 } 238 /** 239 * @return string 240 */ 241 public function getMatchId() 242 { 243 return $this->matchId; 244 } 245 /** 246 * @param string 247 */ 248 public function setMobileDeviceId($mobileDeviceId) 249 { 250 $this->mobileDeviceId = $mobileDeviceId; 251 } 252 /** 253 * @return string 254 */ 255 public function getMobileDeviceId() 256 { 257 return $this->mobileDeviceId; 258 } 259 /** 260 * @param bool 261 */ 262 public function setNonPersonalizedAd($nonPersonalizedAd) 263 { 264 $this->nonPersonalizedAd = $nonPersonalizedAd; 265 } 266 /** 267 * @return bool 268 */ 269 public function getNonPersonalizedAd() 270 { 271 return $this->nonPersonalizedAd; 272 } 273 /** 274 * @param string 275 */ 276 public function setOrdinal($ordinal) 277 { 278 $this->ordinal = $ordinal; 279 } 280 /** 281 * @return string 282 */ 283 public function getOrdinal() 284 { 285 return $this->ordinal; 286 } 287 /** 288 * @param string 289 */ 290 public function setQuantity($quantity) 291 { 292 $this->quantity = $quantity; 293 } 294 /** 295 * @return string 296 */ 297 public function getQuantity() 298 { 299 return $this->quantity; 300 } 301 /** 302 * @param string 303 */ 304 public function setTimestampMicros($timestampMicros) 305 { 306 $this->timestampMicros = $timestampMicros; 307 } 308 /** 309 * @return string 310 */ 311 public function getTimestampMicros() 312 { 313 return $this->timestampMicros; 314 } 315 /** 316 * @param bool 317 */ 318 public function setTreatmentForUnderage($treatmentForUnderage) 319 { 320 $this->treatmentForUnderage = $treatmentForUnderage; 321 } 322 /** 323 * @return bool 324 */ 325 public function getTreatmentForUnderage() 326 { 327 return $this->treatmentForUnderage; 328 } 329 public function setValue($value) 330 { 331 $this->value = $value; 332 } 333 public function getValue() 334 { 335 return $this->value; 336 } 337} 338 339// Adding a class alias for backwards compatibility with the previous class name. 340class_alias(Conversion::class, 'Google_Service_Dfareporting_Conversion'); 341