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 18class Google_Service_Dfareporting_TargetingTemplate extends Google_Model 19{ 20 public $accountId; 21 public $advertiserId; 22 protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; 23 protected $advertiserIdDimensionValueDataType = ''; 24 protected $dayPartTargetingType = 'Google_Service_Dfareporting_DayPartTargeting'; 25 protected $dayPartTargetingDataType = ''; 26 protected $geoTargetingType = 'Google_Service_Dfareporting_GeoTargeting'; 27 protected $geoTargetingDataType = ''; 28 public $id; 29 protected $keyValueTargetingExpressionType = 'Google_Service_Dfareporting_KeyValueTargetingExpression'; 30 protected $keyValueTargetingExpressionDataType = ''; 31 public $kind; 32 protected $languageTargetingType = 'Google_Service_Dfareporting_LanguageTargeting'; 33 protected $languageTargetingDataType = ''; 34 protected $listTargetingExpressionType = 'Google_Service_Dfareporting_ListTargetingExpression'; 35 protected $listTargetingExpressionDataType = ''; 36 public $name; 37 public $subaccountId; 38 protected $technologyTargetingType = 'Google_Service_Dfareporting_TechnologyTargeting'; 39 protected $technologyTargetingDataType = ''; 40 41 public function setAccountId($accountId) 42 { 43 $this->accountId = $accountId; 44 } 45 public function getAccountId() 46 { 47 return $this->accountId; 48 } 49 public function setAdvertiserId($advertiserId) 50 { 51 $this->advertiserId = $advertiserId; 52 } 53 public function getAdvertiserId() 54 { 55 return $this->advertiserId; 56 } 57 /** 58 * @param Google_Service_Dfareporting_DimensionValue 59 */ 60 public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) 61 { 62 $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; 63 } 64 /** 65 * @return Google_Service_Dfareporting_DimensionValue 66 */ 67 public function getAdvertiserIdDimensionValue() 68 { 69 return $this->advertiserIdDimensionValue; 70 } 71 /** 72 * @param Google_Service_Dfareporting_DayPartTargeting 73 */ 74 public function setDayPartTargeting(Google_Service_Dfareporting_DayPartTargeting $dayPartTargeting) 75 { 76 $this->dayPartTargeting = $dayPartTargeting; 77 } 78 /** 79 * @return Google_Service_Dfareporting_DayPartTargeting 80 */ 81 public function getDayPartTargeting() 82 { 83 return $this->dayPartTargeting; 84 } 85 /** 86 * @param Google_Service_Dfareporting_GeoTargeting 87 */ 88 public function setGeoTargeting(Google_Service_Dfareporting_GeoTargeting $geoTargeting) 89 { 90 $this->geoTargeting = $geoTargeting; 91 } 92 /** 93 * @return Google_Service_Dfareporting_GeoTargeting 94 */ 95 public function getGeoTargeting() 96 { 97 return $this->geoTargeting; 98 } 99 public function setId($id) 100 { 101 $this->id = $id; 102 } 103 public function getId() 104 { 105 return $this->id; 106 } 107 /** 108 * @param Google_Service_Dfareporting_KeyValueTargetingExpression 109 */ 110 public function setKeyValueTargetingExpression(Google_Service_Dfareporting_KeyValueTargetingExpression $keyValueTargetingExpression) 111 { 112 $this->keyValueTargetingExpression = $keyValueTargetingExpression; 113 } 114 /** 115 * @return Google_Service_Dfareporting_KeyValueTargetingExpression 116 */ 117 public function getKeyValueTargetingExpression() 118 { 119 return $this->keyValueTargetingExpression; 120 } 121 public function setKind($kind) 122 { 123 $this->kind = $kind; 124 } 125 public function getKind() 126 { 127 return $this->kind; 128 } 129 /** 130 * @param Google_Service_Dfareporting_LanguageTargeting 131 */ 132 public function setLanguageTargeting(Google_Service_Dfareporting_LanguageTargeting $languageTargeting) 133 { 134 $this->languageTargeting = $languageTargeting; 135 } 136 /** 137 * @return Google_Service_Dfareporting_LanguageTargeting 138 */ 139 public function getLanguageTargeting() 140 { 141 return $this->languageTargeting; 142 } 143 /** 144 * @param Google_Service_Dfareporting_ListTargetingExpression 145 */ 146 public function setListTargetingExpression(Google_Service_Dfareporting_ListTargetingExpression $listTargetingExpression) 147 { 148 $this->listTargetingExpression = $listTargetingExpression; 149 } 150 /** 151 * @return Google_Service_Dfareporting_ListTargetingExpression 152 */ 153 public function getListTargetingExpression() 154 { 155 return $this->listTargetingExpression; 156 } 157 public function setName($name) 158 { 159 $this->name = $name; 160 } 161 public function getName() 162 { 163 return $this->name; 164 } 165 public function setSubaccountId($subaccountId) 166 { 167 $this->subaccountId = $subaccountId; 168 } 169 public function getSubaccountId() 170 { 171 return $this->subaccountId; 172 } 173 /** 174 * @param Google_Service_Dfareporting_TechnologyTargeting 175 */ 176 public function setTechnologyTargeting(Google_Service_Dfareporting_TechnologyTargeting $technologyTargeting) 177 { 178 $this->technologyTargeting = $technologyTargeting; 179 } 180 /** 181 * @return Google_Service_Dfareporting_TechnologyTargeting 182 */ 183 public function getTechnologyTargeting() 184 { 185 return $this->technologyTargeting; 186 } 187} 188