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 Campaign extends \Google\Collection 21{ 22 protected $collection_key = 'traffickerEmails'; 23 /** 24 * @var string 25 */ 26 public $accountId; 27 protected $adBlockingConfigurationType = AdBlockingConfiguration::class; 28 protected $adBlockingConfigurationDataType = ''; 29 protected $additionalCreativeOptimizationConfigurationsType = CreativeOptimizationConfiguration::class; 30 protected $additionalCreativeOptimizationConfigurationsDataType = 'array'; 31 /** 32 * @var string 33 */ 34 public $advertiserGroupId; 35 /** 36 * @var string 37 */ 38 public $advertiserId; 39 protected $advertiserIdDimensionValueType = DimensionValue::class; 40 protected $advertiserIdDimensionValueDataType = ''; 41 /** 42 * @var bool 43 */ 44 public $archived; 45 protected $audienceSegmentGroupsType = AudienceSegmentGroup::class; 46 protected $audienceSegmentGroupsDataType = 'array'; 47 /** 48 * @var string 49 */ 50 public $billingInvoiceCode; 51 protected $clickThroughUrlSuffixPropertiesType = ClickThroughUrlSuffixProperties::class; 52 protected $clickThroughUrlSuffixPropertiesDataType = ''; 53 /** 54 * @var string 55 */ 56 public $comment; 57 protected $createInfoType = LastModifiedInfo::class; 58 protected $createInfoDataType = ''; 59 /** 60 * @var string[] 61 */ 62 public $creativeGroupIds; 63 protected $creativeOptimizationConfigurationType = CreativeOptimizationConfiguration::class; 64 protected $creativeOptimizationConfigurationDataType = ''; 65 protected $defaultClickThroughEventTagPropertiesType = DefaultClickThroughEventTagProperties::class; 66 protected $defaultClickThroughEventTagPropertiesDataType = ''; 67 /** 68 * @var string 69 */ 70 public $defaultLandingPageId; 71 /** 72 * @var string 73 */ 74 public $endDate; 75 protected $eventTagOverridesType = EventTagOverride::class; 76 protected $eventTagOverridesDataType = 'array'; 77 /** 78 * @var string 79 */ 80 public $externalId; 81 /** 82 * @var string 83 */ 84 public $id; 85 protected $idDimensionValueType = DimensionValue::class; 86 protected $idDimensionValueDataType = ''; 87 /** 88 * @var string 89 */ 90 public $kind; 91 protected $lastModifiedInfoType = LastModifiedInfo::class; 92 protected $lastModifiedInfoDataType = ''; 93 protected $measurementPartnerLinkType = MeasurementPartnerCampaignLink::class; 94 protected $measurementPartnerLinkDataType = ''; 95 /** 96 * @var string 97 */ 98 public $name; 99 /** 100 * @var bool 101 */ 102 public $nielsenOcrEnabled; 103 /** 104 * @var string 105 */ 106 public $startDate; 107 /** 108 * @var string 109 */ 110 public $subaccountId; 111 /** 112 * @var string[] 113 */ 114 public $traffickerEmails; 115 116 /** 117 * @param string 118 */ 119 public function setAccountId($accountId) 120 { 121 $this->accountId = $accountId; 122 } 123 /** 124 * @return string 125 */ 126 public function getAccountId() 127 { 128 return $this->accountId; 129 } 130 /** 131 * @param AdBlockingConfiguration 132 */ 133 public function setAdBlockingConfiguration(AdBlockingConfiguration $adBlockingConfiguration) 134 { 135 $this->adBlockingConfiguration = $adBlockingConfiguration; 136 } 137 /** 138 * @return AdBlockingConfiguration 139 */ 140 public function getAdBlockingConfiguration() 141 { 142 return $this->adBlockingConfiguration; 143 } 144 /** 145 * @param CreativeOptimizationConfiguration[] 146 */ 147 public function setAdditionalCreativeOptimizationConfigurations($additionalCreativeOptimizationConfigurations) 148 { 149 $this->additionalCreativeOptimizationConfigurations = $additionalCreativeOptimizationConfigurations; 150 } 151 /** 152 * @return CreativeOptimizationConfiguration[] 153 */ 154 public function getAdditionalCreativeOptimizationConfigurations() 155 { 156 return $this->additionalCreativeOptimizationConfigurations; 157 } 158 /** 159 * @param string 160 */ 161 public function setAdvertiserGroupId($advertiserGroupId) 162 { 163 $this->advertiserGroupId = $advertiserGroupId; 164 } 165 /** 166 * @return string 167 */ 168 public function getAdvertiserGroupId() 169 { 170 return $this->advertiserGroupId; 171 } 172 /** 173 * @param string 174 */ 175 public function setAdvertiserId($advertiserId) 176 { 177 $this->advertiserId = $advertiserId; 178 } 179 /** 180 * @return string 181 */ 182 public function getAdvertiserId() 183 { 184 return $this->advertiserId; 185 } 186 /** 187 * @param DimensionValue 188 */ 189 public function setAdvertiserIdDimensionValue(DimensionValue $advertiserIdDimensionValue) 190 { 191 $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; 192 } 193 /** 194 * @return DimensionValue 195 */ 196 public function getAdvertiserIdDimensionValue() 197 { 198 return $this->advertiserIdDimensionValue; 199 } 200 /** 201 * @param bool 202 */ 203 public function setArchived($archived) 204 { 205 $this->archived = $archived; 206 } 207 /** 208 * @return bool 209 */ 210 public function getArchived() 211 { 212 return $this->archived; 213 } 214 /** 215 * @param AudienceSegmentGroup[] 216 */ 217 public function setAudienceSegmentGroups($audienceSegmentGroups) 218 { 219 $this->audienceSegmentGroups = $audienceSegmentGroups; 220 } 221 /** 222 * @return AudienceSegmentGroup[] 223 */ 224 public function getAudienceSegmentGroups() 225 { 226 return $this->audienceSegmentGroups; 227 } 228 /** 229 * @param string 230 */ 231 public function setBillingInvoiceCode($billingInvoiceCode) 232 { 233 $this->billingInvoiceCode = $billingInvoiceCode; 234 } 235 /** 236 * @return string 237 */ 238 public function getBillingInvoiceCode() 239 { 240 return $this->billingInvoiceCode; 241 } 242 /** 243 * @param ClickThroughUrlSuffixProperties 244 */ 245 public function setClickThroughUrlSuffixProperties(ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties) 246 { 247 $this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties; 248 } 249 /** 250 * @return ClickThroughUrlSuffixProperties 251 */ 252 public function getClickThroughUrlSuffixProperties() 253 { 254 return $this->clickThroughUrlSuffixProperties; 255 } 256 /** 257 * @param string 258 */ 259 public function setComment($comment) 260 { 261 $this->comment = $comment; 262 } 263 /** 264 * @return string 265 */ 266 public function getComment() 267 { 268 return $this->comment; 269 } 270 /** 271 * @param LastModifiedInfo 272 */ 273 public function setCreateInfo(LastModifiedInfo $createInfo) 274 { 275 $this->createInfo = $createInfo; 276 } 277 /** 278 * @return LastModifiedInfo 279 */ 280 public function getCreateInfo() 281 { 282 return $this->createInfo; 283 } 284 /** 285 * @param string[] 286 */ 287 public function setCreativeGroupIds($creativeGroupIds) 288 { 289 $this->creativeGroupIds = $creativeGroupIds; 290 } 291 /** 292 * @return string[] 293 */ 294 public function getCreativeGroupIds() 295 { 296 return $this->creativeGroupIds; 297 } 298 /** 299 * @param CreativeOptimizationConfiguration 300 */ 301 public function setCreativeOptimizationConfiguration(CreativeOptimizationConfiguration $creativeOptimizationConfiguration) 302 { 303 $this->creativeOptimizationConfiguration = $creativeOptimizationConfiguration; 304 } 305 /** 306 * @return CreativeOptimizationConfiguration 307 */ 308 public function getCreativeOptimizationConfiguration() 309 { 310 return $this->creativeOptimizationConfiguration; 311 } 312 /** 313 * @param DefaultClickThroughEventTagProperties 314 */ 315 public function setDefaultClickThroughEventTagProperties(DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties) 316 { 317 $this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties; 318 } 319 /** 320 * @return DefaultClickThroughEventTagProperties 321 */ 322 public function getDefaultClickThroughEventTagProperties() 323 { 324 return $this->defaultClickThroughEventTagProperties; 325 } 326 /** 327 * @param string 328 */ 329 public function setDefaultLandingPageId($defaultLandingPageId) 330 { 331 $this->defaultLandingPageId = $defaultLandingPageId; 332 } 333 /** 334 * @return string 335 */ 336 public function getDefaultLandingPageId() 337 { 338 return $this->defaultLandingPageId; 339 } 340 /** 341 * @param string 342 */ 343 public function setEndDate($endDate) 344 { 345 $this->endDate = $endDate; 346 } 347 /** 348 * @return string 349 */ 350 public function getEndDate() 351 { 352 return $this->endDate; 353 } 354 /** 355 * @param EventTagOverride[] 356 */ 357 public function setEventTagOverrides($eventTagOverrides) 358 { 359 $this->eventTagOverrides = $eventTagOverrides; 360 } 361 /** 362 * @return EventTagOverride[] 363 */ 364 public function getEventTagOverrides() 365 { 366 return $this->eventTagOverrides; 367 } 368 /** 369 * @param string 370 */ 371 public function setExternalId($externalId) 372 { 373 $this->externalId = $externalId; 374 } 375 /** 376 * @return string 377 */ 378 public function getExternalId() 379 { 380 return $this->externalId; 381 } 382 /** 383 * @param string 384 */ 385 public function setId($id) 386 { 387 $this->id = $id; 388 } 389 /** 390 * @return string 391 */ 392 public function getId() 393 { 394 return $this->id; 395 } 396 /** 397 * @param DimensionValue 398 */ 399 public function setIdDimensionValue(DimensionValue $idDimensionValue) 400 { 401 $this->idDimensionValue = $idDimensionValue; 402 } 403 /** 404 * @return DimensionValue 405 */ 406 public function getIdDimensionValue() 407 { 408 return $this->idDimensionValue; 409 } 410 /** 411 * @param string 412 */ 413 public function setKind($kind) 414 { 415 $this->kind = $kind; 416 } 417 /** 418 * @return string 419 */ 420 public function getKind() 421 { 422 return $this->kind; 423 } 424 /** 425 * @param LastModifiedInfo 426 */ 427 public function setLastModifiedInfo(LastModifiedInfo $lastModifiedInfo) 428 { 429 $this->lastModifiedInfo = $lastModifiedInfo; 430 } 431 /** 432 * @return LastModifiedInfo 433 */ 434 public function getLastModifiedInfo() 435 { 436 return $this->lastModifiedInfo; 437 } 438 /** 439 * @param MeasurementPartnerCampaignLink 440 */ 441 public function setMeasurementPartnerLink(MeasurementPartnerCampaignLink $measurementPartnerLink) 442 { 443 $this->measurementPartnerLink = $measurementPartnerLink; 444 } 445 /** 446 * @return MeasurementPartnerCampaignLink 447 */ 448 public function getMeasurementPartnerLink() 449 { 450 return $this->measurementPartnerLink; 451 } 452 /** 453 * @param string 454 */ 455 public function setName($name) 456 { 457 $this->name = $name; 458 } 459 /** 460 * @return string 461 */ 462 public function getName() 463 { 464 return $this->name; 465 } 466 /** 467 * @param bool 468 */ 469 public function setNielsenOcrEnabled($nielsenOcrEnabled) 470 { 471 $this->nielsenOcrEnabled = $nielsenOcrEnabled; 472 } 473 /** 474 * @return bool 475 */ 476 public function getNielsenOcrEnabled() 477 { 478 return $this->nielsenOcrEnabled; 479 } 480 /** 481 * @param string 482 */ 483 public function setStartDate($startDate) 484 { 485 $this->startDate = $startDate; 486 } 487 /** 488 * @return string 489 */ 490 public function getStartDate() 491 { 492 return $this->startDate; 493 } 494 /** 495 * @param string 496 */ 497 public function setSubaccountId($subaccountId) 498 { 499 $this->subaccountId = $subaccountId; 500 } 501 /** 502 * @return string 503 */ 504 public function getSubaccountId() 505 { 506 return $this->subaccountId; 507 } 508 /** 509 * @param string[] 510 */ 511 public function setTraffickerEmails($traffickerEmails) 512 { 513 $this->traffickerEmails = $traffickerEmails; 514 } 515 /** 516 * @return string[] 517 */ 518 public function getTraffickerEmails() 519 { 520 return $this->traffickerEmails; 521 } 522} 523 524// Adding a class alias for backwards compatibility with the previous class name. 525class_alias(Campaign::class, 'Google_Service_Dfareporting_Campaign'); 526