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\Doubleclicksearch; 19 20class Conversion extends \Google\Collection 21{ 22 protected $collection_key = 'customMetric'; 23 /** 24 * @var string 25 */ 26 public $adGroupId; 27 /** 28 * @var string 29 */ 30 public $adId; 31 /** 32 * @var string 33 */ 34 public $advertiserId; 35 /** 36 * @var string 37 */ 38 public $agencyId; 39 /** 40 * @var string 41 */ 42 public $attributionModel; 43 /** 44 * @var string 45 */ 46 public $campaignId; 47 /** 48 * @var string 49 */ 50 public $channel; 51 /** 52 * @var string 53 */ 54 public $clickId; 55 /** 56 * @var string 57 */ 58 public $conversionId; 59 /** 60 * @var string 61 */ 62 public $conversionModifiedTimestamp; 63 /** 64 * @var string 65 */ 66 public $conversionTimestamp; 67 /** 68 * @var string 69 */ 70 public $countMillis; 71 /** 72 * @var string 73 */ 74 public $criterionId; 75 /** 76 * @var string 77 */ 78 public $currencyCode; 79 protected $customDimensionType = CustomDimension::class; 80 protected $customDimensionDataType = 'array'; 81 protected $customMetricType = CustomMetric::class; 82 protected $customMetricDataType = 'array'; 83 /** 84 * @var string 85 */ 86 public $deviceType; 87 /** 88 * @var string 89 */ 90 public $dsConversionId; 91 /** 92 * @var string 93 */ 94 public $engineAccountId; 95 /** 96 * @var string 97 */ 98 public $floodlightOrderId; 99 /** 100 * @var string 101 */ 102 public $inventoryAccountId; 103 /** 104 * @var string 105 */ 106 public $productCountry; 107 /** 108 * @var string 109 */ 110 public $productGroupId; 111 /** 112 * @var string 113 */ 114 public $productId; 115 /** 116 * @var string 117 */ 118 public $productLanguage; 119 /** 120 * @var string 121 */ 122 public $quantityMillis; 123 /** 124 * @var string 125 */ 126 public $revenueMicros; 127 /** 128 * @var string 129 */ 130 public $segmentationId; 131 /** 132 * @var string 133 */ 134 public $segmentationName; 135 /** 136 * @var string 137 */ 138 public $segmentationType; 139 /** 140 * @var string 141 */ 142 public $state; 143 /** 144 * @var string 145 */ 146 public $storeId; 147 /** 148 * @var string 149 */ 150 public $type; 151 152 /** 153 * @param string 154 */ 155 public function setAdGroupId($adGroupId) 156 { 157 $this->adGroupId = $adGroupId; 158 } 159 /** 160 * @return string 161 */ 162 public function getAdGroupId() 163 { 164 return $this->adGroupId; 165 } 166 /** 167 * @param string 168 */ 169 public function setAdId($adId) 170 { 171 $this->adId = $adId; 172 } 173 /** 174 * @return string 175 */ 176 public function getAdId() 177 { 178 return $this->adId; 179 } 180 /** 181 * @param string 182 */ 183 public function setAdvertiserId($advertiserId) 184 { 185 $this->advertiserId = $advertiserId; 186 } 187 /** 188 * @return string 189 */ 190 public function getAdvertiserId() 191 { 192 return $this->advertiserId; 193 } 194 /** 195 * @param string 196 */ 197 public function setAgencyId($agencyId) 198 { 199 $this->agencyId = $agencyId; 200 } 201 /** 202 * @return string 203 */ 204 public function getAgencyId() 205 { 206 return $this->agencyId; 207 } 208 /** 209 * @param string 210 */ 211 public function setAttributionModel($attributionModel) 212 { 213 $this->attributionModel = $attributionModel; 214 } 215 /** 216 * @return string 217 */ 218 public function getAttributionModel() 219 { 220 return $this->attributionModel; 221 } 222 /** 223 * @param string 224 */ 225 public function setCampaignId($campaignId) 226 { 227 $this->campaignId = $campaignId; 228 } 229 /** 230 * @return string 231 */ 232 public function getCampaignId() 233 { 234 return $this->campaignId; 235 } 236 /** 237 * @param string 238 */ 239 public function setChannel($channel) 240 { 241 $this->channel = $channel; 242 } 243 /** 244 * @return string 245 */ 246 public function getChannel() 247 { 248 return $this->channel; 249 } 250 /** 251 * @param string 252 */ 253 public function setClickId($clickId) 254 { 255 $this->clickId = $clickId; 256 } 257 /** 258 * @return string 259 */ 260 public function getClickId() 261 { 262 return $this->clickId; 263 } 264 /** 265 * @param string 266 */ 267 public function setConversionId($conversionId) 268 { 269 $this->conversionId = $conversionId; 270 } 271 /** 272 * @return string 273 */ 274 public function getConversionId() 275 { 276 return $this->conversionId; 277 } 278 /** 279 * @param string 280 */ 281 public function setConversionModifiedTimestamp($conversionModifiedTimestamp) 282 { 283 $this->conversionModifiedTimestamp = $conversionModifiedTimestamp; 284 } 285 /** 286 * @return string 287 */ 288 public function getConversionModifiedTimestamp() 289 { 290 return $this->conversionModifiedTimestamp; 291 } 292 /** 293 * @param string 294 */ 295 public function setConversionTimestamp($conversionTimestamp) 296 { 297 $this->conversionTimestamp = $conversionTimestamp; 298 } 299 /** 300 * @return string 301 */ 302 public function getConversionTimestamp() 303 { 304 return $this->conversionTimestamp; 305 } 306 /** 307 * @param string 308 */ 309 public function setCountMillis($countMillis) 310 { 311 $this->countMillis = $countMillis; 312 } 313 /** 314 * @return string 315 */ 316 public function getCountMillis() 317 { 318 return $this->countMillis; 319 } 320 /** 321 * @param string 322 */ 323 public function setCriterionId($criterionId) 324 { 325 $this->criterionId = $criterionId; 326 } 327 /** 328 * @return string 329 */ 330 public function getCriterionId() 331 { 332 return $this->criterionId; 333 } 334 /** 335 * @param string 336 */ 337 public function setCurrencyCode($currencyCode) 338 { 339 $this->currencyCode = $currencyCode; 340 } 341 /** 342 * @return string 343 */ 344 public function getCurrencyCode() 345 { 346 return $this->currencyCode; 347 } 348 /** 349 * @param CustomDimension[] 350 */ 351 public function setCustomDimension($customDimension) 352 { 353 $this->customDimension = $customDimension; 354 } 355 /** 356 * @return CustomDimension[] 357 */ 358 public function getCustomDimension() 359 { 360 return $this->customDimension; 361 } 362 /** 363 * @param CustomMetric[] 364 */ 365 public function setCustomMetric($customMetric) 366 { 367 $this->customMetric = $customMetric; 368 } 369 /** 370 * @return CustomMetric[] 371 */ 372 public function getCustomMetric() 373 { 374 return $this->customMetric; 375 } 376 /** 377 * @param string 378 */ 379 public function setDeviceType($deviceType) 380 { 381 $this->deviceType = $deviceType; 382 } 383 /** 384 * @return string 385 */ 386 public function getDeviceType() 387 { 388 return $this->deviceType; 389 } 390 /** 391 * @param string 392 */ 393 public function setDsConversionId($dsConversionId) 394 { 395 $this->dsConversionId = $dsConversionId; 396 } 397 /** 398 * @return string 399 */ 400 public function getDsConversionId() 401 { 402 return $this->dsConversionId; 403 } 404 /** 405 * @param string 406 */ 407 public function setEngineAccountId($engineAccountId) 408 { 409 $this->engineAccountId = $engineAccountId; 410 } 411 /** 412 * @return string 413 */ 414 public function getEngineAccountId() 415 { 416 return $this->engineAccountId; 417 } 418 /** 419 * @param string 420 */ 421 public function setFloodlightOrderId($floodlightOrderId) 422 { 423 $this->floodlightOrderId = $floodlightOrderId; 424 } 425 /** 426 * @return string 427 */ 428 public function getFloodlightOrderId() 429 { 430 return $this->floodlightOrderId; 431 } 432 /** 433 * @param string 434 */ 435 public function setInventoryAccountId($inventoryAccountId) 436 { 437 $this->inventoryAccountId = $inventoryAccountId; 438 } 439 /** 440 * @return string 441 */ 442 public function getInventoryAccountId() 443 { 444 return $this->inventoryAccountId; 445 } 446 /** 447 * @param string 448 */ 449 public function setProductCountry($productCountry) 450 { 451 $this->productCountry = $productCountry; 452 } 453 /** 454 * @return string 455 */ 456 public function getProductCountry() 457 { 458 return $this->productCountry; 459 } 460 /** 461 * @param string 462 */ 463 public function setProductGroupId($productGroupId) 464 { 465 $this->productGroupId = $productGroupId; 466 } 467 /** 468 * @return string 469 */ 470 public function getProductGroupId() 471 { 472 return $this->productGroupId; 473 } 474 /** 475 * @param string 476 */ 477 public function setProductId($productId) 478 { 479 $this->productId = $productId; 480 } 481 /** 482 * @return string 483 */ 484 public function getProductId() 485 { 486 return $this->productId; 487 } 488 /** 489 * @param string 490 */ 491 public function setProductLanguage($productLanguage) 492 { 493 $this->productLanguage = $productLanguage; 494 } 495 /** 496 * @return string 497 */ 498 public function getProductLanguage() 499 { 500 return $this->productLanguage; 501 } 502 /** 503 * @param string 504 */ 505 public function setQuantityMillis($quantityMillis) 506 { 507 $this->quantityMillis = $quantityMillis; 508 } 509 /** 510 * @return string 511 */ 512 public function getQuantityMillis() 513 { 514 return $this->quantityMillis; 515 } 516 /** 517 * @param string 518 */ 519 public function setRevenueMicros($revenueMicros) 520 { 521 $this->revenueMicros = $revenueMicros; 522 } 523 /** 524 * @return string 525 */ 526 public function getRevenueMicros() 527 { 528 return $this->revenueMicros; 529 } 530 /** 531 * @param string 532 */ 533 public function setSegmentationId($segmentationId) 534 { 535 $this->segmentationId = $segmentationId; 536 } 537 /** 538 * @return string 539 */ 540 public function getSegmentationId() 541 { 542 return $this->segmentationId; 543 } 544 /** 545 * @param string 546 */ 547 public function setSegmentationName($segmentationName) 548 { 549 $this->segmentationName = $segmentationName; 550 } 551 /** 552 * @return string 553 */ 554 public function getSegmentationName() 555 { 556 return $this->segmentationName; 557 } 558 /** 559 * @param string 560 */ 561 public function setSegmentationType($segmentationType) 562 { 563 $this->segmentationType = $segmentationType; 564 } 565 /** 566 * @return string 567 */ 568 public function getSegmentationType() 569 { 570 return $this->segmentationType; 571 } 572 /** 573 * @param string 574 */ 575 public function setState($state) 576 { 577 $this->state = $state; 578 } 579 /** 580 * @return string 581 */ 582 public function getState() 583 { 584 return $this->state; 585 } 586 /** 587 * @param string 588 */ 589 public function setStoreId($storeId) 590 { 591 $this->storeId = $storeId; 592 } 593 /** 594 * @return string 595 */ 596 public function getStoreId() 597 { 598 return $this->storeId; 599 } 600 /** 601 * @param string 602 */ 603 public function setType($type) 604 { 605 $this->type = $type; 606 } 607 /** 608 * @return string 609 */ 610 public function getType() 611 { 612 return $this->type; 613 } 614} 615 616// Adding a class alias for backwards compatibility with the previous class name. 617class_alias(Conversion::class, 'Google_Service_Doubleclicksearch_Conversion'); 618