| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483 |
- <?php
- /*
- * Copyright 2014 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
- namespace Google\Service\AdExchangeBuyerII;
- class Creative extends \Google\Collection
- {
- protected $collection_key = 'vendorIds';
- /**
- * @var string
- */
- public $accountId;
- /**
- * @var string
- */
- public $adChoicesDestinationUrl;
- protected $adTechnologyProvidersType = AdTechnologyProviders::class;
- protected $adTechnologyProvidersDataType = '';
- /**
- * @var string
- */
- public $advertiserName;
- /**
- * @var string
- */
- public $agencyId;
- /**
- * @var string
- */
- public $apiUpdateTime;
- /**
- * @var string[]
- */
- public $attributes;
- /**
- * @var string[]
- */
- public $clickThroughUrls;
- protected $correctionsType = Correction::class;
- protected $correctionsDataType = 'array';
- /**
- * @var string
- */
- public $creativeId;
- /**
- * @var string
- */
- public $dealsStatus;
- /**
- * @var string[]
- */
- public $declaredClickThroughUrls;
- /**
- * @var string[]
- */
- public $detectedAdvertiserIds;
- /**
- * @var string[]
- */
- public $detectedDomains;
- /**
- * @var string[]
- */
- public $detectedLanguages;
- /**
- * @var int[]
- */
- public $detectedProductCategories;
- /**
- * @var int[]
- */
- public $detectedSensitiveCategories;
- protected $htmlType = HtmlContent::class;
- protected $htmlDataType = '';
- /**
- * @var string[]
- */
- public $impressionTrackingUrls;
- protected $nativeType = NativeContent::class;
- protected $nativeDataType = '';
- /**
- * @var string
- */
- public $openAuctionStatus;
- /**
- * @var string[]
- */
- public $restrictedCategories;
- protected $servingRestrictionsType = ServingRestriction::class;
- protected $servingRestrictionsDataType = 'array';
- /**
- * @var int[]
- */
- public $vendorIds;
- /**
- * @var int
- */
- public $version;
- protected $videoType = VideoContent::class;
- protected $videoDataType = '';
- /**
- * @param string
- */
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
- /**
- * @return string
- */
- public function getAccountId()
- {
- return $this->accountId;
- }
- /**
- * @param string
- */
- public function setAdChoicesDestinationUrl($adChoicesDestinationUrl)
- {
- $this->adChoicesDestinationUrl = $adChoicesDestinationUrl;
- }
- /**
- * @return string
- */
- public function getAdChoicesDestinationUrl()
- {
- return $this->adChoicesDestinationUrl;
- }
- /**
- * @param AdTechnologyProviders
- */
- public function setAdTechnologyProviders(AdTechnologyProviders $adTechnologyProviders)
- {
- $this->adTechnologyProviders = $adTechnologyProviders;
- }
- /**
- * @return AdTechnologyProviders
- */
- public function getAdTechnologyProviders()
- {
- return $this->adTechnologyProviders;
- }
- /**
- * @param string
- */
- public function setAdvertiserName($advertiserName)
- {
- $this->advertiserName = $advertiserName;
- }
- /**
- * @return string
- */
- public function getAdvertiserName()
- {
- return $this->advertiserName;
- }
- /**
- * @param string
- */
- public function setAgencyId($agencyId)
- {
- $this->agencyId = $agencyId;
- }
- /**
- * @return string
- */
- public function getAgencyId()
- {
- return $this->agencyId;
- }
- /**
- * @param string
- */
- public function setApiUpdateTime($apiUpdateTime)
- {
- $this->apiUpdateTime = $apiUpdateTime;
- }
- /**
- * @return string
- */
- public function getApiUpdateTime()
- {
- return $this->apiUpdateTime;
- }
- /**
- * @param string[]
- */
- public function setAttributes($attributes)
- {
- $this->attributes = $attributes;
- }
- /**
- * @return string[]
- */
- public function getAttributes()
- {
- return $this->attributes;
- }
- /**
- * @param string[]
- */
- public function setClickThroughUrls($clickThroughUrls)
- {
- $this->clickThroughUrls = $clickThroughUrls;
- }
- /**
- * @return string[]
- */
- public function getClickThroughUrls()
- {
- return $this->clickThroughUrls;
- }
- /**
- * @param Correction[]
- */
- public function setCorrections($corrections)
- {
- $this->corrections = $corrections;
- }
- /**
- * @return Correction[]
- */
- public function getCorrections()
- {
- return $this->corrections;
- }
- /**
- * @param string
- */
- public function setCreativeId($creativeId)
- {
- $this->creativeId = $creativeId;
- }
- /**
- * @return string
- */
- public function getCreativeId()
- {
- return $this->creativeId;
- }
- /**
- * @param string
- */
- public function setDealsStatus($dealsStatus)
- {
- $this->dealsStatus = $dealsStatus;
- }
- /**
- * @return string
- */
- public function getDealsStatus()
- {
- return $this->dealsStatus;
- }
- /**
- * @param string[]
- */
- public function setDeclaredClickThroughUrls($declaredClickThroughUrls)
- {
- $this->declaredClickThroughUrls = $declaredClickThroughUrls;
- }
- /**
- * @return string[]
- */
- public function getDeclaredClickThroughUrls()
- {
- return $this->declaredClickThroughUrls;
- }
- /**
- * @param string[]
- */
- public function setDetectedAdvertiserIds($detectedAdvertiserIds)
- {
- $this->detectedAdvertiserIds = $detectedAdvertiserIds;
- }
- /**
- * @return string[]
- */
- public function getDetectedAdvertiserIds()
- {
- return $this->detectedAdvertiserIds;
- }
- /**
- * @param string[]
- */
- public function setDetectedDomains($detectedDomains)
- {
- $this->detectedDomains = $detectedDomains;
- }
- /**
- * @return string[]
- */
- public function getDetectedDomains()
- {
- return $this->detectedDomains;
- }
- /**
- * @param string[]
- */
- public function setDetectedLanguages($detectedLanguages)
- {
- $this->detectedLanguages = $detectedLanguages;
- }
- /**
- * @return string[]
- */
- public function getDetectedLanguages()
- {
- return $this->detectedLanguages;
- }
- /**
- * @param int[]
- */
- public function setDetectedProductCategories($detectedProductCategories)
- {
- $this->detectedProductCategories = $detectedProductCategories;
- }
- /**
- * @return int[]
- */
- public function getDetectedProductCategories()
- {
- return $this->detectedProductCategories;
- }
- /**
- * @param int[]
- */
- public function setDetectedSensitiveCategories($detectedSensitiveCategories)
- {
- $this->detectedSensitiveCategories = $detectedSensitiveCategories;
- }
- /**
- * @return int[]
- */
- public function getDetectedSensitiveCategories()
- {
- return $this->detectedSensitiveCategories;
- }
- /**
- * @param HtmlContent
- */
- public function setHtml(HtmlContent $html)
- {
- $this->html = $html;
- }
- /**
- * @return HtmlContent
- */
- public function getHtml()
- {
- return $this->html;
- }
- /**
- * @param string[]
- */
- public function setImpressionTrackingUrls($impressionTrackingUrls)
- {
- $this->impressionTrackingUrls = $impressionTrackingUrls;
- }
- /**
- * @return string[]
- */
- public function getImpressionTrackingUrls()
- {
- return $this->impressionTrackingUrls;
- }
- /**
- * @param NativeContent
- */
- public function setNative(NativeContent $native)
- {
- $this->native = $native;
- }
- /**
- * @return NativeContent
- */
- public function getNative()
- {
- return $this->native;
- }
- /**
- * @param string
- */
- public function setOpenAuctionStatus($openAuctionStatus)
- {
- $this->openAuctionStatus = $openAuctionStatus;
- }
- /**
- * @return string
- */
- public function getOpenAuctionStatus()
- {
- return $this->openAuctionStatus;
- }
- /**
- * @param string[]
- */
- public function setRestrictedCategories($restrictedCategories)
- {
- $this->restrictedCategories = $restrictedCategories;
- }
- /**
- * @return string[]
- */
- public function getRestrictedCategories()
- {
- return $this->restrictedCategories;
- }
- /**
- * @param ServingRestriction[]
- */
- public function setServingRestrictions($servingRestrictions)
- {
- $this->servingRestrictions = $servingRestrictions;
- }
- /**
- * @return ServingRestriction[]
- */
- public function getServingRestrictions()
- {
- return $this->servingRestrictions;
- }
- /**
- * @param int[]
- */
- public function setVendorIds($vendorIds)
- {
- $this->vendorIds = $vendorIds;
- }
- /**
- * @return int[]
- */
- public function getVendorIds()
- {
- return $this->vendorIds;
- }
- /**
- * @param int
- */
- public function setVersion($version)
- {
- $this->version = $version;
- }
- /**
- * @return int
- */
- public function getVersion()
- {
- return $this->version;
- }
- /**
- * @param VideoContent
- */
- public function setVideo(VideoContent $video)
- {
- $this->video = $video;
- }
- /**
- * @return VideoContent
- */
- public function getVideo()
- {
- return $this->video;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(Creative::class, 'Google_Service_AdExchangeBuyerII_Creative');
|