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\AuthorizedBuyersMarketplace; 19 20class MarketplaceTargeting extends \Google\Model 21{ 22 protected $daypartTargetingType = DayPartTargeting::class; 23 protected $daypartTargetingDataType = ''; 24 protected $geoTargetingType = CriteriaTargeting::class; 25 protected $geoTargetingDataType = ''; 26 protected $inventorySizeTargetingType = InventorySizeTargeting::class; 27 protected $inventorySizeTargetingDataType = ''; 28 protected $placementTargetingType = PlacementTargeting::class; 29 protected $placementTargetingDataType = ''; 30 protected $technologyTargetingType = TechnologyTargeting::class; 31 protected $technologyTargetingDataType = ''; 32 protected $userListTargetingType = CriteriaTargeting::class; 33 protected $userListTargetingDataType = ''; 34 protected $videoTargetingType = VideoTargeting::class; 35 protected $videoTargetingDataType = ''; 36 37 /** 38 * @param DayPartTargeting 39 */ 40 public function setDaypartTargeting(DayPartTargeting $daypartTargeting) 41 { 42 $this->daypartTargeting = $daypartTargeting; 43 } 44 /** 45 * @return DayPartTargeting 46 */ 47 public function getDaypartTargeting() 48 { 49 return $this->daypartTargeting; 50 } 51 /** 52 * @param CriteriaTargeting 53 */ 54 public function setGeoTargeting(CriteriaTargeting $geoTargeting) 55 { 56 $this->geoTargeting = $geoTargeting; 57 } 58 /** 59 * @return CriteriaTargeting 60 */ 61 public function getGeoTargeting() 62 { 63 return $this->geoTargeting; 64 } 65 /** 66 * @param InventorySizeTargeting 67 */ 68 public function setInventorySizeTargeting(InventorySizeTargeting $inventorySizeTargeting) 69 { 70 $this->inventorySizeTargeting = $inventorySizeTargeting; 71 } 72 /** 73 * @return InventorySizeTargeting 74 */ 75 public function getInventorySizeTargeting() 76 { 77 return $this->inventorySizeTargeting; 78 } 79 /** 80 * @param PlacementTargeting 81 */ 82 public function setPlacementTargeting(PlacementTargeting $placementTargeting) 83 { 84 $this->placementTargeting = $placementTargeting; 85 } 86 /** 87 * @return PlacementTargeting 88 */ 89 public function getPlacementTargeting() 90 { 91 return $this->placementTargeting; 92 } 93 /** 94 * @param TechnologyTargeting 95 */ 96 public function setTechnologyTargeting(TechnologyTargeting $technologyTargeting) 97 { 98 $this->technologyTargeting = $technologyTargeting; 99 } 100 /** 101 * @return TechnologyTargeting 102 */ 103 public function getTechnologyTargeting() 104 { 105 return $this->technologyTargeting; 106 } 107 /** 108 * @param CriteriaTargeting 109 */ 110 public function setUserListTargeting(CriteriaTargeting $userListTargeting) 111 { 112 $this->userListTargeting = $userListTargeting; 113 } 114 /** 115 * @return CriteriaTargeting 116 */ 117 public function getUserListTargeting() 118 { 119 return $this->userListTargeting; 120 } 121 /** 122 * @param VideoTargeting 123 */ 124 public function setVideoTargeting(VideoTargeting $videoTargeting) 125 { 126 $this->videoTargeting = $videoTargeting; 127 } 128 /** 129 * @return VideoTargeting 130 */ 131 public function getVideoTargeting() 132 { 133 return $this->videoTargeting; 134 } 135} 136 137// Adding a class alias for backwards compatibility with the previous class name. 138class_alias(MarketplaceTargeting::class, 'Google_Service_AuthorizedBuyersMarketplace_MarketplaceTargeting'); 139