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\AdExchangeBuyer; 19 20class Creative extends \Google\Collection 21{ 22 protected $collection_key = 'vendorType'; 23 protected $internal_gapi_mappings = [ 24 "hTMLSnippet" => "HTMLSnippet", 25 ]; 26 public $hTMLSnippet; 27 public $accountId; 28 public $adChoicesDestinationUrl; 29 protected $adTechnologyProvidersType = CreativeAdTechnologyProviders::class; 30 protected $adTechnologyProvidersDataType = ''; 31 public $advertiserId; 32 public $advertiserName; 33 public $agencyId; 34 public $apiUploadTimestamp; 35 public $attribute; 36 public $buyerCreativeId; 37 public $clickThroughUrl; 38 protected $correctionsType = CreativeCorrections::class; 39 protected $correctionsDataType = 'array'; 40 public $creativeStatusIdentityType; 41 public $dealsStatus; 42 public $detectedDomains; 43 protected $filteringReasonsType = CreativeFilteringReasons::class; 44 protected $filteringReasonsDataType = ''; 45 public $height; 46 public $impressionTrackingUrl; 47 public $kind; 48 public $languages; 49 protected $nativeAdType = CreativeNativeAd::class; 50 protected $nativeAdDataType = ''; 51 public $openAuctionStatus; 52 public $productCategories; 53 public $restrictedCategories; 54 public $sensitiveCategories; 55 protected $servingRestrictionsType = CreativeServingRestrictions::class; 56 protected $servingRestrictionsDataType = 'array'; 57 public $vendorType; 58 public $version; 59 public $videoURL; 60 public $videoVastXML; 61 public $width; 62 63 public function setHTMLSnippet($hTMLSnippet) 64 { 65 $this->hTMLSnippet = $hTMLSnippet; 66 } 67 public function getHTMLSnippet() 68 { 69 return $this->hTMLSnippet; 70 } 71 public function setAccountId($accountId) 72 { 73 $this->accountId = $accountId; 74 } 75 public function getAccountId() 76 { 77 return $this->accountId; 78 } 79 public function setAdChoicesDestinationUrl($adChoicesDestinationUrl) 80 { 81 $this->adChoicesDestinationUrl = $adChoicesDestinationUrl; 82 } 83 public function getAdChoicesDestinationUrl() 84 { 85 return $this->adChoicesDestinationUrl; 86 } 87 /** 88 * @param CreativeAdTechnologyProviders 89 */ 90 public function setAdTechnologyProviders(CreativeAdTechnologyProviders $adTechnologyProviders) 91 { 92 $this->adTechnologyProviders = $adTechnologyProviders; 93 } 94 /** 95 * @return CreativeAdTechnologyProviders 96 */ 97 public function getAdTechnologyProviders() 98 { 99 return $this->adTechnologyProviders; 100 } 101 public function setAdvertiserId($advertiserId) 102 { 103 $this->advertiserId = $advertiserId; 104 } 105 public function getAdvertiserId() 106 { 107 return $this->advertiserId; 108 } 109 public function setAdvertiserName($advertiserName) 110 { 111 $this->advertiserName = $advertiserName; 112 } 113 public function getAdvertiserName() 114 { 115 return $this->advertiserName; 116 } 117 public function setAgencyId($agencyId) 118 { 119 $this->agencyId = $agencyId; 120 } 121 public function getAgencyId() 122 { 123 return $this->agencyId; 124 } 125 public function setApiUploadTimestamp($apiUploadTimestamp) 126 { 127 $this->apiUploadTimestamp = $apiUploadTimestamp; 128 } 129 public function getApiUploadTimestamp() 130 { 131 return $this->apiUploadTimestamp; 132 } 133 public function setAttribute($attribute) 134 { 135 $this->attribute = $attribute; 136 } 137 public function getAttribute() 138 { 139 return $this->attribute; 140 } 141 public function setBuyerCreativeId($buyerCreativeId) 142 { 143 $this->buyerCreativeId = $buyerCreativeId; 144 } 145 public function getBuyerCreativeId() 146 { 147 return $this->buyerCreativeId; 148 } 149 public function setClickThroughUrl($clickThroughUrl) 150 { 151 $this->clickThroughUrl = $clickThroughUrl; 152 } 153 public function getClickThroughUrl() 154 { 155 return $this->clickThroughUrl; 156 } 157 /** 158 * @param CreativeCorrections[] 159 */ 160 public function setCorrections($corrections) 161 { 162 $this->corrections = $corrections; 163 } 164 /** 165 * @return CreativeCorrections[] 166 */ 167 public function getCorrections() 168 { 169 return $this->corrections; 170 } 171 public function setCreativeStatusIdentityType($creativeStatusIdentityType) 172 { 173 $this->creativeStatusIdentityType = $creativeStatusIdentityType; 174 } 175 public function getCreativeStatusIdentityType() 176 { 177 return $this->creativeStatusIdentityType; 178 } 179 public function setDealsStatus($dealsStatus) 180 { 181 $this->dealsStatus = $dealsStatus; 182 } 183 public function getDealsStatus() 184 { 185 return $this->dealsStatus; 186 } 187 public function setDetectedDomains($detectedDomains) 188 { 189 $this->detectedDomains = $detectedDomains; 190 } 191 public function getDetectedDomains() 192 { 193 return $this->detectedDomains; 194 } 195 /** 196 * @param CreativeFilteringReasons 197 */ 198 public function setFilteringReasons(CreativeFilteringReasons $filteringReasons) 199 { 200 $this->filteringReasons = $filteringReasons; 201 } 202 /** 203 * @return CreativeFilteringReasons 204 */ 205 public function getFilteringReasons() 206 { 207 return $this->filteringReasons; 208 } 209 public function setHeight($height) 210 { 211 $this->height = $height; 212 } 213 public function getHeight() 214 { 215 return $this->height; 216 } 217 public function setImpressionTrackingUrl($impressionTrackingUrl) 218 { 219 $this->impressionTrackingUrl = $impressionTrackingUrl; 220 } 221 public function getImpressionTrackingUrl() 222 { 223 return $this->impressionTrackingUrl; 224 } 225 public function setKind($kind) 226 { 227 $this->kind = $kind; 228 } 229 public function getKind() 230 { 231 return $this->kind; 232 } 233 public function setLanguages($languages) 234 { 235 $this->languages = $languages; 236 } 237 public function getLanguages() 238 { 239 return $this->languages; 240 } 241 /** 242 * @param CreativeNativeAd 243 */ 244 public function setNativeAd(CreativeNativeAd $nativeAd) 245 { 246 $this->nativeAd = $nativeAd; 247 } 248 /** 249 * @return CreativeNativeAd 250 */ 251 public function getNativeAd() 252 { 253 return $this->nativeAd; 254 } 255 public function setOpenAuctionStatus($openAuctionStatus) 256 { 257 $this->openAuctionStatus = $openAuctionStatus; 258 } 259 public function getOpenAuctionStatus() 260 { 261 return $this->openAuctionStatus; 262 } 263 public function setProductCategories($productCategories) 264 { 265 $this->productCategories = $productCategories; 266 } 267 public function getProductCategories() 268 { 269 return $this->productCategories; 270 } 271 public function setRestrictedCategories($restrictedCategories) 272 { 273 $this->restrictedCategories = $restrictedCategories; 274 } 275 public function getRestrictedCategories() 276 { 277 return $this->restrictedCategories; 278 } 279 public function setSensitiveCategories($sensitiveCategories) 280 { 281 $this->sensitiveCategories = $sensitiveCategories; 282 } 283 public function getSensitiveCategories() 284 { 285 return $this->sensitiveCategories; 286 } 287 /** 288 * @param CreativeServingRestrictions[] 289 */ 290 public function setServingRestrictions($servingRestrictions) 291 { 292 $this->servingRestrictions = $servingRestrictions; 293 } 294 /** 295 * @return CreativeServingRestrictions[] 296 */ 297 public function getServingRestrictions() 298 { 299 return $this->servingRestrictions; 300 } 301 public function setVendorType($vendorType) 302 { 303 $this->vendorType = $vendorType; 304 } 305 public function getVendorType() 306 { 307 return $this->vendorType; 308 } 309 public function setVersion($version) 310 { 311 $this->version = $version; 312 } 313 public function getVersion() 314 { 315 return $this->version; 316 } 317 public function setVideoURL($videoURL) 318 { 319 $this->videoURL = $videoURL; 320 } 321 public function getVideoURL() 322 { 323 return $this->videoURL; 324 } 325 public function setVideoVastXML($videoVastXML) 326 { 327 $this->videoVastXML = $videoVastXML; 328 } 329 public function getVideoVastXML() 330 { 331 return $this->videoVastXML; 332 } 333 public function setWidth($width) 334 { 335 $this->width = $width; 336 } 337 public function getWidth() 338 { 339 return $this->width; 340 } 341} 342 343// Adding a class alias for backwards compatibility with the previous class name. 344class_alias(Creative::class, 'Google_Service_AdExchangeBuyer_Creative'); 345