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