[f9c482b] | 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 |
|
---|
| 18 | namespace Google\Service\DisplayVideo;
|
---|
| 19 |
|
---|
| 20 | class YoutubeAdGroup extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'youtubeAdIds';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $adGroupFormat;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $adGroupId;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $advertiserId;
|
---|
| 35 | protected $biddingStrategyType = YoutubeAndPartnersBiddingStrategy::class;
|
---|
| 36 | protected $biddingStrategyDataType = '';
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $displayName;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $entityStatus;
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $lineItemId;
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $name;
|
---|
| 53 | protected $productFeedDataType = ProductFeedData::class;
|
---|
| 54 | protected $productFeedDataDataType = '';
|
---|
| 55 | protected $targetingExpansionType = TargetingExpansionConfig::class;
|
---|
| 56 | protected $targetingExpansionDataType = '';
|
---|
| 57 | /**
|
---|
| 58 | * @var string[]
|
---|
| 59 | */
|
---|
| 60 | public $youtubeAdIds;
|
---|
| 61 |
|
---|
| 62 | /**
|
---|
| 63 | * @param string
|
---|
| 64 | */
|
---|
| 65 | public function setAdGroupFormat($adGroupFormat)
|
---|
| 66 | {
|
---|
| 67 | $this->adGroupFormat = $adGroupFormat;
|
---|
| 68 | }
|
---|
| 69 | /**
|
---|
| 70 | * @return string
|
---|
| 71 | */
|
---|
| 72 | public function getAdGroupFormat()
|
---|
| 73 | {
|
---|
| 74 | return $this->adGroupFormat;
|
---|
| 75 | }
|
---|
| 76 | /**
|
---|
| 77 | * @param string
|
---|
| 78 | */
|
---|
| 79 | public function setAdGroupId($adGroupId)
|
---|
| 80 | {
|
---|
| 81 | $this->adGroupId = $adGroupId;
|
---|
| 82 | }
|
---|
| 83 | /**
|
---|
| 84 | * @return string
|
---|
| 85 | */
|
---|
| 86 | public function getAdGroupId()
|
---|
| 87 | {
|
---|
| 88 | return $this->adGroupId;
|
---|
| 89 | }
|
---|
| 90 | /**
|
---|
| 91 | * @param string
|
---|
| 92 | */
|
---|
| 93 | public function setAdvertiserId($advertiserId)
|
---|
| 94 | {
|
---|
| 95 | $this->advertiserId = $advertiserId;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @return string
|
---|
| 99 | */
|
---|
| 100 | public function getAdvertiserId()
|
---|
| 101 | {
|
---|
| 102 | return $this->advertiserId;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @param YoutubeAndPartnersBiddingStrategy
|
---|
| 106 | */
|
---|
| 107 | public function setBiddingStrategy(YoutubeAndPartnersBiddingStrategy $biddingStrategy)
|
---|
| 108 | {
|
---|
| 109 | $this->biddingStrategy = $biddingStrategy;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @return YoutubeAndPartnersBiddingStrategy
|
---|
| 113 | */
|
---|
| 114 | public function getBiddingStrategy()
|
---|
| 115 | {
|
---|
| 116 | return $this->biddingStrategy;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @param string
|
---|
| 120 | */
|
---|
| 121 | public function setDisplayName($displayName)
|
---|
| 122 | {
|
---|
| 123 | $this->displayName = $displayName;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @return string
|
---|
| 127 | */
|
---|
| 128 | public function getDisplayName()
|
---|
| 129 | {
|
---|
| 130 | return $this->displayName;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @param string
|
---|
| 134 | */
|
---|
| 135 | public function setEntityStatus($entityStatus)
|
---|
| 136 | {
|
---|
| 137 | $this->entityStatus = $entityStatus;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @return string
|
---|
| 141 | */
|
---|
| 142 | public function getEntityStatus()
|
---|
| 143 | {
|
---|
| 144 | return $this->entityStatus;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @param string
|
---|
| 148 | */
|
---|
| 149 | public function setLineItemId($lineItemId)
|
---|
| 150 | {
|
---|
| 151 | $this->lineItemId = $lineItemId;
|
---|
| 152 | }
|
---|
| 153 | /**
|
---|
| 154 | * @return string
|
---|
| 155 | */
|
---|
| 156 | public function getLineItemId()
|
---|
| 157 | {
|
---|
| 158 | return $this->lineItemId;
|
---|
| 159 | }
|
---|
| 160 | /**
|
---|
| 161 | * @param string
|
---|
| 162 | */
|
---|
| 163 | public function setName($name)
|
---|
| 164 | {
|
---|
| 165 | $this->name = $name;
|
---|
| 166 | }
|
---|
| 167 | /**
|
---|
| 168 | * @return string
|
---|
| 169 | */
|
---|
| 170 | public function getName()
|
---|
| 171 | {
|
---|
| 172 | return $this->name;
|
---|
| 173 | }
|
---|
| 174 | /**
|
---|
| 175 | * @param ProductFeedData
|
---|
| 176 | */
|
---|
| 177 | public function setProductFeedData(ProductFeedData $productFeedData)
|
---|
| 178 | {
|
---|
| 179 | $this->productFeedData = $productFeedData;
|
---|
| 180 | }
|
---|
| 181 | /**
|
---|
| 182 | * @return ProductFeedData
|
---|
| 183 | */
|
---|
| 184 | public function getProductFeedData()
|
---|
| 185 | {
|
---|
| 186 | return $this->productFeedData;
|
---|
| 187 | }
|
---|
| 188 | /**
|
---|
| 189 | * @param TargetingExpansionConfig
|
---|
| 190 | */
|
---|
| 191 | public function setTargetingExpansion(TargetingExpansionConfig $targetingExpansion)
|
---|
| 192 | {
|
---|
| 193 | $this->targetingExpansion = $targetingExpansion;
|
---|
| 194 | }
|
---|
| 195 | /**
|
---|
| 196 | * @return TargetingExpansionConfig
|
---|
| 197 | */
|
---|
| 198 | public function getTargetingExpansion()
|
---|
| 199 | {
|
---|
| 200 | return $this->targetingExpansion;
|
---|
| 201 | }
|
---|
| 202 | /**
|
---|
| 203 | * @param string[]
|
---|
| 204 | */
|
---|
| 205 | public function setYoutubeAdIds($youtubeAdIds)
|
---|
| 206 | {
|
---|
| 207 | $this->youtubeAdIds = $youtubeAdIds;
|
---|
| 208 | }
|
---|
| 209 | /**
|
---|
| 210 | * @return string[]
|
---|
| 211 | */
|
---|
| 212 | public function getYoutubeAdIds()
|
---|
| 213 | {
|
---|
| 214 | return $this->youtubeAdIds;
|
---|
| 215 | }
|
---|
| 216 | }
|
---|
| 217 |
|
---|
| 218 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 219 | class_alias(YoutubeAdGroup::class, 'Google_Service_DisplayVideo_YoutubeAdGroup');
|
---|