MDL-53512 libraries: update google API library to version 1.1.7
[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.4).
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 $clientaccess;
42   public $creatives;
43   public $deals;
44   public $marketplacedeals;
45   public $marketplacenotes;
46   public $marketplaceoffers;
47   public $marketplaceorders;
48   public $negotiationrounds;
49   public $negotiations;
50   public $offers;
51   public $performanceReport;
52   public $pretargetingConfig;
53   
55   /**
56    * Constructs the internal representation of the AdExchangeBuyer service.
57    *
58    * @param Google_Client $client
59    */
60   public function __construct(Google_Client $client)
61   {
62     parent::__construct($client);
63     $this->rootUrl = 'https://www.googleapis.com/';
64     $this->servicePath = 'adexchangebuyer/v1.4/';
65     $this->version = 'v1.4';
66     $this->serviceName = 'adexchangebuyer';
68     $this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource(
69         $this,
70         $this->serviceName,
71         'accounts',
72         array(
73           'methods' => array(
74             'get' => array(
75               'path' => 'accounts/{id}',
76               'httpMethod' => 'GET',
77               'parameters' => array(
78                 'id' => array(
79                   'location' => 'path',
80                   'type' => 'integer',
81                   'required' => true,
82                 ),
83               ),
84             ),'list' => array(
85               'path' => 'accounts',
86               'httpMethod' => 'GET',
87               'parameters' => array(),
88             ),'patch' => array(
89               'path' => 'accounts/{id}',
90               'httpMethod' => 'PATCH',
91               'parameters' => array(
92                 'id' => array(
93                   'location' => 'path',
94                   'type' => 'integer',
95                   'required' => true,
96                 ),
97               ),
98             ),'update' => array(
99               'path' => 'accounts/{id}',
100               'httpMethod' => 'PUT',
101               'parameters' => array(
102                 'id' => array(
103                   'location' => 'path',
104                   'type' => 'integer',
105                   'required' => true,
106                 ),
107               ),
108             ),
109           )
110         )
111     );
112     $this->billingInfo = new Google_Service_AdExchangeBuyer_BillingInfo_Resource(
113         $this,
114         $this->serviceName,
115         'billingInfo',
116         array(
117           'methods' => array(
118             'get' => array(
119               'path' => 'billinginfo/{accountId}',
120               'httpMethod' => 'GET',
121               'parameters' => array(
122                 'accountId' => array(
123                   'location' => 'path',
124                   'type' => 'integer',
125                   'required' => true,
126                 ),
127               ),
128             ),'list' => array(
129               'path' => 'billinginfo',
130               'httpMethod' => 'GET',
131               'parameters' => array(),
132             ),
133           )
134         )
135     );
136     $this->budget = new Google_Service_AdExchangeBuyer_Budget_Resource(
137         $this,
138         $this->serviceName,
139         'budget',
140         array(
141           'methods' => array(
142             'get' => array(
143               'path' => 'billinginfo/{accountId}/{billingId}',
144               'httpMethod' => 'GET',
145               'parameters' => array(
146                 'accountId' => array(
147                   'location' => 'path',
148                   'type' => 'string',
149                   'required' => true,
150                 ),
151                 'billingId' => array(
152                   'location' => 'path',
153                   'type' => 'string',
154                   'required' => true,
155                 ),
156               ),
157             ),'patch' => array(
158               'path' => 'billinginfo/{accountId}/{billingId}',
159               'httpMethod' => 'PATCH',
160               'parameters' => array(
161                 'accountId' => array(
162                   'location' => 'path',
163                   'type' => 'string',
164                   'required' => true,
165                 ),
166                 'billingId' => array(
167                   'location' => 'path',
168                   'type' => 'string',
169                   'required' => true,
170                 ),
171               ),
172             ),'update' => array(
173               'path' => 'billinginfo/{accountId}/{billingId}',
174               'httpMethod' => 'PUT',
175               'parameters' => array(
176                 'accountId' => array(
177                   'location' => 'path',
178                   'type' => 'string',
179                   'required' => true,
180                 ),
181                 'billingId' => array(
182                   'location' => 'path',
183                   'type' => 'string',
184                   'required' => true,
185                 ),
186               ),
187             ),
188           )
189         )
190     );
191     $this->clientaccess = new Google_Service_AdExchangeBuyer_Clientaccess_Resource(
192         $this,
193         $this->serviceName,
194         'clientaccess',
195         array(
196           'methods' => array(
197             'delete' => array(
198               'path' => 'clientAccess/{clientAccountId}',
199               'httpMethod' => 'DELETE',
200               'parameters' => array(
201                 'clientAccountId' => array(
202                   'location' => 'path',
203                   'type' => 'string',
204                   'required' => true,
205                 ),
206                 'sponsorAccountId' => array(
207                   'location' => 'query',
208                   'type' => 'integer',
209                   'required' => true,
210                 ),
211               ),
212             ),'get' => array(
213               'path' => 'clientAccess/{clientAccountId}',
214               'httpMethod' => 'GET',
215               'parameters' => array(
216                 'clientAccountId' => array(
217                   'location' => 'path',
218                   'type' => 'string',
219                   'required' => true,
220                 ),
221                 'sponsorAccountId' => array(
222                   'location' => 'query',
223                   'type' => 'integer',
224                   'required' => true,
225                 ),
226               ),
227             ),'insert' => array(
228               'path' => 'clientAccess',
229               'httpMethod' => 'POST',
230               'parameters' => array(
231                 'clientAccountId' => array(
232                   'location' => 'query',
233                   'type' => 'string',
234                 ),
235                 'sponsorAccountId' => array(
236                   'location' => 'query',
237                   'type' => 'integer',
238                 ),
239               ),
240             ),'list' => array(
241               'path' => 'clientAccess',
242               'httpMethod' => 'GET',
243               'parameters' => array(),
244             ),'patch' => array(
245               'path' => 'clientAccess/{clientAccountId}',
246               'httpMethod' => 'PATCH',
247               'parameters' => array(
248                 'clientAccountId' => array(
249                   'location' => 'path',
250                   'type' => 'string',
251                   'required' => true,
252                 ),
253                 'sponsorAccountId' => array(
254                   'location' => 'query',
255                   'type' => 'integer',
256                   'required' => true,
257                 ),
258               ),
259             ),'update' => array(
260               'path' => 'clientAccess/{clientAccountId}',
261               'httpMethod' => 'PUT',
262               'parameters' => array(
263                 'clientAccountId' => array(
264                   'location' => 'path',
265                   'type' => 'string',
266                   'required' => true,
267                 ),
268                 'sponsorAccountId' => array(
269                   'location' => 'query',
270                   'type' => 'integer',
271                   'required' => true,
272                 ),
273               ),
274             ),
275           )
276         )
277     );
278     $this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource(
279         $this,
280         $this->serviceName,
281         'creatives',
282         array(
283           'methods' => array(
284             'get' => array(
285               'path' => 'creatives/{accountId}/{buyerCreativeId}',
286               'httpMethod' => 'GET',
287               'parameters' => array(
288                 'accountId' => array(
289                   'location' => 'path',
290                   'type' => 'integer',
291                   'required' => true,
292                 ),
293                 'buyerCreativeId' => array(
294                   'location' => 'path',
295                   'type' => 'string',
296                   'required' => true,
297                 ),
298               ),
299             ),'insert' => array(
300               'path' => 'creatives',
301               'httpMethod' => 'POST',
302               'parameters' => array(),
303             ),'list' => array(
304               'path' => 'creatives',
305               'httpMethod' => 'GET',
306               'parameters' => array(
307                 'openAuctionStatusFilter' => array(
308                   'location' => 'query',
309                   'type' => 'string',
310                 ),
311                 'maxResults' => array(
312                   'location' => 'query',
313                   'type' => 'integer',
314                 ),
315                 'pageToken' => array(
316                   'location' => 'query',
317                   'type' => 'string',
318                 ),
319                 'buyerCreativeId' => array(
320                   'location' => 'query',
321                   'type' => 'string',
322                   'repeated' => true,
323                 ),
324                 'dealsStatusFilter' => array(
325                   'location' => 'query',
326                   'type' => 'string',
327                 ),
328                 'accountId' => array(
329                   'location' => 'query',
330                   'type' => 'integer',
331                   'repeated' => true,
332                 ),
333               ),
334             ),
335           )
336         )
337     );
338     $this->deals = new Google_Service_AdExchangeBuyer_Deals_Resource(
339         $this,
340         $this->serviceName,
341         'deals',
342         array(
343           'methods' => array(
344             'get' => array(
345               'path' => 'deals/{dealId}',
346               'httpMethod' => 'GET',
347               'parameters' => array(
348                 'dealId' => array(
349                   'location' => 'path',
350                   'type' => 'string',
351                   'required' => true,
352                 ),
353               ),
354             ),
355           )
356         )
357     );
358     $this->marketplacedeals = new Google_Service_AdExchangeBuyer_Marketplacedeals_Resource(
359         $this,
360         $this->serviceName,
361         'marketplacedeals',
362         array(
363           'methods' => array(
364             'delete' => array(
365               'path' => 'marketplaceOrders/{orderId}/deals/delete',
366               'httpMethod' => 'POST',
367               'parameters' => array(
368                 'orderId' => array(
369                   'location' => 'path',
370                   'type' => 'string',
371                   'required' => true,
372                 ),
373               ),
374             ),'insert' => array(
375               'path' => 'marketplaceOrders/{orderId}/deals/insert',
376               'httpMethod' => 'POST',
377               'parameters' => array(
378                 'orderId' => array(
379                   'location' => 'path',
380                   'type' => 'string',
381                   'required' => true,
382                 ),
383               ),
384             ),'list' => array(
385               'path' => 'marketplaceOrders/{orderId}/deals',
386               'httpMethod' => 'GET',
387               'parameters' => array(
388                 'orderId' => array(
389                   'location' => 'path',
390                   'type' => 'string',
391                   'required' => true,
392                 ),
393               ),
394             ),'update' => array(
395               'path' => 'marketplaceOrders/{orderId}/deals/update',
396               'httpMethod' => 'POST',
397               'parameters' => array(
398                 'orderId' => array(
399                   'location' => 'path',
400                   'type' => 'string',
401                   'required' => true,
402                 ),
403               ),
404             ),
405           )
406         )
407     );
408     $this->marketplacenotes = new Google_Service_AdExchangeBuyer_Marketplacenotes_Resource(
409         $this,
410         $this->serviceName,
411         'marketplacenotes',
412         array(
413           'methods' => array(
414             'insert' => array(
415               'path' => 'marketplaceOrders/{orderId}/notes/insert',
416               'httpMethod' => 'POST',
417               'parameters' => array(
418                 'orderId' => array(
419                   'location' => 'path',
420                   'type' => 'string',
421                   'required' => true,
422                 ),
423               ),
424             ),'list' => array(
425               'path' => 'marketplaceOrders/{orderId}/notes',
426               'httpMethod' => 'GET',
427               'parameters' => array(
428                 'orderId' => array(
429                   'location' => 'path',
430                   'type' => 'string',
431                   'required' => true,
432                 ),
433               ),
434             ),
435           )
436         )
437     );
438     $this->marketplaceoffers = new Google_Service_AdExchangeBuyer_Marketplaceoffers_Resource(
439         $this,
440         $this->serviceName,
441         'marketplaceoffers',
442         array(
443           'methods' => array(
444             'get' => array(
445               'path' => 'marketplaceOffers/{offerId}',
446               'httpMethod' => 'GET',
447               'parameters' => array(
448                 'offerId' => array(
449                   'location' => 'path',
450                   'type' => 'string',
451                   'required' => true,
452                 ),
453               ),
454             ),'search' => array(
455               'path' => 'marketplaceOffers/search',
456               'httpMethod' => 'GET',
457               'parameters' => array(
458                 'pqlQuery' => array(
459                   'location' => 'query',
460                   'type' => 'string',
461                 ),
462               ),
463             ),
464           )
465         )
466     );
467     $this->marketplaceorders = new Google_Service_AdExchangeBuyer_Marketplaceorders_Resource(
468         $this,
469         $this->serviceName,
470         'marketplaceorders',
471         array(
472           'methods' => array(
473             'get' => array(
474               'path' => 'marketplaceOrders/{orderId}',
475               'httpMethod' => 'GET',
476               'parameters' => array(
477                 'orderId' => array(
478                   'location' => 'path',
479                   'type' => 'string',
480                   'required' => true,
481                 ),
482               ),
483             ),'insert' => array(
484               'path' => 'marketplaceOrders/insert',
485               'httpMethod' => 'POST',
486               'parameters' => array(),
487             ),'patch' => array(
488               'path' => 'marketplaceOrders/{orderId}/{revisionNumber}/{updateAction}',
489               'httpMethod' => 'PATCH',
490               'parameters' => array(
491                 'orderId' => array(
492                   'location' => 'path',
493                   'type' => 'string',
494                   'required' => true,
495                 ),
496                 'revisionNumber' => array(
497                   'location' => 'path',
498                   'type' => 'string',
499                   'required' => true,
500                 ),
501                 'updateAction' => array(
502                   'location' => 'path',
503                   'type' => 'string',
504                   'required' => true,
505                 ),
506               ),
507             ),'search' => array(
508               'path' => 'marketplaceOrders/search',
509               'httpMethod' => 'GET',
510               'parameters' => array(
511                 'pqlQuery' => array(
512                   'location' => 'query',
513                   'type' => 'string',
514                 ),
515               ),
516             ),'update' => array(
517               'path' => 'marketplaceOrders/{orderId}/{revisionNumber}/{updateAction}',
518               'httpMethod' => 'PUT',
519               'parameters' => array(
520                 'orderId' => array(
521                   'location' => 'path',
522                   'type' => 'string',
523                   'required' => true,
524                 ),
525                 'revisionNumber' => array(
526                   'location' => 'path',
527                   'type' => 'string',
528                   'required' => true,
529                 ),
530                 'updateAction' => array(
531                   'location' => 'path',
532                   'type' => 'string',
533                   'required' => true,
534                 ),
535               ),
536             ),
537           )
538         )
539     );
540     $this->negotiationrounds = new Google_Service_AdExchangeBuyer_Negotiationrounds_Resource(
541         $this,
542         $this->serviceName,
543         'negotiationrounds',
544         array(
545           'methods' => array(
546             'insert' => array(
547               'path' => 'negotiations/{negotiationId}/negotiationrounds',
548               'httpMethod' => 'POST',
549               'parameters' => array(
550                 'negotiationId' => array(
551                   'location' => 'path',
552                   'type' => 'string',
553                   'required' => true,
554                 ),
555               ),
556             ),
557           )
558         )
559     );
560     $this->negotiations = new Google_Service_AdExchangeBuyer_Negotiations_Resource(
561         $this,
562         $this->serviceName,
563         'negotiations',
564         array(
565           'methods' => array(
566             'get' => array(
567               'path' => 'negotiations/{negotiationId}',
568               'httpMethod' => 'GET',
569               'parameters' => array(
570                 'negotiationId' => array(
571                   'location' => 'path',
572                   'type' => 'string',
573                   'required' => true,
574                 ),
575               ),
576             ),'insert' => array(
577               'path' => 'negotiations',
578               'httpMethod' => 'POST',
579               'parameters' => array(),
580             ),'list' => array(
581               'path' => 'negotiations',
582               'httpMethod' => 'GET',
583               'parameters' => array(),
584             ),
585           )
586         )
587     );
588     $this->offers = new Google_Service_AdExchangeBuyer_Offers_Resource(
589         $this,
590         $this->serviceName,
591         'offers',
592         array(
593           'methods' => array(
594             'get' => array(
595               'path' => 'offers/{offerId}',
596               'httpMethod' => 'GET',
597               'parameters' => array(
598                 'offerId' => array(
599                   'location' => 'path',
600                   'type' => 'string',
601                   'required' => true,
602                 ),
603               ),
604             ),'insert' => array(
605               'path' => 'offers',
606               'httpMethod' => 'POST',
607               'parameters' => array(),
608             ),'list' => array(
609               'path' => 'offers',
610               'httpMethod' => 'GET',
611               'parameters' => array(),
612             ),
613           )
614         )
615     );
616     $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource(
617         $this,
618         $this->serviceName,
619         'performanceReport',
620         array(
621           'methods' => array(
622             'list' => array(
623               'path' => 'performancereport',
624               'httpMethod' => 'GET',
625               'parameters' => array(
626                 'accountId' => array(
627                   'location' => 'query',
628                   'type' => 'string',
629                   'required' => true,
630                 ),
631                 'endDateTime' => array(
632                   'location' => 'query',
633                   'type' => 'string',
634                   'required' => true,
635                 ),
636                 'startDateTime' => array(
637                   'location' => 'query',
638                   'type' => 'string',
639                   'required' => true,
640                 ),
641                 'pageToken' => array(
642                   'location' => 'query',
643                   'type' => 'string',
644                 ),
645                 'maxResults' => array(
646                   'location' => 'query',
647                   'type' => 'integer',
648                 ),
649               ),
650             ),
651           )
652         )
653     );
654     $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_PretargetingConfig_Resource(
655         $this,
656         $this->serviceName,
657         'pretargetingConfig',
658         array(
659           'methods' => array(
660             'delete' => array(
661               'path' => 'pretargetingconfigs/{accountId}/{configId}',
662               'httpMethod' => 'DELETE',
663               'parameters' => array(
664                 'accountId' => array(
665                   'location' => 'path',
666                   'type' => 'string',
667                   'required' => true,
668                 ),
669                 'configId' => array(
670                   'location' => 'path',
671                   'type' => 'string',
672                   'required' => true,
673                 ),
674               ),
675             ),'get' => array(
676               'path' => 'pretargetingconfigs/{accountId}/{configId}',
677               'httpMethod' => 'GET',
678               'parameters' => array(
679                 'accountId' => array(
680                   'location' => 'path',
681                   'type' => 'string',
682                   'required' => true,
683                 ),
684                 'configId' => array(
685                   'location' => 'path',
686                   'type' => 'string',
687                   'required' => true,
688                 ),
689               ),
690             ),'insert' => array(
691               'path' => 'pretargetingconfigs/{accountId}',
692               'httpMethod' => 'POST',
693               'parameters' => array(
694                 'accountId' => array(
695                   'location' => 'path',
696                   'type' => 'string',
697                   'required' => true,
698                 ),
699               ),
700             ),'list' => array(
701               'path' => 'pretargetingconfigs/{accountId}',
702               'httpMethod' => 'GET',
703               'parameters' => array(
704                 'accountId' => array(
705                   'location' => 'path',
706                   'type' => 'string',
707                   'required' => true,
708                 ),
709               ),
710             ),'patch' => array(
711               'path' => 'pretargetingconfigs/{accountId}/{configId}',
712               'httpMethod' => 'PATCH',
713               'parameters' => array(
714                 'accountId' => array(
715                   'location' => 'path',
716                   'type' => 'string',
717                   'required' => true,
718                 ),
719                 'configId' => array(
720                   'location' => 'path',
721                   'type' => 'string',
722                   'required' => true,
723                 ),
724               ),
725             ),'update' => array(
726               'path' => 'pretargetingconfigs/{accountId}/{configId}',
727               'httpMethod' => 'PUT',
728               'parameters' => array(
729                 'accountId' => array(
730                   'location' => 'path',
731                   'type' => 'string',
732                   'required' => true,
733                 ),
734                 'configId' => array(
735                   'location' => 'path',
736                   'type' => 'string',
737                   'required' => true,
738                 ),
739               ),
740             ),
741           )
742         )
743     );
744   }
748 /**
749  * The "accounts" collection of methods.
750  * Typical usage is:
751  *  <code>
752  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
753  *   $accounts = $adexchangebuyerService->accounts;
754  *  </code>
755  */
756 class Google_Service_AdExchangeBuyer_Accounts_Resource extends Google_Service_Resource
759   /**
760    * Gets one account by ID. (accounts.get)
761    *
762    * @param int $id The account id
763    * @param array $optParams Optional parameters.
764    * @return Google_Service_AdExchangeBuyer_Account
765    */
766   public function get($id, $optParams = array())
767   {
768     $params = array('id' => $id);
769     $params = array_merge($params, $optParams);
770     return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Account");
771   }
773   /**
774    * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
775    *
776    * @param array $optParams Optional parameters.
777    * @return Google_Service_AdExchangeBuyer_AccountsList
778    */
779   public function listAccounts($optParams = array())
780   {
781     $params = array();
782     $params = array_merge($params, $optParams);
783     return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_AccountsList");
784   }
786   /**
787    * Updates an existing account. This method supports patch semantics.
788    * (accounts.patch)
789    *
790    * @param int $id The account id
791    * @param Google_Account $postBody
792    * @param array $optParams Optional parameters.
793    * @return Google_Service_AdExchangeBuyer_Account
794    */
795   public function patch($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
796   {
797     $params = array('id' => $id, 'postBody' => $postBody);
798     $params = array_merge($params, $optParams);
799     return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Account");
800   }
802   /**
803    * Updates an existing account. (accounts.update)
804    *
805    * @param int $id The account id
806    * @param Google_Account $postBody
807    * @param array $optParams Optional parameters.
808    * @return Google_Service_AdExchangeBuyer_Account
809    */
810   public function update($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
811   {
812     $params = array('id' => $id, 'postBody' => $postBody);
813     $params = array_merge($params, $optParams);
814     return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Account");
815   }
818 /**
819  * The "billingInfo" collection of methods.
820  * Typical usage is:
821  *  <code>
822  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
823  *   $billingInfo = $adexchangebuyerService->billingInfo;
824  *  </code>
825  */
826 class Google_Service_AdExchangeBuyer_BillingInfo_Resource extends Google_Service_Resource
829   /**
830    * Returns the billing information for one account specified by account ID.
831    * (billingInfo.get)
832    *
833    * @param int $accountId The account id.
834    * @param array $optParams Optional parameters.
835    * @return Google_Service_AdExchangeBuyer_BillingInfo
836    */
837   public function get($accountId, $optParams = array())
838   {
839     $params = array('accountId' => $accountId);
840     $params = array_merge($params, $optParams);
841     return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_BillingInfo");
842   }
844   /**
845    * Retrieves a list of billing information for all accounts of the authenticated
846    * user. (billingInfo.listBillingInfo)
847    *
848    * @param array $optParams Optional parameters.
849    * @return Google_Service_AdExchangeBuyer_BillingInfoList
850    */
851   public function listBillingInfo($optParams = array())
852   {
853     $params = array();
854     $params = array_merge($params, $optParams);
855     return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_BillingInfoList");
856   }
859 /**
860  * The "budget" collection of methods.
861  * Typical usage is:
862  *  <code>
863  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
864  *   $budget = $adexchangebuyerService->budget;
865  *  </code>
866  */
867 class Google_Service_AdExchangeBuyer_Budget_Resource extends Google_Service_Resource
870   /**
871    * Returns the budget information for the adgroup specified by the accountId and
872    * billingId. (budget.get)
873    *
874    * @param string $accountId The account id to get the budget information for.
875    * @param string $billingId The billing id to get the budget information for.
876    * @param array $optParams Optional parameters.
877    * @return Google_Service_AdExchangeBuyer_Budget
878    */
879   public function get($accountId, $billingId, $optParams = array())
880   {
881     $params = array('accountId' => $accountId, 'billingId' => $billingId);
882     $params = array_merge($params, $optParams);
883     return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Budget");
884   }
886   /**
887    * Updates the budget amount for the budget of the adgroup specified by the
888    * accountId and billingId, with the budget amount in the request. This method
889    * supports patch semantics. (budget.patch)
890    *
891    * @param string $accountId The account id associated with the budget being
892    * updated.
893    * @param string $billingId The billing id associated with the budget being
894    * updated.
895    * @param Google_Budget $postBody
896    * @param array $optParams Optional parameters.
897    * @return Google_Service_AdExchangeBuyer_Budget
898    */
899   public function patch($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
900   {
901     $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
902     $params = array_merge($params, $optParams);
903     return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Budget");
904   }
906   /**
907    * Updates the budget amount for the budget of the adgroup specified by the
908    * accountId and billingId, with the budget amount in the request.
909    * (budget.update)
910    *
911    * @param string $accountId The account id associated with the budget being
912    * updated.
913    * @param string $billingId The billing id associated with the budget being
914    * updated.
915    * @param Google_Budget $postBody
916    * @param array $optParams Optional parameters.
917    * @return Google_Service_AdExchangeBuyer_Budget
918    */
919   public function update($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
920   {
921     $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
922     $params = array_merge($params, $optParams);
923     return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Budget");
924   }
927 /**
928  * The "clientaccess" collection of methods.
929  * Typical usage is:
930  *  <code>
931  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
932  *   $clientaccess = $adexchangebuyerService->clientaccess;
933  *  </code>
934  */
935 class Google_Service_AdExchangeBuyer_Clientaccess_Resource extends Google_Service_Resource
938   /**
939    * (clientaccess.delete)
940    *
941    * @param string $clientAccountId
942    * @param int $sponsorAccountId
943    * @param array $optParams Optional parameters.
944    */
945   public function delete($clientAccountId, $sponsorAccountId, $optParams = array())
946   {
947     $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId);
948     $params = array_merge($params, $optParams);
949     return $this->call('delete', array($params));
950   }
952   /**
953    * (clientaccess.get)
954    *
955    * @param string $clientAccountId
956    * @param int $sponsorAccountId
957    * @param array $optParams Optional parameters.
958    * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities
959    */
960   public function get($clientAccountId, $sponsorAccountId, $optParams = array())
961   {
962     $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId);
963     $params = array_merge($params, $optParams);
964     return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities");
965   }
967   /**
968    * (clientaccess.insert)
969    *
970    * @param Google_ClientAccessCapabilities $postBody
971    * @param array $optParams Optional parameters.
972    *
973    * @opt_param string clientAccountId
974    * @opt_param int sponsorAccountId
975    * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities
976    */
977   public function insert(Google_Service_AdExchangeBuyer_ClientAccessCapabilities $postBody, $optParams = array())
978   {
979     $params = array('postBody' => $postBody);
980     $params = array_merge($params, $optParams);
981     return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities");
982   }
984   /**
985    * (clientaccess.listClientaccess)
986    *
987    * @param array $optParams Optional parameters.
988    * @return Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesResponse
989    */
990   public function listClientaccess($optParams = array())
991   {
992     $params = array();
993     $params = array_merge($params, $optParams);
994     return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesResponse");
995   }
997   /**
998    * (clientaccess.patch)
999    *
1000    * @param string $clientAccountId
1001    * @param int $sponsorAccountId
1002    * @param Google_ClientAccessCapabilities $postBody
1003    * @param array $optParams Optional parameters.
1004    * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities
1005    */
1006   public function patch($clientAccountId, $sponsorAccountId, Google_Service_AdExchangeBuyer_ClientAccessCapabilities $postBody, $optParams = array())
1007   {
1008     $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId, 'postBody' => $postBody);
1009     $params = array_merge($params, $optParams);
1010     return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities");
1011   }
1013   /**
1014    * (clientaccess.update)
1015    *
1016    * @param string $clientAccountId
1017    * @param int $sponsorAccountId
1018    * @param Google_ClientAccessCapabilities $postBody
1019    * @param array $optParams Optional parameters.
1020    * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities
1021    */
1022   public function update($clientAccountId, $sponsorAccountId, Google_Service_AdExchangeBuyer_ClientAccessCapabilities $postBody, $optParams = array())
1023   {
1024     $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId, 'postBody' => $postBody);
1025     $params = array_merge($params, $optParams);
1026     return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities");
1027   }
1030 /**
1031  * The "creatives" collection of methods.
1032  * Typical usage is:
1033  *  <code>
1034  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1035  *   $creatives = $adexchangebuyerService->creatives;
1036  *  </code>
1037  */
1038 class Google_Service_AdExchangeBuyer_Creatives_Resource extends Google_Service_Resource
1041   /**
1042    * Gets the status for a single creative. A creative will be available 30-40
1043    * minutes after submission. (creatives.get)
1044    *
1045    * @param int $accountId The id for the account that will serve this creative.
1046    * @param string $buyerCreativeId The buyer-specific id for this creative.
1047    * @param array $optParams Optional parameters.
1048    * @return Google_Service_AdExchangeBuyer_Creative
1049    */
1050   public function get($accountId, $buyerCreativeId, $optParams = array())
1051   {
1052     $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
1053     $params = array_merge($params, $optParams);
1054     return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Creative");
1055   }
1057   /**
1058    * Submit a new creative. (creatives.insert)
1059    *
1060    * @param Google_Creative $postBody
1061    * @param array $optParams Optional parameters.
1062    * @return Google_Service_AdExchangeBuyer_Creative
1063    */
1064   public function insert(Google_Service_AdExchangeBuyer_Creative $postBody, $optParams = array())
1065   {
1066     $params = array('postBody' => $postBody);
1067     $params = array_merge($params, $optParams);
1068     return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_Creative");
1069   }
1071   /**
1072    * Retrieves a list of the authenticated user's active creatives. A creative
1073    * will be available 30-40 minutes after submission. (creatives.listCreatives)
1074    *
1075    * @param array $optParams Optional parameters.
1076    *
1077    * @opt_param string openAuctionStatusFilter When specified, only creatives
1078    * having the given open auction status are returned.
1079    * @opt_param string maxResults Maximum number of entries returned on one result
1080    * page. If not set, the default is 100. Optional.
1081    * @opt_param string pageToken A continuation token, used to page through ad
1082    * clients. To retrieve the next page, set this parameter to the value of
1083    * "nextPageToken" from the previous response. Optional.
1084    * @opt_param string buyerCreativeId When specified, only creatives for the
1085    * given buyer creative ids are returned.
1086    * @opt_param string dealsStatusFilter When specified, only creatives having the
1087    * given direct deals status are returned.
1088    * @opt_param int accountId When specified, only creatives for the given account
1089    * ids are returned.
1090    * @return Google_Service_AdExchangeBuyer_CreativesList
1091    */
1092   public function listCreatives($optParams = array())
1093   {
1094     $params = array();
1095     $params = array_merge($params, $optParams);
1096     return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_CreativesList");
1097   }
1100 /**
1101  * The "deals" collection of methods.
1102  * Typical usage is:
1103  *  <code>
1104  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1105  *   $deals = $adexchangebuyerService->deals;
1106  *  </code>
1107  */
1108 class Google_Service_AdExchangeBuyer_Deals_Resource extends Google_Service_Resource
1111   /**
1112    * Gets the requested deal. (deals.get)
1113    *
1114    * @param string $dealId
1115    * @param array $optParams Optional parameters.
1116    * @return Google_Service_AdExchangeBuyer_NegotiationDto
1117    */
1118   public function get($dealId, $optParams = array())
1119   {
1120     $params = array('dealId' => $dealId);
1121     $params = array_merge($params, $optParams);
1122     return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_NegotiationDto");
1123   }
1126 /**
1127  * The "marketplacedeals" collection of methods.
1128  * Typical usage is:
1129  *  <code>
1130  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1131  *   $marketplacedeals = $adexchangebuyerService->marketplacedeals;
1132  *  </code>
1133  */
1134 class Google_Service_AdExchangeBuyer_Marketplacedeals_Resource extends Google_Service_Resource
1137   /**
1138    * Delete the specified deals from the order (marketplacedeals.delete)
1139    *
1140    * @param string $orderId The orderId to delete deals from.
1141    * @param Google_DeleteOrderDealsRequest $postBody
1142    * @param array $optParams Optional parameters.
1143    * @return Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse
1144    */
1145   public function delete($orderId, Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest $postBody, $optParams = array())
1146   {
1147     $params = array('orderId' => $orderId, 'postBody' => $postBody);
1148     $params = array_merge($params, $optParams);
1149     return $this->call('delete', array($params), "Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse");
1150   }
1152   /**
1153    * Add new deals for the specified order (marketplacedeals.insert)
1154    *
1155    * @param string $orderId OrderId for which deals need to be added.
1156    * @param Google_AddOrderDealsRequest $postBody
1157    * @param array $optParams Optional parameters.
1158    * @return Google_Service_AdExchangeBuyer_AddOrderDealsResponse
1159    */
1160   public function insert($orderId, Google_Service_AdExchangeBuyer_AddOrderDealsRequest $postBody, $optParams = array())
1161   {
1162     $params = array('orderId' => $orderId, 'postBody' => $postBody);
1163     $params = array_merge($params, $optParams);
1164     return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderDealsResponse");
1165   }
1167   /**
1168    * List all the deals for a given order (marketplacedeals.listMarketplacedeals)
1169    *
1170    * @param string $orderId The orderId to get deals for.
1171    * @param array $optParams Optional parameters.
1172    * @return Google_Service_AdExchangeBuyer_GetOrderDealsResponse
1173    */
1174   public function listMarketplacedeals($orderId, $optParams = array())
1175   {
1176     $params = array('orderId' => $orderId);
1177     $params = array_merge($params, $optParams);
1178     return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderDealsResponse");
1179   }
1181   /**
1182    * Replaces all the deals in the order with the passed in deals
1183    * (marketplacedeals.update)
1184    *
1185    * @param string $orderId The orderId to edit deals on.
1186    * @param Google_EditAllOrderDealsRequest $postBody
1187    * @param array $optParams Optional parameters.
1188    * @return Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse
1189    */
1190   public function update($orderId, Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest $postBody, $optParams = array())
1191   {
1192     $params = array('orderId' => $orderId, 'postBody' => $postBody);
1193     $params = array_merge($params, $optParams);
1194     return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse");
1195   }
1198 /**
1199  * The "marketplacenotes" collection of methods.
1200  * Typical usage is:
1201  *  <code>
1202  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1203  *   $marketplacenotes = $adexchangebuyerService->marketplacenotes;
1204  *  </code>
1205  */
1206 class Google_Service_AdExchangeBuyer_Marketplacenotes_Resource extends Google_Service_Resource
1209   /**
1210    * Add notes to the order (marketplacenotes.insert)
1211    *
1212    * @param string $orderId The orderId to add notes for.
1213    * @param Google_AddOrderNotesRequest $postBody
1214    * @param array $optParams Optional parameters.
1215    * @return Google_Service_AdExchangeBuyer_AddOrderNotesResponse
1216    */
1217   public function insert($orderId, Google_Service_AdExchangeBuyer_AddOrderNotesRequest $postBody, $optParams = array())
1218   {
1219     $params = array('orderId' => $orderId, 'postBody' => $postBody);
1220     $params = array_merge($params, $optParams);
1221     return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderNotesResponse");
1222   }
1224   /**
1225    * Get all the notes associated with an order
1226    * (marketplacenotes.listMarketplacenotes)
1227    *
1228    * @param string $orderId The orderId to get notes for.
1229    * @param array $optParams Optional parameters.
1230    * @return Google_Service_AdExchangeBuyer_GetOrderNotesResponse
1231    */
1232   public function listMarketplacenotes($orderId, $optParams = array())
1233   {
1234     $params = array('orderId' => $orderId);
1235     $params = array_merge($params, $optParams);
1236     return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderNotesResponse");
1237   }
1240 /**
1241  * The "marketplaceoffers" collection of methods.
1242  * Typical usage is:
1243  *  <code>
1244  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1245  *   $marketplaceoffers = $adexchangebuyerService->marketplaceoffers;
1246  *  </code>
1247  */
1248 class Google_Service_AdExchangeBuyer_Marketplaceoffers_Resource extends Google_Service_Resource
1251   /**
1252    * Gets the requested negotiation. (marketplaceoffers.get)
1253    *
1254    * @param string $offerId The offerId for the offer to get the head revision
1255    * for.
1256    * @param array $optParams Optional parameters.
1257    * @return Google_Service_AdExchangeBuyer_MarketplaceOffer
1258    */
1259   public function get($offerId, $optParams = array())
1260   {
1261     $params = array('offerId' => $offerId);
1262     $params = array_merge($params, $optParams);
1263     return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOffer");
1264   }
1266   /**
1267    * Gets the requested negotiation. (marketplaceoffers.search)
1268    *
1269    * @param array $optParams Optional parameters.
1270    *
1271    * @opt_param string pqlQuery The pql query used to query for offers.
1272    * @return Google_Service_AdExchangeBuyer_GetOffersResponse
1273    */
1274   public function search($optParams = array())
1275   {
1276     $params = array();
1277     $params = array_merge($params, $optParams);
1278     return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOffersResponse");
1279   }
1282 /**
1283  * The "marketplaceorders" collection of methods.
1284  * Typical usage is:
1285  *  <code>
1286  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1287  *   $marketplaceorders = $adexchangebuyerService->marketplaceorders;
1288  *  </code>
1289  */
1290 class Google_Service_AdExchangeBuyer_Marketplaceorders_Resource extends Google_Service_Resource
1293   /**
1294    * Get an order given its id (marketplaceorders.get)
1295    *
1296    * @param string $orderId Id of the order to retrieve.
1297    * @param array $optParams Optional parameters.
1298    * @return Google_Service_AdExchangeBuyer_MarketplaceOrder
1299    */
1300   public function get($orderId, $optParams = array())
1301   {
1302     $params = array('orderId' => $orderId);
1303     $params = array_merge($params, $optParams);
1304     return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOrder");
1305   }
1307   /**
1308    * Create the given list of orders (marketplaceorders.insert)
1309    *
1310    * @param Google_CreateOrdersRequest $postBody
1311    * @param array $optParams Optional parameters.
1312    * @return Google_Service_AdExchangeBuyer_CreateOrdersResponse
1313    */
1314   public function insert(Google_Service_AdExchangeBuyer_CreateOrdersRequest $postBody, $optParams = array())
1315   {
1316     $params = array('postBody' => $postBody);
1317     $params = array_merge($params, $optParams);
1318     return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_CreateOrdersResponse");
1319   }
1321   /**
1322    * Update the given order. This method supports patch semantics.
1323    * (marketplaceorders.patch)
1324    *
1325    * @param string $orderId The order id to update.
1326    * @param string $revisionNumber The last known revision number to update. If
1327    * the head revision in the marketplace database has since changed, an error
1328    * will be thrown. The caller should then fetch the lastest order at head
1329    * revision and retry the update at that revision.
1330    * @param string $updateAction The proposed action to take on the order.
1331    * @param Google_MarketplaceOrder $postBody
1332    * @param array $optParams Optional parameters.
1333    * @return Google_Service_AdExchangeBuyer_MarketplaceOrder
1334    */
1335   public function patch($orderId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_MarketplaceOrder $postBody, $optParams = array())
1336   {
1337     $params = array('orderId' => $orderId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody);
1338     $params = array_merge($params, $optParams);
1339     return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOrder");
1340   }
1342   /**
1343    * Search for orders using pql query (marketplaceorders.search)
1344    *
1345    * @param array $optParams Optional parameters.
1346    *
1347    * @opt_param string pqlQuery Query string to retrieve specific orders.
1348    * @return Google_Service_AdExchangeBuyer_GetOrdersResponse
1349    */
1350   public function search($optParams = array())
1351   {
1352     $params = array();
1353     $params = array_merge($params, $optParams);
1354     return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOrdersResponse");
1355   }
1357   /**
1358    * Update the given order (marketplaceorders.update)
1359    *
1360    * @param string $orderId The order id to update.
1361    * @param string $revisionNumber The last known revision number to update. If
1362    * the head revision in the marketplace database has since changed, an error
1363    * will be thrown. The caller should then fetch the lastest order at head
1364    * revision and retry the update at that revision.
1365    * @param string $updateAction The proposed action to take on the order.
1366    * @param Google_MarketplaceOrder $postBody
1367    * @param array $optParams Optional parameters.
1368    * @return Google_Service_AdExchangeBuyer_MarketplaceOrder
1369    */
1370   public function update($orderId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_MarketplaceOrder $postBody, $optParams = array())
1371   {
1372     $params = array('orderId' => $orderId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody);
1373     $params = array_merge($params, $optParams);
1374     return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOrder");
1375   }
1378 /**
1379  * The "negotiationrounds" collection of methods.
1380  * Typical usage is:
1381  *  <code>
1382  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1383  *   $negotiationrounds = $adexchangebuyerService->negotiationrounds;
1384  *  </code>
1385  */
1386 class Google_Service_AdExchangeBuyer_Negotiationrounds_Resource extends Google_Service_Resource
1389   /**
1390    * Adds the requested negotiationRound to the requested negotiation.
1391    * (negotiationrounds.insert)
1392    *
1393    * @param string $negotiationId
1394    * @param Google_NegotiationRoundDto $postBody
1395    * @param array $optParams Optional parameters.
1396    * @return Google_Service_AdExchangeBuyer_NegotiationRoundDto
1397    */
1398   public function insert($negotiationId, Google_Service_AdExchangeBuyer_NegotiationRoundDto $postBody, $optParams = array())
1399   {
1400     $params = array('negotiationId' => $negotiationId, 'postBody' => $postBody);
1401     $params = array_merge($params, $optParams);
1402     return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_NegotiationRoundDto");
1403   }
1406 /**
1407  * The "negotiations" collection of methods.
1408  * Typical usage is:
1409  *  <code>
1410  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1411  *   $negotiations = $adexchangebuyerService->negotiations;
1412  *  </code>
1413  */
1414 class Google_Service_AdExchangeBuyer_Negotiations_Resource extends Google_Service_Resource
1417   /**
1418    * Gets the requested negotiation. (negotiations.get)
1419    *
1420    * @param string $negotiationId
1421    * @param array $optParams Optional parameters.
1422    * @return Google_Service_AdExchangeBuyer_NegotiationDto
1423    */
1424   public function get($negotiationId, $optParams = array())
1425   {
1426     $params = array('negotiationId' => $negotiationId);
1427     $params = array_merge($params, $optParams);
1428     return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_NegotiationDto");
1429   }
1431   /**
1432    * Creates or updates the requested negotiation. (negotiations.insert)
1433    *
1434    * @param Google_NegotiationDto $postBody
1435    * @param array $optParams Optional parameters.
1436    * @return Google_Service_AdExchangeBuyer_NegotiationDto
1437    */
1438   public function insert(Google_Service_AdExchangeBuyer_NegotiationDto $postBody, $optParams = array())
1439   {
1440     $params = array('postBody' => $postBody);
1441     $params = array_merge($params, $optParams);
1442     return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_NegotiationDto");
1443   }
1445   /**
1446    * Lists all negotiations the authenticated user has access to.
1447    * (negotiations.listNegotiations)
1448    *
1449    * @param array $optParams Optional parameters.
1450    * @return Google_Service_AdExchangeBuyer_GetNegotiationsResponse
1451    */
1452   public function listNegotiations($optParams = array())
1453   {
1454     $params = array();
1455     $params = array_merge($params, $optParams);
1456     return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetNegotiationsResponse");
1457   }
1460 /**
1461  * The "offers" collection of methods.
1462  * Typical usage is:
1463  *  <code>
1464  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1465  *   $offers = $adexchangebuyerService->offers;
1466  *  </code>
1467  */
1468 class Google_Service_AdExchangeBuyer_Offers_Resource extends Google_Service_Resource
1471   /**
1472    * Gets the requested offer. (offers.get)
1473    *
1474    * @param string $offerId
1475    * @param array $optParams Optional parameters.
1476    * @return Google_Service_AdExchangeBuyer_OfferDto
1477    */
1478   public function get($offerId, $optParams = array())
1479   {
1480     $params = array('offerId' => $offerId);
1481     $params = array_merge($params, $optParams);
1482     return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_OfferDto");
1483   }
1485   /**
1486    * Creates or updates the requested offer. (offers.insert)
1487    *
1488    * @param Google_OfferDto $postBody
1489    * @param array $optParams Optional parameters.
1490    * @return Google_Service_AdExchangeBuyer_OfferDto
1491    */
1492   public function insert(Google_Service_AdExchangeBuyer_OfferDto $postBody, $optParams = array())
1493   {
1494     $params = array('postBody' => $postBody);
1495     $params = array_merge($params, $optParams);
1496     return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_OfferDto");
1497   }
1499   /**
1500    * Lists all offers the authenticated user has access to. (offers.listOffers)
1501    *
1502    * @param array $optParams Optional parameters.
1503    * @return Google_Service_AdExchangeBuyer_ListOffersResponse
1504    */
1505   public function listOffers($optParams = array())
1506   {
1507     $params = array();
1508     $params = array_merge($params, $optParams);
1509     return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_ListOffersResponse");
1510   }
1513 /**
1514  * The "performanceReport" collection of methods.
1515  * Typical usage is:
1516  *  <code>
1517  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1518  *   $performanceReport = $adexchangebuyerService->performanceReport;
1519  *  </code>
1520  */
1521 class Google_Service_AdExchangeBuyer_PerformanceReport_Resource extends Google_Service_Resource
1524   /**
1525    * Retrieves the authenticated user's list of performance metrics.
1526    * (performanceReport.listPerformanceReport)
1527    *
1528    * @param string $accountId The account id to get the reports.
1529    * @param string $endDateTime The end time of the report in ISO 8601 timestamp
1530    * format using UTC.
1531    * @param string $startDateTime The start time of the report in ISO 8601
1532    * timestamp format using UTC.
1533    * @param array $optParams Optional parameters.
1534    *
1535    * @opt_param string pageToken A continuation token, used to page through
1536    * performance reports. To retrieve the next page, set this parameter to the
1537    * value of "nextPageToken" from the previous response. Optional.
1538    * @opt_param string maxResults Maximum number of entries returned on one result
1539    * page. If not set, the default is 100. Optional.
1540    * @return Google_Service_AdExchangeBuyer_PerformanceReportList
1541    */
1542   public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array())
1543   {
1544     $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime);
1545     $params = array_merge($params, $optParams);
1546     return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PerformanceReportList");
1547   }
1550 /**
1551  * The "pretargetingConfig" collection of methods.
1552  * Typical usage is:
1553  *  <code>
1554  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1555  *   $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
1556  *  </code>
1557  */
1558 class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_Service_Resource
1561   /**
1562    * Deletes an existing pretargeting config. (pretargetingConfig.delete)
1563    *
1564    * @param string $accountId The account id to delete the pretargeting config
1565    * for.
1566    * @param string $configId The specific id of the configuration to delete.
1567    * @param array $optParams Optional parameters.
1568    */
1569   public function delete($accountId, $configId, $optParams = array())
1570   {
1571     $params = array('accountId' => $accountId, 'configId' => $configId);
1572     $params = array_merge($params, $optParams);
1573     return $this->call('delete', array($params));
1574   }
1576   /**
1577    * Gets a specific pretargeting configuration (pretargetingConfig.get)
1578    *
1579    * @param string $accountId The account id to get the pretargeting config for.
1580    * @param string $configId The specific id of the configuration to retrieve.
1581    * @param array $optParams Optional parameters.
1582    * @return Google_Service_AdExchangeBuyer_PretargetingConfig
1583    */
1584   public function get($accountId, $configId, $optParams = array())
1585   {
1586     $params = array('accountId' => $accountId, 'configId' => $configId);
1587     $params = array_merge($params, $optParams);
1588     return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
1589   }
1591   /**
1592    * Inserts a new pretargeting configuration. (pretargetingConfig.insert)
1593    *
1594    * @param string $accountId The account id to insert the pretargeting config
1595    * for.
1596    * @param Google_PretargetingConfig $postBody
1597    * @param array $optParams Optional parameters.
1598    * @return Google_Service_AdExchangeBuyer_PretargetingConfig
1599    */
1600   public function insert($accountId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
1601   {
1602     $params = array('accountId' => $accountId, 'postBody' => $postBody);
1603     $params = array_merge($params, $optParams);
1604     return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
1605   }
1607   /**
1608    * Retrieves a list of the authenticated user's pretargeting configurations.
1609    * (pretargetingConfig.listPretargetingConfig)
1610    *
1611    * @param string $accountId The account id to get the pretargeting configs for.
1612    * @param array $optParams Optional parameters.
1613    * @return Google_Service_AdExchangeBuyer_PretargetingConfigList
1614    */
1615   public function listPretargetingConfig($accountId, $optParams = array())
1616   {
1617     $params = array('accountId' => $accountId);
1618     $params = array_merge($params, $optParams);
1619     return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfigList");
1620   }
1622   /**
1623    * Updates an existing pretargeting config. This method supports patch
1624    * semantics. (pretargetingConfig.patch)
1625    *
1626    * @param string $accountId The account id to update the pretargeting config
1627    * for.
1628    * @param string $configId The specific id of the configuration to update.
1629    * @param Google_PretargetingConfig $postBody
1630    * @param array $optParams Optional parameters.
1631    * @return Google_Service_AdExchangeBuyer_PretargetingConfig
1632    */
1633   public function patch($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
1634   {
1635     $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
1636     $params = array_merge($params, $optParams);
1637     return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
1638   }
1640   /**
1641    * Updates an existing pretargeting config. (pretargetingConfig.update)
1642    *
1643    * @param string $accountId The account id to update the pretargeting config
1644    * for.
1645    * @param string $configId The specific id of the configuration to update.
1646    * @param Google_PretargetingConfig $postBody
1647    * @param array $optParams Optional parameters.
1648    * @return Google_Service_AdExchangeBuyer_PretargetingConfig
1649    */
1650   public function update($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
1651   {
1652     $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
1653     $params = array_merge($params, $optParams);
1654     return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
1655   }
1661 class Google_Service_AdExchangeBuyer_Account extends Google_Collection
1663   protected $collection_key = 'bidderLocation';
1664   protected $internal_gapi_mappings = array(
1665   );
1666   protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation';
1667   protected $bidderLocationDataType = 'array';
1668   public $cookieMatchingNid;
1669   public $cookieMatchingUrl;
1670   public $id;
1671   public $kind;
1672   public $maximumActiveCreatives;
1673   public $maximumTotalQps;
1674   public $numberActiveCreatives;
1677   public function setBidderLocation($bidderLocation)
1678   {
1679     $this->bidderLocation = $bidderLocation;
1680   }
1681   public function getBidderLocation()
1682   {
1683     return $this->bidderLocation;
1684   }
1685   public function setCookieMatchingNid($cookieMatchingNid)
1686   {
1687     $this->cookieMatchingNid = $cookieMatchingNid;
1688   }
1689   public function getCookieMatchingNid()
1690   {
1691     return $this->cookieMatchingNid;
1692   }
1693   public function setCookieMatchingUrl($cookieMatchingUrl)
1694   {
1695     $this->cookieMatchingUrl = $cookieMatchingUrl;
1696   }
1697   public function getCookieMatchingUrl()
1698   {
1699     return $this->cookieMatchingUrl;
1700   }
1701   public function setId($id)
1702   {
1703     $this->id = $id;
1704   }
1705   public function getId()
1706   {
1707     return $this->id;
1708   }
1709   public function setKind($kind)
1710   {
1711     $this->kind = $kind;
1712   }
1713   public function getKind()
1714   {
1715     return $this->kind;
1716   }
1717   public function setMaximumActiveCreatives($maximumActiveCreatives)
1718   {
1719     $this->maximumActiveCreatives = $maximumActiveCreatives;
1720   }
1721   public function getMaximumActiveCreatives()
1722   {
1723     return $this->maximumActiveCreatives;
1724   }
1725   public function setMaximumTotalQps($maximumTotalQps)
1726   {
1727     $this->maximumTotalQps = $maximumTotalQps;
1728   }
1729   public function getMaximumTotalQps()
1730   {
1731     return $this->maximumTotalQps;
1732   }
1733   public function setNumberActiveCreatives($numberActiveCreatives)
1734   {
1735     $this->numberActiveCreatives = $numberActiveCreatives;
1736   }
1737   public function getNumberActiveCreatives()
1738   {
1739     return $this->numberActiveCreatives;
1740   }
1743 class Google_Service_AdExchangeBuyer_AccountBidderLocation extends Google_Model
1745   protected $internal_gapi_mappings = array(
1746   );
1747   public $maximumQps;
1748   public $region;
1749   public $url;
1752   public function setMaximumQps($maximumQps)
1753   {
1754     $this->maximumQps = $maximumQps;
1755   }
1756   public function getMaximumQps()
1757   {
1758     return $this->maximumQps;
1759   }
1760   public function setRegion($region)
1761   {
1762     $this->region = $region;
1763   }
1764   public function getRegion()
1765   {
1766     return $this->region;
1767   }
1768   public function setUrl($url)
1769   {
1770     $this->url = $url;
1771   }
1772   public function getUrl()
1773   {
1774     return $this->url;
1775   }
1778 class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
1780   protected $collection_key = 'items';
1781   protected $internal_gapi_mappings = array(
1782   );
1783   protected $itemsType = 'Google_Service_AdExchangeBuyer_Account';
1784   protected $itemsDataType = 'array';
1785   public $kind;
1788   public function setItems($items)
1789   {
1790     $this->items = $items;
1791   }
1792   public function getItems()
1793   {
1794     return $this->items;
1795   }
1796   public function setKind($kind)
1797   {
1798     $this->kind = $kind;
1799   }
1800   public function getKind()
1801   {
1802     return $this->kind;
1803   }
1806 class Google_Service_AdExchangeBuyer_AdSize extends Google_Model
1808   protected $internal_gapi_mappings = array(
1809   );
1810   public $height;
1811   public $width;
1814   public function setHeight($height)
1815   {
1816     $this->height = $height;
1817   }
1818   public function getHeight()
1819   {
1820     return $this->height;
1821   }
1822   public function setWidth($width)
1823   {
1824     $this->width = $width;
1825   }
1826   public function getWidth()
1827   {
1828     return $this->width;
1829   }
1832 class Google_Service_AdExchangeBuyer_AdSlotDto extends Google_Model
1834   protected $internal_gapi_mappings = array(
1835   );
1836   public $channelCode;
1837   public $channelId;
1838   public $description;
1839   public $name;
1840   public $size;
1841   public $webPropertyId;
1844   public function setChannelCode($channelCode)
1845   {
1846     $this->channelCode = $channelCode;
1847   }
1848   public function getChannelCode()
1849   {
1850     return $this->channelCode;
1851   }
1852   public function setChannelId($channelId)
1853   {
1854     $this->channelId = $channelId;
1855   }
1856   public function getChannelId()
1857   {
1858     return $this->channelId;
1859   }
1860   public function setDescription($description)
1861   {
1862     $this->description = $description;
1863   }
1864   public function getDescription()
1865   {
1866     return $this->description;
1867   }
1868   public function setName($name)
1869   {
1870     $this->name = $name;
1871   }
1872   public function getName()
1873   {
1874     return $this->name;
1875   }
1876   public function setSize($size)
1877   {
1878     $this->size = $size;
1879   }
1880   public function getSize()
1881   {
1882     return $this->size;
1883   }
1884   public function setWebPropertyId($webPropertyId)
1885   {
1886     $this->webPropertyId = $webPropertyId;
1887   }
1888   public function getWebPropertyId()
1889   {
1890     return $this->webPropertyId;
1891   }
1894 class Google_Service_AdExchangeBuyer_AddOrderDealsRequest extends Google_Collection
1896   protected $collection_key = 'deals';
1897   protected $internal_gapi_mappings = array(
1898   );
1899   protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
1900   protected $dealsDataType = 'array';
1901   public $orderRevisionNumber;
1902   public $updateAction;
1905   public function setDeals($deals)
1906   {
1907     $this->deals = $deals;
1908   }
1909   public function getDeals()
1910   {
1911     return $this->deals;
1912   }
1913   public function setOrderRevisionNumber($orderRevisionNumber)
1914   {
1915     $this->orderRevisionNumber = $orderRevisionNumber;
1916   }
1917   public function getOrderRevisionNumber()
1918   {
1919     return $this->orderRevisionNumber;
1920   }
1921   public function setUpdateAction($updateAction)
1922   {
1923     $this->updateAction = $updateAction;
1924   }
1925   public function getUpdateAction()
1926   {
1927     return $this->updateAction;
1928   }
1931 class Google_Service_AdExchangeBuyer_AddOrderDealsResponse extends Google_Collection
1933   protected $collection_key = 'deals';
1934   protected $internal_gapi_mappings = array(
1935   );
1936   protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
1937   protected $dealsDataType = 'array';
1938   public $orderRevisionNumber;
1941   public function setDeals($deals)
1942   {
1943     $this->deals = $deals;
1944   }
1945   public function getDeals()
1946   {
1947     return $this->deals;
1948   }
1949   public function setOrderRevisionNumber($orderRevisionNumber)
1950   {
1951     $this->orderRevisionNumber = $orderRevisionNumber;
1952   }
1953   public function getOrderRevisionNumber()
1954   {
1955     return $this->orderRevisionNumber;
1956   }
1959 class Google_Service_AdExchangeBuyer_AddOrderNotesRequest extends Google_Collection
1961   protected $collection_key = 'notes';
1962   protected $internal_gapi_mappings = array(
1963   );
1964   protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
1965   protected $notesDataType = 'array';
1968   public function setNotes($notes)
1969   {
1970     $this->notes = $notes;
1971   }
1972   public function getNotes()
1973   {
1974     return $this->notes;
1975   }
1978 class Google_Service_AdExchangeBuyer_AddOrderNotesResponse extends Google_Collection
1980   protected $collection_key = 'notes';
1981   protected $internal_gapi_mappings = array(
1982   );
1983   protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
1984   protected $notesDataType = 'array';
1987   public function setNotes($notes)
1988   {
1989     $this->notes = $notes;
1990   }
1991   public function getNotes()
1992   {
1993     return $this->notes;
1994   }
1997 class Google_Service_AdExchangeBuyer_AdvertiserDto extends Google_Collection
1999   protected $collection_key = 'brands';
2000   protected $internal_gapi_mappings = array(
2001   );
2002   protected $brandsType = 'Google_Service_AdExchangeBuyer_BrandDto';
2003   protected $brandsDataType = 'array';
2004   public $id;
2005   public $name;
2006   public $status;
2009   public function setBrands($brands)
2010   {
2011     $this->brands = $brands;
2012   }
2013   public function getBrands()
2014   {
2015     return $this->brands;
2016   }
2017   public function setId($id)
2018   {
2019     $this->id = $id;
2020   }
2021   public function getId()
2022   {
2023     return $this->id;
2024   }
2025   public function setName($name)
2026   {
2027     $this->name = $name;
2028   }
2029   public function getName()
2030   {
2031     return $this->name;
2032   }
2033   public function setStatus($status)
2034   {
2035     $this->status = $status;
2036   }
2037   public function getStatus()
2038   {
2039     return $this->status;
2040   }
2043 class Google_Service_AdExchangeBuyer_AudienceSegment extends Google_Model
2045   protected $internal_gapi_mappings = array(
2046   );
2047   public $description;
2048   public $id;
2049   public $name;
2050   public $numCookies;
2053   public function setDescription($description)
2054   {
2055     $this->description = $description;
2056   }
2057   public function getDescription()
2058   {
2059     return $this->description;
2060   }
2061   public function setId($id)
2062   {
2063     $this->id = $id;
2064   }
2065   public function getId()
2066   {
2067     return $this->id;
2068   }
2069   public function setName($name)
2070   {
2071     $this->name = $name;
2072   }
2073   public function getName()
2074   {
2075     return $this->name;
2076   }
2077   public function setNumCookies($numCookies)
2078   {
2079     $this->numCookies = $numCookies;
2080   }
2081   public function getNumCookies()
2082   {
2083     return $this->numCookies;
2084   }
2087 class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
2089   protected $collection_key = 'billingId';
2090   protected $internal_gapi_mappings = array(
2091   );
2092   public $accountId;
2093   public $accountName;
2094   public $billingId;
2095   public $kind;
2098   public function setAccountId($accountId)
2099   {
2100     $this->accountId = $accountId;
2101   }
2102   public function getAccountId()
2103   {
2104     return $this->accountId;
2105   }
2106   public function setAccountName($accountName)
2107   {
2108     $this->accountName = $accountName;
2109   }
2110   public function getAccountName()
2111   {
2112     return $this->accountName;
2113   }
2114   public function setBillingId($billingId)
2115   {
2116     $this->billingId = $billingId;
2117   }
2118   public function getBillingId()
2119   {
2120     return $this->billingId;
2121   }
2122   public function setKind($kind)
2123   {
2124     $this->kind = $kind;
2125   }
2126   public function getKind()
2127   {
2128     return $this->kind;
2129   }
2132 class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
2134   protected $collection_key = 'items';
2135   protected $internal_gapi_mappings = array(
2136   );
2137   protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo';
2138   protected $itemsDataType = 'array';
2139   public $kind;
2142   public function setItems($items)
2143   {
2144     $this->items = $items;
2145   }
2146   public function getItems()
2147   {
2148     return $this->items;
2149   }
2150   public function setKind($kind)
2151   {
2152     $this->kind = $kind;
2153   }
2154   public function getKind()
2155   {
2156     return $this->kind;
2157   }
2160 class Google_Service_AdExchangeBuyer_BrandDto extends Google_Model
2162   protected $internal_gapi_mappings = array(
2163   );
2164   public $advertiserId;
2165   public $id;
2166   public $name;
2169   public function setAdvertiserId($advertiserId)
2170   {
2171     $this->advertiserId = $advertiserId;
2172   }
2173   public function getAdvertiserId()
2174   {
2175     return $this->advertiserId;
2176   }
2177   public function setId($id)
2178   {
2179     $this->id = $id;
2180   }
2181   public function getId()
2182   {
2183     return $this->id;
2184   }
2185   public function setName($name)
2186   {
2187     $this->name = $name;
2188   }
2189   public function getName()
2190   {
2191     return $this->name;
2192   }
2195 class Google_Service_AdExchangeBuyer_Budget extends Google_Model
2197   protected $internal_gapi_mappings = array(
2198   );
2199   public $accountId;
2200   public $billingId;
2201   public $budgetAmount;
2202   public $currencyCode;
2203   public $id;
2204   public $kind;
2207   public function setAccountId($accountId)
2208   {
2209     $this->accountId = $accountId;
2210   }
2211   public function getAccountId()
2212   {
2213     return $this->accountId;
2214   }
2215   public function setBillingId($billingId)
2216   {
2217     $this->billingId = $billingId;
2218   }
2219   public function getBillingId()
2220   {
2221     return $this->billingId;
2222   }
2223   public function setBudgetAmount($budgetAmount)
2224   {
2225     $this->budgetAmount = $budgetAmount;
2226   }
2227   public function getBudgetAmount()
2228   {
2229     return $this->budgetAmount;
2230   }
2231   public function setCurrencyCode($currencyCode)
2232   {
2233     $this->currencyCode = $currencyCode;
2234   }
2235   public function getCurrencyCode()
2236   {
2237     return $this->currencyCode;
2238   }
2239   public function setId($id)
2240   {
2241     $this->id = $id;
2242   }
2243   public function getId()
2244   {
2245     return $this->id;
2246   }
2247   public function setKind($kind)
2248   {
2249     $this->kind = $kind;
2250   }
2251   public function getKind()
2252   {
2253     return $this->kind;
2254   }
2257 class Google_Service_AdExchangeBuyer_Buyer extends Google_Model
2259   protected $internal_gapi_mappings = array(
2260   );
2261   public $accountId;
2264   public function setAccountId($accountId)
2265   {
2266     $this->accountId = $accountId;
2267   }
2268   public function getAccountId()
2269   {
2270     return $this->accountId;
2271   }
2274 class Google_Service_AdExchangeBuyer_BuyerDto extends Google_Model
2276   protected $internal_gapi_mappings = array(
2277   );
2278   public $accountId;
2279   public $customerId;
2280   public $displayName;
2281   public $enabledForInterestTargetingDeals;
2282   public $enabledForPreferredDeals;
2283   public $id;
2284   public $sponsorAccountId;
2287   public function setAccountId($accountId)
2288   {
2289     $this->accountId = $accountId;
2290   }
2291   public function getAccountId()
2292   {
2293     return $this->accountId;
2294   }
2295   public function setCustomerId($customerId)
2296   {
2297     $this->customerId = $customerId;
2298   }
2299   public function getCustomerId()
2300   {
2301     return $this->customerId;
2302   }
2303   public function setDisplayName($displayName)
2304   {
2305     $this->displayName = $displayName;
2306   }
2307   public function getDisplayName()
2308   {
2309     return $this->displayName;
2310   }
2311   public function setEnabledForInterestTargetingDeals($enabledForInterestTargetingDeals)
2312   {
2313     $this->enabledForInterestTargetingDeals = $enabledForInterestTargetingDeals;
2314   }
2315   public function getEnabledForInterestTargetingDeals()
2316   {
2317     return $this->enabledForInterestTargetingDeals;
2318   }
2319   public function setEnabledForPreferredDeals($enabledForPreferredDeals)
2320   {
2321     $this->enabledForPreferredDeals = $enabledForPreferredDeals;
2322   }
2323   public function getEnabledForPreferredDeals()
2324   {
2325     return $this->enabledForPreferredDeals;
2326   }
2327   public function setId($id)
2328   {
2329     $this->id = $id;
2330   }
2331   public function getId()
2332   {
2333     return $this->id;
2334   }
2335   public function setSponsorAccountId($sponsorAccountId)
2336   {
2337     $this->sponsorAccountId = $sponsorAccountId;
2338   }
2339   public function getSponsorAccountId()
2340   {
2341     return $this->sponsorAccountId;
2342   }
2345 class Google_Service_AdExchangeBuyer_ClientAccessCapabilities extends Google_Collection
2347   protected $collection_key = 'capabilities';
2348   protected $internal_gapi_mappings = array(
2349   );
2350   public $capabilities;
2351   public $clientAccountId;
2354   public function setCapabilities($capabilities)
2355   {
2356     $this->capabilities = $capabilities;
2357   }
2358   public function getCapabilities()
2359   {
2360     return $this->capabilities;
2361   }
2362   public function setClientAccountId($clientAccountId)
2363   {
2364     $this->clientAccountId = $clientAccountId;
2365   }
2366   public function getClientAccountId()
2367   {
2368     return $this->clientAccountId;
2369   }
2372 class Google_Service_AdExchangeBuyer_ContactInformation extends Google_Model
2374   protected $internal_gapi_mappings = array(
2375   );
2376   public $email;
2377   public $name;
2380   public function setEmail($email)
2381   {
2382     $this->email = $email;
2383   }
2384   public function getEmail()
2385   {
2386     return $this->email;
2387   }
2388   public function setName($name)
2389   {
2390     $this->name = $name;
2391   }
2392   public function getName()
2393   {
2394     return $this->name;
2395   }
2398 class Google_Service_AdExchangeBuyer_CreateOrdersRequest extends Google_Collection
2400   protected $collection_key = 'orders';
2401   protected $internal_gapi_mappings = array(
2402   );
2403   protected $ordersType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder';
2404   protected $ordersDataType = 'array';
2405   public $webPropertyCode;
2408   public function setOrders($orders)
2409   {
2410     $this->orders = $orders;
2411   }
2412   public function getOrders()
2413   {
2414     return $this->orders;
2415   }
2416   public function setWebPropertyCode($webPropertyCode)
2417   {
2418     $this->webPropertyCode = $webPropertyCode;
2419   }
2420   public function getWebPropertyCode()
2421   {
2422     return $this->webPropertyCode;
2423   }
2426 class Google_Service_AdExchangeBuyer_CreateOrdersResponse extends Google_Collection
2428   protected $collection_key = 'orders';
2429   protected $internal_gapi_mappings = array(
2430   );
2431   protected $ordersType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder';
2432   protected $ordersDataType = 'array';
2435   public function setOrders($orders)
2436   {
2437     $this->orders = $orders;
2438   }
2439   public function getOrders()
2440   {
2441     return $this->orders;
2442   }
2445 class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
2447   protected $collection_key = 'vendorType';
2448   protected $internal_gapi_mappings = array(
2449         "hTMLSnippet" => "HTMLSnippet",
2450         "apiUploadTimestamp" => "api_upload_timestamp",
2451   );
2452   public $hTMLSnippet;
2453   public $accountId;
2454   public $advertiserId;
2455   public $advertiserName;
2456   public $agencyId;
2457   public $apiUploadTimestamp;
2458   public $attribute;
2459   public $buyerCreativeId;
2460   public $clickThroughUrl;
2461   protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
2462   protected $correctionsDataType = 'array';
2463   public $dealsStatus;
2464   protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
2465   protected $filteringReasonsDataType = '';
2466   public $height;
2467   public $impressionTrackingUrl;
2468   public $kind;
2469   protected $nativeAdType = 'Google_Service_AdExchangeBuyer_CreativeNativeAd';
2470   protected $nativeAdDataType = '';
2471   public $openAuctionStatus;
2472   public $productCategories;
2473   public $restrictedCategories;
2474   public $sensitiveCategories;
2475   protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions';
2476   protected $servingRestrictionsDataType = 'array';
2477   public $vendorType;
2478   public $version;
2479   public $videoURL;
2480   public $width;
2483   public function setHTMLSnippet($hTMLSnippet)
2484   {
2485     $this->hTMLSnippet = $hTMLSnippet;
2486   }
2487   public function getHTMLSnippet()
2488   {
2489     return $this->hTMLSnippet;
2490   }
2491   public function setAccountId($accountId)
2492   {
2493     $this->accountId = $accountId;
2494   }
2495   public function getAccountId()
2496   {
2497     return $this->accountId;
2498   }
2499   public function setAdvertiserId($advertiserId)
2500   {
2501     $this->advertiserId = $advertiserId;
2502   }
2503   public function getAdvertiserId()
2504   {
2505     return $this->advertiserId;
2506   }
2507   public function setAdvertiserName($advertiserName)
2508   {
2509     $this->advertiserName = $advertiserName;
2510   }
2511   public function getAdvertiserName()
2512   {
2513     return $this->advertiserName;
2514   }
2515   public function setAgencyId($agencyId)
2516   {
2517     $this->agencyId = $agencyId;
2518   }
2519   public function getAgencyId()
2520   {
2521     return $this->agencyId;
2522   }
2523   public function setApiUploadTimestamp($apiUploadTimestamp)
2524   {
2525     $this->apiUploadTimestamp = $apiUploadTimestamp;
2526   }
2527   public function getApiUploadTimestamp()
2528   {
2529     return $this->apiUploadTimestamp;
2530   }
2531   public function setAttribute($attribute)
2532   {
2533     $this->attribute = $attribute;
2534   }
2535   public function getAttribute()
2536   {
2537     return $this->attribute;
2538   }
2539   public function setBuyerCreativeId($buyerCreativeId)
2540   {
2541     $this->buyerCreativeId = $buyerCreativeId;
2542   }
2543   public function getBuyerCreativeId()
2544   {
2545     return $this->buyerCreativeId;
2546   }
2547   public function setClickThroughUrl($clickThroughUrl)
2548   {
2549     $this->clickThroughUrl = $clickThroughUrl;
2550   }
2551   public function getClickThroughUrl()
2552   {
2553     return $this->clickThroughUrl;
2554   }
2555   public function setCorrections($corrections)
2556   {
2557     $this->corrections = $corrections;
2558   }
2559   public function getCorrections()
2560   {
2561     return $this->corrections;
2562   }
2563   public function setDealsStatus($dealsStatus)
2564   {
2565     $this->dealsStatus = $dealsStatus;
2566   }
2567   public function getDealsStatus()
2568   {
2569     return $this->dealsStatus;
2570   }
2571   public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
2572   {
2573     $this->filteringReasons = $filteringReasons;
2574   }
2575   public function getFilteringReasons()
2576   {
2577     return $this->filteringReasons;
2578   }
2579   public function setHeight($height)
2580   {
2581     $this->height = $height;
2582   }
2583   public function getHeight()
2584   {
2585     return $this->height;
2586   }
2587   public function setImpressionTrackingUrl($impressionTrackingUrl)
2588   {
2589     $this->impressionTrackingUrl = $impressionTrackingUrl;
2590   }
2591   public function getImpressionTrackingUrl()
2592   {
2593     return $this->impressionTrackingUrl;
2594   }
2595   public function setKind($kind)
2596   {
2597     $this->kind = $kind;
2598   }
2599   public function getKind()
2600   {
2601     return $this->kind;
2602   }
2603   public function setNativeAd(Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd)
2604   {
2605     $this->nativeAd = $nativeAd;
2606   }
2607   public function getNativeAd()
2608   {
2609     return $this->nativeAd;
2610   }
2611   public function setOpenAuctionStatus($openAuctionStatus)
2612   {
2613     $this->openAuctionStatus = $openAuctionStatus;
2614   }
2615   public function getOpenAuctionStatus()
2616   {
2617     return $this->openAuctionStatus;
2618   }
2619   public function setProductCategories($productCategories)
2620   {
2621     $this->productCategories = $productCategories;
2622   }
2623   public function getProductCategories()
2624   {
2625     return $this->productCategories;
2626   }
2627   public function setRestrictedCategories($restrictedCategories)
2628   {
2629     $this->restrictedCategories = $restrictedCategories;
2630   }
2631   public function getRestrictedCategories()
2632   {
2633     return $this->restrictedCategories;
2634   }
2635   public function setSensitiveCategories($sensitiveCategories)
2636   {
2637     $this->sensitiveCategories = $sensitiveCategories;
2638   }
2639   public function getSensitiveCategories()
2640   {
2641     return $this->sensitiveCategories;
2642   }
2643   public function setServingRestrictions($servingRestrictions)
2644   {
2645     $this->servingRestrictions = $servingRestrictions;
2646   }
2647   public function getServingRestrictions()
2648   {
2649     return $this->servingRestrictions;
2650   }
2651   public function setVendorType($vendorType)
2652   {
2653     $this->vendorType = $vendorType;
2654   }
2655   public function getVendorType()
2656   {
2657     return $this->vendorType;
2658   }
2659   public function setVersion($version)
2660   {
2661     $this->version = $version;
2662   }
2663   public function getVersion()
2664   {
2665     return $this->version;
2666   }
2667   public function setVideoURL($videoURL)
2668   {
2669     $this->videoURL = $videoURL;
2670   }
2671   public function getVideoURL()
2672   {
2673     return $this->videoURL;
2674   }
2675   public function setWidth($width)
2676   {
2677     $this->width = $width;
2678   }
2679   public function getWidth()
2680   {
2681     return $this->width;
2682   }
2685 class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection
2687   protected $collection_key = 'details';
2688   protected $internal_gapi_mappings = array(
2689   );
2690   public $details;
2691   public $reason;
2694   public function setDetails($details)
2695   {
2696     $this->details = $details;
2697   }
2698   public function getDetails()
2699   {
2700     return $this->details;
2701   }
2702   public function setReason($reason)
2703   {
2704     $this->reason = $reason;
2705   }
2706   public function getReason()
2707   {
2708     return $this->reason;
2709   }
2712 class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
2714   protected $collection_key = 'reasons';
2715   protected $internal_gapi_mappings = array(
2716   );
2717   public $date;
2718   protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
2719   protected $reasonsDataType = 'array';
2722   public function setDate($date)
2723   {
2724     $this->date = $date;
2725   }
2726   public function getDate()
2727   {
2728     return $this->date;
2729   }
2730   public function setReasons($reasons)
2731   {
2732     $this->reasons = $reasons;
2733   }
2734   public function getReasons()
2735   {
2736     return $this->reasons;
2737   }
2740 class Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Google_Model
2742   protected $internal_gapi_mappings = array(
2743   );
2744   public $filteringCount;
2745   public $filteringStatus;
2748   public function setFilteringCount($filteringCount)
2749   {
2750     $this->filteringCount = $filteringCount;
2751   }
2752   public function getFilteringCount()
2753   {
2754     return $this->filteringCount;
2755   }
2756   public function setFilteringStatus($filteringStatus)
2757   {
2758     $this->filteringStatus = $filteringStatus;
2759   }
2760   public function getFilteringStatus()
2761   {
2762     return $this->filteringStatus;
2763   }
2766 class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
2768   protected $collection_key = 'impressionTrackingUrl';
2769   protected $internal_gapi_mappings = array(
2770   );
2771   public $advertiser;
2772   protected $appIconType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon';
2773   protected $appIconDataType = '';
2774   public $body;
2775   public $callToAction;
2776   public $clickTrackingUrl;
2777   public $headline;
2778   protected $imageType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdImage';
2779   protected $imageDataType = '';
2780   public $impressionTrackingUrl;
2781   protected $logoType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdLogo';
2782   protected $logoDataType = '';
2783   public $price;
2784   public $starRating;
2785   public $store;
2788   public function setAdvertiser($advertiser)
2789   {
2790     $this->advertiser = $advertiser;
2791   }
2792   public function getAdvertiser()
2793   {
2794     return $this->advertiser;
2795   }
2796   public function setAppIcon(Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon $appIcon)
2797   {
2798     $this->appIcon = $appIcon;
2799   }
2800   public function getAppIcon()
2801   {
2802     return $this->appIcon;
2803   }
2804   public function setBody($body)
2805   {
2806     $this->body = $body;
2807   }
2808   public function getBody()
2809   {
2810     return $this->body;
2811   }
2812   public function setCallToAction($callToAction)
2813   {
2814     $this->callToAction = $callToAction;
2815   }
2816   public function getCallToAction()
2817   {
2818     return $this->callToAction;
2819   }
2820   public function setClickTrackingUrl($clickTrackingUrl)
2821   {
2822     $this->clickTrackingUrl = $clickTrackingUrl;
2823   }
2824   public function getClickTrackingUrl()
2825   {
2826     return $this->clickTrackingUrl;
2827   }
2828   public function setHeadline($headline)
2829   {
2830     $this->headline = $headline;
2831   }
2832   public function getHeadline()
2833   {
2834     return $this->headline;
2835   }
2836   public function setImage(Google_Service_AdExchangeBuyer_CreativeNativeAdImage $image)
2837   {
2838     $this->image = $image;
2839   }
2840   public function getImage()
2841   {
2842     return $this->image;
2843   }
2844   public function setImpressionTrackingUrl($impressionTrackingUrl)
2845   {
2846     $this->impressionTrackingUrl = $impressionTrackingUrl;
2847   }
2848   public function getImpressionTrackingUrl()
2849   {
2850     return $this->impressionTrackingUrl;
2851   }
2852   public function setLogo(Google_Service_AdExchangeBuyer_CreativeNativeAdLogo $logo)
2853   {
2854     $this->logo = $logo;
2855   }
2856   public function getLogo()
2857   {
2858     return $this->logo;
2859   }
2860   public function setPrice($price)
2861   {
2862     $this->price = $price;
2863   }
2864   public function getPrice()
2865   {
2866     return $this->price;
2867   }
2868   public function setStarRating($starRating)
2869   {
2870     $this->starRating = $starRating;
2871   }
2872   public function getStarRating()
2873   {
2874     return $this->starRating;
2875   }
2876   public function setStore($store)
2877   {
2878     $this->store = $store;
2879   }
2880   public function getStore()
2881   {
2882     return $this->store;
2883   }
2886 class Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon extends Google_Model
2888   protected $internal_gapi_mappings = array(
2889   );
2890   public $height;
2891   public $url;
2892   public $width;
2895   public function setHeight($height)
2896   {
2897     $this->height = $height;
2898   }
2899   public function getHeight()
2900   {
2901     return $this->height;
2902   }
2903   public function setUrl($url)
2904   {
2905     $this->url = $url;
2906   }
2907   public function getUrl()
2908   {
2909     return $this->url;
2910   }
2911   public function setWidth($width)
2912   {
2913     $this->width = $width;
2914   }
2915   public function getWidth()
2916   {
2917     return $this->width;
2918   }
2921 class Google_Service_AdExchangeBuyer_CreativeNativeAdImage extends Google_Model
2923   protected $internal_gapi_mappings = array(
2924   );
2925   public $height;
2926   public $url;
2927   public $width;
2930   public function setHeight($height)
2931   {
2932     $this->height = $height;
2933   }
2934   public function getHeight()
2935   {
2936     return $this->height;
2937   }
2938   public function setUrl($url)
2939   {
2940     $this->url = $url;
2941   }
2942   public function getUrl()
2943   {
2944     return $this->url;
2945   }
2946   public function setWidth($width)
2947   {
2948     $this->width = $width;
2949   }
2950   public function getWidth()
2951   {
2952     return $this->width;
2953   }
2956 class Google_Service_AdExchangeBuyer_CreativeNativeAdLogo extends Google_Model
2958   protected $internal_gapi_mappings = array(
2959   );
2960   public $height;
2961   public $url;
2962   public $width;
2965   public function setHeight($height)
2966   {
2967     $this->height = $height;
2968   }
2969   public function getHeight()
2970   {
2971     return $this->height;
2972   }
2973   public function setUrl($url)
2974   {
2975     $this->url = $url;
2976   }
2977   public function getUrl()
2978   {
2979     return $this->url;
2980   }
2981   public function setWidth($width)
2982   {
2983     $this->width = $width;
2984   }
2985   public function getWidth()
2986   {
2987     return $this->width;
2988   }
2991 class Google_Service_AdExchangeBuyer_CreativeServingRestrictions extends Google_Collection
2993   protected $collection_key = 'disapprovalReasons';
2994   protected $internal_gapi_mappings = array(
2995   );
2996   protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts';
2997   protected $contextsDataType = 'array';
2998   protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons';
2999   protected $disapprovalReasonsDataType = 'array';
3000   public $reason;
3003   public function setContexts($contexts)
3004   {
3005     $this->contexts = $contexts;
3006   }
3007   public function getContexts()
3008   {
3009     return $this->contexts;
3010   }
3011   public function setDisapprovalReasons($disapprovalReasons)
3012   {
3013     $this->disapprovalReasons = $disapprovalReasons;
3014   }
3015   public function getDisapprovalReasons()
3016   {
3017     return $this->disapprovalReasons;
3018   }
3019   public function setReason($reason)
3020   {
3021     $this->reason = $reason;
3022   }
3023   public function getReason()
3024   {
3025     return $this->reason;
3026   }
3029 class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts extends Google_Collection
3031   protected $collection_key = 'platform';
3032   protected $internal_gapi_mappings = array(
3033   );
3034   public $auctionType;
3035   public $contextType;
3036   public $geoCriteriaId;
3037   public $platform;
3040   public function setAuctionType($auctionType)
3041   {
3042     $this->auctionType = $auctionType;
3043   }
3044   public function getAuctionType()
3045   {
3046     return $this->auctionType;
3047   }
3048   public function setContextType($contextType)
3049   {
3050     $this->contextType = $contextType;
3051   }
3052   public function getContextType()
3053   {
3054     return $this->contextType;
3055   }
3056   public function setGeoCriteriaId($geoCriteriaId)
3057   {
3058     $this->geoCriteriaId = $geoCriteriaId;
3059   }
3060   public function getGeoCriteriaId()
3061   {
3062     return $this->geoCriteriaId;
3063   }
3064   public function setPlatform($platform)
3065   {
3066     $this->platform = $platform;
3067   }
3068   public function getPlatform()
3069   {
3070     return $this->platform;
3071   }
3074 class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons extends Google_Collection
3076   protected $collection_key = 'details';
3077   protected $internal_gapi_mappings = array(
3078   );
3079   public $details;
3080   public $reason;
3083   public function setDetails($details)
3084   {
3085     $this->details = $details;
3086   }
3087   public function getDetails()
3088   {
3089     return $this->details;
3090   }
3091   public function setReason($reason)
3092   {
3093     $this->reason = $reason;
3094   }
3095   public function getReason()
3096   {
3097     return $this->reason;
3098   }
3101 class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
3103   protected $collection_key = 'items';
3104   protected $internal_gapi_mappings = array(
3105   );
3106   protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative';
3107   protected $itemsDataType = 'array';
3108   public $kind;
3109   public $nextPageToken;
3112   public function setItems($items)
3113   {
3114     $this->items = $items;
3115   }
3116   public function getItems()
3117   {
3118     return $this->items;
3119   }
3120   public function setKind($kind)
3121   {
3122     $this->kind = $kind;
3123   }
3124   public function getKind()
3125   {
3126     return $this->kind;
3127   }
3128   public function setNextPageToken($nextPageToken)
3129   {
3130     $this->nextPageToken = $nextPageToken;
3131   }
3132   public function getNextPageToken()
3133   {
3134     return $this->nextPageToken;
3135   }
3138 class Google_Service_AdExchangeBuyer_DateTime extends Google_Model
3140   protected $internal_gapi_mappings = array(
3141   );
3142   public $day;
3143   public $hour;
3144   public $minute;
3145   public $month;
3146   public $second;
3147   public $timeZoneId;
3148   public $year;
3151   public function setDay($day)
3152   {
3153     $this->day = $day;
3154   }
3155   public function getDay()
3156   {
3157     return $this->day;
3158   }
3159   public function setHour($hour)
3160   {
3161     $this->hour = $hour;
3162   }
3163   public function getHour()
3164   {
3165     return $this->hour;
3166   }
3167   public function setMinute($minute)
3168   {
3169     $this->minute = $minute;
3170   }
3171   public function getMinute()
3172   {
3173     return $this->minute;
3174   }
3175   public function setMonth($month)
3176   {
3177     $this->month = $month;
3178   }
3179   public function getMonth()
3180   {
3181     return $this->month;
3182   }
3183   public function setSecond($second)
3184   {
3185     $this->second = $second;
3186   }
3187   public function getSecond()
3188   {
3189     return $this->second;
3190   }
3191   public function setTimeZoneId($timeZoneId)
3192   {
3193     $this->timeZoneId = $timeZoneId;
3194   }
3195   public function getTimeZoneId()
3196   {
3197     return $this->timeZoneId;
3198   }
3199   public function setYear($year)
3200   {
3201     $this->year = $year;
3202   }
3203   public function getYear()
3204   {
3205     return $this->year;
3206   }
3209 class Google_Service_AdExchangeBuyer_DealPartyDto extends Google_Model
3211   protected $internal_gapi_mappings = array(
3212   );
3213   protected $buyerType = 'Google_Service_AdExchangeBuyer_BuyerDto';
3214   protected $buyerDataType = '';
3215   public $buyerSellerRole;
3216   public $customerId;
3217   public $name;
3218   protected $webPropertyType = 'Google_Service_AdExchangeBuyer_WebPropertyDto';
3219   protected $webPropertyDataType = '';
3222   public function setBuyer(Google_Service_AdExchangeBuyer_BuyerDto $buyer)
3223   {
3224     $this->buyer = $buyer;
3225   }
3226   public function getBuyer()
3227   {
3228     return $this->buyer;
3229   }
3230   public function setBuyerSellerRole($buyerSellerRole)
3231   {
3232     $this->buyerSellerRole = $buyerSellerRole;
3233   }
3234   public function getBuyerSellerRole()
3235   {
3236     return $this->buyerSellerRole;
3237   }
3238   public function setCustomerId($customerId)
3239   {
3240     $this->customerId = $customerId;
3241   }
3242   public function getCustomerId()
3243   {
3244     return $this->customerId;
3245   }
3246   public function setName($name)
3247   {
3248     $this->name = $name;
3249   }
3250   public function getName()
3251   {
3252     return $this->name;
3253   }
3254   public function setWebProperty(Google_Service_AdExchangeBuyer_WebPropertyDto $webProperty)
3255   {
3256     $this->webProperty = $webProperty;
3257   }
3258   public function getWebProperty()
3259   {
3260     return $this->webProperty;
3261   }
3264 class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
3266   protected $internal_gapi_mappings = array(
3267   );
3268   public $description;
3269   protected $guaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms';
3270   protected $guaranteedFixedPriceTermsDataType = '';
3271   protected $nonGuaranteedAuctionTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms';
3272   protected $nonGuaranteedAuctionTermsDataType = '';
3273   protected $nonGuaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms';
3274   protected $nonGuaranteedFixedPriceTermsDataType = '';
3277   public function setDescription($description)
3278   {
3279     $this->description = $description;
3280   }
3281   public function getDescription()
3282   {
3283     return $this->description;
3284   }
3285   public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
3286   {
3287     $this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
3288   }
3289   public function getGuaranteedFixedPriceTerms()
3290   {
3291     return $this->guaranteedFixedPriceTerms;
3292   }
3293   public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
3294   {
3295     $this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
3296   }
3297   public function getNonGuaranteedAuctionTerms()
3298   {
3299     return $this->nonGuaranteedAuctionTerms;
3300   }
3301   public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
3302   {
3303     $this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
3304   }
3305   public function getNonGuaranteedFixedPriceTerms()
3306   {
3307     return $this->nonGuaranteedFixedPriceTerms;
3308   }
3311 class Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms extends Google_Collection
3313   protected $collection_key = 'fixedPrices';
3314   protected $internal_gapi_mappings = array(
3315   );
3316   protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
3317   protected $fixedPricesDataType = 'array';
3318   public $guaranteedImpressions;
3319   public $guaranteedLooks;
3322   public function setFixedPrices($fixedPrices)
3323   {
3324     $this->fixedPrices = $fixedPrices;
3325   }
3326   public function getFixedPrices()
3327   {
3328     return $this->fixedPrices;
3329   }
3330   public function setGuaranteedImpressions($guaranteedImpressions)
3331   {
3332     $this->guaranteedImpressions = $guaranteedImpressions;
3333   }
3334   public function getGuaranteedImpressions()
3335   {
3336     return $this->guaranteedImpressions;
3337   }
3338   public function setGuaranteedLooks($guaranteedLooks)
3339   {
3340     $this->guaranteedLooks = $guaranteedLooks;
3341   }
3342   public function getGuaranteedLooks()
3343   {
3344     return $this->guaranteedLooks;
3345   }
3348 class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms extends Google_Collection
3350   protected $collection_key = 'reservePricePerBuyers';
3351   protected $internal_gapi_mappings = array(
3352   );
3353   public $privateAuctionId;
3354   protected $reservePricePerBuyersType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
3355   protected $reservePricePerBuyersDataType = 'array';
3358   public function setPrivateAuctionId($privateAuctionId)
3359   {
3360     $this->privateAuctionId = $privateAuctionId;
3361   }
3362   public function getPrivateAuctionId()
3363   {
3364     return $this->privateAuctionId;
3365   }
3366   public function setReservePricePerBuyers($reservePricePerBuyers)
3367   {
3368     $this->reservePricePerBuyers = $reservePricePerBuyers;
3369   }
3370   public function getReservePricePerBuyers()
3371   {
3372     return $this->reservePricePerBuyers;
3373   }
3376 class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms extends Google_Collection
3378   protected $collection_key = 'fixedPrices';
3379   protected $internal_gapi_mappings = array(
3380   );
3381   protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
3382   protected $fixedPricesDataType = 'array';
3385   public function setFixedPrices($fixedPrices)
3386   {
3387     $this->fixedPrices = $fixedPrices;
3388   }
3389   public function getFixedPrices()
3390   {
3391     return $this->fixedPrices;
3392   }
3395 class Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest extends Google_Collection
3397   protected $collection_key = 'dealIds';
3398   protected $internal_gapi_mappings = array(
3399   );
3400   public $dealIds;
3401   public $orderRevisionNumber;
3402   public $updateAction;
3405   public function setDealIds($dealIds)
3406   {
3407     $this->dealIds = $dealIds;
3408   }
3409   public function getDealIds()
3410   {
3411     return $this->dealIds;
3412   }
3413   public function setOrderRevisionNumber($orderRevisionNumber)
3414   {
3415     $this->orderRevisionNumber = $orderRevisionNumber;
3416   }
3417   public function getOrderRevisionNumber()
3418   {
3419     return $this->orderRevisionNumber;
3420   }
3421   public function setUpdateAction($updateAction)
3422   {
3423     $this->updateAction = $updateAction;
3424   }
3425   public function getUpdateAction()
3426   {
3427     return $this->updateAction;
3428   }
3431 class Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse extends Google_Collection
3433   protected $collection_key = 'deals';
3434   protected $internal_gapi_mappings = array(
3435   );
3436   protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
3437   protected $dealsDataType = 'array';
3438   public $orderRevisionNumber;
3441   public function setDeals($deals)
3442   {
3443     $this->deals = $deals;
3444   }
3445   public function getDeals()
3446   {
3447     return $this->deals;
3448   }
3449   public function setOrderRevisionNumber($orderRevisionNumber)
3450   {
3451     $this->orderRevisionNumber = $orderRevisionNumber;
3452   }
3453   public function getOrderRevisionNumber()
3454   {
3455     return $this->orderRevisionNumber;
3456   }
3459 class Google_Service_AdExchangeBuyer_DeliveryControl extends Google_Collection
3461   protected $collection_key = 'frequencyCaps';
3462   protected $internal_gapi_mappings = array(
3463   );
3464   public $deliveryRateType;
3465   protected $frequencyCapsType = 'Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap';
3466   protected $frequencyCapsDataType = 'array';
3469   public function setDeliveryRateType($deliveryRateType)
3470   {
3471     $this->deliveryRateType = $deliveryRateType;
3472   }
3473   public function getDeliveryRateType()
3474   {
3475     return $this->deliveryRateType;
3476   }
3477   public function setFrequencyCaps($frequencyCaps)
3478   {
3479     $this->frequencyCaps = $frequencyCaps;
3480   }
3481   public function getFrequencyCaps()
3482   {
3483     return $this->frequencyCaps;
3484   }
3487 class Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap extends Google_Model
3489   protected $internal_gapi_mappings = array(
3490   );
3491   public $maxImpressions;
3492   public $numTimeUnits;
3493   public $timeUnitType;
3496   public function setMaxImpressions($maxImpressions)
<