| 1 |
<?php |
| 2 |
/* |
| 3 |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 4 |
* use this file except in compliance with the License. You may obtain a copy of |
| 5 |
* the License at |
| 6 |
* |
| 7 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
* |
| 9 |
* Unless required by applicable law or agreed to in writing, software |
| 10 |
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 11 |
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 12 |
* License for the specific language governing permissions and limitations under |
| 13 |
* the License. |
| 14 |
*/ |
| 15 |
|
| 16 |
|
| 17 |
/** |
| 18 |
* The "directDeals" collection of methods. |
| 19 |
* Typical usage is: |
| 20 |
* <code> |
| 21 |
* $adexchangebuyerService = new Google_AdexchangebuyerService(...); |
| 22 |
* $directDeals = $adexchangebuyerService->directDeals; |
| 23 |
* </code> |
| 24 |
*/ |
| 25 |
class Google_DirectDealsServiceResource extends Google_ServiceResource { |
| 26 |
|
| 27 |
|
| 28 |
/** |
| 29 |
* Retrieves the authenticated user's list of direct deals. (directDeals.list) |
| 30 |
* |
| 31 |
* @param array $optParams Optional parameters. |
| 32 |
* @return Google_DirectDealsList |
| 33 |
*/ |
| 34 |
public function listDirectDeals($optParams = array()) { |
| 35 |
$params = array(); |
| 36 |
$params = array_merge($params, $optParams); |
| 37 |
$data = $this->__call('list', array($params)); |
| 38 |
if ($this->useObjects()) { |
| 39 |
return new Google_DirectDealsList($data); |
| 40 |
} else { |
| 41 |
return $data; |
| 42 |
} |
| 43 |
} |
| 44 |
/** |
| 45 |
* Gets one direct deal by ID. (directDeals.get) |
| 46 |
* |
| 47 |
* @param string $id The direct deal id |
| 48 |
* @param array $optParams Optional parameters. |
| 49 |
* @return Google_DirectDeal |
| 50 |
*/ |
| 51 |
public function get($id, $optParams = array()) { |
| 52 |
$params = array('id' => $id); |
| 53 |
$params = array_merge($params, $optParams); |
| 54 |
$data = $this->__call('get', array($params)); |
| 55 |
if ($this->useObjects()) { |
| 56 |
return new Google_DirectDeal($data); |
| 57 |
} else { |
| 58 |
return $data; |
| 59 |
} |
| 60 |
} |
| 61 |
} |
| 62 |
|
| 63 |
/** |
| 64 |
* The "accounts" collection of methods. |
| 65 |
* Typical usage is: |
| 66 |
* <code> |
| 67 |
* $adexchangebuyerService = new Google_AdexchangebuyerService(...); |
| 68 |
* $accounts = $adexchangebuyerService->accounts; |
| 69 |
* </code> |
| 70 |
*/ |
| 71 |
class Google_AccountsServiceResource extends Google_ServiceResource { |
| 72 |
|
| 73 |
|
| 74 |
/** |
| 75 |
* Updates an existing account. This method supports patch semantics. (accounts.patch) |
| 76 |
* |
| 77 |
* @param int $id The account id |
| 78 |
* @param Google_Account $postBody |
| 79 |
* @param array $optParams Optional parameters. |
| 80 |
* @return Google_Account |
| 81 |
*/ |
| 82 |
public function patch($id, Google_Account $postBody, $optParams = array()) { |
| 83 |
$params = array('id' => $id, 'postBody' => $postBody); |
| 84 |
$params = array_merge($params, $optParams); |
| 85 |
$data = $this->__call('patch', array($params)); |
| 86 |
if ($this->useObjects()) { |
| 87 |
return new Google_Account($data); |
| 88 |
} else { |
| 89 |
return $data; |
| 90 |
} |
| 91 |
} |
| 92 |
/** |
| 93 |
* Retrieves the authenticated user's list of accounts. (accounts.list) |
| 94 |
* |
| 95 |
* @param array $optParams Optional parameters. |
| 96 |
* @return Google_AccountsList |
| 97 |
*/ |
| 98 |
public function listAccounts($optParams = array()) { |
| 99 |
$params = array(); |
| 100 |
$params = array_merge($params, $optParams); |
| 101 |
$data = $this->__call('list', array($params)); |
| 102 |
if ($this->useObjects()) { |
| 103 |
return new Google_AccountsList($data); |
| 104 |
} else { |
| 105 |
return $data; |
| 106 |
} |
| 107 |
} |
| 108 |
/** |
| 109 |
* Updates an existing account. (accounts.update) |
| 110 |
* |
| 111 |
* @param int $id The account id |
| 112 |
* @param Google_Account $postBody |
| 113 |
* @param array $optParams Optional parameters. |
| 114 |
* @return Google_Account |
| 115 |
*/ |
| 116 |
public function update($id, Google_Account $postBody, $optParams = array()) { |
| 117 |
$params = array('id' => $id, 'postBody' => $postBody); |
| 118 |
$params = array_merge($params, $optParams); |
| 119 |
$data = $this->__call('update', array($params)); |
| 120 |
if ($this->useObjects()) { |
| 121 |
return new Google_Account($data); |
| 122 |
} else { |
| 123 |
return $data; |
| 124 |
} |
| 125 |
} |
| 126 |
/** |
| 127 |
* Gets one account by ID. (accounts.get) |
| 128 |
* |
| 129 |
* @param int $id The account id |
| 130 |
* @param array $optParams Optional parameters. |
| 131 |
* @return Google_Account |
| 132 |
*/ |
| 133 |
public function get($id, $optParams = array()) { |
| 134 |
$params = array('id' => $id); |
| 135 |
$params = array_merge($params, $optParams); |
| 136 |
$data = $this->__call('get', array($params)); |
| 137 |
if ($this->useObjects()) { |
| 138 |
return new Google_Account($data); |
| 139 |
} else { |
| 140 |
return $data; |
| 141 |
} |
| 142 |
} |
| 143 |
} |
| 144 |
|
| 145 |
/** |
| 146 |
* The "creatives" collection of methods. |
| 147 |
* Typical usage is: |
| 148 |
* <code> |
| 149 |
* $adexchangebuyerService = new Google_AdexchangebuyerService(...); |
| 150 |
* $creatives = $adexchangebuyerService->creatives; |
| 151 |
* </code> |
| 152 |
*/ |
| 153 |
class Google_CreativesServiceResource extends Google_ServiceResource { |
| 154 |
|
| 155 |
|
| 156 |
/** |
| 157 |
* Submit a new creative. (creatives.insert) |
| 158 |
* |
| 159 |
* @param Google_Creative $postBody |
| 160 |
* @param array $optParams Optional parameters. |
| 161 |
* @return Google_Creative |
| 162 |
*/ |
| 163 |
public function insert(Google_Creative $postBody, $optParams = array()) { |
| 164 |
$params = array('postBody' => $postBody); |
| 165 |
$params = array_merge($params, $optParams); |
| 166 |
$data = $this->__call('insert', array($params)); |
| 167 |
if ($this->useObjects()) { |
| 168 |
return new Google_Creative($data); |
| 169 |
} else { |
| 170 |
return $data; |
| 171 |
} |
| 172 |
} |
| 173 |
/** |
| 174 |
* Retrieves a list of the authenticated user's active creatives. (creatives.list) |
| 175 |
* |
| 176 |
* @param array $optParams Optional parameters. |
| 177 |
* |
| 178 |
* @opt_param string pageToken A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. Optional. |
| 179 |
* @opt_param string maxResults Maximum number of entries returned on one result page. If not set, the default is 100. Optional. |
| 180 |
* @return Google_CreativesList |
| 181 |
*/ |
| 182 |
public function listCreatives($optParams = array()) { |
| 183 |
$params = array(); |
| 184 |
$params = array_merge($params, $optParams); |
| 185 |
$data = $this->__call('list', array($params)); |
| 186 |
if ($this->useObjects()) { |
| 187 |
return new Google_CreativesList($data); |
| 188 |
} else { |
| 189 |
return $data; |
| 190 |
} |
| 191 |
} |
| 192 |
/** |
| 193 |
* Gets the status for a single creative. (creatives.get) |
| 194 |
* |
| 195 |
* @param int $accountId The id for the account that will serve this creative. |
| 196 |
* @param string $buyerCreativeId The buyer-specific id for this creative. |
| 197 |
* @param string $adgroupId The adgroup this creative belongs to. |
| 198 |
* @param array $optParams Optional parameters. |
| 199 |
* @return Google_Creative |
| 200 |
*/ |
| 201 |
public function get($accountId, $buyerCreativeId, $adgroupId, $optParams = array()) { |
| 202 |
$params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId, 'adgroupId' => $adgroupId); |
| 203 |
$params = array_merge($params, $optParams); |
| 204 |
$data = $this->__call('get', array($params)); |
| 205 |
if ($this->useObjects()) { |
| 206 |
return new Google_Creative($data); |
| 207 |
} else { |
| 208 |
return $data; |
| 209 |
} |
| 210 |
} |
| 211 |
} |
| 212 |
|
| 213 |
/** |
| 214 |
* Service definition for Google_Adexchangebuyer (v1). |
| 215 |
* |
| 216 |
* <p> |
| 217 |
* Lets you manage your Ad Exchange Buyer account |
| 218 |
* </p> |
| 219 |
* |
| 220 |
* <p> |
| 221 |
* For more information about this service, see the |
| 222 |
* <a href="https://developers.google.com/ad-exchange/buyer-rest" target="_blank">API Documentation</a> |
| 223 |
* </p> |
| 224 |
* |
| 225 |
* @author Google, Inc. |
| 226 |
*/ |
| 227 |
class Google_AdexchangebuyerService extends Google_Service { |
| 228 |
public $directDeals; |
| 229 |
public $accounts; |
| 230 |
public $creatives; |
| 231 |
/** |
| 232 |
* Constructs the internal representation of the Adexchangebuyer service. |
| 233 |
* |
| 234 |
* @param Google_Client $client |
| 235 |
*/ |
| 236 |
public function __construct(Google_Client $client) { |
| 237 |
$this->servicePath = 'adexchangebuyer/v1/'; |
| 238 |
$this->version = 'v1'; |
| 239 |
$this->serviceName = 'adexchangebuyer'; |
| 240 |
|
| 241 |
$client->addService($this->serviceName, $this->version); |
| 242 |
$this->directDeals = new Google_DirectDealsServiceResource($this, $this->serviceName, 'directDeals', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adexchange.buyer"], "path": "directdeals", "response": {"$ref": "DirectDealsList"}, "id": "adexchangebuyer.directDeals.list", "httpMethod": "GET"}, "get": {"scopes": ["https://www.googleapis.com/auth/adexchange.buyer"], "parameters": {"id": {"required": true, "type": "string", "location": "path", "format": "int64"}}, "id": "adexchangebuyer.directDeals.get", "httpMethod": "GET", "path": "directdeals/{id}", "response": {"$ref": "DirectDeal"}}}}', true)); |
| 243 |
$this->accounts = new Google_AccountsServiceResource($this, $this->serviceName, 'accounts', json_decode('{"methods": {"patch": {"scopes": ["https://www.googleapis.com/auth/adexchange.buyer"], "parameters": {"id": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "request": {"$ref": "Account"}, "response": {"$ref": "Account"}, "httpMethod": "PATCH", "path": "accounts/{id}", "id": "adexchangebuyer.accounts.patch"}, "list": {"scopes": ["https://www.googleapis.com/auth/adexchange.buyer"], "path": "accounts", "response": {"$ref": "AccountsList"}, "id": "adexchangebuyer.accounts.list", "httpMethod": "GET"}, "update": {"scopes": ["https://www.googleapis.com/auth/adexchange.buyer"], "parameters": {"id": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "request": {"$ref": "Account"}, "response": {"$ref": "Account"}, "httpMethod": "PUT", "path": "accounts/{id}", "id": "adexchangebuyer.accounts.update"}, "get": {"scopes": ["https://www.googleapis.com/auth/adexchange.buyer"], "parameters": {"id": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "id": "adexchangebuyer.accounts.get", "httpMethod": "GET", "path": "accounts/{id}", "response": {"$ref": "Account"}}}}', true)); |
| 244 |
$this->creatives = new Google_CreativesServiceResource($this, $this->serviceName, 'creatives', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/adexchange.buyer"], "request": {"$ref": "Creative"}, "response": {"$ref": "Creative"}, "httpMethod": "POST", "path": "creatives", "id": "adexchangebuyer.creatives.insert"}, "list": {"scopes": ["https://www.googleapis.com/auth/adexchange.buyer"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "maxResults": {"location": "query", "minimum": "1", "type": "integer", "maximum": "1000", "format": "uint32"}}, "response": {"$ref": "CreativesList"}, "httpMethod": "GET", "path": "creatives", "id": "adexchangebuyer.creatives.list"}, "get": {"scopes": ["https://www.googleapis.com/auth/adexchange.buyer"], "parameters": {"adgroupId": {"required": true, "type": "string", "location": "query", "format": "int64"}, "buyerCreativeId": {"required": true, "type": "string", "location": "path"}, "accountId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "id": "adexchangebuyer.creatives.get", "httpMethod": "GET", "path": "creatives/{accountId}/{buyerCreativeId}", "response": {"$ref": "Creative"}}}}', true)); |
| 245 |
|
| 246 |
} |
| 247 |
} |
| 248 |
|
| 249 |
class Google_Account extends Google_Model { |
| 250 |
public $kind; |
| 251 |
public $maximumTotalQps; |
| 252 |
protected $__bidderLocationType = 'Google_AccountBidderLocation'; |
| 253 |
protected $__bidderLocationDataType = 'array'; |
| 254 |
public $bidderLocation; |
| 255 |
public $cookieMatchingNid; |
| 256 |
public $id; |
| 257 |
public $cookieMatchingUrl; |
| 258 |
public function setKind($kind) { |
| 259 |
$this->kind = $kind; |
| 260 |
} |
| 261 |
public function getKind() { |
| 262 |
return $this->kind; |
| 263 |
} |
| 264 |
public function setMaximumTotalQps($maximumTotalQps) { |
| 265 |
$this->maximumTotalQps = $maximumTotalQps; |
| 266 |
} |
| 267 |
public function getMaximumTotalQps() { |
| 268 |
return $this->maximumTotalQps; |
| 269 |
} |
| 270 |
public function setBidderLocation(/* array(Google_AccountBidderLocation) */ $bidderLocation) { |
| 271 |
$this->assertIsArray($bidderLocation, 'Google_AccountBidderLocation', __METHOD__); |
| 272 |
$this->bidderLocation = $bidderLocation; |
| 273 |
} |
| 274 |
public function getBidderLocation() { |
| 275 |
return $this->bidderLocation; |
| 276 |
} |
| 277 |
public function setCookieMatchingNid($cookieMatchingNid) { |
| 278 |
$this->cookieMatchingNid = $cookieMatchingNid; |
| 279 |
} |
| 280 |
public function getCookieMatchingNid() { |
| 281 |
return $this->cookieMatchingNid; |
| 282 |
} |
| 283 |
public function setId($id) { |
| 284 |
$this->id = $id; |
| 285 |
} |
| 286 |
public function getId() { |
| 287 |
return $this->id; |
| 288 |
} |
| 289 |
public function setCookieMatchingUrl($cookieMatchingUrl) { |
| 290 |
$this->cookieMatchingUrl = $cookieMatchingUrl; |
| 291 |
} |
| 292 |
public function getCookieMatchingUrl() { |
| 293 |
return $this->cookieMatchingUrl; |
| 294 |
} |
| 295 |
} |
| 296 |
|
| 297 |
class Google_AccountBidderLocation extends Google_Model { |
| 298 |
public $url; |
| 299 |
public $maximumQps; |
| 300 |
public function setUrl($url) { |
| 301 |
$this->url = $url; |
| 302 |
} |
| 303 |
public function getUrl() { |
| 304 |
return $this->url; |
| 305 |
} |
| 306 |
public function setMaximumQps($maximumQps) { |
| 307 |
$this->maximumQps = $maximumQps; |
| 308 |
} |
| 309 |
public function getMaximumQps() { |
| 310 |
return $this->maximumQps; |
| 311 |
} |
| 312 |
} |
| 313 |
|
| 314 |
class Google_AccountsList extends Google_Model { |
| 315 |
protected $__itemsType = 'Google_Account'; |
| 316 |
protected $__itemsDataType = 'array'; |
| 317 |
public $items; |
| 318 |
public $kind; |
| 319 |
public function setItems(/* array(Google_Account) */ $items) { |
| 320 |
$this->assertIsArray($items, 'Google_Account', __METHOD__); |
| 321 |
$this->items = $items; |
| 322 |
} |
| 323 |
public function getItems() { |
| 324 |
return $this->items; |
| 325 |
} |
| 326 |
public function setKind($kind) { |
| 327 |
$this->kind = $kind; |
| 328 |
} |
| 329 |
public function getKind() { |
| 330 |
return $this->kind; |
| 331 |
} |
| 332 |
} |
| 333 |
|
| 334 |
class Google_Creative extends Google_Model { |
| 335 |
public $productCategories; |
| 336 |
public $advertiserName; |
| 337 |
public $adgroupId; |
| 338 |
public $videoURL; |
| 339 |
public $width; |
| 340 |
public $attribute; |
| 341 |
public $kind; |
| 342 |
public $height; |
| 343 |
public $advertiserId; |
| 344 |
public $HTMLSnippet; |
| 345 |
public $status; |
| 346 |
public $buyerCreativeId; |
| 347 |
public $clickThroughUrl; |
| 348 |
public $vendorType; |
| 349 |
public $disapprovalReasons; |
| 350 |
public $sensitiveCategories; |
| 351 |
public $accountId; |
| 352 |
public function setProductCategories(/* array(Google_int) */ $productCategories) { |
| 353 |
$this->assertIsArray($productCategories, 'Google_int', __METHOD__); |
| 354 |
$this->productCategories = $productCategories; |
| 355 |
} |
| 356 |
public function getProductCategories() { |
| 357 |
return $this->productCategories; |
| 358 |
} |
| 359 |
public function setAdvertiserName($advertiserName) { |
| 360 |
$this->advertiserName = $advertiserName; |
| 361 |
} |
| 362 |
public function getAdvertiserName() { |
| 363 |
return $this->advertiserName; |
| 364 |
} |
| 365 |
public function setAdgroupId($adgroupId) { |
| 366 |
$this->adgroupId = $adgroupId; |
| 367 |
} |
| 368 |
public function getAdgroupId() { |
| 369 |
return $this->adgroupId; |
| 370 |
} |
| 371 |
public function setVideoURL($videoURL) { |
| 372 |
$this->videoURL = $videoURL; |
| 373 |
} |
| 374 |
public function getVideoURL() { |
| 375 |
return $this->videoURL; |
| 376 |
} |
| 377 |
public function setWidth($width) { |
| 378 |
$this->width = $width; |
| 379 |
} |
| 380 |
public function getWidth() { |
| 381 |
return $this->width; |
| 382 |
} |
| 383 |
public function setAttribute(/* array(Google_int) */ $attribute) { |
| 384 |
$this->assertIsArray($attribute, 'Google_int', __METHOD__); |
| 385 |
$this->attribute = $attribute; |
| 386 |
} |
| 387 |
public function getAttribute() { |
| 388 |
return $this->attribute; |
| 389 |
} |
| 390 |
public function setKind($kind) { |
| 391 |
$this->kind = $kind; |
| 392 |
} |
| 393 |
public function getKind() { |
| 394 |
return $this->kind; |
| 395 |
} |
| 396 |
public function setHeight($height) { |
| 397 |
$this->height = $height; |
| 398 |
} |
| 399 |
public function getHeight() { |
| 400 |
return $this->height; |
| 401 |
} |
| 402 |
public function setAdvertiserId(/* array(Google_string) */ $advertiserId) { |
| 403 |
$this->assertIsArray($advertiserId, 'Google_string', __METHOD__); |
| 404 |
$this->advertiserId = $advertiserId; |
| 405 |
} |
| 406 |
public function getAdvertiserId() { |
| 407 |
return $this->advertiserId; |
| 408 |
} |
| 409 |
public function setHTMLSnippet($HTMLSnippet) { |
| 410 |
$this->HTMLSnippet = $HTMLSnippet; |
| 411 |
} |
| 412 |
public function getHTMLSnippet() { |
| 413 |
return $this->HTMLSnippet; |
| 414 |
} |
| 415 |
public function setStatus($status) { |
| 416 |
$this->status = $status; |
| 417 |
} |
| 418 |
public function getStatus() { |
| 419 |
return $this->status; |
| 420 |
} |
| 421 |
public function setBuyerCreativeId($buyerCreativeId) { |
| 422 |
$this->buyerCreativeId = $buyerCreativeId; |
| 423 |
} |
| 424 |
public function getBuyerCreativeId() { |
| 425 |
return $this->buyerCreativeId; |
| 426 |
} |
| 427 |
public function setClickThroughUrl(/* array(Google_string) */ $clickThroughUrl) { |
| 428 |
$this->assertIsArray($clickThroughUrl, 'Google_string', __METHOD__); |
| 429 |
$this->clickThroughUrl = $clickThroughUrl; |
| 430 |
} |
| 431 |
public function getClickThroughUrl() { |
| 432 |
return $this->clickThroughUrl; |
| 433 |
} |
| 434 |
public function setVendorType(/* array(Google_int) */ $vendorType) { |
| 435 |
$this->assertIsArray($vendorType, 'Google_int', __METHOD__); |
| 436 |
$this->vendorType = $vendorType; |
| 437 |
} |
| 438 |
public function getVendorType() { |
| 439 |
return $this->vendorType; |
| 440 |
} |
| 441 |
public function setDisapprovalReasons(/* array(Google_string) */ $disapprovalReasons) { |
| 442 |
$this->assertIsArray($disapprovalReasons, 'Google_string', __METHOD__); |
| 443 |
$this->disapprovalReasons = $disapprovalReasons; |
| 444 |
} |
| 445 |
public function getDisapprovalReasons() { |
| 446 |
return $this->disapprovalReasons; |
| 447 |
} |
| 448 |
public function setSensitiveCategories(/* array(Google_int) */ $sensitiveCategories) { |
| 449 |
$this->assertIsArray($sensitiveCategories, 'Google_int', __METHOD__); |
| 450 |
$this->sensitiveCategories = $sensitiveCategories; |
| 451 |
} |
| 452 |
public function getSensitiveCategories() { |
| 453 |
return $this->sensitiveCategories; |
| 454 |
} |
| 455 |
public function setAccountId($accountId) { |
| 456 |
$this->accountId = $accountId; |
| 457 |
} |
| 458 |
public function getAccountId() { |
| 459 |
return $this->accountId; |
| 460 |
} |
| 461 |
} |
| 462 |
|
| 463 |
class Google_CreativesList extends Google_Model { |
| 464 |
protected $__itemsType = 'Google_Creative'; |
| 465 |
protected $__itemsDataType = 'array'; |
| 466 |
public $items; |
| 467 |
public $kind; |
| 468 |
public function setItems(/* array(Google_Creative) */ $items) { |
| 469 |
$this->assertIsArray($items, 'Google_Creative', __METHOD__); |
| 470 |
$this->items = $items; |
| 471 |
} |
| 472 |
public function getItems() { |
| 473 |
return $this->items; |
| 474 |
} |
| 475 |
public function setKind($kind) { |
| 476 |
$this->kind = $kind; |
| 477 |
} |
| 478 |
public function getKind() { |
| 479 |
return $this->kind; |
| 480 |
} |
| 481 |
} |
| 482 |
|
| 483 |
class Google_DirectDeal extends Google_Model { |
| 484 |
public $advertiser; |
| 485 |
public $kind; |
| 486 |
public $currencyCode; |
| 487 |
public $fixedCpm; |
| 488 |
public $startTime; |
| 489 |
public $endTime; |
| 490 |
public $sellerNetwork; |
| 491 |
public $id; |
| 492 |
public $accountId; |
| 493 |
public function setAdvertiser($advertiser) { |
| 494 |
$this->advertiser = $advertiser; |
| 495 |
} |
| 496 |
public function getAdvertiser() { |
| 497 |
return $this->advertiser; |
| 498 |
} |
| 499 |
public function setKind($kind) { |
| 500 |
$this->kind = $kind; |
| 501 |
} |
| 502 |
public function getKind() { |
| 503 |
return $this->kind; |
| 504 |
} |
| 505 |
public function setCurrencyCode($currencyCode) { |
| 506 |
$this->currencyCode = $currencyCode; |
| 507 |
} |
| 508 |
public function getCurrencyCode() { |
| 509 |
return $this->currencyCode; |
| 510 |
} |
| 511 |
public function setFixedCpm($fixedCpm) { |
| 512 |
$this->fixedCpm = $fixedCpm; |
| 513 |
} |
| 514 |
public function getFixedCpm() { |
| 515 |
return $this->fixedCpm; |
| 516 |
} |
| 517 |
public function setStartTime($startTime) { |
| 518 |
$this->startTime = $startTime; |
| 519 |
} |
| 520 |
public function getStartTime() { |
| 521 |
return $this->startTime; |
| 522 |
} |
| 523 |
public function setEndTime($endTime) { |
| 524 |
$this->endTime = $endTime; |
| 525 |
} |
| 526 |
public function getEndTime() { |
| 527 |
return $this->endTime; |
| 528 |
} |
| 529 |
public function setSellerNetwork($sellerNetwork) { |
| 530 |
$this->sellerNetwork = $sellerNetwork; |
| 531 |
} |
| 532 |
public function getSellerNetwork() { |
| 533 |
return $this->sellerNetwork; |
| 534 |
} |
| 535 |
public function setId($id) { |
| 536 |
$this->id = $id; |
| 537 |
} |
| 538 |
public function getId() { |
| 539 |
return $this->id; |
| 540 |
} |
| 541 |
public function setAccountId($accountId) { |
| 542 |
$this->accountId = $accountId; |
| 543 |
} |
| 544 |
public function getAccountId() { |
| 545 |
return $this->accountId; |
| 546 |
} |
| 547 |
} |
| 548 |
|
| 549 |
class Google_DirectDealsList extends Google_Model { |
| 550 |
public $kind; |
| 551 |
protected $__directDealsType = 'Google_DirectDeal'; |
| 552 |
protected $__directDealsDataType = 'array'; |
| 553 |
public $directDeals; |
| 554 |
public function setKind($kind) { |
| 555 |
$this->kind = $kind; |
| 556 |
} |
| 557 |
public function getKind() { |
| 558 |
return $this->kind; |
| 559 |
} |
| 560 |
public function setDirectDeals(/* array(Google_DirectDeal) */ $directDeals) { |
| 561 |
$this->assertIsArray($directDeals, 'Google_DirectDeal', __METHOD__); |
| 562 |
$this->directDeals = $directDeals; |
| 563 |
} |
| 564 |
public function getDirectDeals() { |
| 565 |
return $this->directDeals; |
| 566 |
} |
| 567 |
} |
| 568 |
|