Нема описа

Creative.php 7.7KB

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