PluginProbe
Authorizer / 2.6.10
Authorizer v2.6.10
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / vendor / google-api-php-client / src / Google / Service / AdSense.php

AdSense.php in Authorizer 2.6.10, at vendor/google-api-php-client/src/Google/Service/AdSense.php

3,595 lines 99.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16 /**
17 * Service definition for AdSense (v1.4).
18 *
19 * <p>
20 * Gives AdSense publishers access to their inventory and the ability to
21 * generate reports</p>
22 *
23 * <p>
24 * For more information about this service, see the API
25 * <a href="https://developers.google.com/adsense/management/" target="_blank">Documentation</a>
26 * </p>
27 *
28 * @author Google, Inc.
29 */
30 class Google_Service_AdSense extends Google_Service
31 {
32 /** View and manage your AdSense data. */
33 const ADSENSE =
34 "https://www.googleapis.com/auth/adsense";
35 /** View your AdSense data. */
36 const ADSENSE_READONLY =
37 "https://www.googleapis.com/auth/adsense.readonly";
38
39 public $accounts;
40 public $accounts_adclients;
41 public $accounts_adunits;
42 public $accounts_adunits_customchannels;
43 public $accounts_alerts;
44 public $accounts_customchannels;
45 public $accounts_customchannels_adunits;
46 public $accounts_payments;
47 public $accounts_reports;
48 public $accounts_reports_saved;
49 public $accounts_savedadstyles;
50 public $accounts_urlchannels;
51 public $adclients;
52 public $adunits;
53 public $adunits_customchannels;
54 public $alerts;
55 public $customchannels;
56 public $customchannels_adunits;
57 public $metadata_dimensions;
58 public $metadata_metrics;
59 public $payments;
60 public $reports;
61 public $reports_saved;
62 public $savedadstyles;
63 public $urlchannels;
64
65
66 /**
67 * Constructs the internal representation of the AdSense service.
68 *
69 * @param Google_Client $client
70 */
71 public function __construct(Google_Client $client)
72 {
73 parent::__construct($client);
74 $this->rootUrl = 'https://www.googleapis.com/';
75 $this->servicePath = 'adsense/v1.4/';
76 $this->version = 'v1.4';
77 $this->serviceName = 'adsense';
78
79 $this->accounts = new Google_Service_AdSense_Accounts_Resource(
80 $this,
81 $this->serviceName,
82 'accounts',
83 array(
84 'methods' => array(
85 'get' => array(
86 'path' => 'accounts/{accountId}',
87 'httpMethod' => 'GET',
88 'parameters' => array(
89 'accountId' => array(
90 'location' => 'path',
91 'type' => 'string',
92 'required' => true,
93 ),
94 'tree' => array(
95 'location' => 'query',
96 'type' => 'boolean',
97 ),
98 ),
99 ),'list' => array(
100 'path' => 'accounts',
101 'httpMethod' => 'GET',
102 'parameters' => array(
103 'maxResults' => array(
104 'location' => 'query',
105 'type' => 'integer',
106 ),
107 'pageToken' => array(
108 'location' => 'query',
109 'type' => 'string',
110 ),
111 ),
112 ),
113 )
114 )
115 );
116 $this->accounts_adclients = new Google_Service_AdSense_AccountsAdclients_Resource(
117 $this,
118 $this->serviceName,
119 'adclients',
120 array(
121 'methods' => array(
122 'list' => array(
123 'path' => 'accounts/{accountId}/adclients',
124 'httpMethod' => 'GET',
125 'parameters' => array(
126 'accountId' => array(
127 'location' => 'path',
128 'type' => 'string',
129 'required' => true,
130 ),
131 'maxResults' => array(
132 'location' => 'query',
133 'type' => 'integer',
134 ),
135 'pageToken' => array(
136 'location' => 'query',
137 'type' => 'string',
138 ),
139 ),
140 ),
141 )
142 )
143 );
144 $this->accounts_adunits = new Google_Service_AdSense_AccountsAdunits_Resource(
145 $this,
146 $this->serviceName,
147 'adunits',
148 array(
149 'methods' => array(
150 'get' => array(
151 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}',
152 'httpMethod' => 'GET',
153 'parameters' => array(
154 'accountId' => array(
155 'location' => 'path',
156 'type' => 'string',
157 'required' => true,
158 ),
159 'adClientId' => array(
160 'location' => 'path',
161 'type' => 'string',
162 'required' => true,
163 ),
164 'adUnitId' => array(
165 'location' => 'path',
166 'type' => 'string',
167 'required' => true,
168 ),
169 ),
170 ),'getAdCode' => array(
171 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode',
172 'httpMethod' => 'GET',
173 'parameters' => array(
174 'accountId' => array(
175 'location' => 'path',
176 'type' => 'string',
177 'required' => true,
178 ),
179 'adClientId' => array(
180 'location' => 'path',
181 'type' => 'string',
182 'required' => true,
183 ),
184 'adUnitId' => array(
185 'location' => 'path',
186 'type' => 'string',
187 'required' => true,
188 ),
189 ),
190 ),'list' => array(
191 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits',
192 'httpMethod' => 'GET',
193 'parameters' => array(
194 'accountId' => array(
195 'location' => 'path',
196 'type' => 'string',
197 'required' => true,
198 ),
199 'adClientId' => array(
200 'location' => 'path',
201 'type' => 'string',
202 'required' => true,
203 ),
204 'includeInactive' => array(
205 'location' => 'query',
206 'type' => 'boolean',
207 ),
208 'maxResults' => array(
209 'location' => 'query',
210 'type' => 'integer',
211 ),
212 'pageToken' => array(
213 'location' => 'query',
214 'type' => 'string',
215 ),
216 ),
217 ),
218 )
219 )
220 );
221 $this->accounts_adunits_customchannels = new Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource(
222 $this,
223 $this->serviceName,
224 'customchannels',
225 array(
226 'methods' => array(
227 'list' => array(
228 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels',
229 'httpMethod' => 'GET',
230 'parameters' => array(
231 'accountId' => array(
232 'location' => 'path',
233 'type' => 'string',
234 'required' => true,
235 ),
236 'adClientId' => array(
237 'location' => 'path',
238 'type' => 'string',
239 'required' => true,
240 ),
241 'adUnitId' => array(
242 'location' => 'path',
243 'type' => 'string',
244 'required' => true,
245 ),
246 'maxResults' => array(
247 'location' => 'query',
248 'type' => 'integer',
249 ),
250 'pageToken' => array(
251 'location' => 'query',
252 'type' => 'string',
253 ),
254 ),
255 ),
256 )
257 )
258 );
259 $this->accounts_alerts = new Google_Service_AdSense_AccountsAlerts_Resource(
260 $this,
261 $this->serviceName,
262 'alerts',
263 array(
264 'methods' => array(
265 'delete' => array(
266 'path' => 'accounts/{accountId}/alerts/{alertId}',
267 'httpMethod' => 'DELETE',
268 'parameters' => array(
269 'accountId' => array(
270 'location' => 'path',
271 'type' => 'string',
272 'required' => true,
273 ),
274 'alertId' => array(
275 'location' => 'path',
276 'type' => 'string',
277 'required' => true,
278 ),
279 ),
280 ),'list' => array(
281 'path' => 'accounts/{accountId}/alerts',
282 'httpMethod' => 'GET',
283 'parameters' => array(
284 'accountId' => array(
285 'location' => 'path',
286 'type' => 'string',
287 'required' => true,
288 ),
289 'locale' => array(
290 'location' => 'query',
291 'type' => 'string',
292 ),
293 ),
294 ),
295 )
296 )
297 );
298 $this->accounts_customchannels = new Google_Service_AdSense_AccountsCustomchannels_Resource(
299 $this,
300 $this->serviceName,
301 'customchannels',
302 array(
303 'methods' => array(
304 'get' => array(
305 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}',
306 'httpMethod' => 'GET',
307 'parameters' => array(
308 'accountId' => array(
309 'location' => 'path',
310 'type' => 'string',
311 'required' => true,
312 ),
313 'adClientId' => array(
314 'location' => 'path',
315 'type' => 'string',
316 'required' => true,
317 ),
318 'customChannelId' => array(
319 'location' => 'path',
320 'type' => 'string',
321 'required' => true,
322 ),
323 ),
324 ),'list' => array(
325 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels',
326 'httpMethod' => 'GET',
327 'parameters' => array(
328 'accountId' => array(
329 'location' => 'path',
330 'type' => 'string',
331 'required' => true,
332 ),
333 'adClientId' => array(
334 'location' => 'path',
335 'type' => 'string',
336 'required' => true,
337 ),
338 'maxResults' => array(
339 'location' => 'query',
340 'type' => 'integer',
341 ),
342 'pageToken' => array(
343 'location' => 'query',
344 'type' => 'string',
345 ),
346 ),
347 ),
348 )
349 )
350 );
351 $this->accounts_customchannels_adunits = new Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource(
352 $this,
353 $this->serviceName,
354 'adunits',
355 array(
356 'methods' => array(
357 'list' => array(
358 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits',
359 'httpMethod' => 'GET',
360 'parameters' => array(
361 'accountId' => array(
362 'location' => 'path',
363 'type' => 'string',
364 'required' => true,
365 ),
366 'adClientId' => array(
367 'location' => 'path',
368 'type' => 'string',
369 'required' => true,
370 ),
371 'customChannelId' => array(
372 'location' => 'path',
373 'type' => 'string',
374 'required' => true,
375 ),
376 'includeInactive' => array(
377 'location' => 'query',
378 'type' => 'boolean',
379 ),
380 'maxResults' => array(
381 'location' => 'query',
382 'type' => 'integer',
383 ),
384 'pageToken' => array(
385 'location' => 'query',
386 'type' => 'string',
387 ),
388 ),
389 ),
390 )
391 )
392 );
393 $this->accounts_payments = new Google_Service_AdSense_AccountsPayments_Resource(
394 $this,
395 $this->serviceName,
396 'payments',
397 array(
398 'methods' => array(
399 'list' => array(
400 'path' => 'accounts/{accountId}/payments',
401 'httpMethod' => 'GET',
402 'parameters' => array(
403 'accountId' => array(
404 'location' => 'path',
405 'type' => 'string',
406 'required' => true,
407 ),
408 ),
409 ),
410 )
411 )
412 );
413 $this->accounts_reports = new Google_Service_AdSense_AccountsReports_Resource(
414 $this,
415 $this->serviceName,
416 'reports',
417 array(
418 'methods' => array(
419 'generate' => array(
420 'path' => 'accounts/{accountId}/reports',
421 'httpMethod' => 'GET',
422 'parameters' => array(
423 'accountId' => array(
424 'location' => 'path',
425 'type' => 'string',
426 'required' => true,
427 ),
428 'startDate' => array(
429 'location' => 'query',
430 'type' => 'string',
431 'required' => true,
432 ),
433 'endDate' => array(
434 'location' => 'query',
435 'type' => 'string',
436 'required' => true,
437 ),
438 'currency' => array(
439 'location' => 'query',
440 'type' => 'string',
441 ),
442 'dimension' => array(
443 'location' => 'query',
444 'type' => 'string',
445 'repeated' => true,
446 ),
447 'filter' => array(
448 'location' => 'query',
449 'type' => 'string',
450 'repeated' => true,
451 ),
452 'locale' => array(
453 'location' => 'query',
454 'type' => 'string',
455 ),
456 'maxResults' => array(
457 'location' => 'query',
458 'type' => 'integer',
459 ),
460 'metric' => array(
461 'location' => 'query',
462 'type' => 'string',
463 'repeated' => true,
464 ),
465 'sort' => array(
466 'location' => 'query',
467 'type' => 'string',
468 'repeated' => true,
469 ),
470 'startIndex' => array(
471 'location' => 'query',
472 'type' => 'integer',
473 ),
474 'useTimezoneReporting' => array(
475 'location' => 'query',
476 'type' => 'boolean',
477 ),
478 ),
479 ),
480 )
481 )
482 );
483 $this->accounts_reports_saved = new Google_Service_AdSense_AccountsReportsSaved_Resource(
484 $this,
485 $this->serviceName,
486 'saved',
487 array(
488 'methods' => array(
489 'generate' => array(
490 'path' => 'accounts/{accountId}/reports/{savedReportId}',
491 'httpMethod' => 'GET',
492 'parameters' => array(
493 'accountId' => array(
494 'location' => 'path',
495 'type' => 'string',
496 'required' => true,
497 ),
498 'savedReportId' => array(
499 'location' => 'path',
500 'type' => 'string',
501 'required' => true,
502 ),
503 'locale' => array(
504 'location' => 'query',
505 'type' => 'string',
506 ),
507 'maxResults' => array(
508 'location' => 'query',
509 'type' => 'integer',
510 ),
511 'startIndex' => array(
512 'location' => 'query',
513 'type' => 'integer',
514 ),
515 ),
516 ),'list' => array(
517 'path' => 'accounts/{accountId}/reports/saved',
518 'httpMethod' => 'GET',
519 'parameters' => array(
520 'accountId' => array(
521 'location' => 'path',
522 'type' => 'string',
523 'required' => true,
524 ),
525 'maxResults' => array(
526 'location' => 'query',
527 'type' => 'integer',
528 ),
529 'pageToken' => array(
530 'location' => 'query',
531 'type' => 'string',
532 ),
533 ),
534 ),
535 )
536 )
537 );
538 $this->accounts_savedadstyles = new Google_Service_AdSense_AccountsSavedadstyles_Resource(
539 $this,
540 $this->serviceName,
541 'savedadstyles',
542 array(
543 'methods' => array(
544 'get' => array(
545 'path' => 'accounts/{accountId}/savedadstyles/{savedAdStyleId}',
546 'httpMethod' => 'GET',
547 'parameters' => array(
548 'accountId' => array(
549 'location' => 'path',
550 'type' => 'string',
551 'required' => true,
552 ),
553 'savedAdStyleId' => array(
554 'location' => 'path',
555 'type' => 'string',
556 'required' => true,
557 ),
558 ),
559 ),'list' => array(
560 'path' => 'accounts/{accountId}/savedadstyles',
561 'httpMethod' => 'GET',
562 'parameters' => array(
563 'accountId' => array(
564 'location' => 'path',
565 'type' => 'string',
566 'required' => true,
567 ),
568 'maxResults' => array(
569 'location' => 'query',
570 'type' => 'integer',
571 ),
572 'pageToken' => array(
573 'location' => 'query',
574 'type' => 'string',
575 ),
576 ),
577 ),
578 )
579 )
580 );
581 $this->accounts_urlchannels = new Google_Service_AdSense_AccountsUrlchannels_Resource(
582 $this,
583 $this->serviceName,
584 'urlchannels',
585 array(
586 'methods' => array(
587 'list' => array(
588 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels',
589 'httpMethod' => 'GET',
590 'parameters' => array(
591 'accountId' => array(
592 'location' => 'path',
593 'type' => 'string',
594 'required' => true,
595 ),
596 'adClientId' => array(
597 'location' => 'path',
598 'type' => 'string',
599 'required' => true,
600 ),
601 'maxResults' => array(
602 'location' => 'query',
603 'type' => 'integer',
604 ),
605 'pageToken' => array(
606 'location' => 'query',
607 'type' => 'string',
608 ),
609 ),
610 ),
611 )
612 )
613 );
614 $this->adclients = new Google_Service_AdSense_Adclients_Resource(
615 $this,
616 $this->serviceName,
617 'adclients',
618 array(
619 'methods' => array(
620 'list' => array(
621 'path' => 'adclients',
622 'httpMethod' => 'GET',
623 'parameters' => array(
624 'maxResults' => array(
625 'location' => 'query',
626 'type' => 'integer',
627 ),
628 'pageToken' => array(
629 'location' => 'query',
630 'type' => 'string',
631 ),
632 ),
633 ),
634 )
635 )
636 );
637 $this->adunits = new Google_Service_AdSense_Adunits_Resource(
638 $this,
639 $this->serviceName,
640 'adunits',
641 array(
642 'methods' => array(
643 'get' => array(
644 'path' => 'adclients/{adClientId}/adunits/{adUnitId}',
645 'httpMethod' => 'GET',
646 'parameters' => array(
647 'adClientId' => array(
648 'location' => 'path',
649 'type' => 'string',
650 'required' => true,
651 ),
652 'adUnitId' => array(
653 'location' => 'path',
654 'type' => 'string',
655 'required' => true,
656 ),
657 ),
658 ),'getAdCode' => array(
659 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/adcode',
660 'httpMethod' => 'GET',
661 'parameters' => array(
662 'adClientId' => array(
663 'location' => 'path',
664 'type' => 'string',
665 'required' => true,
666 ),
667 'adUnitId' => array(
668 'location' => 'path',
669 'type' => 'string',
670 'required' => true,
671 ),
672 ),
673 ),'list' => array(
674 'path' => 'adclients/{adClientId}/adunits',
675 'httpMethod' => 'GET',
676 'parameters' => array(
677 'adClientId' => array(
678 'location' => 'path',
679 'type' => 'string',
680 'required' => true,
681 ),
682 'includeInactive' => array(
683 'location' => 'query',
684 'type' => 'boolean',
685 ),
686 'maxResults' => array(
687 'location' => 'query',
688 'type' => 'integer',
689 ),
690 'pageToken' => array(
691 'location' => 'query',
692 'type' => 'string',
693 ),
694 ),
695 ),
696 )
697 )
698 );
699 $this->adunits_customchannels = new Google_Service_AdSense_AdunitsCustomchannels_Resource(
700 $this,
701 $this->serviceName,
702 'customchannels',
703 array(
704 'methods' => array(
705 'list' => array(
706 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels',
707 'httpMethod' => 'GET',
708 'parameters' => array(
709 'adClientId' => array(
710 'location' => 'path',
711 'type' => 'string',
712 'required' => true,
713 ),
714 'adUnitId' => array(
715 'location' => 'path',
716 'type' => 'string',
717 'required' => true,
718 ),
719 'maxResults' => array(
720 'location' => 'query',
721 'type' => 'integer',
722 ),
723 'pageToken' => array(
724 'location' => 'query',
725 'type' => 'string',
726 ),
727 ),
728 ),
729 )
730 )
731 );
732 $this->alerts = new Google_Service_AdSense_Alerts_Resource(
733 $this,
734 $this->serviceName,
735 'alerts',
736 array(
737 'methods' => array(
738 'delete' => array(
739 'path' => 'alerts/{alertId}',
740 'httpMethod' => 'DELETE',
741 'parameters' => array(
742 'alertId' => array(
743 'location' => 'path',
744 'type' => 'string',
745 'required' => true,
746 ),
747 ),
748 ),'list' => array(
749 'path' => 'alerts',
750 'httpMethod' => 'GET',
751 'parameters' => array(
752 'locale' => array(
753 'location' => 'query',
754 'type' => 'string',
755 ),
756 ),
757 ),
758 )
759 )
760 );
761 $this->customchannels = new Google_Service_AdSense_Customchannels_Resource(
762 $this,
763 $this->serviceName,
764 'customchannels',
765 array(
766 'methods' => array(
767 'get' => array(
768 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}',
769 'httpMethod' => 'GET',
770 'parameters' => array(
771 'adClientId' => array(
772 'location' => 'path',
773 'type' => 'string',
774 'required' => true,
775 ),
776 'customChannelId' => array(
777 'location' => 'path',
778 'type' => 'string',
779 'required' => true,
780 ),
781 ),
782 ),'list' => array(
783 'path' => 'adclients/{adClientId}/customchannels',
784 'httpMethod' => 'GET',
785 'parameters' => array(
786 'adClientId' => array(
787 'location' => 'path',
788 'type' => 'string',
789 'required' => true,
790 ),
791 'maxResults' => array(
792 'location' => 'query',
793 'type' => 'integer',
794 ),
795 'pageToken' => array(
796 'location' => 'query',
797 'type' => 'string',
798 ),
799 ),
800 ),
801 )
802 )
803 );
804 $this->customchannels_adunits = new Google_Service_AdSense_CustomchannelsAdunits_Resource(
805 $this,
806 $this->serviceName,
807 'adunits',
808 array(
809 'methods' => array(
810 'list' => array(
811 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits',
812 'httpMethod' => 'GET',
813 'parameters' => array(
814 'adClientId' => array(
815 'location' => 'path',
816 'type' => 'string',
817 'required' => true,
818 ),
819 'customChannelId' => array(
820 'location' => 'path',
821 'type' => 'string',
822 'required' => true,
823 ),
824 'includeInactive' => array(
825 'location' => 'query',
826 'type' => 'boolean',
827 ),
828 'maxResults' => array(
829 'location' => 'query',
830 'type' => 'integer',
831 ),
832 'pageToken' => array(
833 'location' => 'query',
834 'type' => 'string',
835 ),
836 ),
837 ),
838 )
839 )
840 );
841 $this->metadata_dimensions = new Google_Service_AdSense_MetadataDimensions_Resource(
842 $this,
843 $this->serviceName,
844 'dimensions',
845 array(
846 'methods' => array(
847 'list' => array(
848 'path' => 'metadata/dimensions',
849 'httpMethod' => 'GET',
850 'parameters' => array(),
851 ),
852 )
853 )
854 );
855 $this->metadata_metrics = new Google_Service_AdSense_MetadataMetrics_Resource(
856 $this,
857 $this->serviceName,
858 'metrics',
859 array(
860 'methods' => array(
861 'list' => array(
862 'path' => 'metadata/metrics',
863 'httpMethod' => 'GET',
864 'parameters' => array(),
865 ),
866 )
867 )
868 );
869 $this->payments = new Google_Service_AdSense_Payments_Resource(
870 $this,
871 $this->serviceName,
872 'payments',
873 array(
874 'methods' => array(
875 'list' => array(
876 'path' => 'payments',
877 'httpMethod' => 'GET',
878 'parameters' => array(),
879 ),
880 )
881 )
882 );
883 $this->reports = new Google_Service_AdSense_Reports_Resource(
884 $this,
885 $this->serviceName,
886 'reports',
887 array(
888 'methods' => array(
889 'generate' => array(
890 'path' => 'reports',
891 'httpMethod' => 'GET',
892 'parameters' => array(
893 'startDate' => array(
894 'location' => 'query',
895 'type' => 'string',
896 'required' => true,
897 ),
898 'endDate' => array(
899 'location' => 'query',
900 'type' => 'string',
901 'required' => true,
902 ),
903 'accountId' => array(
904 'location' => 'query',
905 'type' => 'string',
906 'repeated' => true,
907 ),
908 'currency' => array(
909 'location' => 'query',
910 'type' => 'string',
911 ),
912 'dimension' => array(
913 'location' => 'query',
914 'type' => 'string',
915 'repeated' => true,
916 ),
917 'filter' => array(
918 'location' => 'query',
919 'type' => 'string',
920 'repeated' => true,
921 ),
922 'locale' => array(
923 'location' => 'query',
924 'type' => 'string',
925 ),
926 'maxResults' => array(
927 'location' => 'query',
928 'type' => 'integer',
929 ),
930 'metric' => array(
931 'location' => 'query',
932 'type' => 'string',
933 'repeated' => true,
934 ),
935 'sort' => array(
936 'location' => 'query',
937 'type' => 'string',
938 'repeated' => true,
939 ),
940 'startIndex' => array(
941 'location' => 'query',
942 'type' => 'integer',
943 ),
944 'useTimezoneReporting' => array(
945 'location' => 'query',
946 'type' => 'boolean',
947 ),
948 ),
949 ),
950 )
951 )
952 );
953 $this->reports_saved = new Google_Service_AdSense_ReportsSaved_Resource(
954 $this,
955 $this->serviceName,
956 'saved',
957 array(
958 'methods' => array(
959 'generate' => array(
960 'path' => 'reports/{savedReportId}',
961 'httpMethod' => 'GET',
962 'parameters' => array(
963 'savedReportId' => array(
964 'location' => 'path',
965 'type' => 'string',
966 'required' => true,
967 ),
968 'locale' => array(
969 'location' => 'query',
970 'type' => 'string',
971 ),
972 'maxResults' => array(
973 'location' => 'query',
974 'type' => 'integer',
975 ),
976 'startIndex' => array(
977 'location' => 'query',
978 'type' => 'integer',
979 ),
980 ),
981 ),'list' => array(
982 'path' => 'reports/saved',
983 'httpMethod' => 'GET',
984 'parameters' => array(
985 'maxResults' => array(
986 'location' => 'query',
987 'type' => 'integer',
988 ),
989 'pageToken' => array(
990 'location' => 'query',
991 'type' => 'string',
992 ),
993 ),
994 ),
995 )
996 )
997 );
998 $this->savedadstyles = new Google_Service_AdSense_Savedadstyles_Resource(
999 $this,
1000 $this->serviceName,
1001 'savedadstyles',
1002 array(
1003 'methods' => array(
1004 'get' => array(
1005 'path' => 'savedadstyles/{savedAdStyleId}',
1006 'httpMethod' => 'GET',
1007 'parameters' => array(
1008 'savedAdStyleId' => array(
1009 'location' => 'path',
1010 'type' => 'string',
1011 'required' => true,
1012 ),
1013 ),
1014 ),'list' => array(
1015 'path' => 'savedadstyles',
1016 'httpMethod' => 'GET',
1017 'parameters' => array(
1018 'maxResults' => array(
1019 'location' => 'query',
1020 'type' => 'integer',
1021 ),
1022 'pageToken' => array(
1023 'location' => 'query',
1024 'type' => 'string',
1025 ),
1026 ),
1027 ),
1028 )
1029 )
1030 );
1031 $this->urlchannels = new Google_Service_AdSense_Urlchannels_Resource(
1032 $this,
1033 $this->serviceName,
1034 'urlchannels',
1035 array(
1036 'methods' => array(
1037 'list' => array(
1038 'path' => 'adclients/{adClientId}/urlchannels',
1039 'httpMethod' => 'GET',
1040 'parameters' => array(
1041 'adClientId' => array(
1042 'location' => 'path',
1043 'type' => 'string',
1044 'required' => true,
1045 ),
1046 'maxResults' => array(
1047 'location' => 'query',
1048 'type' => 'integer',
1049 ),
1050 'pageToken' => array(
1051 'location' => 'query',
1052 'type' => 'string',
1053 ),
1054 ),
1055 ),
1056 )
1057 )
1058 );
1059 }
1060 }
1061
1062
1063 /**
1064 * The "accounts" collection of methods.
1065 * Typical usage is:
1066 * <code>
1067 * $adsenseService = new Google_Service_AdSense(...);
1068 * $accounts = $adsenseService->accounts;
1069 * </code>
1070 */
1071 class Google_Service_AdSense_Accounts_Resource extends Google_Service_Resource
1072 {
1073
1074 /**
1075 * Get information about the selected AdSense account. (accounts.get)
1076 *
1077 * @param string $accountId Account to get information about.
1078 * @param array $optParams Optional parameters.
1079 *
1080 * @opt_param bool tree Whether the tree of sub accounts should be returned.
1081 * @return Google_Service_AdSense_Account
1082 */
1083 public function get($accountId, $optParams = array())
1084 {
1085 $params = array('accountId' => $accountId);
1086 $params = array_merge($params, $optParams);
1087 return $this->call('get', array($params), "Google_Service_AdSense_Account");
1088 }
1089
1090 /**
1091 * List all accounts available to this AdSense account. (accounts.listAccounts)
1092 *
1093 * @param array $optParams Optional parameters.
1094 *
1095 * @opt_param int maxResults The maximum number of accounts to include in the
1096 * response, used for paging.
1097 * @opt_param string pageToken A continuation token, used to page through
1098 * accounts. To retrieve the next page, set this parameter to the value of
1099 * "nextPageToken" from the previous response.
1100 * @return Google_Service_AdSense_Accounts
1101 */
1102 public function listAccounts($optParams = array())
1103 {
1104 $params = array();
1105 $params = array_merge($params, $optParams);
1106 return $this->call('list', array($params), "Google_Service_AdSense_Accounts");
1107 }
1108 }
1109
1110 /**
1111 * The "adclients" collection of methods.
1112 * Typical usage is:
1113 * <code>
1114 * $adsenseService = new Google_Service_AdSense(...);
1115 * $adclients = $adsenseService->adclients;
1116 * </code>
1117 */
1118 class Google_Service_AdSense_AccountsAdclients_Resource extends Google_Service_Resource
1119 {
1120
1121 /**
1122 * List all ad clients in the specified account.
1123 * (adclients.listAccountsAdclients)
1124 *
1125 * @param string $accountId Account for which to list ad clients.
1126 * @param array $optParams Optional parameters.
1127 *
1128 * @opt_param int maxResults The maximum number of ad clients to include in the
1129 * response, used for paging.
1130 * @opt_param string pageToken A continuation token, used to page through ad
1131 * clients. To retrieve the next page, set this parameter to the value of
1132 * "nextPageToken" from the previous response.
1133 * @return Google_Service_AdSense_AdClients
1134 */
1135 public function listAccountsAdclients($accountId, $optParams = array())
1136 {
1137 $params = array('accountId' => $accountId);
1138 $params = array_merge($params, $optParams);
1139 return $this->call('list', array($params), "Google_Service_AdSense_AdClients");
1140 }
1141 }
1142 /**
1143 * The "adunits" collection of methods.
1144 * Typical usage is:
1145 * <code>
1146 * $adsenseService = new Google_Service_AdSense(...);
1147 * $adunits = $adsenseService->adunits;
1148 * </code>
1149 */
1150 class Google_Service_AdSense_AccountsAdunits_Resource extends Google_Service_Resource
1151 {
1152
1153 /**
1154 * Gets the specified ad unit in the specified ad client for the specified
1155 * account. (adunits.get)
1156 *
1157 * @param string $accountId Account to which the ad client belongs.
1158 * @param string $adClientId Ad client for which to get the ad unit.
1159 * @param string $adUnitId Ad unit to retrieve.
1160 * @param array $optParams Optional parameters.
1161 * @return Google_Service_AdSense_AdUnit
1162 */
1163 public function get($accountId, $adClientId, $adUnitId, $optParams = array())
1164 {
1165 $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1166 $params = array_merge($params, $optParams);
1167 return $this->call('get', array($params), "Google_Service_AdSense_AdUnit");
1168 }
1169
1170 /**
1171 * Get ad code for the specified ad unit. (adunits.getAdCode)
1172 *
1173 * @param string $accountId Account which contains the ad client.
1174 * @param string $adClientId Ad client with contains the ad unit.
1175 * @param string $adUnitId Ad unit to get the code for.
1176 * @param array $optParams Optional parameters.
1177 * @return Google_Service_AdSense_AdCode
1178 */
1179 public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array())
1180 {
1181 $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1182 $params = array_merge($params, $optParams);
1183 return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode");
1184 }
1185
1186 /**
1187 * List all ad units in the specified ad client for the specified account.
1188 * (adunits.listAccountsAdunits)
1189 *
1190 * @param string $accountId Account to which the ad client belongs.
1191 * @param string $adClientId Ad client for which to list ad units.
1192 * @param array $optParams Optional parameters.
1193 *
1194 * @opt_param bool includeInactive Whether to include inactive ad units.
1195 * Default: true.
1196 * @opt_param int maxResults The maximum number of ad units to include in the
1197 * response, used for paging.
1198 * @opt_param string pageToken A continuation token, used to page through ad
1199 * units. To retrieve the next page, set this parameter to the value of
1200 * "nextPageToken" from the previous response.
1201 * @return Google_Service_AdSense_AdUnits
1202 */
1203 public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
1204 {
1205 $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
1206 $params = array_merge($params, $optParams);
1207 return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
1208 }
1209 }
1210
1211 /**
1212 * The "customchannels" collection of methods.
1213 * Typical usage is:
1214 * <code>
1215 * $adsenseService = new Google_Service_AdSense(...);
1216 * $customchannels = $adsenseService->customchannels;
1217 * </code>
1218 */
1219 class Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource extends Google_Service_Resource
1220 {
1221
1222 /**
1223 * List all custom channels which the specified ad unit belongs to.
1224 * (customchannels.listAccountsAdunitsCustomchannels)
1225 *
1226 * @param string $accountId Account to which the ad client belongs.
1227 * @param string $adClientId Ad client which contains the ad unit.
1228 * @param string $adUnitId Ad unit for which to list custom channels.
1229 * @param array $optParams Optional parameters.
1230 *
1231 * @opt_param int maxResults The maximum number of custom channels to include in
1232 * the response, used for paging.
1233 * @opt_param string pageToken A continuation token, used to page through custom
1234 * channels. To retrieve the next page, set this parameter to the value of
1235 * "nextPageToken" from the previous response.
1236 * @return Google_Service_AdSense_CustomChannels
1237 */
1238 public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array())
1239 {
1240 $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1241 $params = array_merge($params, $optParams);
1242 return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
1243 }
1244 }
1245 /**
1246 * The "alerts" collection of methods.
1247 * Typical usage is:
1248 * <code>
1249 * $adsenseService = new Google_Service_AdSense(...);
1250 * $alerts = $adsenseService->alerts;
1251 * </code>
1252 */
1253 class Google_Service_AdSense_AccountsAlerts_Resource extends Google_Service_Resource
1254 {
1255
1256 /**
1257 * Dismiss (delete) the specified alert from the specified publisher AdSense
1258 * account. (alerts.delete)
1259 *
1260 * @param string $accountId Account which contains the ad unit.
1261 * @param string $alertId Alert to delete.
1262 * @param array $optParams Optional parameters.
1263 */
1264 public function delete($accountId, $alertId, $optParams = array())
1265 {
1266 $params = array('accountId' => $accountId, 'alertId' => $alertId);
1267 $params = array_merge($params, $optParams);
1268 return $this->call('delete', array($params));
1269 }
1270
1271 /**
1272 * List the alerts for the specified AdSense account.
1273 * (alerts.listAccountsAlerts)
1274 *
1275 * @param string $accountId Account for which to retrieve the alerts.
1276 * @param array $optParams Optional parameters.
1277 *
1278 * @opt_param string locale The locale to use for translating alert messages.
1279 * The account locale will be used if this is not supplied. The AdSense default
1280 * (English) will be used if the supplied locale is invalid or unsupported.
1281 * @return Google_Service_AdSense_Alerts
1282 */
1283 public function listAccountsAlerts($accountId, $optParams = array())
1284 {
1285 $params = array('accountId' => $accountId);
1286 $params = array_merge($params, $optParams);
1287 return $this->call('list', array($params), "Google_Service_AdSense_Alerts");
1288 }
1289 }
1290 /**
1291 * The "customchannels" collection of methods.
1292 * Typical usage is:
1293 * <code>
1294 * $adsenseService = new Google_Service_AdSense(...);
1295 * $customchannels = $adsenseService->customchannels;
1296 * </code>
1297 */
1298 class Google_Service_AdSense_AccountsCustomchannels_Resource extends Google_Service_Resource
1299 {
1300
1301 /**
1302 * Get the specified custom channel from the specified ad client for the
1303 * specified account. (customchannels.get)
1304 *
1305 * @param string $accountId Account to which the ad client belongs.
1306 * @param string $adClientId Ad client which contains the custom channel.
1307 * @param string $customChannelId Custom channel to retrieve.
1308 * @param array $optParams Optional parameters.
1309 * @return Google_Service_AdSense_CustomChannel
1310 */
1311 public function get($accountId, $adClientId, $customChannelId, $optParams = array())
1312 {
1313 $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1314 $params = array_merge($params, $optParams);
1315 return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel");
1316 }
1317
1318 /**
1319 * List all custom channels in the specified ad client for the specified
1320 * account. (customchannels.listAccountsCustomchannels)
1321 *
1322 * @param string $accountId Account to which the ad client belongs.
1323 * @param string $adClientId Ad client for which to list custom channels.
1324 * @param array $optParams Optional parameters.
1325 *
1326 * @opt_param int maxResults The maximum number of custom channels to include in
1327 * the response, used for paging.
1328 * @opt_param string pageToken A continuation token, used to page through custom
1329 * channels. To retrieve the next page, set this parameter to the value of
1330 * "nextPageToken" from the previous response.
1331 * @return Google_Service_AdSense_CustomChannels
1332 */
1333 public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
1334 {
1335 $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
1336 $params = array_merge($params, $optParams);
1337 return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
1338 }
1339 }
1340
1341 /**
1342 * The "adunits" collection of methods.
1343 * Typical usage is:
1344 * <code>
1345 * $adsenseService = new Google_Service_AdSense(...);
1346 * $adunits = $adsenseService->adunits;
1347 * </code>
1348 */
1349 class Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource extends Google_Service_Resource
1350 {
1351
1352 /**
1353 * List all ad units in the specified custom channel.
1354 * (adunits.listAccountsCustomchannelsAdunits)
1355 *
1356 * @param string $accountId Account to which the ad client belongs.
1357 * @param string $adClientId Ad client which contains the custom channel.
1358 * @param string $customChannelId Custom channel for which to list ad units.
1359 * @param array $optParams Optional parameters.
1360 *
1361 * @opt_param bool includeInactive Whether to include inactive ad units.
1362 * Default: true.
1363 * @opt_param int maxResults The maximum number of ad units to include in the
1364 * response, used for paging.
1365 * @opt_param string pageToken A continuation token, used to page through ad
1366 * units. To retrieve the next page, set this parameter to the value of
1367 * "nextPageToken" from the previous response.
1368 * @return Google_Service_AdSense_AdUnits
1369 */
1370 public function listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array())
1371 {
1372 $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1373 $params = array_merge($params, $optParams);
1374 return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
1375 }
1376 }
1377 /**
1378 * The "payments" collection of methods.
1379 * Typical usage is:
1380 * <code>
1381 * $adsenseService = new Google_Service_AdSense(...);
1382 * $payments = $adsenseService->payments;
1383 * </code>
1384 */
1385 class Google_Service_AdSense_AccountsPayments_Resource extends Google_Service_Resource
1386 {
1387
1388 /**
1389 * List the payments for the specified AdSense account.
1390 * (payments.listAccountsPayments)
1391 *
1392 * @param string $accountId Account for which to retrieve the payments.
1393 * @param array $optParams Optional parameters.
1394 * @return Google_Service_AdSense_Payments
1395 */
1396 public function listAccountsPayments($accountId, $optParams = array())
1397 {
1398 $params = array('accountId' => $accountId);
1399 $params = array_merge($params, $optParams);
1400 return $this->call('list', array($params), "Google_Service_AdSense_Payments");
1401 }
1402 }
1403 /**
1404 * The "reports" collection of methods.
1405 * Typical usage is:
1406 * <code>
1407 * $adsenseService = new Google_Service_AdSense(...);
1408 * $reports = $adsenseService->reports;
1409 * </code>
1410 */
1411 class Google_Service_AdSense_AccountsReports_Resource extends Google_Service_Resource
1412 {
1413
1414 /**
1415 * Generate an AdSense report based on the report request sent in the query
1416 * parameters. Returns the result as JSON; to retrieve output in CSV format
1417 * specify "alt=csv" as a query parameter. (reports.generate)
1418 *
1419 * @param string $accountId Account upon which to report.
1420 * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
1421 * format, inclusive.
1422 * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
1423 * format, inclusive.
1424 * @param array $optParams Optional parameters.
1425 *
1426 * @opt_param string currency Optional currency to use when reporting on
1427 * monetary metrics. Defaults to the account's currency if not set.
1428 * @opt_param string dimension Dimensions to base the report on.
1429 * @opt_param string filter Filters to be run on the report.
1430 * @opt_param string locale Optional locale to use for translating report output
1431 * to a local language. Defaults to "en_US" if not specified.
1432 * @opt_param int maxResults The maximum number of rows of report data to
1433 * return.
1434 * @opt_param string metric Numeric columns to include in the report.
1435 * @opt_param string sort The name of a dimension or metric to sort the
1436 * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
1437 * sort descending. If no prefix is specified, the column is sorted ascending.
1438 * @opt_param int startIndex Index of the first row of report data to return.
1439 * @opt_param bool useTimezoneReporting Whether the report should be generated
1440 * in the AdSense account's local timezone. If false default PST/PDT timezone
1441 * will be used.
1442 * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
1443 */
1444 public function generate($accountId, $startDate, $endDate, $optParams = array())
1445 {
1446 $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
1447 $params = array_merge($params, $optParams);
1448 return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
1449 }
1450 }
1451
1452 /**
1453 * The "saved" collection of methods.
1454 * Typical usage is:
1455 * <code>
1456 * $adsenseService = new Google_Service_AdSense(...);
1457 * $saved = $adsenseService->saved;
1458 * </code>
1459 */
1460 class Google_Service_AdSense_AccountsReportsSaved_Resource extends Google_Service_Resource
1461 {
1462
1463 /**
1464 * Generate an AdSense report based on the saved report ID sent in the query
1465 * parameters. (saved.generate)
1466 *
1467 * @param string $accountId Account to which the saved reports belong.
1468 * @param string $savedReportId The saved report to retrieve.
1469 * @param array $optParams Optional parameters.
1470 *
1471 * @opt_param string locale Optional locale to use for translating report output
1472 * to a local language. Defaults to "en_US" if not specified.
1473 * @opt_param int maxResults The maximum number of rows of report data to
1474 * return.
1475 * @opt_param int startIndex Index of the first row of report data to return.
1476 * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
1477 */
1478 public function generate($accountId, $savedReportId, $optParams = array())
1479 {
1480 $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId);
1481 $params = array_merge($params, $optParams);
1482 return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
1483 }
1484
1485 /**
1486 * List all saved reports in the specified AdSense account.
1487 * (saved.listAccountsReportsSaved)
1488 *
1489 * @param string $accountId Account to which the saved reports belong.
1490 * @param array $optParams Optional parameters.
1491 *
1492 * @opt_param int maxResults The maximum number of saved reports to include in
1493 * the response, used for paging.
1494 * @opt_param string pageToken A continuation token, used to page through saved
1495 * reports. To retrieve the next page, set this parameter to the value of
1496 * "nextPageToken" from the previous response.
1497 * @return Google_Service_AdSense_SavedReports
1498 */
1499 public function listAccountsReportsSaved($accountId, $optParams = array())
1500 {
1501 $params = array('accountId' => $accountId);
1502 $params = array_merge($params, $optParams);
1503 return $this->call('list', array($params), "Google_Service_AdSense_SavedReports");
1504 }
1505 }
1506 /**
1507 * The "savedadstyles" collection of methods.
1508 * Typical usage is:
1509 * <code>
1510 * $adsenseService = new Google_Service_AdSense(...);
1511 * $savedadstyles = $adsenseService->savedadstyles;
1512 * </code>
1513 */
1514 class Google_Service_AdSense_AccountsSavedadstyles_Resource extends Google_Service_Resource
1515 {
1516
1517 /**
1518 * List a specific saved ad style for the specified account. (savedadstyles.get)
1519 *
1520 * @param string $accountId Account for which to get the saved ad style.
1521 * @param string $savedAdStyleId Saved ad style to retrieve.
1522 * @param array $optParams Optional parameters.
1523 * @return Google_Service_AdSense_SavedAdStyle
1524 */
1525 public function get($accountId, $savedAdStyleId, $optParams = array())
1526 {
1527 $params = array('accountId' => $accountId, 'savedAdStyleId' => $savedAdStyleId);
1528 $params = array_merge($params, $optParams);
1529 return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle");
1530 }
1531
1532 /**
1533 * List all saved ad styles in the specified account.
1534 * (savedadstyles.listAccountsSavedadstyles)
1535 *
1536 * @param string $accountId Account for which to list saved ad styles.
1537 * @param array $optParams Optional parameters.
1538 *
1539 * @opt_param int maxResults The maximum number of saved ad styles to include in
1540 * the response, used for paging.
1541 * @opt_param string pageToken A continuation token, used to page through saved
1542 * ad styles. To retrieve the next page, set this parameter to the value of
1543 * "nextPageToken" from the previous response.
1544 * @return Google_Service_AdSense_SavedAdStyles
1545 */
1546 public function listAccountsSavedadstyles($accountId, $optParams = array())
1547 {
1548 $params = array('accountId' => $accountId);
1549 $params = array_merge($params, $optParams);
1550 return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles");
1551 }
1552 }
1553 /**
1554 * The "urlchannels" collection of methods.
1555 * Typical usage is:
1556 * <code>
1557 * $adsenseService = new Google_Service_AdSense(...);
1558 * $urlchannels = $adsenseService->urlchannels;
1559 * </code>
1560 */
1561 class Google_Service_AdSense_AccountsUrlchannels_Resource extends Google_Service_Resource
1562 {
1563
1564 /**
1565 * List all URL channels in the specified ad client for the specified account.
1566 * (urlchannels.listAccountsUrlchannels)
1567 *
1568 * @param string $accountId Account to which the ad client belongs.
1569 * @param string $adClientId Ad client for which to list URL channels.
1570 * @param array $optParams Optional parameters.
1571 *
1572 * @opt_param int maxResults The maximum number of URL channels to include in
1573 * the response, used for paging.
1574 * @opt_param string pageToken A continuation token, used to page through URL
1575 * channels. To retrieve the next page, set this parameter to the value of
1576 * "nextPageToken" from the previous response.
1577 * @return Google_Service_AdSense_UrlChannels
1578 */
1579 public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
1580 {
1581 $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
1582 $params = array_merge($params, $optParams);
1583 return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels");
1584 }
1585 }
1586
1587 /**
1588 * The "adclients" collection of methods.
1589 * Typical usage is:
1590 * <code>
1591 * $adsenseService = new Google_Service_AdSense(...);
1592 * $adclients = $adsenseService->adclients;
1593 * </code>
1594 */
1595 class Google_Service_AdSense_Adclients_Resource extends Google_Service_Resource
1596 {
1597
1598 /**
1599 * List all ad clients in this AdSense account. (adclients.listAdclients)
1600 *
1601 * @param array $optParams Optional parameters.
1602 *
1603 * @opt_param int maxResults The maximum number of ad clients to include in the
1604 * response, used for paging.
1605 * @opt_param string pageToken A continuation token, used to page through ad
1606 * clients. To retrieve the next page, set this parameter to the value of
1607 * "nextPageToken" from the previous response.
1608 * @return Google_Service_AdSense_AdClients
1609 */
1610 public function listAdclients($optParams = array())
1611 {
1612 $params = array();
1613 $params = array_merge($params, $optParams);
1614 return $this->call('list', array($params), "Google_Service_AdSense_AdClients");
1615 }
1616 }
1617
1618 /**
1619 * The "adunits" collection of methods.
1620 * Typical usage is:
1621 * <code>
1622 * $adsenseService = new Google_Service_AdSense(...);
1623 * $adunits = $adsenseService->adunits;
1624 * </code>
1625 */
1626 class Google_Service_AdSense_Adunits_Resource extends Google_Service_Resource
1627 {
1628
1629 /**
1630 * Gets the specified ad unit in the specified ad client. (adunits.get)
1631 *
1632 * @param string $adClientId Ad client for which to get the ad unit.
1633 * @param string $adUnitId Ad unit to retrieve.
1634 * @param array $optParams Optional parameters.
1635 * @return Google_Service_AdSense_AdUnit
1636 */
1637 public function get($adClientId, $adUnitId, $optParams = array())
1638 {
1639 $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1640 $params = array_merge($params, $optParams);
1641 return $this->call('get', array($params), "Google_Service_AdSense_AdUnit");
1642 }
1643
1644 /**
1645 * Get ad code for the specified ad unit. (adunits.getAdCode)
1646 *
1647 * @param string $adClientId Ad client with contains the ad unit.
1648 * @param string $adUnitId Ad unit to get the code for.
1649 * @param array $optParams Optional parameters.
1650 * @return Google_Service_AdSense_AdCode
1651 */
1652 public function getAdCode($adClientId, $adUnitId, $optParams = array())
1653 {
1654 $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1655 $params = array_merge($params, $optParams);
1656 return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode");
1657 }
1658
1659 /**
1660 * List all ad units in the specified ad client for this AdSense account.
1661 * (adunits.listAdunits)
1662 *
1663 * @param string $adClientId Ad client for which to list ad units.
1664 * @param array $optParams Optional parameters.
1665 *
1666 * @opt_param bool includeInactive Whether to include inactive ad units.
1667 * Default: true.
1668 * @opt_param int maxResults The maximum number of ad units to include in the
1669 * response, used for paging.
1670 * @opt_param string pageToken A continuation token, used to page through ad
1671 * units. To retrieve the next page, set this parameter to the value of
1672 * "nextPageToken" from the previous response.
1673 * @return Google_Service_AdSense_AdUnits
1674 */
1675 public function listAdunits($adClientId, $optParams = array())
1676 {
1677 $params = array('adClientId' => $adClientId);
1678 $params = array_merge($params, $optParams);
1679 return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
1680 }
1681 }
1682
1683 /**
1684 * The "customchannels" collection of methods.
1685 * Typical usage is:
1686 * <code>
1687 * $adsenseService = new Google_Service_AdSense(...);
1688 * $customchannels = $adsenseService->customchannels;
1689 * </code>
1690 */
1691 class Google_Service_AdSense_AdunitsCustomchannels_Resource extends Google_Service_Resource
1692 {
1693
1694 /**
1695 * List all custom channels which the specified ad unit belongs to.
1696 * (customchannels.listAdunitsCustomchannels)
1697 *
1698 * @param string $adClientId Ad client which contains the ad unit.
1699 * @param string $adUnitId Ad unit for which to list custom channels.
1700 * @param array $optParams Optional parameters.
1701 *
1702 * @opt_param int maxResults The maximum number of custom channels to include in
1703 * the response, used for paging.
1704 * @opt_param string pageToken A continuation token, used to page through custom
1705 * channels. To retrieve the next page, set this parameter to the value of
1706 * "nextPageToken" from the previous response.
1707 * @return Google_Service_AdSense_CustomChannels
1708 */
1709 public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array())
1710 {
1711 $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1712 $params = array_merge($params, $optParams);
1713 return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
1714 }
1715 }
1716
1717 /**
1718 * The "alerts" collection of methods.
1719 * Typical usage is:
1720 * <code>
1721 * $adsenseService = new Google_Service_AdSense(...);
1722 * $alerts = $adsenseService->alerts;
1723 * </code>
1724 */
1725 class Google_Service_AdSense_Alerts_Resource extends Google_Service_Resource
1726 {
1727
1728 /**
1729 * Dismiss (delete) the specified alert from the publisher's AdSense account.
1730 * (alerts.delete)
1731 *
1732 * @param string $alertId Alert to delete.
1733 * @param array $optParams Optional parameters.
1734 */
1735 public function delete($alertId, $optParams = array())
1736 {
1737 $params = array('alertId' => $alertId);
1738 $params = array_merge($params, $optParams);
1739 return $this->call('delete', array($params));
1740 }
1741
1742 /**
1743 * List the alerts for this AdSense account. (alerts.listAlerts)
1744 *
1745 * @param array $optParams Optional parameters.
1746 *
1747 * @opt_param string locale The locale to use for translating alert messages.
1748 * The account locale will be used if this is not supplied. The AdSense default
1749 * (English) will be used if the supplied locale is invalid or unsupported.
1750 * @return Google_Service_AdSense_Alerts
1751 */
1752 public function listAlerts($optParams = array())
1753 {
1754 $params = array();
1755 $params = array_merge($params, $optParams);
1756 return $this->call('list', array($params), "Google_Service_AdSense_Alerts");
1757 }
1758 }
1759
1760 /**
1761 * The "customchannels" collection of methods.
1762 * Typical usage is:
1763 * <code>
1764 * $adsenseService = new Google_Service_AdSense(...);
1765 * $customchannels = $adsenseService->customchannels;
1766 * </code>
1767 */
1768 class Google_Service_AdSense_Customchannels_Resource extends Google_Service_Resource
1769 {
1770
1771 /**
1772 * Get the specified custom channel from the specified ad client.
1773 * (customchannels.get)
1774 *
1775 * @param string $adClientId Ad client which contains the custom channel.
1776 * @param string $customChannelId Custom channel to retrieve.
1777 * @param array $optParams Optional parameters.
1778 * @return Google_Service_AdSense_CustomChannel
1779 */
1780 public function get($adClientId, $customChannelId, $optParams = array())
1781 {
1782 $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1783 $params = array_merge($params, $optParams);
1784 return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel");
1785 }
1786
1787 /**
1788 * List all custom channels in the specified ad client for this AdSense account.
1789 * (customchannels.listCustomchannels)
1790 *
1791 * @param string $adClientId Ad client for which to list custom channels.
1792 * @param array $optParams Optional parameters.
1793 *
1794 * @opt_param int maxResults The maximum number of custom channels to include in
1795 * the response, used for paging.
1796 * @opt_param string pageToken A continuation token, used to page through custom
1797 * channels. To retrieve the next page, set this parameter to the value of
1798 * "nextPageToken" from the previous response.
1799 * @return Google_Service_AdSense_CustomChannels
1800 */
1801 public function listCustomchannels($adClientId, $optParams = array())
1802 {
1803 $params = array('adClientId' => $adClientId);
1804 $params = array_merge($params, $optParams);
1805 return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
1806 }
1807 }
1808
1809 /**
1810 * The "adunits" collection of methods.
1811 * Typical usage is:
1812 * <code>
1813 * $adsenseService = new Google_Service_AdSense(...);
1814 * $adunits = $adsenseService->adunits;
1815 * </code>
1816 */
1817 class Google_Service_AdSense_CustomchannelsAdunits_Resource extends Google_Service_Resource
1818 {
1819
1820 /**
1821 * List all ad units in the specified custom channel.
1822 * (adunits.listCustomchannelsAdunits)
1823 *
1824 * @param string $adClientId Ad client which contains the custom channel.
1825 * @param string $customChannelId Custom channel for which to list ad units.
1826 * @param array $optParams Optional parameters.
1827 *
1828 * @opt_param bool includeInactive Whether to include inactive ad units.
1829 * Default: true.
1830 * @opt_param int maxResults The maximum number of ad units to include in the
1831 * response, used for paging.
1832 * @opt_param string pageToken A continuation token, used to page through ad
1833 * units. To retrieve the next page, set this parameter to the value of
1834 * "nextPageToken" from the previous response.
1835 * @return Google_Service_AdSense_AdUnits
1836 */
1837 public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array())
1838 {
1839 $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1840 $params = array_merge($params, $optParams);
1841 return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
1842 }
1843 }
1844
1845 /**
1846 * The "metadata" collection of methods.
1847 * Typical usage is:
1848 * <code>
1849 * $adsenseService = new Google_Service_AdSense(...);
1850 * $metadata = $adsenseService->metadata;
1851 * </code>
1852 */
1853 class Google_Service_AdSense_Metadata_Resource extends Google_Service_Resource
1854 {
1855 }
1856
1857 /**
1858 * The "dimensions" collection of methods.
1859 * Typical usage is:
1860 * <code>
1861 * $adsenseService = new Google_Service_AdSense(...);
1862 * $dimensions = $adsenseService->dimensions;
1863 * </code>
1864 */
1865 class Google_Service_AdSense_MetadataDimensions_Resource extends Google_Service_Resource
1866 {
1867
1868 /**
1869 * List the metadata for the dimensions available to this AdSense account.
1870 * (dimensions.listMetadataDimensions)
1871 *
1872 * @param array $optParams Optional parameters.
1873 * @return Google_Service_AdSense_Metadata
1874 */
1875 public function listMetadataDimensions($optParams = array())
1876 {
1877 $params = array();
1878 $params = array_merge($params, $optParams);
1879 return $this->call('list', array($params), "Google_Service_AdSense_Metadata");
1880 }
1881 }
1882 /**
1883 * The "metrics" collection of methods.
1884 * Typical usage is:
1885 * <code>
1886 * $adsenseService = new Google_Service_AdSense(...);
1887 * $metrics = $adsenseService->metrics;
1888 * </code>
1889 */
1890 class Google_Service_AdSense_MetadataMetrics_Resource extends Google_Service_Resource
1891 {
1892
1893 /**
1894 * List the metadata for the metrics available to this AdSense account.
1895 * (metrics.listMetadataMetrics)
1896 *
1897 * @param array $optParams Optional parameters.
1898 * @return Google_Service_AdSense_Metadata
1899 */
1900 public function listMetadataMetrics($optParams = array())
1901 {
1902 $params = array();
1903 $params = array_merge($params, $optParams);
1904 return $this->call('list', array($params), "Google_Service_AdSense_Metadata");
1905 }
1906 }
1907
1908 /**
1909 * The "payments" collection of methods.
1910 * Typical usage is:
1911 * <code>
1912 * $adsenseService = new Google_Service_AdSense(...);
1913 * $payments = $adsenseService->payments;
1914 * </code>
1915 */
1916 class Google_Service_AdSense_Payments_Resource extends Google_Service_Resource
1917 {
1918
1919 /**
1920 * List the payments for this AdSense account. (payments.listPayments)
1921 *
1922 * @param array $optParams Optional parameters.
1923 * @return Google_Service_AdSense_Payments
1924 */
1925 public function listPayments($optParams = array())
1926 {
1927 $params = array();
1928 $params = array_merge($params, $optParams);
1929 return $this->call('list', array($params), "Google_Service_AdSense_Payments");
1930 }
1931 }
1932
1933 /**
1934 * The "reports" collection of methods.
1935 * Typical usage is:
1936 * <code>
1937 * $adsenseService = new Google_Service_AdSense(...);
1938 * $reports = $adsenseService->reports;
1939 * </code>
1940 */
1941 class Google_Service_AdSense_Reports_Resource extends Google_Service_Resource
1942 {
1943
1944 /**
1945 * Generate an AdSense report based on the report request sent in the query
1946 * parameters. Returns the result as JSON; to retrieve output in CSV format
1947 * specify "alt=csv" as a query parameter. (reports.generate)
1948 *
1949 * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
1950 * format, inclusive.
1951 * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
1952 * format, inclusive.
1953 * @param array $optParams Optional parameters.
1954 *
1955 * @opt_param string accountId Accounts upon which to report.
1956 * @opt_param string currency Optional currency to use when reporting on
1957 * monetary metrics. Defaults to the account's currency if not set.
1958 * @opt_param string dimension Dimensions to base the report on.
1959 * @opt_param string filter Filters to be run on the report.
1960 * @opt_param string locale Optional locale to use for translating report output
1961 * to a local language. Defaults to "en_US" if not specified.
1962 * @opt_param int maxResults The maximum number of rows of report data to
1963 * return.
1964 * @opt_param string metric Numeric columns to include in the report.
1965 * @opt_param string sort The name of a dimension or metric to sort the
1966 * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
1967 * sort descending. If no prefix is specified, the column is sorted ascending.
1968 * @opt_param int startIndex Index of the first row of report data to return.
1969 * @opt_param bool useTimezoneReporting Whether the report should be generated
1970 * in the AdSense account's local timezone. If false default PST/PDT timezone
1971 * will be used.
1972 * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
1973 */
1974 public function generate($startDate, $endDate, $optParams = array())
1975 {
1976 $params = array('startDate' => $startDate, 'endDate' => $endDate);
1977 $params = array_merge($params, $optParams);
1978 return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
1979 }
1980 }
1981
1982 /**
1983 * The "saved" collection of methods.
1984 * Typical usage is:
1985 * <code>
1986 * $adsenseService = new Google_Service_AdSense(...);
1987 * $saved = $adsenseService->saved;
1988 * </code>
1989 */
1990 class Google_Service_AdSense_ReportsSaved_Resource extends Google_Service_Resource
1991 {
1992
1993 /**
1994 * Generate an AdSense report based on the saved report ID sent in the query
1995 * parameters. (saved.generate)
1996 *
1997 * @param string $savedReportId The saved report to retrieve.
1998 * @param array $optParams Optional parameters.
1999 *
2000 * @opt_param string locale Optional locale to use for translating report output
2001 * to a local language. Defaults to "en_US" if not specified.
2002 * @opt_param int maxResults The maximum number of rows of report data to
2003 * return.
2004 * @opt_param int startIndex Index of the first row of report data to return.
2005 * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
2006 */
2007 public function generate($savedReportId, $optParams = array())
2008 {
2009 $params = array('savedReportId' => $savedReportId);
2010 $params = array_merge($params, $optParams);
2011 return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
2012 }
2013
2014 /**
2015 * List all saved reports in this AdSense account. (saved.listReportsSaved)
2016 *
2017 * @param array $optParams Optional parameters.
2018 *
2019 * @opt_param int maxResults The maximum number of saved reports to include in
2020 * the response, used for paging.
2021 * @opt_param string pageToken A continuation token, used to page through saved
2022 * reports. To retrieve the next page, set this parameter to the value of
2023 * "nextPageToken" from the previous response.
2024 * @return Google_Service_AdSense_SavedReports
2025 */
2026 public function listReportsSaved($optParams = array())
2027 {
2028 $params = array();
2029 $params = array_merge($params, $optParams);
2030 return $this->call('list', array($params), "Google_Service_AdSense_SavedReports");
2031 }
2032 }
2033
2034 /**
2035 * The "savedadstyles" collection of methods.
2036 * Typical usage is:
2037 * <code>
2038 * $adsenseService = new Google_Service_AdSense(...);
2039 * $savedadstyles = $adsenseService->savedadstyles;
2040 * </code>
2041 */
2042 class Google_Service_AdSense_Savedadstyles_Resource extends Google_Service_Resource
2043 {
2044
2045 /**
2046 * Get a specific saved ad style from the user's account. (savedadstyles.get)
2047 *
2048 * @param string $savedAdStyleId Saved ad style to retrieve.
2049 * @param array $optParams Optional parameters.
2050 * @return Google_Service_AdSense_SavedAdStyle
2051 */
2052 public function get($savedAdStyleId, $optParams = array())
2053 {
2054 $params = array('savedAdStyleId' => $savedAdStyleId);
2055 $params = array_merge($params, $optParams);
2056 return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle");
2057 }
2058
2059 /**
2060 * List all saved ad styles in the user's account.
2061 * (savedadstyles.listSavedadstyles)
2062 *
2063 * @param array $optParams Optional parameters.
2064 *
2065 * @opt_param int maxResults The maximum number of saved ad styles to include in
2066 * the response, used for paging.
2067 * @opt_param string pageToken A continuation token, used to page through saved
2068 * ad styles. To retrieve the next page, set this parameter to the value of
2069 * "nextPageToken" from the previous response.
2070 * @return Google_Service_AdSense_SavedAdStyles
2071 */
2072 public function listSavedadstyles($optParams = array())
2073 {
2074 $params = array();
2075 $params = array_merge($params, $optParams);
2076 return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles");
2077 }
2078 }
2079
2080 /**
2081 * The "urlchannels" collection of methods.
2082 * Typical usage is:
2083 * <code>
2084 * $adsenseService = new Google_Service_AdSense(...);
2085 * $urlchannels = $adsenseService->urlchannels;
2086 * </code>
2087 */
2088 class Google_Service_AdSense_Urlchannels_Resource extends Google_Service_Resource
2089 {
2090
2091 /**
2092 * List all URL channels in the specified ad client for this AdSense account.
2093 * (urlchannels.listUrlchannels)
2094 *
2095 * @param string $adClientId Ad client for which to list URL channels.
2096 * @param array $optParams Optional parameters.
2097 *
2098 * @opt_param int maxResults The maximum number of URL channels to include in
2099 * the response, used for paging.
2100 * @opt_param string pageToken A continuation token, used to page through URL
2101 * channels. To retrieve the next page, set this parameter to the value of
2102 * "nextPageToken" from the previous response.
2103 * @return Google_Service_AdSense_UrlChannels
2104 */
2105 public function listUrlchannels($adClientId, $optParams = array())
2106 {
2107 $params = array('adClientId' => $adClientId);
2108 $params = array_merge($params, $optParams);
2109 return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels");
2110 }
2111 }
2112
2113
2114
2115
2116 class Google_Service_AdSense_Account extends Google_Collection
2117 {
2118 protected $collection_key = 'subAccounts';
2119 protected $internal_gapi_mappings = array(
2120 "creationTime" => "creation_time",
2121 );
2122 public $creationTime;
2123 public $id;
2124 public $kind;
2125 public $name;
2126 public $premium;
2127 protected $subAccountsType = 'Google_Service_AdSense_Account';
2128 protected $subAccountsDataType = 'array';
2129 public $timezone;
2130
2131
2132 public function setCreationTime($creationTime)
2133 {
2134 $this->creationTime = $creationTime;
2135 }
2136 public function getCreationTime()
2137 {
2138 return $this->creationTime;
2139 }
2140 public function setId($id)
2141 {
2142 $this->id = $id;
2143 }
2144 public function getId()
2145 {
2146 return $this->id;
2147 }
2148 public function setKind($kind)
2149 {
2150 $this->kind = $kind;
2151 }
2152 public function getKind()
2153 {
2154 return $this->kind;
2155 }
2156 public function setName($name)
2157 {
2158 $this->name = $name;
2159 }
2160 public function getName()
2161 {
2162 return $this->name;
2163 }
2164 public function setPremium($premium)
2165 {
2166 $this->premium = $premium;
2167 }
2168 public function getPremium()
2169 {
2170 return $this->premium;
2171 }
2172 public function setSubAccounts($subAccounts)
2173 {
2174 $this->subAccounts = $subAccounts;
2175 }
2176 public function getSubAccounts()
2177 {
2178 return $this->subAccounts;
2179 }
2180 public function setTimezone($timezone)
2181 {
2182 $this->timezone = $timezone;
2183 }
2184 public function getTimezone()
2185 {
2186 return $this->timezone;
2187 }
2188 }
2189
2190 class Google_Service_AdSense_Accounts extends Google_Collection
2191 {
2192 protected $collection_key = 'items';
2193 protected $internal_gapi_mappings = array(
2194 );
2195 public $etag;
2196 protected $itemsType = 'Google_Service_AdSense_Account';
2197 protected $itemsDataType = 'array';
2198 public $kind;
2199 public $nextPageToken;
2200
2201
2202 public function setEtag($etag)
2203 {
2204 $this->etag = $etag;
2205 }
2206 public function getEtag()
2207 {
2208 return $this->etag;
2209 }
2210 public function setItems($items)
2211 {
2212 $this->items = $items;
2213 }
2214 public function getItems()
2215 {
2216 return $this->items;
2217 }
2218 public function setKind($kind)
2219 {
2220 $this->kind = $kind;
2221 }
2222 public function getKind()
2223 {
2224 return $this->kind;
2225 }
2226 public function setNextPageToken($nextPageToken)
2227 {
2228 $this->nextPageToken = $nextPageToken;
2229 }
2230 public function getNextPageToken()
2231 {
2232 return $this->nextPageToken;
2233 }
2234 }
2235
2236 class Google_Service_AdSense_AdClient extends Google_Model
2237 {
2238 protected $internal_gapi_mappings = array(
2239 );
2240 public $arcOptIn;
2241 public $arcReviewMode;
2242 public $id;
2243 public $kind;
2244 public $productCode;
2245 public $supportsReporting;
2246
2247
2248 public function setArcOptIn($arcOptIn)
2249 {
2250 $this->arcOptIn = $arcOptIn;
2251 }
2252 public function getArcOptIn()
2253 {
2254 return $this->arcOptIn;
2255 }
2256 public function setArcReviewMode($arcReviewMode)
2257 {
2258 $this->arcReviewMode = $arcReviewMode;
2259 }
2260 public function getArcReviewMode()
2261 {
2262 return $this->arcReviewMode;
2263 }
2264 public function setId($id)
2265 {
2266 $this->id = $id;
2267 }
2268 public function getId()
2269 {
2270 return $this->id;
2271 }
2272 public function setKind($kind)
2273 {
2274 $this->kind = $kind;
2275 }
2276 public function getKind()
2277 {
2278 return $this->kind;
2279 }
2280 public function setProductCode($productCode)
2281 {
2282 $this->productCode = $productCode;
2283 }
2284 public function getProductCode()
2285 {
2286 return $this->productCode;
2287 }
2288 public function setSupportsReporting($supportsReporting)
2289 {
2290 $this->supportsReporting = $supportsReporting;
2291 }
2292 public function getSupportsReporting()
2293 {
2294 return $this->supportsReporting;
2295 }
2296 }
2297
2298 class Google_Service_AdSense_AdClients extends Google_Collection
2299 {
2300 protected $collection_key = 'items';
2301 protected $internal_gapi_mappings = array(
2302 );
2303 public $etag;
2304 protected $itemsType = 'Google_Service_AdSense_AdClient';
2305 protected $itemsDataType = 'array';
2306 public $kind;
2307 public $nextPageToken;
2308
2309
2310 public function setEtag($etag)
2311 {
2312 $this->etag = $etag;
2313 }
2314 public function getEtag()
2315 {
2316 return $this->etag;
2317 }
2318 public function setItems($items)
2319 {
2320 $this->items = $items;
2321 }
2322 public function getItems()
2323 {
2324 return $this->items;
2325 }
2326 public function setKind($kind)
2327 {
2328 $this->kind = $kind;
2329 }
2330 public function getKind()
2331 {
2332 return $this->kind;
2333 }
2334 public function setNextPageToken($nextPageToken)
2335 {
2336 $this->nextPageToken = $nextPageToken;
2337 }
2338 public function getNextPageToken()
2339 {
2340 return $this->nextPageToken;
2341 }
2342 }
2343
2344 class Google_Service_AdSense_AdCode extends Google_Model
2345 {
2346 protected $internal_gapi_mappings = array(
2347 );
2348 public $adCode;
2349 public $kind;
2350
2351
2352 public function setAdCode($adCode)
2353 {
2354 $this->adCode = $adCode;
2355 }
2356 public function getAdCode()
2357 {
2358 return $this->adCode;
2359 }
2360 public function setKind($kind)
2361 {
2362 $this->kind = $kind;
2363 }
2364 public function getKind()
2365 {
2366 return $this->kind;
2367 }
2368 }
2369
2370 class Google_Service_AdSense_AdStyle extends Google_Model
2371 {
2372 protected $internal_gapi_mappings = array(
2373 );
2374 protected $colorsType = 'Google_Service_AdSense_AdStyleColors';
2375 protected $colorsDataType = '';
2376 public $corners;
2377 protected $fontType = 'Google_Service_AdSense_AdStyleFont';
2378 protected $fontDataType = '';
2379 public $kind;
2380
2381
2382 public function setColors(Google_Service_AdSense_AdStyleColors $colors)
2383 {
2384 $this->colors = $colors;
2385 }
2386 public function getColors()
2387 {
2388 return $this->colors;
2389 }
2390 public function setCorners($corners)
2391 {
2392 $this->corners = $corners;
2393 }
2394 public function getCorners()
2395 {
2396 return $this->corners;
2397 }
2398 public function setFont(Google_Service_AdSense_AdStyleFont $font)
2399 {
2400 $this->font = $font;
2401 }
2402 public function getFont()
2403 {
2404 return $this->font;
2405 }
2406 public function setKind($kind)
2407 {
2408 $this->kind = $kind;
2409 }
2410 public function getKind()
2411 {
2412 return $this->kind;
2413 }
2414 }
2415
2416 class Google_Service_AdSense_AdStyleColors extends Google_Model
2417 {
2418 protected $internal_gapi_mappings = array(
2419 );
2420 public $background;
2421 public $border;
2422 public $text;
2423 public $title;
2424 public $url;
2425
2426
2427 public function setBackground($background)
2428 {
2429 $this->background = $background;
2430 }
2431 public function getBackground()
2432 {
2433 return $this->background;
2434 }
2435 public function setBorder($border)
2436 {
2437 $this->border = $border;
2438 }
2439 public function getBorder()
2440 {
2441 return $this->border;
2442 }
2443 public function setText($text)
2444 {
2445 $this->text = $text;
2446 }
2447 public function getText()
2448 {
2449 return $this->text;
2450 }
2451 public function setTitle($title)
2452 {
2453 $this->title = $title;
2454 }
2455 public function getTitle()
2456 {
2457 return $this->title;
2458 }
2459 public function setUrl($url)
2460 {
2461 $this->url = $url;
2462 }
2463 public function getUrl()
2464 {
2465 return $this->url;
2466 }
2467 }
2468
2469 class Google_Service_AdSense_AdStyleFont extends Google_Model
2470 {
2471 protected $internal_gapi_mappings = array(
2472 );
2473 public $family;
2474 public $size;
2475
2476
2477 public function setFamily($family)
2478 {
2479 $this->family = $family;
2480 }
2481 public function getFamily()
2482 {
2483 return $this->family;
2484 }
2485 public function setSize($size)
2486 {
2487 $this->size = $size;
2488 }
2489 public function getSize()
2490 {
2491 return $this->size;
2492 }
2493 }
2494
2495 class Google_Service_AdSense_AdUnit extends Google_Model
2496 {
2497 protected $internal_gapi_mappings = array(
2498 );
2499 public $code;
2500 protected $contentAdsSettingsType = 'Google_Service_AdSense_AdUnitContentAdsSettings';
2501 protected $contentAdsSettingsDataType = '';
2502 protected $customStyleType = 'Google_Service_AdSense_AdStyle';
2503 protected $customStyleDataType = '';
2504 protected $feedAdsSettingsType = 'Google_Service_AdSense_AdUnitFeedAdsSettings';
2505 protected $feedAdsSettingsDataType = '';
2506 public $id;
2507 public $kind;
2508 protected $mobileContentAdsSettingsType = 'Google_Service_AdSense_AdUnitMobileContentAdsSettings';
2509 protected $mobileContentAdsSettingsDataType = '';
2510 public $name;
2511 public $savedStyleId;
2512 public $status;
2513
2514
2515 public function setCode($code)
2516 {
2517 $this->code = $code;
2518 }
2519 public function getCode()
2520 {
2521 return $this->code;
2522 }
2523 public function setContentAdsSettings(Google_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings)
2524 {
2525 $this->contentAdsSettings = $contentAdsSettings;
2526 }
2527 public function getContentAdsSettings()
2528 {
2529 return $this->contentAdsSettings;
2530 }
2531 public function setCustomStyle(Google_Service_AdSense_AdStyle $customStyle)
2532 {
2533 $this->customStyle = $customStyle;
2534 }
2535 public function getCustomStyle()
2536 {
2537 return $this->customStyle;
2538 }
2539 public function setFeedAdsSettings(Google_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings)
2540 {
2541 $this->feedAdsSettings = $feedAdsSettings;
2542 }
2543 public function getFeedAdsSettings()
2544 {
2545 return $this->feedAdsSettings;
2546 }
2547 public function setId($id)
2548 {
2549 $this->id = $id;
2550 }
2551 public function getId()
2552 {
2553 return $this->id;
2554 }
2555 public function setKind($kind)
2556 {
2557 $this->kind = $kind;
2558 }
2559 public function getKind()
2560 {
2561 return $this->kind;
2562 }
2563 public function setMobileContentAdsSettings(Google_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
2564 {
2565 $this->mobileContentAdsSettings = $mobileContentAdsSettings;
2566 }
2567 public function getMobileContentAdsSettings()
2568 {
2569 return $this->mobileContentAdsSettings;
2570 }
2571 public function setName($name)
2572 {
2573 $this->name = $name;
2574 }
2575 public function getName()
2576 {
2577 return $this->name;
2578 }
2579 public function setSavedStyleId($savedStyleId)
2580 {
2581 $this->savedStyleId = $savedStyleId;
2582 }
2583 public function getSavedStyleId()
2584 {
2585 return $this->savedStyleId;
2586 }
2587 public function setStatus($status)
2588 {
2589 $this->status = $status;
2590 }
2591 public function getStatus()
2592 {
2593 return $this->status;
2594 }
2595 }
2596
2597 class Google_Service_AdSense_AdUnitContentAdsSettings extends Google_Model
2598 {
2599 protected $internal_gapi_mappings = array(
2600 );
2601 protected $backupOptionType = 'Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption';
2602 protected $backupOptionDataType = '';
2603 public $size;
2604 public $type;
2605
2606
2607 public function setBackupOption(Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption $backupOption)
2608 {
2609 $this->backupOption = $backupOption;
2610 }
2611 public function getBackupOption()
2612 {
2613 return $this->backupOption;
2614 }
2615 public function setSize($size)
2616 {
2617 $this->size = $size;
2618 }
2619 public function getSize()
2620 {
2621 return $this->size;
2622 }
2623 public function setType($type)
2624 {
2625 $this->type = $type;
2626 }
2627 public function getType()
2628 {
2629 return $this->type;
2630 }
2631 }
2632
2633 class Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption extends Google_Model
2634 {
2635 protected $internal_gapi_mappings = array(
2636 );
2637 public $color;
2638 public $type;
2639 public $url;
2640
2641
2642 public function setColor($color)
2643 {
2644 $this->color = $color;
2645 }
2646 public function getColor()
2647 {
2648 return $this->color;
2649 }
2650 public function setType($type)
2651 {
2652 $this->type = $type;
2653 }
2654 public function getType()
2655 {
2656 return $this->type;
2657 }
2658 public function setUrl($url)
2659 {
2660 $this->url = $url;
2661 }
2662 public function getUrl()
2663 {
2664 return $this->url;
2665 }
2666 }
2667
2668 class Google_Service_AdSense_AdUnitFeedAdsSettings extends Google_Model
2669 {
2670 protected $internal_gapi_mappings = array(
2671 );
2672 public $adPosition;
2673 public $frequency;
2674 public $minimumWordCount;
2675 public $type;
2676
2677
2678 public function setAdPosition($adPosition)
2679 {
2680 $this->adPosition = $adPosition;
2681 }
2682 public function getAdPosition()
2683 {
2684 return $this->adPosition;
2685 }
2686 public function setFrequency($frequency)
2687 {
2688 $this->frequency = $frequency;
2689 }
2690 public function getFrequency()
2691 {
2692 return $this->frequency;
2693 }
2694 public function setMinimumWordCount($minimumWordCount)
2695 {
2696 $this->minimumWordCount = $minimumWordCount;
2697 }
2698 public function getMinimumWordCount()
2699 {
2700 return $this->minimumWordCount;
2701 }
2702 public function setType($type)
2703 {
2704 $this->type = $type;
2705 }
2706 public function getType()
2707 {
2708 return $this->type;
2709 }
2710 }
2711
2712 class Google_Service_AdSense_AdUnitMobileContentAdsSettings extends Google_Model
2713 {
2714 protected $internal_gapi_mappings = array(
2715 );
2716 public $markupLanguage;
2717 public $scriptingLanguage;
2718 public $size;
2719 public $type;
2720
2721
2722 public function setMarkupLanguage($markupLanguage)
2723 {
2724 $this->markupLanguage = $markupLanguage;
2725 }
2726 public function getMarkupLanguage()
2727 {
2728 return $this->markupLanguage;
2729 }
2730 public function setScriptingLanguage($scriptingLanguage)
2731 {
2732 $this->scriptingLanguage = $scriptingLanguage;
2733 }
2734 public function getScriptingLanguage()
2735 {
2736 return $this->scriptingLanguage;
2737 }
2738 public function setSize($size)
2739 {
2740 $this->size = $size;
2741 }
2742 public function getSize()
2743 {
2744 return $this->size;
2745 }
2746 public function setType($type)
2747 {
2748 $this->type = $type;
2749 }
2750 public function getType()
2751 {
2752 return $this->type;
2753 }
2754 }
2755
2756 class Google_Service_AdSense_AdUnits extends Google_Collection
2757 {
2758 protected $collection_key = 'items';
2759 protected $internal_gapi_mappings = array(
2760 );
2761 public $etag;
2762 protected $itemsType = 'Google_Service_AdSense_AdUnit';
2763 protected $itemsDataType = 'array';
2764 public $kind;
2765 public $nextPageToken;
2766
2767
2768 public function setEtag($etag)
2769 {
2770 $this->etag = $etag;
2771 }
2772 public function getEtag()
2773 {
2774 return $this->etag;
2775 }
2776 public function setItems($items)
2777 {
2778 $this->items = $items;
2779 }
2780 public function getItems()
2781 {
2782 return $this->items;
2783 }
2784 public function setKind($kind)
2785 {
2786 $this->kind = $kind;
2787 }
2788 public function getKind()
2789 {
2790 return $this->kind;
2791 }
2792 public function setNextPageToken($nextPageToken)
2793 {
2794 $this->nextPageToken = $nextPageToken;
2795 }
2796 public function getNextPageToken()
2797 {
2798 return $this->nextPageToken;
2799 }
2800 }
2801
2802 class Google_Service_AdSense_AdsenseReportsGenerateResponse extends Google_Collection
2803 {
2804 protected $collection_key = 'warnings';
2805 protected $internal_gapi_mappings = array(
2806 );
2807 public $averages;
2808 public $endDate;
2809 protected $headersType = 'Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders';
2810 protected $headersDataType = 'array';
2811 public $kind;
2812 public $rows;
2813 public $startDate;
2814 public $totalMatchedRows;
2815 public $totals;
2816 public $warnings;
2817
2818
2819 public function setAverages($averages)
2820 {
2821 $this->averages = $averages;
2822 }
2823 public function getAverages()
2824 {
2825 return $this->averages;
2826 }
2827 public function setEndDate($endDate)
2828 {
2829 $this->endDate = $endDate;
2830 }
2831 public function getEndDate()
2832 {
2833 return $this->endDate;
2834 }
2835 public function setHeaders($headers)
2836 {
2837 $this->headers = $headers;
2838 }
2839 public function getHeaders()
2840 {
2841 return $this->headers;
2842 }
2843 public function setKind($kind)
2844 {
2845 $this->kind = $kind;
2846 }
2847 public function getKind()
2848 {
2849 return $this->kind;
2850 }
2851 public function setRows($rows)
2852 {
2853 $this->rows = $rows;
2854 }
2855 public function getRows()
2856 {
2857 return $this->rows;
2858 }
2859 public function setStartDate($startDate)
2860 {
2861 $this->startDate = $startDate;
2862 }
2863 public function getStartDate()
2864 {
2865 return $this->startDate;
2866 }
2867 public function setTotalMatchedRows($totalMatchedRows)
2868 {
2869 $this->totalMatchedRows = $totalMatchedRows;
2870 }
2871 public function getTotalMatchedRows()
2872 {
2873 return $this->totalMatchedRows;
2874 }
2875 public function setTotals($totals)
2876 {
2877 $this->totals = $totals;
2878 }
2879 public function getTotals()
2880 {
2881 return $this->totals;
2882 }
2883 public function setWarnings($warnings)
2884 {
2885 $this->warnings = $warnings;
2886 }
2887 public function getWarnings()
2888 {
2889 return $this->warnings;
2890 }
2891 }
2892
2893 class Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders extends Google_Model
2894 {
2895 protected $internal_gapi_mappings = array(
2896 );
2897 public $currency;
2898 public $name;
2899 public $type;
2900
2901
2902 public function setCurrency($currency)
2903 {
2904 $this->currency = $currency;
2905 }
2906 public function getCurrency()
2907 {
2908 return $this->currency;
2909 }
2910 public function setName($name)
2911 {
2912 $this->name = $name;
2913 }
2914 public function getName()
2915 {
2916 return $this->name;
2917 }
2918 public function setType($type)
2919 {
2920 $this->type = $type;
2921 }
2922 public function getType()
2923 {
2924 return $this->type;
2925 }
2926 }
2927
2928 class Google_Service_AdSense_Alert extends Google_Model
2929 {
2930 protected $internal_gapi_mappings = array(
2931 );
2932 public $id;
2933 public $isDismissible;
2934 public $kind;
2935 public $message;
2936 public $severity;
2937 public $type;
2938
2939
2940 public function setId($id)
2941 {
2942 $this->id = $id;
2943 }
2944 public function getId()
2945 {
2946 return $this->id;
2947 }
2948 public function setIsDismissible($isDismissible)
2949 {
2950 $this->isDismissible = $isDismissible;
2951 }
2952 public function getIsDismissible()
2953 {
2954 return $this->isDismissible;
2955 }
2956 public function setKind($kind)
2957 {
2958 $this->kind = $kind;
2959 }
2960 public function getKind()
2961 {
2962 return $this->kind;
2963 }
2964 public function setMessage($message)
2965 {
2966 $this->message = $message;
2967 }
2968 public function getMessage()
2969 {
2970 return $this->message;
2971 }
2972 public function setSeverity($severity)
2973 {
2974 $this->severity = $severity;
2975 }
2976 public function getSeverity()
2977 {
2978 return $this->severity;
2979 }
2980 public function setType($type)
2981 {
2982 $this->type = $type;
2983 }
2984 public function getType()
2985 {
2986 return $this->type;
2987 }
2988 }
2989
2990 class Google_Service_AdSense_Alerts extends Google_Collection
2991 {
2992 protected $collection_key = 'items';
2993 protected $internal_gapi_mappings = array(
2994 );
2995 protected $itemsType = 'Google_Service_AdSense_Alert';
2996 protected $itemsDataType = 'array';
2997 public $kind;
2998
2999
3000 public function setItems($items)
3001 {
3002 $this->items = $items;
3003 }
3004 public function getItems()
3005 {
3006 return $this->items;
3007 }
3008 public function setKind($kind)
3009 {
3010 $this->kind = $kind;
3011 }
3012 public function getKind()
3013 {
3014 return $this->kind;
3015 }
3016 }
3017
3018 class Google_Service_AdSense_CustomChannel extends Google_Model
3019 {
3020 protected $internal_gapi_mappings = array(
3021 );
3022 public $code;
3023 public $id;
3024 public $kind;
3025 public $name;
3026 protected $targetingInfoType = 'Google_Service_AdSense_CustomChannelTargetingInfo';
3027 protected $targetingInfoDataType = '';
3028
3029
3030 public function setCode($code)
3031 {
3032 $this->code = $code;
3033 }
3034 public function getCode()
3035 {
3036 return $this->code;
3037 }
3038 public function setId($id)
3039 {
3040 $this->id = $id;
3041 }
3042 public function getId()
3043 {
3044 return $this->id;
3045 }
3046 public function setKind($kind)
3047 {
3048 $this->kind = $kind;
3049 }
3050 public function getKind()
3051 {
3052 return $this->kind;
3053 }
3054 public function setName($name)
3055 {
3056 $this->name = $name;
3057 }
3058 public function getName()
3059 {
3060 return $this->name;
3061 }
3062 public function setTargetingInfo(Google_Service_AdSense_CustomChannelTargetingInfo $targetingInfo)
3063 {
3064 $this->targetingInfo = $targetingInfo;
3065 }
3066 public function getTargetingInfo()
3067 {
3068 return $this->targetingInfo;
3069 }
3070 }
3071
3072 class Google_Service_AdSense_CustomChannelTargetingInfo extends Google_Model
3073 {
3074 protected $internal_gapi_mappings = array(
3075 );
3076 public $adsAppearOn;
3077 public $description;
3078 public $location;
3079 public $siteLanguage;
3080
3081
3082 public function setAdsAppearOn($adsAppearOn)
3083 {
3084 $this->adsAppearOn = $adsAppearOn;
3085 }
3086 public function getAdsAppearOn()
3087 {
3088 return $this->adsAppearOn;
3089 }
3090 public function setDescription($description)
3091 {
3092 $this->description = $description;
3093 }
3094 public function getDescription()
3095 {
3096 return $this->description;
3097 }
3098 public function setLocation($location)
3099 {
3100 $this->location = $location;
3101 }
3102 public function getLocation()
3103 {
3104 return $this->location;
3105 }
3106 public function setSiteLanguage($siteLanguage)
3107 {
3108 $this->siteLanguage = $siteLanguage;
3109 }
3110 public function getSiteLanguage()
3111 {
3112 return $this->siteLanguage;
3113 }
3114 }
3115
3116 class Google_Service_AdSense_CustomChannels extends Google_Collection
3117 {
3118 protected $collection_key = 'items';
3119 protected $internal_gapi_mappings = array(
3120 );
3121 public $etag;
3122 protected $itemsType = 'Google_Service_AdSense_CustomChannel';
3123 protected $itemsDataType = 'array';
3124 public $kind;
3125 public $nextPageToken;
3126
3127
3128 public function setEtag($etag)
3129 {
3130 $this->etag = $etag;
3131 }
3132 public function getEtag()
3133 {
3134 return $this->etag;
3135 }
3136 public function setItems($items)
3137 {
3138 $this->items = $items;
3139 }
3140 public function getItems()
3141 {
3142 return $this->items;
3143 }
3144 public function setKind($kind)
3145 {
3146 $this->kind = $kind;
3147 }
3148 public function getKind()
3149 {
3150 return $this->kind;
3151 }
3152 public function setNextPageToken($nextPageToken)
3153 {
3154 $this->nextPageToken = $nextPageToken;
3155 }
3156 public function getNextPageToken()
3157 {
3158 return $this->nextPageToken;
3159 }
3160 }
3161
3162 class Google_Service_AdSense_Metadata extends Google_Collection
3163 {
3164 protected $collection_key = 'items';
3165 protected $internal_gapi_mappings = array(
3166 );
3167 protected $itemsType = 'Google_Service_AdSense_ReportingMetadataEntry';
3168 protected $itemsDataType = 'array';
3169 public $kind;
3170
3171
3172 public function setItems($items)
3173 {
3174 $this->items = $items;
3175 }
3176 public function getItems()
3177 {
3178 return $this->items;
3179 }
3180 public function setKind($kind)
3181 {
3182 $this->kind = $kind;
3183 }
3184 public function getKind()
3185 {
3186 return $this->kind;
3187 }
3188 }
3189
3190 class Google_Service_AdSense_Payment extends Google_Model
3191 {
3192 protected $internal_gapi_mappings = array(
3193 );
3194 public $id;
3195 public $kind;
3196 public $paymentAmount;
3197 public $paymentAmountCurrencyCode;
3198 public $paymentDate;
3199
3200
3201 public function setId($id)
3202 {
3203 $this->id = $id;
3204 }
3205 public function getId()
3206 {
3207 return $this->id;
3208 }
3209 public function setKind($kind)
3210 {
3211 $this->kind = $kind;
3212 }
3213 public function getKind()
3214 {
3215 return $this->kind;
3216 }
3217 public function setPaymentAmount($paymentAmount)
3218 {
3219 $this->paymentAmount = $paymentAmount;
3220 }
3221 public function getPaymentAmount()
3222 {
3223 return $this->paymentAmount;
3224 }
3225 public function setPaymentAmountCurrencyCode($paymentAmountCurrencyCode)
3226 {
3227 $this->paymentAmountCurrencyCode = $paymentAmountCurrencyCode;
3228 }
3229 public function getPaymentAmountCurrencyCode()
3230 {
3231 return $this->paymentAmountCurrencyCode;
3232 }
3233 public function setPaymentDate($paymentDate)
3234 {
3235 $this->paymentDate = $paymentDate;
3236 }
3237 public function getPaymentDate()
3238 {
3239 return $this->paymentDate;
3240 }
3241 }
3242
3243 class Google_Service_AdSense_Payments extends Google_Collection
3244 {
3245 protected $collection_key = 'items';
3246 protected $internal_gapi_mappings = array(
3247 );
3248 protected $itemsType = 'Google_Service_AdSense_Payment';
3249 protected $itemsDataType = 'array';
3250 public $kind;
3251
3252
3253 public function setItems($items)
3254 {
3255 $this->items = $items;
3256 }
3257 public function getItems()
3258 {
3259 return $this->items;
3260 }
3261 public function setKind($kind)
3262 {
3263 $this->kind = $kind;
3264 }
3265 public function getKind()
3266 {
3267 return $this->kind;
3268 }
3269 }
3270
3271 class Google_Service_AdSense_ReportingMetadataEntry extends Google_Collection
3272 {
3273 protected $collection_key = 'supportedProducts';
3274 protected $internal_gapi_mappings = array(
3275 );
3276 public $compatibleDimensions;
3277 public $compatibleMetrics;
3278 public $id;
3279 public $kind;
3280 public $requiredDimensions;
3281 public $requiredMetrics;
3282 public $supportedProducts;
3283
3284
3285 public function setCompatibleDimensions($compatibleDimensions)
3286 {
3287 $this->compatibleDimensions = $compatibleDimensions;
3288 }
3289 public function getCompatibleDimensions()
3290 {
3291 return $this->compatibleDimensions;
3292 }
3293 public function setCompatibleMetrics($compatibleMetrics)
3294 {
3295 $this->compatibleMetrics = $compatibleMetrics;
3296 }
3297 public function getCompatibleMetrics()
3298 {
3299 return $this->compatibleMetrics;
3300 }
3301 public function setId($id)
3302 {
3303 $this->id = $id;
3304 }
3305 public function getId()
3306 {
3307 return $this->id;
3308 }
3309 public function setKind($kind)
3310 {
3311 $this->kind = $kind;
3312 }
3313 public function getKind()
3314 {
3315 return $this->kind;
3316 }
3317 public function setRequiredDimensions($requiredDimensions)
3318 {
3319 $this->requiredDimensions = $requiredDimensions;
3320 }
3321 public function getRequiredDimensions()
3322 {
3323 return $this->requiredDimensions;
3324 }
3325 public function setRequiredMetrics($requiredMetrics)
3326 {
3327 $this->requiredMetrics = $requiredMetrics;
3328 }
3329 public function getRequiredMetrics()
3330 {
3331 return $this->requiredMetrics;
3332 }
3333 public function setSupportedProducts($supportedProducts)
3334 {
3335 $this->supportedProducts = $supportedProducts;
3336 }
3337 public function getSupportedProducts()
3338 {
3339 return $this->supportedProducts;
3340 }
3341 }
3342
3343 class Google_Service_AdSense_SavedAdStyle extends Google_Model
3344 {
3345 protected $internal_gapi_mappings = array(
3346 );
3347 protected $adStyleType = 'Google_Service_AdSense_AdStyle';
3348 protected $adStyleDataType = '';
3349 public $id;
3350 public $kind;
3351 public $name;
3352
3353
3354 public function setAdStyle(Google_Service_AdSense_AdStyle $adStyle)
3355 {
3356 $this->adStyle = $adStyle;
3357 }
3358 public function getAdStyle()
3359 {
3360 return $this->adStyle;
3361 }
3362 public function setId($id)
3363 {
3364 $this->id = $id;
3365 }
3366 public function getId()
3367 {
3368 return $this->id;
3369 }
3370 public function setKind($kind)
3371 {
3372 $this->kind = $kind;
3373 }
3374 public function getKind()
3375 {
3376 return $this->kind;
3377 }
3378 public function setName($name)
3379 {
3380 $this->name = $name;
3381 }
3382 public function getName()
3383 {
3384 return $this->name;
3385 }
3386 }
3387
3388 class Google_Service_AdSense_SavedAdStyles extends Google_Collection
3389 {
3390 protected $collection_key = 'items';
3391 protected $internal_gapi_mappings = array(
3392 );
3393 public $etag;
3394 protected $itemsType = 'Google_Service_AdSense_SavedAdStyle';
3395 protected $itemsDataType = 'array';
3396 public $kind;
3397 public $nextPageToken;
3398
3399
3400 public function setEtag($etag)
3401 {
3402 $this->etag = $etag;
3403 }
3404 public function getEtag()
3405 {
3406 return $this->etag;
3407 }
3408 public function setItems($items)
3409 {
3410 $this->items = $items;
3411 }
3412 public function getItems()
3413 {
3414 return $this->items;
3415 }
3416 public function setKind($kind)
3417 {
3418 $this->kind = $kind;
3419 }
3420 public function getKind()
3421 {
3422 return $this->kind;
3423 }
3424 public function setNextPageToken($nextPageToken)
3425 {
3426 $this->nextPageToken = $nextPageToken;
3427 }
3428 public function getNextPageToken()
3429 {
3430 return $this->nextPageToken;
3431 }
3432 }
3433
3434 class Google_Service_AdSense_SavedReport extends Google_Model
3435 {
3436 protected $internal_gapi_mappings = array(
3437 );
3438 public $id;
3439 public $kind;
3440 public $name;
3441
3442
3443 public function setId($id)
3444 {
3445 $this->id = $id;
3446 }
3447 public function getId()
3448 {
3449 return $this->id;
3450 }
3451 public function setKind($kind)
3452 {
3453 $this->kind = $kind;
3454 }
3455 public function getKind()
3456 {
3457 return $this->kind;
3458 }
3459 public function setName($name)
3460 {
3461 $this->name = $name;
3462 }
3463 public function getName()
3464 {
3465 return $this->name;
3466 }
3467 }
3468
3469 class Google_Service_AdSense_SavedReports extends Google_Collection
3470 {
3471 protected $collection_key = 'items';
3472 protected $internal_gapi_mappings = array(
3473 );
3474 public $etag;
3475 protected $itemsType = 'Google_Service_AdSense_SavedReport';
3476 protected $itemsDataType = 'array';
3477 public $kind;
3478 public $nextPageToken;
3479
3480
3481 public function setEtag($etag)
3482 {
3483 $this->etag = $etag;
3484 }
3485 public function getEtag()
3486 {
3487 return $this->etag;
3488 }
3489 public function setItems($items)
3490 {
3491 $this->items = $items;
3492 }
3493 public function getItems()
3494 {
3495 return $this->items;
3496 }
3497 public function setKind($kind)
3498 {
3499 $this->kind = $kind;
3500 }
3501 public function getKind()
3502 {
3503 return $this->kind;
3504 }
3505 public function setNextPageToken($nextPageToken)
3506 {
3507 $this->nextPageToken = $nextPageToken;
3508 }
3509 public function getNextPageToken()
3510 {
3511 return $this->nextPageToken;
3512 }
3513 }
3514
3515 class Google_Service_AdSense_UrlChannel extends Google_Model
3516 {
3517 protected $internal_gapi_mappings = array(
3518 );
3519 public $id;
3520 public $kind;
3521 public $urlPattern;
3522
3523
3524 public function setId($id)
3525 {
3526 $this->id = $id;
3527 }
3528 public function getId()
3529 {
3530 return $this->id;
3531 }
3532 public function setKind($kind)
3533 {
3534 $this->kind = $kind;
3535 }
3536 public function getKind()
3537 {
3538 return $this->kind;
3539 }
3540 public function setUrlPattern($urlPattern)
3541 {
3542 $this->urlPattern = $urlPattern;
3543 }
3544 public function getUrlPattern()
3545 {
3546 return $this->urlPattern;
3547 }
3548 }
3549
3550 class Google_Service_AdSense_UrlChannels extends Google_Collection
3551 {
3552 protected $collection_key = 'items';
3553 protected $internal_gapi_mappings = array(
3554 );
3555 public $etag;
3556 protected $itemsType = 'Google_Service_AdSense_UrlChannel';
3557 protected $itemsDataType = 'array';
3558 public $kind;
3559 public $nextPageToken;
3560
3561
3562 public function setEtag($etag)
3563 {
3564 $this->etag = $etag;
3565 }
3566 public function getEtag()
3567 {
3568 return $this->etag;
3569 }
3570 public function setItems($items)
3571 {
3572 $this->items = $items;
3573 }
3574 public function getItems()
3575 {
3576 return $this->items;
3577 }
3578 public function setKind($kind)
3579 {
3580 $this->kind = $kind;
3581 }
3582 public function getKind()
3583 {
3584 return $this->kind;
3585 }
3586 public function setNextPageToken($nextPageToken)
3587 {
3588 $this->nextPageToken = $nextPageToken;
3589 }
3590 public function getNextPageToken()
3591 {
3592 return $this->nextPageToken;
3593 }
3594 }
3595