[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> AdExchangeBuyer.php (source)

   1  <?php
   2  /*
   3   * Copyright 2010 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  /**
  19   * Service definition for AdExchangeBuyer (v1.3).
  20   *
  21   * <p>
  22   * Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.
  23   * </p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://developers.google.com/ad-exchange/buyer-rest" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_AdExchangeBuyer extends Google_Service
  33  {
  34    /** Manage your Ad Exchange buyer account configuration. */
  35    const ADEXCHANGE_BUYER = "https://www.googleapis.com/auth/adexchange.buyer";
  36  
  37    public $accounts;
  38    public $billingInfo;
  39    public $creatives;
  40    public $directDeals;
  41    public $performanceReport;
  42    public $pretargetingConfig;
  43    
  44  
  45    /**
  46     * Constructs the internal representation of the AdExchangeBuyer service.
  47     *
  48     * @param Google_Client $client
  49     */
  50    public function __construct(Google_Client $client)
  51    {
  52      parent::__construct($client);
  53      $this->servicePath = 'adexchangebuyer/v1.3/';
  54      $this->version = 'v1.3';
  55      $this->serviceName = 'adexchangebuyer';
  56  
  57      $this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource(
  58          $this,
  59          $this->serviceName,
  60          'accounts',
  61          array(
  62            'methods' => array(
  63              'get' => array(
  64                'path' => 'accounts/{id}',
  65                'httpMethod' => 'GET',
  66                'parameters' => array(
  67                  'id' => array(
  68                    'location' => 'path',
  69                    'type' => 'integer',
  70                    'required' => true,
  71                  ),
  72                ),
  73              ),'list' => array(
  74                'path' => 'accounts',
  75                'httpMethod' => 'GET',
  76                'parameters' => array(),
  77              ),'patch' => array(
  78                'path' => 'accounts/{id}',
  79                'httpMethod' => 'PATCH',
  80                'parameters' => array(
  81                  'id' => array(
  82                    'location' => 'path',
  83                    'type' => 'integer',
  84                    'required' => true,
  85                  ),
  86                ),
  87              ),'update' => array(
  88                'path' => 'accounts/{id}',
  89                'httpMethod' => 'PUT',
  90                'parameters' => array(
  91                  'id' => array(
  92                    'location' => 'path',
  93                    'type' => 'integer',
  94                    'required' => true,
  95                  ),
  96                ),
  97              ),
  98            )
  99          )
 100      );
 101      $this->billingInfo = new Google_Service_AdExchangeBuyer_BillingInfo_Resource(
 102          $this,
 103          $this->serviceName,
 104          'billingInfo',
 105          array(
 106            'methods' => array(
 107              'get' => array(
 108                'path' => 'billinginfo/{accountId}',
 109                'httpMethod' => 'GET',
 110                'parameters' => array(
 111                  'accountId' => array(
 112                    'location' => 'path',
 113                    'type' => 'integer',
 114                    'required' => true,
 115                  ),
 116                ),
 117              ),'list' => array(
 118                'path' => 'billinginfo',
 119                'httpMethod' => 'GET',
 120                'parameters' => array(),
 121              ),
 122            )
 123          )
 124      );
 125      $this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource(
 126          $this,
 127          $this->serviceName,
 128          'creatives',
 129          array(
 130            'methods' => array(
 131              'get' => array(
 132                'path' => 'creatives/{accountId}/{buyerCreativeId}',
 133                'httpMethod' => 'GET',
 134                'parameters' => array(
 135                  'accountId' => array(
 136                    'location' => 'path',
 137                    'type' => 'integer',
 138                    'required' => true,
 139                  ),
 140                  'buyerCreativeId' => array(
 141                    'location' => 'path',
 142                    'type' => 'string',
 143                    'required' => true,
 144                  ),
 145                ),
 146              ),'insert' => array(
 147                'path' => 'creatives',
 148                'httpMethod' => 'POST',
 149                'parameters' => array(),
 150              ),'list' => array(
 151                'path' => 'creatives',
 152                'httpMethod' => 'GET',
 153                'parameters' => array(
 154                  'statusFilter' => array(
 155                    'location' => 'query',
 156                    'type' => 'string',
 157                  ),
 158                  'pageToken' => array(
 159                    'location' => 'query',
 160                    'type' => 'string',
 161                  ),
 162                  'maxResults' => array(
 163                    'location' => 'query',
 164                    'type' => 'integer',
 165                  ),
 166                  'buyerCreativeId' => array(
 167                    'location' => 'query',
 168                    'type' => 'string',
 169                    'repeated' => true,
 170                  ),
 171                  'accountId' => array(
 172                    'location' => 'query',
 173                    'type' => 'integer',
 174                    'repeated' => true,
 175                  ),
 176                ),
 177              ),
 178            )
 179          )
 180      );
 181      $this->directDeals = new Google_Service_AdExchangeBuyer_DirectDeals_Resource(
 182          $this,
 183          $this->serviceName,
 184          'directDeals',
 185          array(
 186            'methods' => array(
 187              'get' => array(
 188                'path' => 'directdeals/{id}',
 189                'httpMethod' => 'GET',
 190                'parameters' => array(
 191                  'id' => array(
 192                    'location' => 'path',
 193                    'type' => 'string',
 194                    'required' => true,
 195                  ),
 196                ),
 197              ),'list' => array(
 198                'path' => 'directdeals',
 199                'httpMethod' => 'GET',
 200                'parameters' => array(),
 201              ),
 202            )
 203          )
 204      );
 205      $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource(
 206          $this,
 207          $this->serviceName,
 208          'performanceReport',
 209          array(
 210            'methods' => array(
 211              'list' => array(
 212                'path' => 'performancereport',
 213                'httpMethod' => 'GET',
 214                'parameters' => array(
 215                  'accountId' => array(
 216                    'location' => 'query',
 217                    'type' => 'string',
 218                    'required' => true,
 219                  ),
 220                  'endDateTime' => array(
 221                    'location' => 'query',
 222                    'type' => 'string',
 223                    'required' => true,
 224                  ),
 225                  'startDateTime' => array(
 226                    'location' => 'query',
 227                    'type' => 'string',
 228                    'required' => true,
 229                  ),
 230                  'pageToken' => array(
 231                    'location' => 'query',
 232                    'type' => 'string',
 233                  ),
 234                  'maxResults' => array(
 235                    'location' => 'query',
 236                    'type' => 'integer',
 237                  ),
 238                ),
 239              ),
 240            )
 241          )
 242      );
 243      $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_PretargetingConfig_Resource(
 244          $this,
 245          $this->serviceName,
 246          'pretargetingConfig',
 247          array(
 248            'methods' => array(
 249              'delete' => array(
 250                'path' => 'pretargetingconfigs/{accountId}/{configId}',
 251                'httpMethod' => 'DELETE',
 252                'parameters' => array(
 253                  'accountId' => array(
 254                    'location' => 'path',
 255                    'type' => 'string',
 256                    'required' => true,
 257                  ),
 258                  'configId' => array(
 259                    'location' => 'path',
 260                    'type' => 'string',
 261                    'required' => true,
 262                  ),
 263                ),
 264              ),'get' => array(
 265                'path' => 'pretargetingconfigs/{accountId}/{configId}',
 266                'httpMethod' => 'GET',
 267                'parameters' => array(
 268                  'accountId' => array(
 269                    'location' => 'path',
 270                    'type' => 'string',
 271                    'required' => true,
 272                  ),
 273                  'configId' => array(
 274                    'location' => 'path',
 275                    'type' => 'string',
 276                    'required' => true,
 277                  ),
 278                ),
 279              ),'insert' => array(
 280                'path' => 'pretargetingconfigs/{accountId}',
 281                'httpMethod' => 'POST',
 282                'parameters' => array(
 283                  'accountId' => array(
 284                    'location' => 'path',
 285                    'type' => 'string',
 286                    'required' => true,
 287                  ),
 288                ),
 289              ),'list' => array(
 290                'path' => 'pretargetingconfigs/{accountId}',
 291                'httpMethod' => 'GET',
 292                'parameters' => array(
 293                  'accountId' => array(
 294                    'location' => 'path',
 295                    'type' => 'string',
 296                    'required' => true,
 297                  ),
 298                ),
 299              ),'patch' => array(
 300                'path' => 'pretargetingconfigs/{accountId}/{configId}',
 301                'httpMethod' => 'PATCH',
 302                'parameters' => array(
 303                  'accountId' => array(
 304                    'location' => 'path',
 305                    'type' => 'string',
 306                    'required' => true,
 307                  ),
 308                  'configId' => array(
 309                    'location' => 'path',
 310                    'type' => 'string',
 311                    'required' => true,
 312                  ),
 313                ),
 314              ),'update' => array(
 315                'path' => 'pretargetingconfigs/{accountId}/{configId}',
 316                'httpMethod' => 'PUT',
 317                'parameters' => array(
 318                  'accountId' => array(
 319                    'location' => 'path',
 320                    'type' => 'string',
 321                    'required' => true,
 322                  ),
 323                  'configId' => array(
 324                    'location' => 'path',
 325                    'type' => 'string',
 326                    'required' => true,
 327                  ),
 328                ),
 329              ),
 330            )
 331          )
 332      );
 333    }
 334  }
 335  
 336  
 337  /**
 338   * The "accounts" collection of methods.
 339   * Typical usage is:
 340   *  <code>
 341   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
 342   *   $accounts = $adexchangebuyerService->accounts;
 343   *  </code>
 344   */
 345  class Google_Service_AdExchangeBuyer_Accounts_Resource extends Google_Service_Resource
 346  {
 347  
 348    /**
 349     * Gets one account by ID. (accounts.get)
 350     *
 351     * @param int $id
 352     * The account id
 353     * @param array $optParams Optional parameters.
 354     * @return Google_Service_AdExchangeBuyer_Account
 355     */
 356    public function get($id, $optParams = array())
 357    {
 358      $params = array('id' => $id);
 359      $params = array_merge($params, $optParams);
 360      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Account");
 361    }
 362    /**
 363     * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
 364     *
 365     * @param array $optParams Optional parameters.
 366     * @return Google_Service_AdExchangeBuyer_AccountsList
 367     */
 368    public function listAccounts($optParams = array())
 369    {
 370      $params = array();
 371      $params = array_merge($params, $optParams);
 372      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_AccountsList");
 373    }
 374    /**
 375     * Updates an existing account. This method supports patch semantics.
 376     * (accounts.patch)
 377     *
 378     * @param int $id
 379     * The account id
 380     * @param Google_Account $postBody
 381     * @param array $optParams Optional parameters.
 382     * @return Google_Service_AdExchangeBuyer_Account
 383     */
 384    public function patch($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
 385    {
 386      $params = array('id' => $id, 'postBody' => $postBody);
 387      $params = array_merge($params, $optParams);
 388      return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Account");
 389    }
 390    /**
 391     * Updates an existing account. (accounts.update)
 392     *
 393     * @param int $id
 394     * The account id
 395     * @param Google_Account $postBody
 396     * @param array $optParams Optional parameters.
 397     * @return Google_Service_AdExchangeBuyer_Account
 398     */
 399    public function update($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
 400    {
 401      $params = array('id' => $id, 'postBody' => $postBody);
 402      $params = array_merge($params, $optParams);
 403      return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Account");
 404    }
 405  }
 406  
 407  /**
 408   * The "billingInfo" collection of methods.
 409   * Typical usage is:
 410   *  <code>
 411   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
 412   *   $billingInfo = $adexchangebuyerService->billingInfo;
 413   *  </code>
 414   */
 415  class Google_Service_AdExchangeBuyer_BillingInfo_Resource extends Google_Service_Resource
 416  {
 417  
 418    /**
 419     * Returns the billing information for one account specified by account ID.
 420     * (billingInfo.get)
 421     *
 422     * @param int $accountId
 423     * The account id.
 424     * @param array $optParams Optional parameters.
 425     * @return Google_Service_AdExchangeBuyer_BillingInfo
 426     */
 427    public function get($accountId, $optParams = array())
 428    {
 429      $params = array('accountId' => $accountId);
 430      $params = array_merge($params, $optParams);
 431      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_BillingInfo");
 432    }
 433    /**
 434     * Retrieves a list of billing information for all accounts of the authenticated
 435     * user. (billingInfo.listBillingInfo)
 436     *
 437     * @param array $optParams Optional parameters.
 438     * @return Google_Service_AdExchangeBuyer_BillingInfoList
 439     */
 440    public function listBillingInfo($optParams = array())
 441    {
 442      $params = array();
 443      $params = array_merge($params, $optParams);
 444      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_BillingInfoList");
 445    }
 446  }
 447  
 448  /**
 449   * The "creatives" collection of methods.
 450   * Typical usage is:
 451   *  <code>
 452   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
 453   *   $creatives = $adexchangebuyerService->creatives;
 454   *  </code>
 455   */
 456  class Google_Service_AdExchangeBuyer_Creatives_Resource extends Google_Service_Resource
 457  {
 458  
 459    /**
 460     * Gets the status for a single creative. A creative will be available 30-40
 461     * minutes after submission. (creatives.get)
 462     *
 463     * @param int $accountId
 464     * The id for the account that will serve this creative.
 465     * @param string $buyerCreativeId
 466     * The buyer-specific id for this creative.
 467     * @param array $optParams Optional parameters.
 468     * @return Google_Service_AdExchangeBuyer_Creative
 469     */
 470    public function get($accountId, $buyerCreativeId, $optParams = array())
 471    {
 472      $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
 473      $params = array_merge($params, $optParams);
 474      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Creative");
 475    }
 476    /**
 477     * Submit a new creative. (creatives.insert)
 478     *
 479     * @param Google_Creative $postBody
 480     * @param array $optParams Optional parameters.
 481     * @return Google_Service_AdExchangeBuyer_Creative
 482     */
 483    public function insert(Google_Service_AdExchangeBuyer_Creative $postBody, $optParams = array())
 484    {
 485      $params = array('postBody' => $postBody);
 486      $params = array_merge($params, $optParams);
 487      return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_Creative");
 488    }
 489    /**
 490     * Retrieves a list of the authenticated user's active creatives. A creative
 491     * will be available 30-40 minutes after submission. (creatives.listCreatives)
 492     *
 493     * @param array $optParams Optional parameters.
 494     *
 495     * @opt_param string statusFilter
 496     * When specified, only creatives having the given status are returned.
 497     * @opt_param string pageToken
 498     * A continuation token, used to page through ad clients. To retrieve the next page, set this
 499      * parameter to the value of "nextPageToken" from the previous response. Optional.
 500     * @opt_param string maxResults
 501     * Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
 502     * @opt_param string buyerCreativeId
 503     * When specified, only creatives for the given buyer creative ids are returned.
 504     * @opt_param int accountId
 505     * When specified, only creatives for the given account ids are returned.
 506     * @return Google_Service_AdExchangeBuyer_CreativesList
 507     */
 508    public function listCreatives($optParams = array())
 509    {
 510      $params = array();
 511      $params = array_merge($params, $optParams);
 512      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_CreativesList");
 513    }
 514  }
 515  
 516  /**
 517   * The "directDeals" collection of methods.
 518   * Typical usage is:
 519   *  <code>
 520   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
 521   *   $directDeals = $adexchangebuyerService->directDeals;
 522   *  </code>
 523   */
 524  class Google_Service_AdExchangeBuyer_DirectDeals_Resource extends Google_Service_Resource
 525  {
 526  
 527    /**
 528     * Gets one direct deal by ID. (directDeals.get)
 529     *
 530     * @param string $id
 531     * The direct deal id
 532     * @param array $optParams Optional parameters.
 533     * @return Google_Service_AdExchangeBuyer_DirectDeal
 534     */
 535    public function get($id, $optParams = array())
 536    {
 537      $params = array('id' => $id);
 538      $params = array_merge($params, $optParams);
 539      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_DirectDeal");
 540    }
 541    /**
 542     * Retrieves the authenticated user's list of direct deals.
 543     * (directDeals.listDirectDeals)
 544     *
 545     * @param array $optParams Optional parameters.
 546     * @return Google_Service_AdExchangeBuyer_DirectDealsList
 547     */
 548    public function listDirectDeals($optParams = array())
 549    {
 550      $params = array();
 551      $params = array_merge($params, $optParams);
 552      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_DirectDealsList");
 553    }
 554  }
 555  
 556  /**
 557   * The "performanceReport" collection of methods.
 558   * Typical usage is:
 559   *  <code>
 560   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
 561   *   $performanceReport = $adexchangebuyerService->performanceReport;
 562   *  </code>
 563   */
 564  class Google_Service_AdExchangeBuyer_PerformanceReport_Resource extends Google_Service_Resource
 565  {
 566  
 567    /**
 568     * Retrieves the authenticated user's list of performance metrics.
 569     * (performanceReport.listPerformanceReport)
 570     *
 571     * @param string $accountId
 572     * The account id to get the reports.
 573     * @param string $endDateTime
 574     * The end time of the report in ISO 8601 timestamp format using UTC.
 575     * @param string $startDateTime
 576     * The start time of the report in ISO 8601 timestamp format using UTC.
 577     * @param array $optParams Optional parameters.
 578     *
 579     * @opt_param string pageToken
 580     * A continuation token, used to page through performance reports. To retrieve the next page, set
 581      * this parameter to the value of "nextPageToken" from the previous response. Optional.
 582     * @opt_param string maxResults
 583     * Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
 584     * @return Google_Service_AdExchangeBuyer_PerformanceReportList
 585     */
 586    public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array())
 587    {
 588      $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime);
 589      $params = array_merge($params, $optParams);
 590      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PerformanceReportList");
 591    }
 592  }
 593  
 594  /**
 595   * The "pretargetingConfig" collection of methods.
 596   * Typical usage is:
 597   *  <code>
 598   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
 599   *   $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
 600   *  </code>
 601   */
 602  class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_Service_Resource
 603  {
 604  
 605    /**
 606     * Deletes an existing pretargeting config. (pretargetingConfig.delete)
 607     *
 608     * @param string $accountId
 609     * The account id to delete the pretargeting config for.
 610     * @param string $configId
 611     * The specific id of the configuration to delete.
 612     * @param array $optParams Optional parameters.
 613     */
 614    public function delete($accountId, $configId, $optParams = array())
 615    {
 616      $params = array('accountId' => $accountId, 'configId' => $configId);
 617      $params = array_merge($params, $optParams);
 618      return $this->call('delete', array($params));
 619    }
 620    /**
 621     * Gets a specific pretargeting configuration (pretargetingConfig.get)
 622     *
 623     * @param string $accountId
 624     * The account id to get the pretargeting config for.
 625     * @param string $configId
 626     * The specific id of the configuration to retrieve.
 627     * @param array $optParams Optional parameters.
 628     * @return Google_Service_AdExchangeBuyer_PretargetingConfig
 629     */
 630    public function get($accountId, $configId, $optParams = array())
 631    {
 632      $params = array('accountId' => $accountId, 'configId' => $configId);
 633      $params = array_merge($params, $optParams);
 634      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
 635    }
 636    /**
 637     * Inserts a new pretargeting configuration. (pretargetingConfig.insert)
 638     *
 639     * @param string $accountId
 640     * The account id to insert the pretargeting config for.
 641     * @param Google_PretargetingConfig $postBody
 642     * @param array $optParams Optional parameters.
 643     * @return Google_Service_AdExchangeBuyer_PretargetingConfig
 644     */
 645    public function insert($accountId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
 646    {
 647      $params = array('accountId' => $accountId, 'postBody' => $postBody);
 648      $params = array_merge($params, $optParams);
 649      return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
 650    }
 651    /**
 652     * Retrieves a list of the authenticated user's pretargeting configurations.
 653     * (pretargetingConfig.listPretargetingConfig)
 654     *
 655     * @param string $accountId
 656     * The account id to get the pretargeting configs for.
 657     * @param array $optParams Optional parameters.
 658     * @return Google_Service_AdExchangeBuyer_PretargetingConfigList
 659     */
 660    public function listPretargetingConfig($accountId, $optParams = array())
 661    {
 662      $params = array('accountId' => $accountId);
 663      $params = array_merge($params, $optParams);
 664      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfigList");
 665    }
 666    /**
 667     * Updates an existing pretargeting config. This method supports patch
 668     * semantics. (pretargetingConfig.patch)
 669     *
 670     * @param string $accountId
 671     * The account id to update the pretargeting config for.
 672     * @param string $configId
 673     * The specific id of the configuration to update.
 674     * @param Google_PretargetingConfig $postBody
 675     * @param array $optParams Optional parameters.
 676     * @return Google_Service_AdExchangeBuyer_PretargetingConfig
 677     */
 678    public function patch($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
 679    {
 680      $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
 681      $params = array_merge($params, $optParams);
 682      return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
 683    }
 684    /**
 685     * Updates an existing pretargeting config. (pretargetingConfig.update)
 686     *
 687     * @param string $accountId
 688     * The account id to update the pretargeting config for.
 689     * @param string $configId
 690     * The specific id of the configuration to update.
 691     * @param Google_PretargetingConfig $postBody
 692     * @param array $optParams Optional parameters.
 693     * @return Google_Service_AdExchangeBuyer_PretargetingConfig
 694     */
 695    public function update($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
 696    {
 697      $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
 698      $params = array_merge($params, $optParams);
 699      return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
 700    }
 701  }
 702  
 703  
 704  
 705  
 706  class Google_Service_AdExchangeBuyer_Account extends Google_Collection
 707  {
 708    protected $collection_key = 'bidderLocation';
 709    protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation';
 710    protected $bidderLocationDataType = 'array';
 711    public $cookieMatchingNid;
 712    public $cookieMatchingUrl;
 713    public $id;
 714    public $kind;
 715    public $maximumTotalQps;
 716  
 717    public function setBidderLocation($bidderLocation)
 718    {
 719      $this->bidderLocation = $bidderLocation;
 720    }
 721  
 722    public function getBidderLocation()
 723    {
 724      return $this->bidderLocation;
 725    }
 726  
 727    public function setCookieMatchingNid($cookieMatchingNid)
 728    {
 729      $this->cookieMatchingNid = $cookieMatchingNid;
 730    }
 731  
 732    public function getCookieMatchingNid()
 733    {
 734      return $this->cookieMatchingNid;
 735    }
 736  
 737    public function setCookieMatchingUrl($cookieMatchingUrl)
 738    {
 739      $this->cookieMatchingUrl = $cookieMatchingUrl;
 740    }
 741  
 742    public function getCookieMatchingUrl()
 743    {
 744      return $this->cookieMatchingUrl;
 745    }
 746  
 747    public function setId($id)
 748    {
 749      $this->id = $id;
 750    }
 751  
 752    public function getId()
 753    {
 754      return $this->id;
 755    }
 756  
 757    public function setKind($kind)
 758    {
 759      $this->kind = $kind;
 760    }
 761  
 762    public function getKind()
 763    {
 764      return $this->kind;
 765    }
 766  
 767    public function setMaximumTotalQps($maximumTotalQps)
 768    {
 769      $this->maximumTotalQps = $maximumTotalQps;
 770    }
 771  
 772    public function getMaximumTotalQps()
 773    {
 774      return $this->maximumTotalQps;
 775    }
 776  }
 777  
 778  class Google_Service_AdExchangeBuyer_AccountBidderLocation extends Google_Model
 779  {
 780    public $maximumQps;
 781    public $region;
 782    public $url;
 783  
 784    public function setMaximumQps($maximumQps)
 785    {
 786      $this->maximumQps = $maximumQps;
 787    }
 788  
 789    public function getMaximumQps()
 790    {
 791      return $this->maximumQps;
 792    }
 793  
 794    public function setRegion($region)
 795    {
 796      $this->region = $region;
 797    }
 798  
 799    public function getRegion()
 800    {
 801      return $this->region;
 802    }
 803  
 804    public function setUrl($url)
 805    {
 806      $this->url = $url;
 807    }
 808  
 809    public function getUrl()
 810    {
 811      return $this->url;
 812    }
 813  }
 814  
 815  class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
 816  {
 817    protected $collection_key = 'items';
 818    protected $itemsType = 'Google_Service_AdExchangeBuyer_Account';
 819    protected $itemsDataType = 'array';
 820    public $kind;
 821  
 822    public function setItems($items)
 823    {
 824      $this->items = $items;
 825    }
 826  
 827    public function getItems()
 828    {
 829      return $this->items;
 830    }
 831  
 832    public function setKind($kind)
 833    {
 834      $this->kind = $kind;
 835    }
 836  
 837    public function getKind()
 838    {
 839      return $this->kind;
 840    }
 841  }
 842  
 843  class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
 844  {
 845    protected $collection_key = 'billingId';
 846    public $accountId;
 847    public $accountName;
 848    public $billingId;
 849    public $kind;
 850  
 851    public function setAccountId($accountId)
 852    {
 853      $this->accountId = $accountId;
 854    }
 855  
 856    public function getAccountId()
 857    {
 858      return $this->accountId;
 859    }
 860  
 861    public function setAccountName($accountName)
 862    {
 863      $this->accountName = $accountName;
 864    }
 865  
 866    public function getAccountName()
 867    {
 868      return $this->accountName;
 869    }
 870  
 871    public function setBillingId($billingId)
 872    {
 873      $this->billingId = $billingId;
 874    }
 875  
 876    public function getBillingId()
 877    {
 878      return $this->billingId;
 879    }
 880  
 881    public function setKind($kind)
 882    {
 883      $this->kind = $kind;
 884    }
 885  
 886    public function getKind()
 887    {
 888      return $this->kind;
 889    }
 890  }
 891  
 892  class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
 893  {
 894    protected $collection_key = 'items';
 895    protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo';
 896    protected $itemsDataType = 'array';
 897    public $kind;
 898  
 899    public function setItems($items)
 900    {
 901      $this->items = $items;
 902    }
 903  
 904    public function getItems()
 905    {
 906      return $this->items;
 907    }
 908  
 909    public function setKind($kind)
 910    {
 911      $this->kind = $kind;
 912    }
 913  
 914    public function getKind()
 915    {
 916      return $this->kind;
 917    }
 918  }
 919  
 920  class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
 921  {
 922    protected $collection_key = 'vendorType';
 923    public $hTMLSnippet;
 924    public $accountId;
 925    public $advertiserId;
 926    public $advertiserName;
 927    public $agencyId;
 928    public $attribute;
 929    public $buyerCreativeId;
 930    public $clickThroughUrl;
 931    protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
 932    protected $correctionsDataType = 'array';
 933    protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeDisapprovalReasons';
 934    protected $disapprovalReasonsDataType = 'array';
 935    protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
 936    protected $filteringReasonsDataType = '';
 937    public $height;
 938    public $kind;
 939    public $productCategories;
 940    public $restrictedCategories;
 941    public $sensitiveCategories;
 942    public $status;
 943    public $vendorType;
 944    public $videoURL;
 945    public $width;
 946  
 947    public function setHTMLSnippet($hTMLSnippet)
 948    {
 949      $this->hTMLSnippet = $hTMLSnippet;
 950    }
 951  
 952    public function getHTMLSnippet()
 953    {
 954      return $this->hTMLSnippet;
 955    }
 956  
 957    public function setAccountId($accountId)
 958    {
 959      $this->accountId = $accountId;
 960    }
 961  
 962    public function getAccountId()
 963    {
 964      return $this->accountId;
 965    }
 966  
 967    public function setAdvertiserId($advertiserId)
 968    {
 969      $this->advertiserId = $advertiserId;
 970    }
 971  
 972    public function getAdvertiserId()
 973    {
 974      return $this->advertiserId;
 975    }
 976  
 977    public function setAdvertiserName($advertiserName)
 978    {
 979      $this->advertiserName = $advertiserName;
 980    }
 981  
 982    public function getAdvertiserName()
 983    {
 984      return $this->advertiserName;
 985    }
 986  
 987    public function setAgencyId($agencyId)
 988    {
 989      $this->agencyId = $agencyId;
 990    }
 991  
 992    public function getAgencyId()
 993    {
 994      return $this->agencyId;
 995    }
 996  
 997    public function setAttribute($attribute)
 998    {
 999      $this->attribute = $attribute;
1000    }
1001  
1002    public function getAttribute()
1003    {
1004      return $this->attribute;
1005    }
1006  
1007    public function setBuyerCreativeId($buyerCreativeId)
1008    {
1009      $this->buyerCreativeId = $buyerCreativeId;
1010    }
1011  
1012    public function getBuyerCreativeId()
1013    {
1014      return $this->buyerCreativeId;
1015    }
1016  
1017    public function setClickThroughUrl($clickThroughUrl)
1018    {
1019      $this->clickThroughUrl = $clickThroughUrl;
1020    }
1021  
1022    public function getClickThroughUrl()
1023    {
1024      return $this->clickThroughUrl;
1025    }
1026  
1027    public function setCorrections($corrections)
1028    {
1029      $this->corrections = $corrections;
1030    }
1031  
1032    public function getCorrections()
1033    {
1034      return $this->corrections;
1035    }
1036  
1037    public function setDisapprovalReasons($disapprovalReasons)
1038    {
1039      $this->disapprovalReasons = $disapprovalReasons;
1040    }
1041  
1042    public function getDisapprovalReasons()
1043    {
1044      return $this->disapprovalReasons;
1045    }
1046  
1047    public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
1048    {
1049      $this->filteringReasons = $filteringReasons;
1050    }
1051  
1052    public function getFilteringReasons()
1053    {
1054      return $this->filteringReasons;
1055    }
1056  
1057    public function setHeight($height)
1058    {
1059      $this->height = $height;
1060    }
1061  
1062    public function getHeight()
1063    {
1064      return $this->height;
1065    }
1066  
1067    public function setKind($kind)
1068    {
1069      $this->kind = $kind;
1070    }
1071  
1072    public function getKind()
1073    {
1074      return $this->kind;
1075    }
1076  
1077    public function setProductCategories($productCategories)
1078    {
1079      $this->productCategories = $productCategories;
1080    }
1081  
1082    public function getProductCategories()
1083    {
1084      return $this->productCategories;
1085    }
1086  
1087    public function setRestrictedCategories($restrictedCategories)
1088    {
1089      $this->restrictedCategories = $restrictedCategories;
1090    }
1091  
1092    public function getRestrictedCategories()
1093    {
1094      return $this->restrictedCategories;
1095    }
1096  
1097    public function setSensitiveCategories($sensitiveCategories)
1098    {
1099      $this->sensitiveCategories = $sensitiveCategories;
1100    }
1101  
1102    public function getSensitiveCategories()
1103    {
1104      return $this->sensitiveCategories;
1105    }
1106  
1107    public function setStatus($status)
1108    {
1109      $this->status = $status;
1110    }
1111  
1112    public function getStatus()
1113    {
1114      return $this->status;
1115    }
1116  
1117    public function setVendorType($vendorType)
1118    {
1119      $this->vendorType = $vendorType;
1120    }
1121  
1122    public function getVendorType()
1123    {
1124      return $this->vendorType;
1125    }
1126  
1127    public function setVideoURL($videoURL)
1128    {
1129      $this->videoURL = $videoURL;
1130    }
1131  
1132    public function getVideoURL()
1133    {
1134      return $this->videoURL;
1135    }
1136  
1137    public function setWidth($width)
1138    {
1139      $this->width = $width;
1140    }
1141  
1142    public function getWidth()
1143    {
1144      return $this->width;
1145    }
1146  }
1147  
1148  class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection
1149  {
1150    protected $collection_key = 'details';
1151    public $details;
1152    public $reason;
1153  
1154    public function setDetails($details)
1155    {
1156      $this->details = $details;
1157    }
1158  
1159    public function getDetails()
1160    {
1161      return $this->details;
1162    }
1163  
1164    public function setReason($reason)
1165    {
1166      $this->reason = $reason;
1167    }
1168  
1169    public function getReason()
1170    {
1171      return $this->reason;
1172    }
1173  }
1174  
1175  class Google_Service_AdExchangeBuyer_CreativeDisapprovalReasons extends Google_Collection
1176  {
1177    protected $collection_key = 'details';
1178    public $details;
1179    public $reason;
1180  
1181    public function setDetails($details)
1182    {
1183      $this->details = $details;
1184    }
1185  
1186    public function getDetails()
1187    {
1188      return $this->details;
1189    }
1190  
1191    public function setReason($reason)
1192    {
1193      $this->reason = $reason;
1194    }
1195  
1196    public function getReason()
1197    {
1198      return $this->reason;
1199    }
1200  }
1201  
1202  class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
1203  {
1204    protected $collection_key = 'reasons';
1205    public $date;
1206    protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
1207    protected $reasonsDataType = 'array';
1208  
1209    public function setDate($date)
1210    {
1211      $this->date = $date;
1212    }
1213  
1214    public function getDate()
1215    {
1216      return $this->date;
1217    }
1218  
1219    public function setReasons($reasons)
1220    {
1221      $this->reasons = $reasons;
1222    }
1223  
1224    public function getReasons()
1225    {
1226      return $this->reasons;
1227    }
1228  }
1229  
1230  class Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Google_Model
1231  {
1232    public $filteringCount;
1233    public $filteringStatus;
1234  
1235    public function setFilteringCount($filteringCount)
1236    {
1237      $this->filteringCount = $filteringCount;
1238    }
1239  
1240    public function getFilteringCount()
1241    {
1242      return $this->filteringCount;
1243    }
1244  
1245    public function setFilteringStatus($filteringStatus)
1246    {
1247      $this->filteringStatus = $filteringStatus;
1248    }
1249  
1250    public function getFilteringStatus()
1251    {
1252      return $this->filteringStatus;
1253    }
1254  }
1255  
1256  class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
1257  {
1258    protected $collection_key = 'items';
1259    protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative';
1260    protected $itemsDataType = 'array';
1261    public $kind;
1262    public $nextPageToken;
1263  
1264    public function setItems($items)
1265    {
1266      $this->items = $items;
1267    }
1268  
1269    public function getItems()
1270    {
1271      return $this->items;
1272    }
1273  
1274    public function setKind($kind)
1275    {
1276      $this->kind = $kind;
1277    }
1278  
1279    public function getKind()
1280    {
1281      return $this->kind;
1282    }
1283  
1284    public function setNextPageToken($nextPageToken)
1285    {
1286      $this->nextPageToken = $nextPageToken;
1287    }
1288  
1289    public function getNextPageToken()
1290    {
1291      return $this->nextPageToken;
1292    }
1293  }
1294  
1295  class Google_Service_AdExchangeBuyer_DirectDeal extends Google_Model
1296  {
1297    public $accountId;
1298    public $advertiser;
1299    public $currencyCode;
1300    public $endTime;
1301    public $fixedCpm;
1302    public $id;
1303    public $kind;
1304    public $name;
1305    public $privateExchangeMinCpm;
1306    public $publisherBlocksOverriden;
1307    public $sellerNetwork;
1308    public $startTime;
1309  
1310    public function setAccountId($accountId)
1311    {
1312      $this->accountId = $accountId;
1313    }
1314  
1315    public function getAccountId()
1316    {
1317      return $this->accountId;
1318    }
1319  
1320    public function setAdvertiser($advertiser)
1321    {
1322      $this->advertiser = $advertiser;
1323    }
1324  
1325    public function getAdvertiser()
1326    {
1327      return $this->advertiser;
1328    }
1329  
1330    public function setCurrencyCode($currencyCode)
1331    {
1332      $this->currencyCode = $currencyCode;
1333    }
1334  
1335    public function getCurrencyCode()
1336    {
1337      return $this->currencyCode;
1338    }
1339  
1340    public function setEndTime($endTime)
1341    {
1342      $this->endTime = $endTime;
1343    }
1344  
1345    public function getEndTime()
1346    {
1347      return $this->endTime;
1348    }
1349  
1350    public function setFixedCpm($fixedCpm)
1351    {
1352      $this->fixedCpm = $fixedCpm;
1353    }
1354  
1355    public function getFixedCpm()
1356    {
1357      return $this->fixedCpm;
1358    }
1359  
1360    public function setId($id)
1361    {
1362      $this->id = $id;
1363    }
1364  
1365    public function getId()
1366    {
1367      return $this->id;
1368    }
1369  
1370    public function setKind($kind)
1371    {
1372      $this->kind = $kind;
1373    }
1374  
1375    public function getKind()
1376    {
1377      return $this->kind;
1378    }
1379  
1380    public function setName($name)
1381    {
1382      $this->name = $name;
1383    }
1384  
1385    public function getName()
1386    {
1387      return $this->name;
1388    }
1389  
1390    public function setPrivateExchangeMinCpm($privateExchangeMinCpm)
1391    {
1392      $this->privateExchangeMinCpm = $privateExchangeMinCpm;
1393    }
1394  
1395    public function getPrivateExchangeMinCpm()
1396    {
1397      return $this->privateExchangeMinCpm;
1398    }
1399  
1400    public function setPublisherBlocksOverriden($publisherBlocksOverriden)
1401    {
1402      $this->publisherBlocksOverriden = $publisherBlocksOverriden;
1403    }
1404  
1405    public function getPublisherBlocksOverriden()
1406    {
1407      return $this->publisherBlocksOverriden;
1408    }
1409  
1410    public function setSellerNetwork($sellerNetwork)
1411    {
1412      $this->sellerNetwork = $sellerNetwork;
1413    }
1414  
1415    public function getSellerNetwork()
1416    {
1417      return $this->sellerNetwork;
1418    }
1419  
1420    public function setStartTime($startTime)
1421    {
1422      $this->startTime = $startTime;
1423    }
1424  
1425    public function getStartTime()
1426    {
1427      return $this->startTime;
1428    }
1429  }
1430  
1431  class Google_Service_AdExchangeBuyer_DirectDealsList extends Google_Collection
1432  {
1433    protected $collection_key = 'directDeals';
1434    protected $directDealsType = 'Google_Service_AdExchangeBuyer_DirectDeal';
1435    protected $directDealsDataType = 'array';
1436    public $kind;
1437  
1438    public function setDirectDeals($directDeals)
1439    {
1440      $this->directDeals = $directDeals;
1441    }
1442  
1443    public function getDirectDeals()
1444    {
1445      return $this->directDeals;
1446    }
1447  
1448    public function setKind($kind)
1449    {
1450      $this->kind = $kind;
1451    }
1452  
1453    public function getKind()
1454    {
1455      return $this->kind;
1456    }
1457  }
1458  
1459  class Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection
1460  {
1461    protected $collection_key = 'hostedMatchStatusRate';
1462    public $calloutStatusRate;
1463    public $cookieMatcherStatusRate;
1464    public $creativeStatusRate;
1465    public $hostedMatchStatusRate;
1466    public $kind;
1467    public $latency50thPercentile;
1468    public $latency85thPercentile;
1469    public $latency95thPercentile;
1470    public $noQuotaInRegion;
1471    public $outOfQuota;
1472    public $pixelMatchRequests;
1473    public $pixelMatchResponses;
1474    public $quotaConfiguredLimit;
1475    public $quotaThrottledLimit;
1476    public $region;
1477    public $timestamp;
1478  
1479    public function setCalloutStatusRate($calloutStatusRate)
1480    {
1481      $this->calloutStatusRate = $calloutStatusRate;
1482    }
1483  
1484    public function getCalloutStatusRate()
1485    {
1486      return $this->calloutStatusRate;
1487    }
1488  
1489    public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
1490    {
1491      $this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
1492    }
1493  
1494    public function getCookieMatcherStatusRate()
1495    {
1496      return $this->cookieMatcherStatusRate;
1497    }
1498  
1499    public function setCreativeStatusRate($creativeStatusRate)
1500    {
1501      $this->creativeStatusRate = $creativeStatusRate;
1502    }
1503  
1504    public function getCreativeStatusRate()
1505    {
1506      return $this->creativeStatusRate;
1507    }
1508  
1509    public function setHostedMatchStatusRate($hostedMatchStatusRate)
1510    {
1511      $this->hostedMatchStatusRate = $hostedMatchStatusRate;
1512    }
1513  
1514    public function getHostedMatchStatusRate()
1515    {
1516      return $this->hostedMatchStatusRate;
1517    }
1518  
1519    public function setKind($kind)
1520    {
1521      $this->kind = $kind;
1522    }
1523  
1524    public function getKind()
1525    {
1526      return $this->kind;
1527    }
1528  
1529    public function setLatency50thPercentile($latency50thPercentile)
1530    {
1531      $this->latency50thPercentile = $latency50thPercentile;
1532    }
1533  
1534    public function getLatency50thPercentile()
1535    {
1536      return $this->latency50thPercentile;
1537    }
1538  
1539    public function setLatency85thPercentile($latency85thPercentile)
1540    {
1541      $this->latency85thPercentile = $latency85thPercentile;
1542    }
1543  
1544    public function getLatency85thPercentile()
1545    {
1546      return $this->latency85thPercentile;
1547    }
1548  
1549    public function setLatency95thPercentile($latency95thPercentile)
1550    {
1551      $this->latency95thPercentile = $latency95thPercentile;
1552    }
1553  
1554    public function getLatency95thPercentile()
1555    {
1556      return $this->latency95thPercentile;
1557    }
1558  
1559    public function setNoQuotaInRegion($noQuotaInRegion)
1560    {
1561      $this->noQuotaInRegion = $noQuotaInRegion;
1562    }
1563  
1564    public function getNoQuotaInRegion()
1565    {
1566      return $this->noQuotaInRegion;
1567    }
1568  
1569    public function setOutOfQuota($outOfQuota)
1570    {
1571      $this->outOfQuota = $outOfQuota;
1572    }
1573  
1574    public function getOutOfQuota()
1575    {
1576      return $this->outOfQuota;
1577    }
1578  
1579    public function setPixelMatchRequests($pixelMatchRequests)
1580    {
1581      $this->pixelMatchRequests = $pixelMatchRequests;
1582    }
1583  
1584    public function getPixelMatchRequests()
1585    {
1586      return $this->pixelMatchRequests;
1587    }
1588  
1589    public function setPixelMatchResponses($pixelMatchResponses)
1590    {
1591      $this->pixelMatchResponses = $pixelMatchResponses;
1592    }
1593  
1594    public function getPixelMatchResponses()
1595    {
1596      return $this->pixelMatchResponses;
1597    }
1598  
1599    public function setQuotaConfiguredLimit($quotaConfiguredLimit)
1600    {
1601      $this->quotaConfiguredLimit = $quotaConfiguredLimit;
1602    }
1603  
1604    public function getQuotaConfiguredLimit()
1605    {
1606      return $this->quotaConfiguredLimit;
1607    }
1608  
1609    public function setQuotaThrottledLimit($quotaThrottledLimit)
1610    {
1611      $this->quotaThrottledLimit = $quotaThrottledLimit;
1612    }
1613  
1614    public function getQuotaThrottledLimit()
1615    {
1616      return $this->quotaThrottledLimit;
1617    }
1618  
1619    public function setRegion($region)
1620    {
1621      $this->region = $region;
1622    }
1623  
1624    public function getRegion()
1625    {
1626      return $this->region;
1627    }
1628  
1629    public function setTimestamp($timestamp)
1630    {
1631      $this->timestamp = $timestamp;
1632    }
1633  
1634    public function getTimestamp()
1635    {
1636      return $this->timestamp;
1637    }
1638  }
1639  
1640  class Google_Service_AdExchangeBuyer_PerformanceReportList extends Google_Collection
1641  {
1642    protected $collection_key = 'performanceReport';
1643    public $kind;
1644    protected $performanceReportType = 'Google_Service_AdExchangeBuyer_PerformanceReport';
1645    protected $performanceReportDataType = 'array';
1646  
1647    public function setKind($kind)
1648    {
1649      $this->kind = $kind;
1650    }
1651  
1652    public function getKind()
1653    {
1654      return $this->kind;
1655    }
1656  
1657    public function setPerformanceReport($performanceReport)
1658    {
1659      $this->performanceReport = $performanceReport;
1660    }
1661  
1662    public function getPerformanceReport()
1663    {
1664      return $this->performanceReport;
1665    }
1666  }
1667  
1668  class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection
1669  {
1670    protected $collection_key = 'verticals';
1671    public $billingId;
1672    public $configId;
1673    public $configName;
1674    public $creativeType;
1675    protected $dimensionsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
1676    protected $dimensionsDataType = 'array';
1677    public $excludedContentLabels;
1678    public $excludedGeoCriteriaIds;
1679    protected $excludedPlacementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
1680    protected $excludedPlacementsDataType = 'array';
1681    public $excludedUserLists;
1682    public $excludedVerticals;
1683    public $geoCriteriaIds;
1684    public $isActive;
1685    public $kind;
1686    public $languages;
1687    public $mobileCarriers;
1688    public $mobileDevices;
1689    public $mobileOperatingSystemVersions;
1690    protected $placementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
1691    protected $placementsDataType = 'array';
1692    public $platforms;
1693    public $supportedCreativeAttributes;
1694    public $userLists;
1695    public $vendorTypes;
1696    public $verticals;
1697  
1698    public function setBillingId($billingId)
1699    {
1700      $this->billingId = $billingId;
1701    }
1702  
1703    public function getBillingId()
1704    {
1705      return $this->billingId;
1706    }
1707  
1708    public function setConfigId($configId)
1709    {
1710      $this->configId = $configId;
1711    }
1712  
1713    public function getConfigId()
1714    {
1715      return $this->configId;
1716    }
1717  
1718    public function setConfigName($configName)
1719    {
1720      $this->configName = $configName;
1721    }
1722  
1723    public function getConfigName()
1724    {
1725      return $this->configName;
1726    }
1727  
1728    public function setCreativeType($creativeType)
1729    {
1730      $this->creativeType = $creativeType;
1731    }
1732  
1733    public function getCreativeType()
1734    {
1735      return $this->creativeType;
1736    }
1737  
1738    public function setDimensions($dimensions)
1739    {
1740      $this->dimensions = $dimensions;
1741    }
1742  
1743    public function getDimensions()
1744    {
1745      return $this->dimensions;
1746    }
1747  
1748    public function setExcludedContentLabels($excludedContentLabels)
1749    {
1750      $this->excludedContentLabels = $excludedContentLabels;
1751    }
1752  
1753    public function getExcludedContentLabels()
1754    {
1755      return $this->excludedContentLabels;
1756    }
1757  
1758    public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds)
1759    {
1760      $this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds;
1761    }
1762  
1763    public function getExcludedGeoCriteriaIds()
1764    {
1765      return $this->excludedGeoCriteriaIds;
1766    }
1767  
1768    public function setExcludedPlacements($excludedPlacements)
1769    {
1770      $this->excludedPlacements = $excludedPlacements;
1771    }
1772  
1773    public function getExcludedPlacements()
1774    {
1775      return $this->excludedPlacements;
1776    }
1777  
1778    public function setExcludedUserLists($excludedUserLists)
1779    {
1780      $this->excludedUserLists = $excludedUserLists;
1781    }
1782  
1783    public function getExcludedUserLists()
1784    {
1785      return $this->excludedUserLists;
1786    }
1787  
1788    public function setExcludedVerticals($excludedVerticals)
1789    {
1790      $this->excludedVerticals = $excludedVerticals;
1791    }
1792  
1793    public function getExcludedVerticals()
1794    {
1795      return $this->excludedVerticals;
1796    }
1797  
1798    public function setGeoCriteriaIds($geoCriteriaIds)
1799    {
1800      $this->geoCriteriaIds = $geoCriteriaIds;
1801    }
1802  
1803    public function getGeoCriteriaIds()
1804    {
1805      return $this->geoCriteriaIds;
1806    }
1807  
1808    public function setIsActive($isActive)
1809    {
1810      $this->isActive = $isActive;
1811    }
1812  
1813    public function getIsActive()
1814    {
1815      return $this->isActive;
1816    }
1817  
1818    public function setKind($kind)
1819    {
1820      $this->kind = $kind;
1821    }
1822  
1823    public function getKind()
1824    {
1825      return $this->kind;
1826    }
1827  
1828    public function setLanguages($languages)
1829    {
1830      $this->languages = $languages;
1831    }
1832  
1833    public function getLanguages()
1834    {
1835      return $this->languages;
1836    }
1837  
1838    public function setMobileCarriers($mobileCarriers)
1839    {
1840      $this->mobileCarriers = $mobileCarriers;
1841    }
1842  
1843    public function getMobileCarriers()
1844    {
1845      return $this->mobileCarriers;
1846    }
1847  
1848    public function setMobileDevices($mobileDevices)
1849    {
1850      $this->mobileDevices = $mobileDevices;
1851    }
1852  
1853    public function getMobileDevices()
1854    {
1855      return $this->mobileDevices;
1856    }
1857  
1858    public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions)
1859    {
1860      $this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions;
1861    }
1862  
1863    public function getMobileOperatingSystemVersions()
1864    {
1865      return $this->mobileOperatingSystemVersions;
1866    }
1867  
1868    public function setPlacements($placements)
1869    {
1870      $this->placements = $placements;
1871    }
1872  
1873    public function getPlacements()
1874    {
1875      return $this->placements;
1876    }
1877  
1878    public function setPlatforms($platforms)
1879    {
1880      $this->platforms = $platforms;
1881    }
1882  
1883    public function getPlatforms()
1884    {
1885      return $this->platforms;
1886    }
1887  
1888    public function setSupportedCreativeAttributes($supportedCreativeAttributes)
1889    {
1890      $this->supportedCreativeAttributes = $supportedCreativeAttributes;
1891    }
1892  
1893    public function getSupportedCreativeAttributes()
1894    {
1895      return $this->supportedCreativeAttributes;
1896    }
1897  
1898    public function setUserLists($userLists)
1899    {
1900      $this->userLists = $userLists;
1901    }
1902  
1903    public function getUserLists()
1904    {
1905      return $this->userLists;
1906    }
1907  
1908    public function setVendorTypes($vendorTypes)
1909    {
1910      $this->vendorTypes = $vendorTypes;
1911    }
1912  
1913    public function getVendorTypes()
1914    {
1915      return $this->vendorTypes;
1916    }
1917  
1918    public function setVerticals($verticals)
1919    {
1920      $this->verticals = $verticals;
1921    }
1922  
1923    public function getVerticals()
1924    {
1925      return $this->verticals;
1926    }
1927  }
1928  
1929  class Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Google_Model
1930  {
1931    public $height;
1932    public $width;
1933  
1934    public function setHeight($height)
1935    {
1936      $this->height = $height;
1937    }
1938  
1939    public function getHeight()
1940    {
1941      return $this->height;
1942    }
1943  
1944    public function setWidth($width)
1945    {
1946      $this->width = $width;
1947    }
1948  
1949    public function getWidth()
1950    {
1951      return $this->width;
1952    }
1953  }
1954  
1955  class Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Google_Model
1956  {
1957    public $token;
1958    public $type;
1959  
1960    public function setToken($token)
1961    {
1962      $this->token = $token;
1963    }
1964  
1965    public function getToken()
1966    {
1967      return $this->token;
1968    }
1969  
1970    public function setType($type)
1971    {
1972      $this->type = $type;
1973    }
1974  
1975    public function getType()
1976    {
1977      return $this->type;
1978    }
1979  }
1980  
1981  class Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Collection
1982  {
1983    protected $collection_key = 'items';
1984    protected $itemsType = 'Google_Service_AdExchangeBuyer_PretargetingConfig';
1985    protected $itemsDataType = 'array';
1986    public $kind;
1987  
1988    public function setItems($items)
1989    {
1990      $this->items = $items;
1991    }
1992  
1993    public function getItems()
1994    {
1995      return $this->items;
1996    }
1997  
1998    public function setKind($kind)
1999    {
2000      $this->kind = $kind;
2001    }
2002  
2003    public function getKind()
2004    {
2005      return $this->kind;
2006    }
2007  }
2008  
2009  class Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Google_Model
2010  {
2011    public $token;
2012    public $type;
2013  
2014    public function setToken($token)
2015    {
2016      $this->token = $token;
2017    }
2018  
2019    public function getToken()
2020    {
2021      return $this->token;
2022    }
2023  
2024    public function setType($type)
2025    {
2026      $this->type = $type;
2027    }
2028  
2029    public function getType()
2030    {
2031      return $this->type;
2032    }
2033  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1