@@ -16,17 +16,17 @@ |
||
16 | 16 | */ |
17 | 17 | |
18 | 18 | spl_autoload_register( |
19 | - function ($className) { |
|
20 | - $classPath = explode('_', $className); |
|
21 | - if ($classPath[0] != 'Google') { |
|
22 | - return; |
|
23 | - } |
|
24 | - // Drop 'Google', and maximum class file path depth in this project is 3. |
|
25 | - $classPath = array_slice($classPath, 1, 2); |
|
19 | + function ($className) { |
|
20 | + $classPath = explode('_', $className); |
|
21 | + if ($classPath[0] != 'Google') { |
|
22 | + return; |
|
23 | + } |
|
24 | + // Drop 'Google', and maximum class file path depth in this project is 3. |
|
25 | + $classPath = array_slice($classPath, 1, 2); |
|
26 | 26 | |
27 | - $filePath = dirname(__FILE__) . '/' . implode('/', $classPath) . '.php'; |
|
28 | - if (file_exists($filePath)) { |
|
29 | - require_once($filePath); |
|
30 | - } |
|
31 | - } |
|
27 | + $filePath = dirname(__FILE__) . '/' . implode('/', $classPath) . '.php'; |
|
28 | + if (file_exists($filePath)) { |
|
29 | + require_once($filePath); |
|
30 | + } |
|
31 | + } |
|
32 | 32 | ); |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | */ |
17 | 17 | |
18 | 18 | spl_autoload_register( |
19 | - function ($className) { |
|
19 | + function($className) { |
|
20 | 20 | $classPath = explode('_', $className); |
21 | 21 | if ($classPath[0] != 'Google') { |
22 | 22 | return; |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | // Drop 'Google', and maximum class file path depth in this project is 3. |
25 | 25 | $classPath = array_slice($classPath, 1, 2); |
26 | 26 | |
27 | - $filePath = dirname(__FILE__) . '/' . implode('/', $classPath) . '.php'; |
|
27 | + $filePath = dirname(__FILE__).'/'.implode('/', $classPath).'.php'; |
|
28 | 28 | if (file_exists($filePath)) { |
29 | 29 | require_once($filePath); |
30 | 30 | } |
@@ -38,11 +38,11 @@ discard block |
||
38 | 38 | */ |
39 | 39 | public function __construct(Google_Client $client, /*Psr\Log\LoggerInterface*/ $logger = null) |
40 | 40 | { |
41 | - parent::__construct($client); |
|
41 | + parent::__construct($client); |
|
42 | 42 | |
43 | - if ($logger) { |
|
44 | - $this->setLogger($logger); |
|
45 | - } |
|
43 | + if ($logger) { |
|
44 | + $this->setLogger($logger); |
|
45 | + } |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function setLogger(/*Psr\Log\LoggerInterface*/ $logger) |
58 | 58 | { |
59 | - $this->logger = $logger; |
|
59 | + $this->logger = $logger; |
|
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | */ |
65 | 65 | public function shouldHandle($level) |
66 | 66 | { |
67 | - return isset($this->logger) && parent::shouldHandle($level); |
|
67 | + return isset($this->logger) && parent::shouldHandle($level); |
|
68 | 68 | } |
69 | 69 | |
70 | 70 | /** |
@@ -72,16 +72,16 @@ discard block |
||
72 | 72 | */ |
73 | 73 | public function log($level, $message, array $context = array()) |
74 | 74 | { |
75 | - if (!$this->shouldHandle($level)) { |
|
76 | - return false; |
|
77 | - } |
|
75 | + if (!$this->shouldHandle($level)) { |
|
76 | + return false; |
|
77 | + } |
|
78 | 78 | |
79 | - if ($context) { |
|
80 | - $this->reverseJsonInContext($context); |
|
81 | - } |
|
79 | + if ($context) { |
|
80 | + $this->reverseJsonInContext($context); |
|
81 | + } |
|
82 | 82 | |
83 | - $levelName = is_int($level) ? array_search($level, self::$levels) : $level; |
|
84 | - $this->logger->log($levelName, $message, $context); |
|
83 | + $levelName = is_int($level) ? array_search($level, self::$levels) : $level; |
|
84 | + $this->logger->log($levelName, $message, $context); |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | |
18 | 18 | if (!class_exists('Google_Client')) { |
19 | - require_once dirname(__FILE__) . '/../autoload.php'; |
|
19 | + require_once dirname(__FILE__).'/../autoload.php'; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
@@ -31,7 +31,7 @@ |
||
31 | 31 | */ |
32 | 32 | public function shouldHandle($level) |
33 | 33 | { |
34 | - return false; |
|
34 | + return false; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | |
18 | 18 | if (!class_exists('Google_Client')) { |
19 | - require_once dirname(__FILE__) . '/../autoload.php'; |
|
19 | + require_once dirname(__FILE__).'/../autoload.php'; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
@@ -53,22 +53,22 @@ discard block |
||
53 | 53 | */ |
54 | 54 | public function __construct(Google_Client $client) |
55 | 55 | { |
56 | - parent::__construct($client); |
|
57 | - |
|
58 | - $file = $client->getClassConfig('Google_Logger_File', 'file'); |
|
59 | - if (!is_string($file) && !is_resource($file)) { |
|
60 | - throw new Google_Logger_Exception( |
|
61 | - 'File logger requires a filename or a valid file pointer' |
|
62 | - ); |
|
63 | - } |
|
64 | - |
|
65 | - $mode = $client->getClassConfig('Google_Logger_File', 'mode'); |
|
66 | - if (!$mode) { |
|
67 | - $this->mode = $mode; |
|
68 | - } |
|
69 | - |
|
70 | - $this->lock = (bool) $client->getClassConfig('Google_Logger_File', 'lock'); |
|
71 | - $this->file = $file; |
|
56 | + parent::__construct($client); |
|
57 | + |
|
58 | + $file = $client->getClassConfig('Google_Logger_File', 'file'); |
|
59 | + if (!is_string($file) && !is_resource($file)) { |
|
60 | + throw new Google_Logger_Exception( |
|
61 | + 'File logger requires a filename or a valid file pointer' |
|
62 | + ); |
|
63 | + } |
|
64 | + |
|
65 | + $mode = $client->getClassConfig('Google_Logger_File', 'mode'); |
|
66 | + if (!$mode) { |
|
67 | + $this->mode = $mode; |
|
68 | + } |
|
69 | + |
|
70 | + $this->lock = (bool) $client->getClassConfig('Google_Logger_File', 'lock'); |
|
71 | + $this->file = $file; |
|
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
@@ -76,21 +76,21 @@ discard block |
||
76 | 76 | */ |
77 | 77 | protected function write($message) |
78 | 78 | { |
79 | - if (is_string($this->file)) { |
|
80 | - $this->open(); |
|
81 | - } elseif (!is_resource($this->file)) { |
|
82 | - throw new Google_Logger_Exception('File pointer is no longer available'); |
|
83 | - } |
|
79 | + if (is_string($this->file)) { |
|
80 | + $this->open(); |
|
81 | + } elseif (!is_resource($this->file)) { |
|
82 | + throw new Google_Logger_Exception('File pointer is no longer available'); |
|
83 | + } |
|
84 | 84 | |
85 | - if ($this->lock) { |
|
86 | - flock($this->file, LOCK_EX); |
|
87 | - } |
|
85 | + if ($this->lock) { |
|
86 | + flock($this->file, LOCK_EX); |
|
87 | + } |
|
88 | 88 | |
89 | - fwrite($this->file, (string) $message); |
|
89 | + fwrite($this->file, (string) $message); |
|
90 | 90 | |
91 | - if ($this->lock) { |
|
92 | - flock($this->file, LOCK_UN); |
|
93 | - } |
|
91 | + if ($this->lock) { |
|
92 | + flock($this->file, LOCK_UN); |
|
93 | + } |
|
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
@@ -100,33 +100,33 @@ discard block |
||
100 | 100 | */ |
101 | 101 | private function open() |
102 | 102 | { |
103 | - // Used for trapping `fopen()` errors. |
|
104 | - $this->trappedErrorNumber = null; |
|
105 | - $this->trappedErrorString = null; |
|
103 | + // Used for trapping `fopen()` errors. |
|
104 | + $this->trappedErrorNumber = null; |
|
105 | + $this->trappedErrorString = null; |
|
106 | 106 | |
107 | - $old = set_error_handler(array($this, 'trapError')); |
|
107 | + $old = set_error_handler(array($this, 'trapError')); |
|
108 | 108 | |
109 | - $needsChmod = !file_exists($this->file); |
|
110 | - $fh = fopen($this->file, 'a'); |
|
109 | + $needsChmod = !file_exists($this->file); |
|
110 | + $fh = fopen($this->file, 'a'); |
|
111 | 111 | |
112 | - restore_error_handler(); |
|
112 | + restore_error_handler(); |
|
113 | 113 | |
114 | - // Handles trapped `fopen()` errors. |
|
115 | - if ($this->trappedErrorNumber) { |
|
116 | - throw new Google_Logger_Exception( |
|
117 | - sprintf( |
|
118 | - "Logger Error: '%s'", |
|
119 | - $this->trappedErrorString |
|
120 | - ), |
|
121 | - $this->trappedErrorNumber |
|
122 | - ); |
|
123 | - } |
|
114 | + // Handles trapped `fopen()` errors. |
|
115 | + if ($this->trappedErrorNumber) { |
|
116 | + throw new Google_Logger_Exception( |
|
117 | + sprintf( |
|
118 | + "Logger Error: '%s'", |
|
119 | + $this->trappedErrorString |
|
120 | + ), |
|
121 | + $this->trappedErrorNumber |
|
122 | + ); |
|
123 | + } |
|
124 | 124 | |
125 | - if ($needsChmod) { |
|
126 | - @chmod($this->file, $this->mode & ~umask()); |
|
127 | - } |
|
125 | + if ($needsChmod) { |
|
126 | + @chmod($this->file, $this->mode & ~umask()); |
|
127 | + } |
|
128 | 128 | |
129 | - return $this->file = $fh; |
|
129 | + return $this->file = $fh; |
|
130 | 130 | } |
131 | 131 | |
132 | 132 | /** |
@@ -134,9 +134,9 @@ discard block |
||
134 | 134 | */ |
135 | 135 | private function close() |
136 | 136 | { |
137 | - if (is_resource($this->file)) { |
|
138 | - fclose($this->file); |
|
139 | - } |
|
137 | + if (is_resource($this->file)) { |
|
138 | + fclose($this->file); |
|
139 | + } |
|
140 | 140 | } |
141 | 141 | |
142 | 142 | /** |
@@ -147,12 +147,12 @@ discard block |
||
147 | 147 | */ |
148 | 148 | private function trapError($errno, $errstr) |
149 | 149 | { |
150 | - $this->trappedErrorNumber = $errno; |
|
151 | - $this->trappedErrorString = $errstr; |
|
150 | + $this->trappedErrorNumber = $errno; |
|
151 | + $this->trappedErrorString = $errstr; |
|
152 | 152 | } |
153 | 153 | |
154 | 154 | public function __destruct() |
155 | 155 | { |
156 | - $this->close(); |
|
156 | + $this->close(); |
|
157 | 157 | } |
158 | 158 | } |
@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | |
18 | 18 | if (!class_exists('Google_Client')) { |
19 | - require_once dirname(__FILE__) . '/../autoload.php'; |
|
19 | + require_once dirname(__FILE__).'/../autoload.php'; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | |
18 | 18 | if (!class_exists('Google_Client')) { |
19 | - require_once dirname(__FILE__) . '/../autoload.php'; |
|
19 | + require_once dirname(__FILE__).'/../autoload.php'; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | class Google_Logger_Exception extends Google_Exception |
@@ -43,11 +43,11 @@ |
||
43 | 43 | */ |
44 | 44 | public function __construct(Google_Client $client) |
45 | 45 | { |
46 | - parent::__construct($client); |
|
47 | - $this->rootUrl = 'https://playmoviespartner.googleapis.com/'; |
|
48 | - $this->servicePath = ''; |
|
49 | - $this->version = 'v1'; |
|
50 | - $this->serviceName = 'playmoviespartner'; |
|
46 | + parent::__construct($client); |
|
47 | + $this->rootUrl = 'https://playmoviespartner.googleapis.com/'; |
|
48 | + $this->servicePath = ''; |
|
49 | + $this->version = 'v1'; |
|
50 | + $this->serviceName = 'playmoviespartner'; |
|
51 | 51 | |
52 | 52 | } |
53 | 53 | } |
@@ -44,10 +44,10 @@ |
||
44 | 44 | */ |
45 | 45 | public function __construct(Google_Client $client) |
46 | 46 | { |
47 | - parent::__construct($client); |
|
48 | - $this->servicePath = ''; |
|
49 | - $this->version = 'v1'; |
|
50 | - $this->serviceName = 'cloudsearch'; |
|
47 | + parent::__construct($client); |
|
48 | + $this->servicePath = ''; |
|
49 | + $this->version = 'v1'; |
|
50 | + $this->serviceName = 'cloudsearch'; |
|
51 | 51 | |
52 | 52 | } |
53 | 53 | } |
@@ -44,91 +44,91 @@ discard block |
||
44 | 44 | */ |
45 | 45 | public function __construct(Google_Client $client) |
46 | 46 | { |
47 | - parent::__construct($client); |
|
48 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
49 | - $this->servicePath = 'language/translate/'; |
|
50 | - $this->version = 'v2'; |
|
51 | - $this->serviceName = 'translate'; |
|
52 | - |
|
53 | - $this->detections = new Google_Service_Translate_Detections_Resource( |
|
54 | - $this, |
|
55 | - $this->serviceName, |
|
56 | - 'detections', |
|
57 | - array( |
|
58 | - 'methods' => array( |
|
59 | - 'list' => array( |
|
60 | - 'path' => 'v2/detect', |
|
61 | - 'httpMethod' => 'GET', |
|
62 | - 'parameters' => array( |
|
63 | - 'q' => array( |
|
64 | - 'location' => 'query', |
|
65 | - 'type' => 'string', |
|
66 | - 'repeated' => true, |
|
67 | - 'required' => true, |
|
68 | - ), |
|
69 | - ), |
|
70 | - ), |
|
71 | - ) |
|
72 | - ) |
|
73 | - ); |
|
74 | - $this->languages = new Google_Service_Translate_Languages_Resource( |
|
75 | - $this, |
|
76 | - $this->serviceName, |
|
77 | - 'languages', |
|
78 | - array( |
|
79 | - 'methods' => array( |
|
80 | - 'list' => array( |
|
81 | - 'path' => 'v2/languages', |
|
82 | - 'httpMethod' => 'GET', |
|
83 | - 'parameters' => array( |
|
84 | - 'target' => array( |
|
85 | - 'location' => 'query', |
|
86 | - 'type' => 'string', |
|
87 | - ), |
|
88 | - ), |
|
89 | - ), |
|
90 | - ) |
|
91 | - ) |
|
92 | - ); |
|
93 | - $this->translations = new Google_Service_Translate_Translations_Resource( |
|
94 | - $this, |
|
95 | - $this->serviceName, |
|
96 | - 'translations', |
|
97 | - array( |
|
98 | - 'methods' => array( |
|
99 | - 'list' => array( |
|
100 | - 'path' => 'v2', |
|
101 | - 'httpMethod' => 'GET', |
|
102 | - 'parameters' => array( |
|
103 | - 'q' => array( |
|
104 | - 'location' => 'query', |
|
105 | - 'type' => 'string', |
|
106 | - 'repeated' => true, |
|
107 | - 'required' => true, |
|
108 | - ), |
|
109 | - 'target' => array( |
|
110 | - 'location' => 'query', |
|
111 | - 'type' => 'string', |
|
112 | - 'required' => true, |
|
113 | - ), |
|
114 | - 'source' => array( |
|
115 | - 'location' => 'query', |
|
116 | - 'type' => 'string', |
|
117 | - ), |
|
118 | - 'format' => array( |
|
119 | - 'location' => 'query', |
|
120 | - 'type' => 'string', |
|
121 | - ), |
|
122 | - 'cid' => array( |
|
123 | - 'location' => 'query', |
|
124 | - 'type' => 'string', |
|
125 | - 'repeated' => true, |
|
126 | - ), |
|
127 | - ), |
|
128 | - ), |
|
129 | - ) |
|
130 | - ) |
|
131 | - ); |
|
47 | + parent::__construct($client); |
|
48 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
49 | + $this->servicePath = 'language/translate/'; |
|
50 | + $this->version = 'v2'; |
|
51 | + $this->serviceName = 'translate'; |
|
52 | + |
|
53 | + $this->detections = new Google_Service_Translate_Detections_Resource( |
|
54 | + $this, |
|
55 | + $this->serviceName, |
|
56 | + 'detections', |
|
57 | + array( |
|
58 | + 'methods' => array( |
|
59 | + 'list' => array( |
|
60 | + 'path' => 'v2/detect', |
|
61 | + 'httpMethod' => 'GET', |
|
62 | + 'parameters' => array( |
|
63 | + 'q' => array( |
|
64 | + 'location' => 'query', |
|
65 | + 'type' => 'string', |
|
66 | + 'repeated' => true, |
|
67 | + 'required' => true, |
|
68 | + ), |
|
69 | + ), |
|
70 | + ), |
|
71 | + ) |
|
72 | + ) |
|
73 | + ); |
|
74 | + $this->languages = new Google_Service_Translate_Languages_Resource( |
|
75 | + $this, |
|
76 | + $this->serviceName, |
|
77 | + 'languages', |
|
78 | + array( |
|
79 | + 'methods' => array( |
|
80 | + 'list' => array( |
|
81 | + 'path' => 'v2/languages', |
|
82 | + 'httpMethod' => 'GET', |
|
83 | + 'parameters' => array( |
|
84 | + 'target' => array( |
|
85 | + 'location' => 'query', |
|
86 | + 'type' => 'string', |
|
87 | + ), |
|
88 | + ), |
|
89 | + ), |
|
90 | + ) |
|
91 | + ) |
|
92 | + ); |
|
93 | + $this->translations = new Google_Service_Translate_Translations_Resource( |
|
94 | + $this, |
|
95 | + $this->serviceName, |
|
96 | + 'translations', |
|
97 | + array( |
|
98 | + 'methods' => array( |
|
99 | + 'list' => array( |
|
100 | + 'path' => 'v2', |
|
101 | + 'httpMethod' => 'GET', |
|
102 | + 'parameters' => array( |
|
103 | + 'q' => array( |
|
104 | + 'location' => 'query', |
|
105 | + 'type' => 'string', |
|
106 | + 'repeated' => true, |
|
107 | + 'required' => true, |
|
108 | + ), |
|
109 | + 'target' => array( |
|
110 | + 'location' => 'query', |
|
111 | + 'type' => 'string', |
|
112 | + 'required' => true, |
|
113 | + ), |
|
114 | + 'source' => array( |
|
115 | + 'location' => 'query', |
|
116 | + 'type' => 'string', |
|
117 | + ), |
|
118 | + 'format' => array( |
|
119 | + 'location' => 'query', |
|
120 | + 'type' => 'string', |
|
121 | + ), |
|
122 | + 'cid' => array( |
|
123 | + 'location' => 'query', |
|
124 | + 'type' => 'string', |
|
125 | + 'repeated' => true, |
|
126 | + ), |
|
127 | + ), |
|
128 | + ), |
|
129 | + ) |
|
130 | + ) |
|
131 | + ); |
|
132 | 132 | } |
133 | 133 | } |
134 | 134 | |
@@ -153,9 +153,9 @@ discard block |
||
153 | 153 | */ |
154 | 154 | public function listDetections($q, $optParams = array()) |
155 | 155 | { |
156 | - $params = array('q' => $q); |
|
157 | - $params = array_merge($params, $optParams); |
|
158 | - return $this->call('list', array($params), "Google_Service_Translate_DetectionsListResponse"); |
|
156 | + $params = array('q' => $q); |
|
157 | + $params = array_merge($params, $optParams); |
|
158 | + return $this->call('list', array($params), "Google_Service_Translate_DetectionsListResponse"); |
|
159 | 159 | } |
160 | 160 | } |
161 | 161 | |
@@ -182,9 +182,9 @@ discard block |
||
182 | 182 | */ |
183 | 183 | public function listLanguages($optParams = array()) |
184 | 184 | { |
185 | - $params = array(); |
|
186 | - $params = array_merge($params, $optParams); |
|
187 | - return $this->call('list', array($params), "Google_Service_Translate_LanguagesListResponse"); |
|
185 | + $params = array(); |
|
186 | + $params = array_merge($params, $optParams); |
|
187 | + return $this->call('list', array($params), "Google_Service_Translate_LanguagesListResponse"); |
|
188 | 188 | } |
189 | 189 | } |
190 | 190 | |
@@ -215,9 +215,9 @@ discard block |
||
215 | 215 | */ |
216 | 216 | public function listTranslations($q, $target, $optParams = array()) |
217 | 217 | { |
218 | - $params = array('q' => $q, 'target' => $target); |
|
219 | - $params = array_merge($params, $optParams); |
|
220 | - return $this->call('list', array($params), "Google_Service_Translate_TranslationsListResponse"); |
|
218 | + $params = array('q' => $q, 'target' => $target); |
|
219 | + $params = array_merge($params, $optParams); |
|
220 | + return $this->call('list', array($params), "Google_Service_Translate_TranslationsListResponse"); |
|
221 | 221 | } |
222 | 222 | } |
223 | 223 | |
@@ -235,11 +235,11 @@ discard block |
||
235 | 235 | |
236 | 236 | public function setDetections($detections) |
237 | 237 | { |
238 | - $this->detections = $detections; |
|
238 | + $this->detections = $detections; |
|
239 | 239 | } |
240 | 240 | public function getDetections() |
241 | 241 | { |
242 | - return $this->detections; |
|
242 | + return $this->detections; |
|
243 | 243 | } |
244 | 244 | } |
245 | 245 | |
@@ -254,27 +254,27 @@ discard block |
||
254 | 254 | |
255 | 255 | public function setConfidence($confidence) |
256 | 256 | { |
257 | - $this->confidence = $confidence; |
|
257 | + $this->confidence = $confidence; |
|
258 | 258 | } |
259 | 259 | public function getConfidence() |
260 | 260 | { |
261 | - return $this->confidence; |
|
261 | + return $this->confidence; |
|
262 | 262 | } |
263 | 263 | public function setIsReliable($isReliable) |
264 | 264 | { |
265 | - $this->isReliable = $isReliable; |
|
265 | + $this->isReliable = $isReliable; |
|
266 | 266 | } |
267 | 267 | public function getIsReliable() |
268 | 268 | { |
269 | - return $this->isReliable; |
|
269 | + return $this->isReliable; |
|
270 | 270 | } |
271 | 271 | public function setLanguage($language) |
272 | 272 | { |
273 | - $this->language = $language; |
|
273 | + $this->language = $language; |
|
274 | 274 | } |
275 | 275 | public function getLanguage() |
276 | 276 | { |
277 | - return $this->language; |
|
277 | + return $this->language; |
|
278 | 278 | } |
279 | 279 | } |
280 | 280 | |
@@ -289,11 +289,11 @@ discard block |
||
289 | 289 | |
290 | 290 | public function setLanguages($languages) |
291 | 291 | { |
292 | - $this->languages = $languages; |
|
292 | + $this->languages = $languages; |
|
293 | 293 | } |
294 | 294 | public function getLanguages() |
295 | 295 | { |
296 | - return $this->languages; |
|
296 | + return $this->languages; |
|
297 | 297 | } |
298 | 298 | } |
299 | 299 | |
@@ -307,19 +307,19 @@ discard block |
||
307 | 307 | |
308 | 308 | public function setLanguage($language) |
309 | 309 | { |
310 | - $this->language = $language; |
|
310 | + $this->language = $language; |
|
311 | 311 | } |
312 | 312 | public function getLanguage() |
313 | 313 | { |
314 | - return $this->language; |
|
314 | + return $this->language; |
|
315 | 315 | } |
316 | 316 | public function setName($name) |
317 | 317 | { |
318 | - $this->name = $name; |
|
318 | + $this->name = $name; |
|
319 | 319 | } |
320 | 320 | public function getName() |
321 | 321 | { |
322 | - return $this->name; |
|
322 | + return $this->name; |
|
323 | 323 | } |
324 | 324 | } |
325 | 325 | |
@@ -334,11 +334,11 @@ discard block |
||
334 | 334 | |
335 | 335 | public function setTranslations($translations) |
336 | 336 | { |
337 | - $this->translations = $translations; |
|
337 | + $this->translations = $translations; |
|
338 | 338 | } |
339 | 339 | public function getTranslations() |
340 | 340 | { |
341 | - return $this->translations; |
|
341 | + return $this->translations; |
|
342 | 342 | } |
343 | 343 | } |
344 | 344 | |
@@ -352,18 +352,18 @@ discard block |
||
352 | 352 | |
353 | 353 | public function setDetectedSourceLanguage($detectedSourceLanguage) |
354 | 354 | { |
355 | - $this->detectedSourceLanguage = $detectedSourceLanguage; |
|
355 | + $this->detectedSourceLanguage = $detectedSourceLanguage; |
|
356 | 356 | } |
357 | 357 | public function getDetectedSourceLanguage() |
358 | 358 | { |
359 | - return $this->detectedSourceLanguage; |
|
359 | + return $this->detectedSourceLanguage; |
|
360 | 360 | } |
361 | 361 | public function setTranslatedText($translatedText) |
362 | 362 | { |
363 | - $this->translatedText = $translatedText; |
|
363 | + $this->translatedText = $translatedText; |
|
364 | 364 | } |
365 | 365 | public function getTranslatedText() |
366 | 366 | { |
367 | - return $this->translatedText; |
|
367 | + return $this->translatedText; |
|
368 | 368 | } |
369 | 369 | } |
@@ -33,10 +33,10 @@ discard block |
||
33 | 33 | { |
34 | 34 | /** View and manage your AdSense data. */ |
35 | 35 | const ADSENSE = |
36 | - "https://www.googleapis.com/auth/adsense"; |
|
36 | + "https://www.googleapis.com/auth/adsense"; |
|
37 | 37 | /** View your AdSense data. */ |
38 | 38 | const ADSENSE_READONLY = |
39 | - "https://www.googleapis.com/auth/adsense.readonly"; |
|
39 | + "https://www.googleapis.com/auth/adsense.readonly"; |
|
40 | 40 | |
41 | 41 | public $accounts; |
42 | 42 | public $accounts_adclients; |
@@ -72,992 +72,992 @@ discard block |
||
72 | 72 | */ |
73 | 73 | public function __construct(Google_Client $client) |
74 | 74 | { |
75 | - parent::__construct($client); |
|
76 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
77 | - $this->servicePath = 'adsense/v1.4/'; |
|
78 | - $this->version = 'v1.4'; |
|
79 | - $this->serviceName = 'adsense'; |
|
80 | - |
|
81 | - $this->accounts = new Google_Service_AdSense_Accounts_Resource( |
|
82 | - $this, |
|
83 | - $this->serviceName, |
|
84 | - 'accounts', |
|
85 | - array( |
|
86 | - 'methods' => array( |
|
87 | - 'get' => array( |
|
88 | - 'path' => 'accounts/{accountId}', |
|
89 | - 'httpMethod' => 'GET', |
|
90 | - 'parameters' => array( |
|
91 | - 'accountId' => array( |
|
92 | - 'location' => 'path', |
|
93 | - 'type' => 'string', |
|
94 | - 'required' => true, |
|
95 | - ), |
|
96 | - 'tree' => array( |
|
97 | - 'location' => 'query', |
|
98 | - 'type' => 'boolean', |
|
99 | - ), |
|
100 | - ), |
|
101 | - ),'list' => array( |
|
102 | - 'path' => 'accounts', |
|
103 | - 'httpMethod' => 'GET', |
|
104 | - 'parameters' => array( |
|
105 | - 'pageToken' => array( |
|
106 | - 'location' => 'query', |
|
107 | - 'type' => 'string', |
|
108 | - ), |
|
109 | - 'maxResults' => array( |
|
110 | - 'location' => 'query', |
|
111 | - 'type' => 'integer', |
|
112 | - ), |
|
113 | - ), |
|
114 | - ), |
|
115 | - ) |
|
116 | - ) |
|
117 | - ); |
|
118 | - $this->accounts_adclients = new Google_Service_AdSense_AccountsAdclients_Resource( |
|
119 | - $this, |
|
120 | - $this->serviceName, |
|
121 | - 'adclients', |
|
122 | - array( |
|
123 | - 'methods' => array( |
|
124 | - 'list' => array( |
|
125 | - 'path' => 'accounts/{accountId}/adclients', |
|
126 | - 'httpMethod' => 'GET', |
|
127 | - 'parameters' => array( |
|
128 | - 'accountId' => array( |
|
129 | - 'location' => 'path', |
|
130 | - 'type' => 'string', |
|
131 | - 'required' => true, |
|
132 | - ), |
|
133 | - 'pageToken' => array( |
|
134 | - 'location' => 'query', |
|
135 | - 'type' => 'string', |
|
136 | - ), |
|
137 | - 'maxResults' => array( |
|
138 | - 'location' => 'query', |
|
139 | - 'type' => 'integer', |
|
140 | - ), |
|
141 | - ), |
|
142 | - ), |
|
143 | - ) |
|
144 | - ) |
|
145 | - ); |
|
146 | - $this->accounts_adunits = new Google_Service_AdSense_AccountsAdunits_Resource( |
|
147 | - $this, |
|
148 | - $this->serviceName, |
|
149 | - 'adunits', |
|
150 | - array( |
|
151 | - 'methods' => array( |
|
152 | - 'get' => array( |
|
153 | - 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', |
|
154 | - 'httpMethod' => 'GET', |
|
155 | - 'parameters' => array( |
|
156 | - 'accountId' => array( |
|
157 | - 'location' => 'path', |
|
158 | - 'type' => 'string', |
|
159 | - 'required' => true, |
|
160 | - ), |
|
161 | - 'adClientId' => array( |
|
162 | - 'location' => 'path', |
|
163 | - 'type' => 'string', |
|
164 | - 'required' => true, |
|
165 | - ), |
|
166 | - 'adUnitId' => array( |
|
167 | - 'location' => 'path', |
|
168 | - 'type' => 'string', |
|
169 | - 'required' => true, |
|
170 | - ), |
|
171 | - ), |
|
172 | - ),'getAdCode' => array( |
|
173 | - 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', |
|
174 | - 'httpMethod' => 'GET', |
|
175 | - 'parameters' => array( |
|
176 | - 'accountId' => array( |
|
177 | - 'location' => 'path', |
|
178 | - 'type' => 'string', |
|
179 | - 'required' => true, |
|
180 | - ), |
|
181 | - 'adClientId' => array( |
|
182 | - 'location' => 'path', |
|
183 | - 'type' => 'string', |
|
184 | - 'required' => true, |
|
185 | - ), |
|
186 | - 'adUnitId' => array( |
|
187 | - 'location' => 'path', |
|
188 | - 'type' => 'string', |
|
189 | - 'required' => true, |
|
190 | - ), |
|
191 | - ), |
|
192 | - ),'list' => array( |
|
193 | - 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', |
|
194 | - 'httpMethod' => 'GET', |
|
195 | - 'parameters' => array( |
|
196 | - 'accountId' => array( |
|
197 | - 'location' => 'path', |
|
198 | - 'type' => 'string', |
|
199 | - 'required' => true, |
|
200 | - ), |
|
201 | - 'adClientId' => array( |
|
202 | - 'location' => 'path', |
|
203 | - 'type' => 'string', |
|
204 | - 'required' => true, |
|
205 | - ), |
|
206 | - 'includeInactive' => array( |
|
207 | - 'location' => 'query', |
|
208 | - 'type' => 'boolean', |
|
209 | - ), |
|
210 | - 'pageToken' => array( |
|
211 | - 'location' => 'query', |
|
212 | - 'type' => 'string', |
|
213 | - ), |
|
214 | - 'maxResults' => array( |
|
215 | - 'location' => 'query', |
|
216 | - 'type' => 'integer', |
|
217 | - ), |
|
218 | - ), |
|
219 | - ), |
|
220 | - ) |
|
221 | - ) |
|
222 | - ); |
|
223 | - $this->accounts_adunits_customchannels = new Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource( |
|
224 | - $this, |
|
225 | - $this->serviceName, |
|
226 | - 'customchannels', |
|
227 | - array( |
|
228 | - 'methods' => array( |
|
229 | - 'list' => array( |
|
230 | - 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels', |
|
231 | - 'httpMethod' => 'GET', |
|
232 | - 'parameters' => array( |
|
233 | - 'accountId' => array( |
|
234 | - 'location' => 'path', |
|
235 | - 'type' => 'string', |
|
236 | - 'required' => true, |
|
237 | - ), |
|
238 | - 'adClientId' => array( |
|
239 | - 'location' => 'path', |
|
240 | - 'type' => 'string', |
|
241 | - 'required' => true, |
|
242 | - ), |
|
243 | - 'adUnitId' => array( |
|
244 | - 'location' => 'path', |
|
245 | - 'type' => 'string', |
|
246 | - 'required' => true, |
|
247 | - ), |
|
248 | - 'pageToken' => array( |
|
249 | - 'location' => 'query', |
|
250 | - 'type' => 'string', |
|
251 | - ), |
|
252 | - 'maxResults' => array( |
|
253 | - 'location' => 'query', |
|
254 | - 'type' => 'integer', |
|
255 | - ), |
|
256 | - ), |
|
257 | - ), |
|
258 | - ) |
|
259 | - ) |
|
260 | - ); |
|
261 | - $this->accounts_alerts = new Google_Service_AdSense_AccountsAlerts_Resource( |
|
262 | - $this, |
|
263 | - $this->serviceName, |
|
264 | - 'alerts', |
|
265 | - array( |
|
266 | - 'methods' => array( |
|
267 | - 'delete' => array( |
|
268 | - 'path' => 'accounts/{accountId}/alerts/{alertId}', |
|
269 | - 'httpMethod' => 'DELETE', |
|
270 | - 'parameters' => array( |
|
271 | - 'accountId' => array( |
|
272 | - 'location' => 'path', |
|
273 | - 'type' => 'string', |
|
274 | - 'required' => true, |
|
275 | - ), |
|
276 | - 'alertId' => array( |
|
277 | - 'location' => 'path', |
|
278 | - 'type' => 'string', |
|
279 | - 'required' => true, |
|
280 | - ), |
|
281 | - ), |
|
282 | - ),'list' => array( |
|
283 | - 'path' => 'accounts/{accountId}/alerts', |
|
284 | - 'httpMethod' => 'GET', |
|
285 | - 'parameters' => array( |
|
286 | - 'accountId' => array( |
|
287 | - 'location' => 'path', |
|
288 | - 'type' => 'string', |
|
289 | - 'required' => true, |
|
290 | - ), |
|
291 | - 'locale' => array( |
|
292 | - 'location' => 'query', |
|
293 | - 'type' => 'string', |
|
294 | - ), |
|
295 | - ), |
|
296 | - ), |
|
297 | - ) |
|
298 | - ) |
|
299 | - ); |
|
300 | - $this->accounts_customchannels = new Google_Service_AdSense_AccountsCustomchannels_Resource( |
|
301 | - $this, |
|
302 | - $this->serviceName, |
|
303 | - 'customchannels', |
|
304 | - array( |
|
305 | - 'methods' => array( |
|
306 | - 'get' => array( |
|
307 | - 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', |
|
308 | - 'httpMethod' => 'GET', |
|
309 | - 'parameters' => array( |
|
310 | - 'accountId' => array( |
|
311 | - 'location' => 'path', |
|
312 | - 'type' => 'string', |
|
313 | - 'required' => true, |
|
314 | - ), |
|
315 | - 'adClientId' => array( |
|
316 | - 'location' => 'path', |
|
317 | - 'type' => 'string', |
|
318 | - 'required' => true, |
|
319 | - ), |
|
320 | - 'customChannelId' => array( |
|
321 | - 'location' => 'path', |
|
322 | - 'type' => 'string', |
|
323 | - 'required' => true, |
|
324 | - ), |
|
325 | - ), |
|
326 | - ),'list' => array( |
|
327 | - 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', |
|
328 | - 'httpMethod' => 'GET', |
|
329 | - 'parameters' => array( |
|
330 | - 'accountId' => array( |
|
331 | - 'location' => 'path', |
|
332 | - 'type' => 'string', |
|
333 | - 'required' => true, |
|
334 | - ), |
|
335 | - 'adClientId' => array( |
|
336 | - 'location' => 'path', |
|
337 | - 'type' => 'string', |
|
338 | - 'required' => true, |
|
339 | - ), |
|
340 | - 'pageToken' => array( |
|
341 | - 'location' => 'query', |
|
342 | - 'type' => 'string', |
|
343 | - ), |
|
344 | - 'maxResults' => array( |
|
345 | - 'location' => 'query', |
|
346 | - 'type' => 'integer', |
|
347 | - ), |
|
348 | - ), |
|
349 | - ), |
|
350 | - ) |
|
351 | - ) |
|
352 | - ); |
|
353 | - $this->accounts_customchannels_adunits = new Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource( |
|
354 | - $this, |
|
355 | - $this->serviceName, |
|
356 | - 'adunits', |
|
357 | - array( |
|
358 | - 'methods' => array( |
|
359 | - 'list' => array( |
|
360 | - 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits', |
|
361 | - 'httpMethod' => 'GET', |
|
362 | - 'parameters' => array( |
|
363 | - 'accountId' => array( |
|
364 | - 'location' => 'path', |
|
365 | - 'type' => 'string', |
|
366 | - 'required' => true, |
|
367 | - ), |
|
368 | - 'adClientId' => array( |
|
369 | - 'location' => 'path', |
|
370 | - 'type' => 'string', |
|
371 | - 'required' => true, |
|
372 | - ), |
|
373 | - 'customChannelId' => array( |
|
374 | - 'location' => 'path', |
|
375 | - 'type' => 'string', |
|
376 | - 'required' => true, |
|
377 | - ), |
|
378 | - 'includeInactive' => array( |
|
379 | - 'location' => 'query', |
|
380 | - 'type' => 'boolean', |
|
381 | - ), |
|
382 | - 'maxResults' => array( |
|
383 | - 'location' => 'query', |
|
384 | - 'type' => 'integer', |
|
385 | - ), |
|
386 | - 'pageToken' => array( |
|
387 | - 'location' => 'query', |
|
388 | - 'type' => 'string', |
|
389 | - ), |
|
390 | - ), |
|
391 | - ), |
|
392 | - ) |
|
393 | - ) |
|
394 | - ); |
|
395 | - $this->accounts_payments = new Google_Service_AdSense_AccountsPayments_Resource( |
|
396 | - $this, |
|
397 | - $this->serviceName, |
|
398 | - 'payments', |
|
399 | - array( |
|
400 | - 'methods' => array( |
|
401 | - 'list' => array( |
|
402 | - 'path' => 'accounts/{accountId}/payments', |
|
403 | - 'httpMethod' => 'GET', |
|
404 | - 'parameters' => array( |
|
405 | - 'accountId' => array( |
|
406 | - 'location' => 'path', |
|
407 | - 'type' => 'string', |
|
408 | - 'required' => true, |
|
409 | - ), |
|
410 | - ), |
|
411 | - ), |
|
412 | - ) |
|
413 | - ) |
|
414 | - ); |
|
415 | - $this->accounts_reports = new Google_Service_AdSense_AccountsReports_Resource( |
|
416 | - $this, |
|
417 | - $this->serviceName, |
|
418 | - 'reports', |
|
419 | - array( |
|
420 | - 'methods' => array( |
|
421 | - 'generate' => array( |
|
422 | - 'path' => 'accounts/{accountId}/reports', |
|
423 | - 'httpMethod' => 'GET', |
|
424 | - 'parameters' => array( |
|
425 | - 'accountId' => array( |
|
426 | - 'location' => 'path', |
|
427 | - 'type' => 'string', |
|
428 | - 'required' => true, |
|
429 | - ), |
|
430 | - 'startDate' => array( |
|
431 | - 'location' => 'query', |
|
432 | - 'type' => 'string', |
|
433 | - 'required' => true, |
|
434 | - ), |
|
435 | - 'endDate' => array( |
|
436 | - 'location' => 'query', |
|
437 | - 'type' => 'string', |
|
438 | - 'required' => true, |
|
439 | - ), |
|
440 | - 'sort' => array( |
|
441 | - 'location' => 'query', |
|
442 | - 'type' => 'string', |
|
443 | - 'repeated' => true, |
|
444 | - ), |
|
445 | - 'locale' => array( |
|
446 | - 'location' => 'query', |
|
447 | - 'type' => 'string', |
|
448 | - ), |
|
449 | - 'metric' => array( |
|
450 | - 'location' => 'query', |
|
451 | - 'type' => 'string', |
|
452 | - 'repeated' => true, |
|
453 | - ), |
|
454 | - 'maxResults' => array( |
|
455 | - 'location' => 'query', |
|
456 | - 'type' => 'integer', |
|
457 | - ), |
|
458 | - 'filter' => array( |
|
459 | - 'location' => 'query', |
|
460 | - 'type' => 'string', |
|
461 | - 'repeated' => true, |
|
462 | - ), |
|
463 | - 'currency' => array( |
|
464 | - 'location' => 'query', |
|
465 | - 'type' => 'string', |
|
466 | - ), |
|
467 | - 'startIndex' => array( |
|
468 | - 'location' => 'query', |
|
469 | - 'type' => 'integer', |
|
470 | - ), |
|
471 | - 'useTimezoneReporting' => array( |
|
472 | - 'location' => 'query', |
|
473 | - 'type' => 'boolean', |
|
474 | - ), |
|
475 | - 'dimension' => array( |
|
476 | - 'location' => 'query', |
|
477 | - 'type' => 'string', |
|
478 | - 'repeated' => true, |
|
479 | - ), |
|
480 | - ), |
|
481 | - ), |
|
482 | - ) |
|
483 | - ) |
|
484 | - ); |
|
485 | - $this->accounts_reports_saved = new Google_Service_AdSense_AccountsReportsSaved_Resource( |
|
486 | - $this, |
|
487 | - $this->serviceName, |
|
488 | - 'saved', |
|
489 | - array( |
|
490 | - 'methods' => array( |
|
491 | - 'generate' => array( |
|
492 | - 'path' => 'accounts/{accountId}/reports/{savedReportId}', |
|
493 | - 'httpMethod' => 'GET', |
|
494 | - 'parameters' => array( |
|
495 | - 'accountId' => array( |
|
496 | - 'location' => 'path', |
|
497 | - 'type' => 'string', |
|
498 | - 'required' => true, |
|
499 | - ), |
|
500 | - 'savedReportId' => array( |
|
501 | - 'location' => 'path', |
|
502 | - 'type' => 'string', |
|
503 | - 'required' => true, |
|
504 | - ), |
|
505 | - 'locale' => array( |
|
506 | - 'location' => 'query', |
|
507 | - 'type' => 'string', |
|
508 | - ), |
|
509 | - 'startIndex' => array( |
|
510 | - 'location' => 'query', |
|
511 | - 'type' => 'integer', |
|
512 | - ), |
|
513 | - 'maxResults' => array( |
|
514 | - 'location' => 'query', |
|
515 | - 'type' => 'integer', |
|
516 | - ), |
|
517 | - ), |
|
518 | - ),'list' => array( |
|
519 | - 'path' => 'accounts/{accountId}/reports/saved', |
|
520 | - 'httpMethod' => 'GET', |
|
521 | - 'parameters' => array( |
|
522 | - 'accountId' => array( |
|
523 | - 'location' => 'path', |
|
524 | - 'type' => 'string', |
|
525 | - 'required' => true, |
|
526 | - ), |
|
527 | - 'pageToken' => array( |
|
528 | - 'location' => 'query', |
|
529 | - 'type' => 'string', |
|
530 | - ), |
|
531 | - 'maxResults' => array( |
|
532 | - 'location' => 'query', |
|
533 | - 'type' => 'integer', |
|
534 | - ), |
|
535 | - ), |
|
536 | - ), |
|
537 | - ) |
|
538 | - ) |
|
539 | - ); |
|
540 | - $this->accounts_savedadstyles = new Google_Service_AdSense_AccountsSavedadstyles_Resource( |
|
541 | - $this, |
|
542 | - $this->serviceName, |
|
543 | - 'savedadstyles', |
|
544 | - array( |
|
545 | - 'methods' => array( |
|
546 | - 'get' => array( |
|
547 | - 'path' => 'accounts/{accountId}/savedadstyles/{savedAdStyleId}', |
|
548 | - 'httpMethod' => 'GET', |
|
549 | - 'parameters' => array( |
|
550 | - 'accountId' => array( |
|
551 | - 'location' => 'path', |
|
552 | - 'type' => 'string', |
|
553 | - 'required' => true, |
|
554 | - ), |
|
555 | - 'savedAdStyleId' => array( |
|
556 | - 'location' => 'path', |
|
557 | - 'type' => 'string', |
|
558 | - 'required' => true, |
|
559 | - ), |
|
560 | - ), |
|
561 | - ),'list' => array( |
|
562 | - 'path' => 'accounts/{accountId}/savedadstyles', |
|
563 | - 'httpMethod' => 'GET', |
|
564 | - 'parameters' => array( |
|
565 | - 'accountId' => array( |
|
566 | - 'location' => 'path', |
|
567 | - 'type' => 'string', |
|
568 | - 'required' => true, |
|
569 | - ), |
|
570 | - 'pageToken' => array( |
|
571 | - 'location' => 'query', |
|
572 | - 'type' => 'string', |
|
573 | - ), |
|
574 | - 'maxResults' => array( |
|
575 | - 'location' => 'query', |
|
576 | - 'type' => 'integer', |
|
577 | - ), |
|
578 | - ), |
|
579 | - ), |
|
580 | - ) |
|
581 | - ) |
|
582 | - ); |
|
583 | - $this->accounts_urlchannels = new Google_Service_AdSense_AccountsUrlchannels_Resource( |
|
584 | - $this, |
|
585 | - $this->serviceName, |
|
586 | - 'urlchannels', |
|
587 | - array( |
|
588 | - 'methods' => array( |
|
589 | - 'list' => array( |
|
590 | - 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels', |
|
591 | - 'httpMethod' => 'GET', |
|
592 | - 'parameters' => array( |
|
593 | - 'accountId' => array( |
|
594 | - 'location' => 'path', |
|
595 | - 'type' => 'string', |
|
596 | - 'required' => true, |
|
597 | - ), |
|
598 | - 'adClientId' => array( |
|
599 | - 'location' => 'path', |
|
600 | - 'type' => 'string', |
|
601 | - 'required' => true, |
|
602 | - ), |
|
603 | - 'pageToken' => array( |
|
604 | - 'location' => 'query', |
|
605 | - 'type' => 'string', |
|
606 | - ), |
|
607 | - 'maxResults' => array( |
|
608 | - 'location' => 'query', |
|
609 | - 'type' => 'integer', |
|
610 | - ), |
|
611 | - ), |
|
612 | - ), |
|
613 | - ) |
|
614 | - ) |
|
615 | - ); |
|
616 | - $this->adclients = new Google_Service_AdSense_Adclients_Resource( |
|
617 | - $this, |
|
618 | - $this->serviceName, |
|
619 | - 'adclients', |
|
620 | - array( |
|
621 | - 'methods' => array( |
|
622 | - 'list' => array( |
|
623 | - 'path' => 'adclients', |
|
624 | - 'httpMethod' => 'GET', |
|
625 | - 'parameters' => array( |
|
626 | - 'pageToken' => array( |
|
627 | - 'location' => 'query', |
|
628 | - 'type' => 'string', |
|
629 | - ), |
|
630 | - 'maxResults' => array( |
|
631 | - 'location' => 'query', |
|
632 | - 'type' => 'integer', |
|
633 | - ), |
|
634 | - ), |
|
635 | - ), |
|
636 | - ) |
|
637 | - ) |
|
638 | - ); |
|
639 | - $this->adunits = new Google_Service_AdSense_Adunits_Resource( |
|
640 | - $this, |
|
641 | - $this->serviceName, |
|
642 | - 'adunits', |
|
643 | - array( |
|
644 | - 'methods' => array( |
|
645 | - 'get' => array( |
|
646 | - 'path' => 'adclients/{adClientId}/adunits/{adUnitId}', |
|
647 | - 'httpMethod' => 'GET', |
|
648 | - 'parameters' => array( |
|
649 | - 'adClientId' => array( |
|
650 | - 'location' => 'path', |
|
651 | - 'type' => 'string', |
|
652 | - 'required' => true, |
|
653 | - ), |
|
654 | - 'adUnitId' => array( |
|
655 | - 'location' => 'path', |
|
656 | - 'type' => 'string', |
|
657 | - 'required' => true, |
|
658 | - ), |
|
659 | - ), |
|
660 | - ),'getAdCode' => array( |
|
661 | - 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/adcode', |
|
662 | - 'httpMethod' => 'GET', |
|
663 | - 'parameters' => array( |
|
664 | - 'adClientId' => array( |
|
665 | - 'location' => 'path', |
|
666 | - 'type' => 'string', |
|
667 | - 'required' => true, |
|
668 | - ), |
|
669 | - 'adUnitId' => array( |
|
670 | - 'location' => 'path', |
|
671 | - 'type' => 'string', |
|
672 | - 'required' => true, |
|
673 | - ), |
|
674 | - ), |
|
675 | - ),'list' => array( |
|
676 | - 'path' => 'adclients/{adClientId}/adunits', |
|
677 | - 'httpMethod' => 'GET', |
|
678 | - 'parameters' => array( |
|
679 | - 'adClientId' => array( |
|
680 | - 'location' => 'path', |
|
681 | - 'type' => 'string', |
|
682 | - 'required' => true, |
|
683 | - ), |
|
684 | - 'includeInactive' => array( |
|
685 | - 'location' => 'query', |
|
686 | - 'type' => 'boolean', |
|
687 | - ), |
|
688 | - 'pageToken' => array( |
|
689 | - 'location' => 'query', |
|
690 | - 'type' => 'string', |
|
691 | - ), |
|
692 | - 'maxResults' => array( |
|
693 | - 'location' => 'query', |
|
694 | - 'type' => 'integer', |
|
695 | - ), |
|
696 | - ), |
|
697 | - ), |
|
698 | - ) |
|
699 | - ) |
|
700 | - ); |
|
701 | - $this->adunits_customchannels = new Google_Service_AdSense_AdunitsCustomchannels_Resource( |
|
702 | - $this, |
|
703 | - $this->serviceName, |
|
704 | - 'customchannels', |
|
705 | - array( |
|
706 | - 'methods' => array( |
|
707 | - 'list' => array( |
|
708 | - 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels', |
|
709 | - 'httpMethod' => 'GET', |
|
710 | - 'parameters' => array( |
|
711 | - 'adClientId' => array( |
|
712 | - 'location' => 'path', |
|
713 | - 'type' => 'string', |
|
714 | - 'required' => true, |
|
715 | - ), |
|
716 | - 'adUnitId' => array( |
|
717 | - 'location' => 'path', |
|
718 | - 'type' => 'string', |
|
719 | - 'required' => true, |
|
720 | - ), |
|
721 | - 'pageToken' => array( |
|
722 | - 'location' => 'query', |
|
723 | - 'type' => 'string', |
|
724 | - ), |
|
725 | - 'maxResults' => array( |
|
726 | - 'location' => 'query', |
|
727 | - 'type' => 'integer', |
|
728 | - ), |
|
729 | - ), |
|
730 | - ), |
|
731 | - ) |
|
732 | - ) |
|
733 | - ); |
|
734 | - $this->alerts = new Google_Service_AdSense_Alerts_Resource( |
|
735 | - $this, |
|
736 | - $this->serviceName, |
|
737 | - 'alerts', |
|
738 | - array( |
|
739 | - 'methods' => array( |
|
740 | - 'delete' => array( |
|
741 | - 'path' => 'alerts/{alertId}', |
|
742 | - 'httpMethod' => 'DELETE', |
|
743 | - 'parameters' => array( |
|
744 | - 'alertId' => array( |
|
745 | - 'location' => 'path', |
|
746 | - 'type' => 'string', |
|
747 | - 'required' => true, |
|
748 | - ), |
|
749 | - ), |
|
750 | - ),'list' => array( |
|
751 | - 'path' => 'alerts', |
|
752 | - 'httpMethod' => 'GET', |
|
753 | - 'parameters' => array( |
|
754 | - 'locale' => array( |
|
755 | - 'location' => 'query', |
|
756 | - 'type' => 'string', |
|
757 | - ), |
|
758 | - ), |
|
759 | - ), |
|
760 | - ) |
|
761 | - ) |
|
762 | - ); |
|
763 | - $this->customchannels = new Google_Service_AdSense_Customchannels_Resource( |
|
764 | - $this, |
|
765 | - $this->serviceName, |
|
766 | - 'customchannels', |
|
767 | - array( |
|
768 | - 'methods' => array( |
|
769 | - 'get' => array( |
|
770 | - 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}', |
|
771 | - 'httpMethod' => 'GET', |
|
772 | - 'parameters' => array( |
|
773 | - 'adClientId' => array( |
|
774 | - 'location' => 'path', |
|
775 | - 'type' => 'string', |
|
776 | - 'required' => true, |
|
777 | - ), |
|
778 | - 'customChannelId' => array( |
|
779 | - 'location' => 'path', |
|
780 | - 'type' => 'string', |
|
781 | - 'required' => true, |
|
782 | - ), |
|
783 | - ), |
|
784 | - ),'list' => array( |
|
785 | - 'path' => 'adclients/{adClientId}/customchannels', |
|
786 | - 'httpMethod' => 'GET', |
|
787 | - 'parameters' => array( |
|
788 | - 'adClientId' => array( |
|
789 | - 'location' => 'path', |
|
790 | - 'type' => 'string', |
|
791 | - 'required' => true, |
|
792 | - ), |
|
793 | - 'pageToken' => array( |
|
794 | - 'location' => 'query', |
|
795 | - 'type' => 'string', |
|
796 | - ), |
|
797 | - 'maxResults' => array( |
|
798 | - 'location' => 'query', |
|
799 | - 'type' => 'integer', |
|
800 | - ), |
|
801 | - ), |
|
802 | - ), |
|
803 | - ) |
|
804 | - ) |
|
805 | - ); |
|
806 | - $this->customchannels_adunits = new Google_Service_AdSense_CustomchannelsAdunits_Resource( |
|
807 | - $this, |
|
808 | - $this->serviceName, |
|
809 | - 'adunits', |
|
810 | - array( |
|
811 | - 'methods' => array( |
|
812 | - 'list' => array( |
|
813 | - 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits', |
|
814 | - 'httpMethod' => 'GET', |
|
815 | - 'parameters' => array( |
|
816 | - 'adClientId' => array( |
|
817 | - 'location' => 'path', |
|
818 | - 'type' => 'string', |
|
819 | - 'required' => true, |
|
820 | - ), |
|
821 | - 'customChannelId' => array( |
|
822 | - 'location' => 'path', |
|
823 | - 'type' => 'string', |
|
824 | - 'required' => true, |
|
825 | - ), |
|
826 | - 'includeInactive' => array( |
|
827 | - 'location' => 'query', |
|
828 | - 'type' => 'boolean', |
|
829 | - ), |
|
830 | - 'pageToken' => array( |
|
831 | - 'location' => 'query', |
|
832 | - 'type' => 'string', |
|
833 | - ), |
|
834 | - 'maxResults' => array( |
|
835 | - 'location' => 'query', |
|
836 | - 'type' => 'integer', |
|
837 | - ), |
|
838 | - ), |
|
839 | - ), |
|
840 | - ) |
|
841 | - ) |
|
842 | - ); |
|
843 | - $this->metadata_dimensions = new Google_Service_AdSense_MetadataDimensions_Resource( |
|
844 | - $this, |
|
845 | - $this->serviceName, |
|
846 | - 'dimensions', |
|
847 | - array( |
|
848 | - 'methods' => array( |
|
849 | - 'list' => array( |
|
850 | - 'path' => 'metadata/dimensions', |
|
851 | - 'httpMethod' => 'GET', |
|
852 | - 'parameters' => array(), |
|
853 | - ), |
|
854 | - ) |
|
855 | - ) |
|
856 | - ); |
|
857 | - $this->metadata_metrics = new Google_Service_AdSense_MetadataMetrics_Resource( |
|
858 | - $this, |
|
859 | - $this->serviceName, |
|
860 | - 'metrics', |
|
861 | - array( |
|
862 | - 'methods' => array( |
|
863 | - 'list' => array( |
|
864 | - 'path' => 'metadata/metrics', |
|
865 | - 'httpMethod' => 'GET', |
|
866 | - 'parameters' => array(), |
|
867 | - ), |
|
868 | - ) |
|
869 | - ) |
|
870 | - ); |
|
871 | - $this->payments = new Google_Service_AdSense_Payments_Resource( |
|
872 | - $this, |
|
873 | - $this->serviceName, |
|
874 | - 'payments', |
|
875 | - array( |
|
876 | - 'methods' => array( |
|
877 | - 'list' => array( |
|
878 | - 'path' => 'payments', |
|
879 | - 'httpMethod' => 'GET', |
|
880 | - 'parameters' => array(), |
|
881 | - ), |
|
882 | - ) |
|
883 | - ) |
|
884 | - ); |
|
885 | - $this->reports = new Google_Service_AdSense_Reports_Resource( |
|
886 | - $this, |
|
887 | - $this->serviceName, |
|
888 | - 'reports', |
|
889 | - array( |
|
890 | - 'methods' => array( |
|
891 | - 'generate' => array( |
|
892 | - 'path' => 'reports', |
|
893 | - 'httpMethod' => 'GET', |
|
894 | - 'parameters' => array( |
|
895 | - 'startDate' => array( |
|
896 | - 'location' => 'query', |
|
897 | - 'type' => 'string', |
|
898 | - 'required' => true, |
|
899 | - ), |
|
900 | - 'endDate' => array( |
|
901 | - 'location' => 'query', |
|
902 | - 'type' => 'string', |
|
903 | - 'required' => true, |
|
904 | - ), |
|
905 | - 'sort' => array( |
|
906 | - 'location' => 'query', |
|
907 | - 'type' => 'string', |
|
908 | - 'repeated' => true, |
|
909 | - ), |
|
910 | - 'locale' => array( |
|
911 | - 'location' => 'query', |
|
912 | - 'type' => 'string', |
|
913 | - ), |
|
914 | - 'metric' => array( |
|
915 | - 'location' => 'query', |
|
916 | - 'type' => 'string', |
|
917 | - 'repeated' => true, |
|
918 | - ), |
|
919 | - 'maxResults' => array( |
|
920 | - 'location' => 'query', |
|
921 | - 'type' => 'integer', |
|
922 | - ), |
|
923 | - 'filter' => array( |
|
924 | - 'location' => 'query', |
|
925 | - 'type' => 'string', |
|
926 | - 'repeated' => true, |
|
927 | - ), |
|
928 | - 'currency' => array( |
|
929 | - 'location' => 'query', |
|
930 | - 'type' => 'string', |
|
931 | - ), |
|
932 | - 'startIndex' => array( |
|
933 | - 'location' => 'query', |
|
934 | - 'type' => 'integer', |
|
935 | - ), |
|
936 | - 'useTimezoneReporting' => array( |
|
937 | - 'location' => 'query', |
|
938 | - 'type' => 'boolean', |
|
939 | - ), |
|
940 | - 'dimension' => array( |
|
941 | - 'location' => 'query', |
|
942 | - 'type' => 'string', |
|
943 | - 'repeated' => true, |
|
944 | - ), |
|
945 | - 'accountId' => array( |
|
946 | - 'location' => 'query', |
|
947 | - 'type' => 'string', |
|
948 | - 'repeated' => true, |
|
949 | - ), |
|
950 | - ), |
|
951 | - ), |
|
952 | - ) |
|
953 | - ) |
|
954 | - ); |
|
955 | - $this->reports_saved = new Google_Service_AdSense_ReportsSaved_Resource( |
|
956 | - $this, |
|
957 | - $this->serviceName, |
|
958 | - 'saved', |
|
959 | - array( |
|
960 | - 'methods' => array( |
|
961 | - 'generate' => array( |
|
962 | - 'path' => 'reports/{savedReportId}', |
|
963 | - 'httpMethod' => 'GET', |
|
964 | - 'parameters' => array( |
|
965 | - 'savedReportId' => array( |
|
966 | - 'location' => 'path', |
|
967 | - 'type' => 'string', |
|
968 | - 'required' => true, |
|
969 | - ), |
|
970 | - 'locale' => array( |
|
971 | - 'location' => 'query', |
|
972 | - 'type' => 'string', |
|
973 | - ), |
|
974 | - 'startIndex' => array( |
|
975 | - 'location' => 'query', |
|
976 | - 'type' => 'integer', |
|
977 | - ), |
|
978 | - 'maxResults' => array( |
|
979 | - 'location' => 'query', |
|
980 | - 'type' => 'integer', |
|
981 | - ), |
|
982 | - ), |
|
983 | - ),'list' => array( |
|
984 | - 'path' => 'reports/saved', |
|
985 | - 'httpMethod' => 'GET', |
|
986 | - 'parameters' => array( |
|
987 | - 'pageToken' => array( |
|
988 | - 'location' => 'query', |
|
989 | - 'type' => 'string', |
|
990 | - ), |
|
991 | - 'maxResults' => array( |
|
992 | - 'location' => 'query', |
|
993 | - 'type' => 'integer', |
|
994 | - ), |
|
995 | - ), |
|
996 | - ), |
|
997 | - ) |
|
998 | - ) |
|
999 | - ); |
|
1000 | - $this->savedadstyles = new Google_Service_AdSense_Savedadstyles_Resource( |
|
1001 | - $this, |
|
1002 | - $this->serviceName, |
|
1003 | - 'savedadstyles', |
|
1004 | - array( |
|
1005 | - 'methods' => array( |
|
1006 | - 'get' => array( |
|
1007 | - 'path' => 'savedadstyles/{savedAdStyleId}', |
|
1008 | - 'httpMethod' => 'GET', |
|
1009 | - 'parameters' => array( |
|
1010 | - 'savedAdStyleId' => array( |
|
1011 | - 'location' => 'path', |
|
1012 | - 'type' => 'string', |
|
1013 | - 'required' => true, |
|
1014 | - ), |
|
1015 | - ), |
|
1016 | - ),'list' => array( |
|
1017 | - 'path' => 'savedadstyles', |
|
1018 | - 'httpMethod' => 'GET', |
|
1019 | - 'parameters' => array( |
|
1020 | - 'pageToken' => array( |
|
1021 | - 'location' => 'query', |
|
1022 | - 'type' => 'string', |
|
1023 | - ), |
|
1024 | - 'maxResults' => array( |
|
1025 | - 'location' => 'query', |
|
1026 | - 'type' => 'integer', |
|
1027 | - ), |
|
1028 | - ), |
|
1029 | - ), |
|
1030 | - ) |
|
1031 | - ) |
|
1032 | - ); |
|
1033 | - $this->urlchannels = new Google_Service_AdSense_Urlchannels_Resource( |
|
1034 | - $this, |
|
1035 | - $this->serviceName, |
|
1036 | - 'urlchannels', |
|
1037 | - array( |
|
1038 | - 'methods' => array( |
|
1039 | - 'list' => array( |
|
1040 | - 'path' => 'adclients/{adClientId}/urlchannels', |
|
1041 | - 'httpMethod' => 'GET', |
|
1042 | - 'parameters' => array( |
|
1043 | - 'adClientId' => array( |
|
1044 | - 'location' => 'path', |
|
1045 | - 'type' => 'string', |
|
1046 | - 'required' => true, |
|
1047 | - ), |
|
1048 | - 'pageToken' => array( |
|
1049 | - 'location' => 'query', |
|
1050 | - 'type' => 'string', |
|
1051 | - ), |
|
1052 | - 'maxResults' => array( |
|
1053 | - 'location' => 'query', |
|
1054 | - 'type' => 'integer', |
|
1055 | - ), |
|
1056 | - ), |
|
1057 | - ), |
|
1058 | - ) |
|
1059 | - ) |
|
1060 | - ); |
|
75 | + parent::__construct($client); |
|
76 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
77 | + $this->servicePath = 'adsense/v1.4/'; |
|
78 | + $this->version = 'v1.4'; |
|
79 | + $this->serviceName = 'adsense'; |
|
80 | + |
|
81 | + $this->accounts = new Google_Service_AdSense_Accounts_Resource( |
|
82 | + $this, |
|
83 | + $this->serviceName, |
|
84 | + 'accounts', |
|
85 | + array( |
|
86 | + 'methods' => array( |
|
87 | + 'get' => array( |
|
88 | + 'path' => 'accounts/{accountId}', |
|
89 | + 'httpMethod' => 'GET', |
|
90 | + 'parameters' => array( |
|
91 | + 'accountId' => array( |
|
92 | + 'location' => 'path', |
|
93 | + 'type' => 'string', |
|
94 | + 'required' => true, |
|
95 | + ), |
|
96 | + 'tree' => array( |
|
97 | + 'location' => 'query', |
|
98 | + 'type' => 'boolean', |
|
99 | + ), |
|
100 | + ), |
|
101 | + ),'list' => array( |
|
102 | + 'path' => 'accounts', |
|
103 | + 'httpMethod' => 'GET', |
|
104 | + 'parameters' => array( |
|
105 | + 'pageToken' => array( |
|
106 | + 'location' => 'query', |
|
107 | + 'type' => 'string', |
|
108 | + ), |
|
109 | + 'maxResults' => array( |
|
110 | + 'location' => 'query', |
|
111 | + 'type' => 'integer', |
|
112 | + ), |
|
113 | + ), |
|
114 | + ), |
|
115 | + ) |
|
116 | + ) |
|
117 | + ); |
|
118 | + $this->accounts_adclients = new Google_Service_AdSense_AccountsAdclients_Resource( |
|
119 | + $this, |
|
120 | + $this->serviceName, |
|
121 | + 'adclients', |
|
122 | + array( |
|
123 | + 'methods' => array( |
|
124 | + 'list' => array( |
|
125 | + 'path' => 'accounts/{accountId}/adclients', |
|
126 | + 'httpMethod' => 'GET', |
|
127 | + 'parameters' => array( |
|
128 | + 'accountId' => array( |
|
129 | + 'location' => 'path', |
|
130 | + 'type' => 'string', |
|
131 | + 'required' => true, |
|
132 | + ), |
|
133 | + 'pageToken' => array( |
|
134 | + 'location' => 'query', |
|
135 | + 'type' => 'string', |
|
136 | + ), |
|
137 | + 'maxResults' => array( |
|
138 | + 'location' => 'query', |
|
139 | + 'type' => 'integer', |
|
140 | + ), |
|
141 | + ), |
|
142 | + ), |
|
143 | + ) |
|
144 | + ) |
|
145 | + ); |
|
146 | + $this->accounts_adunits = new Google_Service_AdSense_AccountsAdunits_Resource( |
|
147 | + $this, |
|
148 | + $this->serviceName, |
|
149 | + 'adunits', |
|
150 | + array( |
|
151 | + 'methods' => array( |
|
152 | + 'get' => array( |
|
153 | + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', |
|
154 | + 'httpMethod' => 'GET', |
|
155 | + 'parameters' => array( |
|
156 | + 'accountId' => array( |
|
157 | + 'location' => 'path', |
|
158 | + 'type' => 'string', |
|
159 | + 'required' => true, |
|
160 | + ), |
|
161 | + 'adClientId' => array( |
|
162 | + 'location' => 'path', |
|
163 | + 'type' => 'string', |
|
164 | + 'required' => true, |
|
165 | + ), |
|
166 | + 'adUnitId' => array( |
|
167 | + 'location' => 'path', |
|
168 | + 'type' => 'string', |
|
169 | + 'required' => true, |
|
170 | + ), |
|
171 | + ), |
|
172 | + ),'getAdCode' => array( |
|
173 | + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', |
|
174 | + 'httpMethod' => 'GET', |
|
175 | + 'parameters' => array( |
|
176 | + 'accountId' => array( |
|
177 | + 'location' => 'path', |
|
178 | + 'type' => 'string', |
|
179 | + 'required' => true, |
|
180 | + ), |
|
181 | + 'adClientId' => array( |
|
182 | + 'location' => 'path', |
|
183 | + 'type' => 'string', |
|
184 | + 'required' => true, |
|
185 | + ), |
|
186 | + 'adUnitId' => array( |
|
187 | + 'location' => 'path', |
|
188 | + 'type' => 'string', |
|
189 | + 'required' => true, |
|
190 | + ), |
|
191 | + ), |
|
192 | + ),'list' => array( |
|
193 | + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', |
|
194 | + 'httpMethod' => 'GET', |
|
195 | + 'parameters' => array( |
|
196 | + 'accountId' => array( |
|
197 | + 'location' => 'path', |
|
198 | + 'type' => 'string', |
|
199 | + 'required' => true, |
|
200 | + ), |
|
201 | + 'adClientId' => array( |
|
202 | + 'location' => 'path', |
|
203 | + 'type' => 'string', |
|
204 | + 'required' => true, |
|
205 | + ), |
|
206 | + 'includeInactive' => array( |
|
207 | + 'location' => 'query', |
|
208 | + 'type' => 'boolean', |
|
209 | + ), |
|
210 | + 'pageToken' => array( |
|
211 | + 'location' => 'query', |
|
212 | + 'type' => 'string', |
|
213 | + ), |
|
214 | + 'maxResults' => array( |
|
215 | + 'location' => 'query', |
|
216 | + 'type' => 'integer', |
|
217 | + ), |
|
218 | + ), |
|
219 | + ), |
|
220 | + ) |
|
221 | + ) |
|
222 | + ); |
|
223 | + $this->accounts_adunits_customchannels = new Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource( |
|
224 | + $this, |
|
225 | + $this->serviceName, |
|
226 | + 'customchannels', |
|
227 | + array( |
|
228 | + 'methods' => array( |
|
229 | + 'list' => array( |
|
230 | + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels', |
|
231 | + 'httpMethod' => 'GET', |
|
232 | + 'parameters' => array( |
|
233 | + 'accountId' => array( |
|
234 | + 'location' => 'path', |
|
235 | + 'type' => 'string', |
|
236 | + 'required' => true, |
|
237 | + ), |
|
238 | + 'adClientId' => array( |
|
239 | + 'location' => 'path', |
|
240 | + 'type' => 'string', |
|
241 | + 'required' => true, |
|
242 | + ), |
|
243 | + 'adUnitId' => array( |
|
244 | + 'location' => 'path', |
|
245 | + 'type' => 'string', |
|
246 | + 'required' => true, |
|
247 | + ), |
|
248 | + 'pageToken' => array( |
|
249 | + 'location' => 'query', |
|
250 | + 'type' => 'string', |
|
251 | + ), |
|
252 | + 'maxResults' => array( |
|
253 | + 'location' => 'query', |
|
254 | + 'type' => 'integer', |
|
255 | + ), |
|
256 | + ), |
|
257 | + ), |
|
258 | + ) |
|
259 | + ) |
|
260 | + ); |
|
261 | + $this->accounts_alerts = new Google_Service_AdSense_AccountsAlerts_Resource( |
|
262 | + $this, |
|
263 | + $this->serviceName, |
|
264 | + 'alerts', |
|
265 | + array( |
|
266 | + 'methods' => array( |
|
267 | + 'delete' => array( |
|
268 | + 'path' => 'accounts/{accountId}/alerts/{alertId}', |
|
269 | + 'httpMethod' => 'DELETE', |
|
270 | + 'parameters' => array( |
|
271 | + 'accountId' => array( |
|
272 | + 'location' => 'path', |
|
273 | + 'type' => 'string', |
|
274 | + 'required' => true, |
|
275 | + ), |
|
276 | + 'alertId' => array( |
|
277 | + 'location' => 'path', |
|
278 | + 'type' => 'string', |
|
279 | + 'required' => true, |
|
280 | + ), |
|
281 | + ), |
|
282 | + ),'list' => array( |
|
283 | + 'path' => 'accounts/{accountId}/alerts', |
|
284 | + 'httpMethod' => 'GET', |
|
285 | + 'parameters' => array( |
|
286 | + 'accountId' => array( |
|
287 | + 'location' => 'path', |
|
288 | + 'type' => 'string', |
|
289 | + 'required' => true, |
|
290 | + ), |
|
291 | + 'locale' => array( |
|
292 | + 'location' => 'query', |
|
293 | + 'type' => 'string', |
|
294 | + ), |
|
295 | + ), |
|
296 | + ), |
|
297 | + ) |
|
298 | + ) |
|
299 | + ); |
|
300 | + $this->accounts_customchannels = new Google_Service_AdSense_AccountsCustomchannels_Resource( |
|
301 | + $this, |
|
302 | + $this->serviceName, |
|
303 | + 'customchannels', |
|
304 | + array( |
|
305 | + 'methods' => array( |
|
306 | + 'get' => array( |
|
307 | + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', |
|
308 | + 'httpMethod' => 'GET', |
|
309 | + 'parameters' => array( |
|
310 | + 'accountId' => array( |
|
311 | + 'location' => 'path', |
|
312 | + 'type' => 'string', |
|
313 | + 'required' => true, |
|
314 | + ), |
|
315 | + 'adClientId' => array( |
|
316 | + 'location' => 'path', |
|
317 | + 'type' => 'string', |
|
318 | + 'required' => true, |
|
319 | + ), |
|
320 | + 'customChannelId' => array( |
|
321 | + 'location' => 'path', |
|
322 | + 'type' => 'string', |
|
323 | + 'required' => true, |
|
324 | + ), |
|
325 | + ), |
|
326 | + ),'list' => array( |
|
327 | + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', |
|
328 | + 'httpMethod' => 'GET', |
|
329 | + 'parameters' => array( |
|
330 | + 'accountId' => array( |
|
331 | + 'location' => 'path', |
|
332 | + 'type' => 'string', |
|
333 | + 'required' => true, |
|
334 | + ), |
|
335 | + 'adClientId' => array( |
|
336 | + 'location' => 'path', |
|
337 | + 'type' => 'string', |
|
338 | + 'required' => true, |
|
339 | + ), |
|
340 | + 'pageToken' => array( |
|
341 | + 'location' => 'query', |
|
342 | + 'type' => 'string', |
|
343 | + ), |
|
344 | + 'maxResults' => array( |
|
345 | + 'location' => 'query', |
|
346 | + 'type' => 'integer', |
|
347 | + ), |
|
348 | + ), |
|
349 | + ), |
|
350 | + ) |
|
351 | + ) |
|
352 | + ); |
|
353 | + $this->accounts_customchannels_adunits = new Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource( |
|
354 | + $this, |
|
355 | + $this->serviceName, |
|
356 | + 'adunits', |
|
357 | + array( |
|
358 | + 'methods' => array( |
|
359 | + 'list' => array( |
|
360 | + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits', |
|
361 | + 'httpMethod' => 'GET', |
|
362 | + 'parameters' => array( |
|
363 | + 'accountId' => array( |
|
364 | + 'location' => 'path', |
|
365 | + 'type' => 'string', |
|
366 | + 'required' => true, |
|
367 | + ), |
|
368 | + 'adClientId' => array( |
|
369 | + 'location' => 'path', |
|
370 | + 'type' => 'string', |
|
371 | + 'required' => true, |
|
372 | + ), |
|
373 | + 'customChannelId' => array( |
|
374 | + 'location' => 'path', |
|
375 | + 'type' => 'string', |
|
376 | + 'required' => true, |
|
377 | + ), |
|
378 | + 'includeInactive' => array( |
|
379 | + 'location' => 'query', |
|
380 | + 'type' => 'boolean', |
|
381 | + ), |
|
382 | + 'maxResults' => array( |
|
383 | + 'location' => 'query', |
|
384 | + 'type' => 'integer', |
|
385 | + ), |
|
386 | + 'pageToken' => array( |
|
387 | + 'location' => 'query', |
|
388 | + 'type' => 'string', |
|
389 | + ), |
|
390 | + ), |
|
391 | + ), |
|
392 | + ) |
|
393 | + ) |
|
394 | + ); |
|
395 | + $this->accounts_payments = new Google_Service_AdSense_AccountsPayments_Resource( |
|
396 | + $this, |
|
397 | + $this->serviceName, |
|
398 | + 'payments', |
|
399 | + array( |
|
400 | + 'methods' => array( |
|
401 | + 'list' => array( |
|
402 | + 'path' => 'accounts/{accountId}/payments', |
|
403 | + 'httpMethod' => 'GET', |
|
404 | + 'parameters' => array( |
|
405 | + 'accountId' => array( |
|
406 | + 'location' => 'path', |
|
407 | + 'type' => 'string', |
|
408 | + 'required' => true, |
|
409 | + ), |
|
410 | + ), |
|
411 | + ), |
|
412 | + ) |
|
413 | + ) |
|
414 | + ); |
|
415 | + $this->accounts_reports = new Google_Service_AdSense_AccountsReports_Resource( |
|
416 | + $this, |
|
417 | + $this->serviceName, |
|
418 | + 'reports', |
|
419 | + array( |
|
420 | + 'methods' => array( |
|
421 | + 'generate' => array( |
|
422 | + 'path' => 'accounts/{accountId}/reports', |
|
423 | + 'httpMethod' => 'GET', |
|
424 | + 'parameters' => array( |
|
425 | + 'accountId' => array( |
|
426 | + 'location' => 'path', |
|
427 | + 'type' => 'string', |
|
428 | + 'required' => true, |
|
429 | + ), |
|
430 | + 'startDate' => array( |
|
431 | + 'location' => 'query', |
|
432 | + 'type' => 'string', |
|
433 | + 'required' => true, |
|
434 | + ), |
|
435 | + 'endDate' => array( |
|
436 | + 'location' => 'query', |
|
437 | + 'type' => 'string', |
|
438 | + 'required' => true, |
|
439 | + ), |
|
440 | + 'sort' => array( |
|
441 | + 'location' => 'query', |
|
442 | + 'type' => 'string', |
|
443 | + 'repeated' => true, |
|
444 | + ), |
|
445 | + 'locale' => array( |
|
446 | + 'location' => 'query', |
|
447 | + 'type' => 'string', |
|
448 | + ), |
|
449 | + 'metric' => array( |
|
450 | + 'location' => 'query', |
|
451 | + 'type' => 'string', |
|
452 | + 'repeated' => true, |
|
453 | + ), |
|
454 | + 'maxResults' => array( |
|
455 | + 'location' => 'query', |
|
456 | + 'type' => 'integer', |
|
457 | + ), |
|
458 | + 'filter' => array( |
|
459 | + 'location' => 'query', |
|
460 | + 'type' => 'string', |
|
461 | + 'repeated' => true, |
|
462 | + ), |
|
463 | + 'currency' => array( |
|
464 | + 'location' => 'query', |
|
465 | + 'type' => 'string', |
|
466 | + ), |
|
467 | + 'startIndex' => array( |
|
468 | + 'location' => 'query', |
|
469 | + 'type' => 'integer', |
|
470 | + ), |
|
471 | + 'useTimezoneReporting' => array( |
|
472 | + 'location' => 'query', |
|
473 | + 'type' => 'boolean', |
|
474 | + ), |
|
475 | + 'dimension' => array( |
|
476 | + 'location' => 'query', |
|
477 | + 'type' => 'string', |
|
478 | + 'repeated' => true, |
|
479 | + ), |
|
480 | + ), |
|
481 | + ), |
|
482 | + ) |
|
483 | + ) |
|
484 | + ); |
|
485 | + $this->accounts_reports_saved = new Google_Service_AdSense_AccountsReportsSaved_Resource( |
|
486 | + $this, |
|
487 | + $this->serviceName, |
|
488 | + 'saved', |
|
489 | + array( |
|
490 | + 'methods' => array( |
|
491 | + 'generate' => array( |
|
492 | + 'path' => 'accounts/{accountId}/reports/{savedReportId}', |
|
493 | + 'httpMethod' => 'GET', |
|
494 | + 'parameters' => array( |
|
495 | + 'accountId' => array( |
|
496 | + 'location' => 'path', |
|
497 | + 'type' => 'string', |
|
498 | + 'required' => true, |
|
499 | + ), |
|
500 | + 'savedReportId' => array( |
|
501 | + 'location' => 'path', |
|
502 | + 'type' => 'string', |
|
503 | + 'required' => true, |
|
504 | + ), |
|
505 | + 'locale' => array( |
|
506 | + 'location' => 'query', |
|
507 | + 'type' => 'string', |
|
508 | + ), |
|
509 | + 'startIndex' => array( |
|
510 | + 'location' => 'query', |
|
511 | + 'type' => 'integer', |
|
512 | + ), |
|
513 | + 'maxResults' => array( |
|
514 | + 'location' => 'query', |
|
515 | + 'type' => 'integer', |
|
516 | + ), |
|
517 | + ), |
|
518 | + ),'list' => array( |
|
519 | + 'path' => 'accounts/{accountId}/reports/saved', |
|
520 | + 'httpMethod' => 'GET', |
|
521 | + 'parameters' => array( |
|
522 | + 'accountId' => array( |
|
523 | + 'location' => 'path', |
|
524 | + 'type' => 'string', |
|
525 | + 'required' => true, |
|
526 | + ), |
|
527 | + 'pageToken' => array( |
|
528 | + 'location' => 'query', |
|
529 | + 'type' => 'string', |
|
530 | + ), |
|
531 | + 'maxResults' => array( |
|
532 | + 'location' => 'query', |
|
533 | + 'type' => 'integer', |
|
534 | + ), |
|
535 | + ), |
|
536 | + ), |
|
537 | + ) |
|
538 | + ) |
|
539 | + ); |
|
540 | + $this->accounts_savedadstyles = new Google_Service_AdSense_AccountsSavedadstyles_Resource( |
|
541 | + $this, |
|
542 | + $this->serviceName, |
|
543 | + 'savedadstyles', |
|
544 | + array( |
|
545 | + 'methods' => array( |
|
546 | + 'get' => array( |
|
547 | + 'path' => 'accounts/{accountId}/savedadstyles/{savedAdStyleId}', |
|
548 | + 'httpMethod' => 'GET', |
|
549 | + 'parameters' => array( |
|
550 | + 'accountId' => array( |
|
551 | + 'location' => 'path', |
|
552 | + 'type' => 'string', |
|
553 | + 'required' => true, |
|
554 | + ), |
|
555 | + 'savedAdStyleId' => array( |
|
556 | + 'location' => 'path', |
|
557 | + 'type' => 'string', |
|
558 | + 'required' => true, |
|
559 | + ), |
|
560 | + ), |
|
561 | + ),'list' => array( |
|
562 | + 'path' => 'accounts/{accountId}/savedadstyles', |
|
563 | + 'httpMethod' => 'GET', |
|
564 | + 'parameters' => array( |
|
565 | + 'accountId' => array( |
|
566 | + 'location' => 'path', |
|
567 | + 'type' => 'string', |
|
568 | + 'required' => true, |
|
569 | + ), |
|
570 | + 'pageToken' => array( |
|
571 | + 'location' => 'query', |
|
572 | + 'type' => 'string', |
|
573 | + ), |
|
574 | + 'maxResults' => array( |
|
575 | + 'location' => 'query', |
|
576 | + 'type' => 'integer', |
|
577 | + ), |
|
578 | + ), |
|
579 | + ), |
|
580 | + ) |
|
581 | + ) |
|
582 | + ); |
|
583 | + $this->accounts_urlchannels = new Google_Service_AdSense_AccountsUrlchannels_Resource( |
|
584 | + $this, |
|
585 | + $this->serviceName, |
|
586 | + 'urlchannels', |
|
587 | + array( |
|
588 | + 'methods' => array( |
|
589 | + 'list' => array( |
|
590 | + 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels', |
|
591 | + 'httpMethod' => 'GET', |
|
592 | + 'parameters' => array( |
|
593 | + 'accountId' => array( |
|
594 | + 'location' => 'path', |
|
595 | + 'type' => 'string', |
|
596 | + 'required' => true, |
|
597 | + ), |
|
598 | + 'adClientId' => array( |
|
599 | + 'location' => 'path', |
|
600 | + 'type' => 'string', |
|
601 | + 'required' => true, |
|
602 | + ), |
|
603 | + 'pageToken' => array( |
|
604 | + 'location' => 'query', |
|
605 | + 'type' => 'string', |
|
606 | + ), |
|
607 | + 'maxResults' => array( |
|
608 | + 'location' => 'query', |
|
609 | + 'type' => 'integer', |
|
610 | + ), |
|
611 | + ), |
|
612 | + ), |
|
613 | + ) |
|
614 | + ) |
|
615 | + ); |
|
616 | + $this->adclients = new Google_Service_AdSense_Adclients_Resource( |
|
617 | + $this, |
|
618 | + $this->serviceName, |
|
619 | + 'adclients', |
|
620 | + array( |
|
621 | + 'methods' => array( |
|
622 | + 'list' => array( |
|
623 | + 'path' => 'adclients', |
|
624 | + 'httpMethod' => 'GET', |
|
625 | + 'parameters' => array( |
|
626 | + 'pageToken' => array( |
|
627 | + 'location' => 'query', |
|
628 | + 'type' => 'string', |
|
629 | + ), |
|
630 | + 'maxResults' => array( |
|
631 | + 'location' => 'query', |
|
632 | + 'type' => 'integer', |
|
633 | + ), |
|
634 | + ), |
|
635 | + ), |
|
636 | + ) |
|
637 | + ) |
|
638 | + ); |
|
639 | + $this->adunits = new Google_Service_AdSense_Adunits_Resource( |
|
640 | + $this, |
|
641 | + $this->serviceName, |
|
642 | + 'adunits', |
|
643 | + array( |
|
644 | + 'methods' => array( |
|
645 | + 'get' => array( |
|
646 | + 'path' => 'adclients/{adClientId}/adunits/{adUnitId}', |
|
647 | + 'httpMethod' => 'GET', |
|
648 | + 'parameters' => array( |
|
649 | + 'adClientId' => array( |
|
650 | + 'location' => 'path', |
|
651 | + 'type' => 'string', |
|
652 | + 'required' => true, |
|
653 | + ), |
|
654 | + 'adUnitId' => array( |
|
655 | + 'location' => 'path', |
|
656 | + 'type' => 'string', |
|
657 | + 'required' => true, |
|
658 | + ), |
|
659 | + ), |
|
660 | + ),'getAdCode' => array( |
|
661 | + 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/adcode', |
|
662 | + 'httpMethod' => 'GET', |
|
663 | + 'parameters' => array( |
|
664 | + 'adClientId' => array( |
|
665 | + 'location' => 'path', |
|
666 | + 'type' => 'string', |
|
667 | + 'required' => true, |
|
668 | + ), |
|
669 | + 'adUnitId' => array( |
|
670 | + 'location' => 'path', |
|
671 | + 'type' => 'string', |
|
672 | + 'required' => true, |
|
673 | + ), |
|
674 | + ), |
|
675 | + ),'list' => array( |
|
676 | + 'path' => 'adclients/{adClientId}/adunits', |
|
677 | + 'httpMethod' => 'GET', |
|
678 | + 'parameters' => array( |
|
679 | + 'adClientId' => array( |
|
680 | + 'location' => 'path', |
|
681 | + 'type' => 'string', |
|
682 | + 'required' => true, |
|
683 | + ), |
|
684 | + 'includeInactive' => array( |
|
685 | + 'location' => 'query', |
|
686 | + 'type' => 'boolean', |
|
687 | + ), |
|
688 | + 'pageToken' => array( |
|
689 | + 'location' => 'query', |
|
690 | + 'type' => 'string', |
|
691 | + ), |
|
692 | + 'maxResults' => array( |
|
693 | + 'location' => 'query', |
|
694 | + 'type' => 'integer', |
|
695 | + ), |
|
696 | + ), |
|
697 | + ), |
|
698 | + ) |
|
699 | + ) |
|
700 | + ); |
|
701 | + $this->adunits_customchannels = new Google_Service_AdSense_AdunitsCustomchannels_Resource( |
|
702 | + $this, |
|
703 | + $this->serviceName, |
|
704 | + 'customchannels', |
|
705 | + array( |
|
706 | + 'methods' => array( |
|
707 | + 'list' => array( |
|
708 | + 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels', |
|
709 | + 'httpMethod' => 'GET', |
|
710 | + 'parameters' => array( |
|
711 | + 'adClientId' => array( |
|
712 | + 'location' => 'path', |
|
713 | + 'type' => 'string', |
|
714 | + 'required' => true, |
|
715 | + ), |
|
716 | + 'adUnitId' => array( |
|
717 | + 'location' => 'path', |
|
718 | + 'type' => 'string', |
|
719 | + 'required' => true, |
|
720 | + ), |
|
721 | + 'pageToken' => array( |
|
722 | + 'location' => 'query', |
|
723 | + 'type' => 'string', |
|
724 | + ), |
|
725 | + 'maxResults' => array( |
|
726 | + 'location' => 'query', |
|
727 | + 'type' => 'integer', |
|
728 | + ), |
|
729 | + ), |
|
730 | + ), |
|
731 | + ) |
|
732 | + ) |
|
733 | + ); |
|
734 | + $this->alerts = new Google_Service_AdSense_Alerts_Resource( |
|
735 | + $this, |
|
736 | + $this->serviceName, |
|
737 | + 'alerts', |
|
738 | + array( |
|
739 | + 'methods' => array( |
|
740 | + 'delete' => array( |
|
741 | + 'path' => 'alerts/{alertId}', |
|
742 | + 'httpMethod' => 'DELETE', |
|
743 | + 'parameters' => array( |
|
744 | + 'alertId' => array( |
|
745 | + 'location' => 'path', |
|
746 | + 'type' => 'string', |
|
747 | + 'required' => true, |
|
748 | + ), |
|
749 | + ), |
|
750 | + ),'list' => array( |
|
751 | + 'path' => 'alerts', |
|
752 | + 'httpMethod' => 'GET', |
|
753 | + 'parameters' => array( |
|
754 | + 'locale' => array( |
|
755 | + 'location' => 'query', |
|
756 | + 'type' => 'string', |
|
757 | + ), |
|
758 | + ), |
|
759 | + ), |
|
760 | + ) |
|
761 | + ) |
|
762 | + ); |
|
763 | + $this->customchannels = new Google_Service_AdSense_Customchannels_Resource( |
|
764 | + $this, |
|
765 | + $this->serviceName, |
|
766 | + 'customchannels', |
|
767 | + array( |
|
768 | + 'methods' => array( |
|
769 | + 'get' => array( |
|
770 | + 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}', |
|
771 | + 'httpMethod' => 'GET', |
|
772 | + 'parameters' => array( |
|
773 | + 'adClientId' => array( |
|
774 | + 'location' => 'path', |
|
775 | + 'type' => 'string', |
|
776 | + 'required' => true, |
|
777 | + ), |
|
778 | + 'customChannelId' => array( |
|
779 | + 'location' => 'path', |
|
780 | + 'type' => 'string', |
|
781 | + 'required' => true, |
|
782 | + ), |
|
783 | + ), |
|
784 | + ),'list' => array( |
|
785 | + 'path' => 'adclients/{adClientId}/customchannels', |
|
786 | + 'httpMethod' => 'GET', |
|
787 | + 'parameters' => array( |
|
788 | + 'adClientId' => array( |
|
789 | + 'location' => 'path', |
|
790 | + 'type' => 'string', |
|
791 | + 'required' => true, |
|
792 | + ), |
|
793 | + 'pageToken' => array( |
|
794 | + 'location' => 'query', |
|
795 | + 'type' => 'string', |
|
796 | + ), |
|
797 | + 'maxResults' => array( |
|
798 | + 'location' => 'query', |
|
799 | + 'type' => 'integer', |
|
800 | + ), |
|
801 | + ), |
|
802 | + ), |
|
803 | + ) |
|
804 | + ) |
|
805 | + ); |
|
806 | + $this->customchannels_adunits = new Google_Service_AdSense_CustomchannelsAdunits_Resource( |
|
807 | + $this, |
|
808 | + $this->serviceName, |
|
809 | + 'adunits', |
|
810 | + array( |
|
811 | + 'methods' => array( |
|
812 | + 'list' => array( |
|
813 | + 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits', |
|
814 | + 'httpMethod' => 'GET', |
|
815 | + 'parameters' => array( |
|
816 | + 'adClientId' => array( |
|
817 | + 'location' => 'path', |
|
818 | + 'type' => 'string', |
|
819 | + 'required' => true, |
|
820 | + ), |
|
821 | + 'customChannelId' => array( |
|
822 | + 'location' => 'path', |
|
823 | + 'type' => 'string', |
|
824 | + 'required' => true, |
|
825 | + ), |
|
826 | + 'includeInactive' => array( |
|
827 | + 'location' => 'query', |
|
828 | + 'type' => 'boolean', |
|
829 | + ), |
|
830 | + 'pageToken' => array( |
|
831 | + 'location' => 'query', |
|
832 | + 'type' => 'string', |
|
833 | + ), |
|
834 | + 'maxResults' => array( |
|
835 | + 'location' => 'query', |
|
836 | + 'type' => 'integer', |
|
837 | + ), |
|
838 | + ), |
|
839 | + ), |
|
840 | + ) |
|
841 | + ) |
|
842 | + ); |
|
843 | + $this->metadata_dimensions = new Google_Service_AdSense_MetadataDimensions_Resource( |
|
844 | + $this, |
|
845 | + $this->serviceName, |
|
846 | + 'dimensions', |
|
847 | + array( |
|
848 | + 'methods' => array( |
|
849 | + 'list' => array( |
|
850 | + 'path' => 'metadata/dimensions', |
|
851 | + 'httpMethod' => 'GET', |
|
852 | + 'parameters' => array(), |
|
853 | + ), |
|
854 | + ) |
|
855 | + ) |
|
856 | + ); |
|
857 | + $this->metadata_metrics = new Google_Service_AdSense_MetadataMetrics_Resource( |
|
858 | + $this, |
|
859 | + $this->serviceName, |
|
860 | + 'metrics', |
|
861 | + array( |
|
862 | + 'methods' => array( |
|
863 | + 'list' => array( |
|
864 | + 'path' => 'metadata/metrics', |
|
865 | + 'httpMethod' => 'GET', |
|
866 | + 'parameters' => array(), |
|
867 | + ), |
|
868 | + ) |
|
869 | + ) |
|
870 | + ); |
|
871 | + $this->payments = new Google_Service_AdSense_Payments_Resource( |
|
872 | + $this, |
|
873 | + $this->serviceName, |
|
874 | + 'payments', |
|
875 | + array( |
|
876 | + 'methods' => array( |
|
877 | + 'list' => array( |
|
878 | + 'path' => 'payments', |
|
879 | + 'httpMethod' => 'GET', |
|
880 | + 'parameters' => array(), |
|
881 | + ), |
|
882 | + ) |
|
883 | + ) |
|
884 | + ); |
|
885 | + $this->reports = new Google_Service_AdSense_Reports_Resource( |
|
886 | + $this, |
|
887 | + $this->serviceName, |
|
888 | + 'reports', |
|
889 | + array( |
|
890 | + 'methods' => array( |
|
891 | + 'generate' => array( |
|
892 | + 'path' => 'reports', |
|
893 | + 'httpMethod' => 'GET', |
|
894 | + 'parameters' => array( |
|
895 | + 'startDate' => array( |
|
896 | + 'location' => 'query', |
|
897 | + 'type' => 'string', |
|
898 | + 'required' => true, |
|
899 | + ), |
|
900 | + 'endDate' => array( |
|
901 | + 'location' => 'query', |
|
902 | + 'type' => 'string', |
|
903 | + 'required' => true, |
|
904 | + ), |
|
905 | + 'sort' => array( |
|
906 | + 'location' => 'query', |
|
907 | + 'type' => 'string', |
|
908 | + 'repeated' => true, |
|
909 | + ), |
|
910 | + 'locale' => array( |
|
911 | + 'location' => 'query', |
|
912 | + 'type' => 'string', |
|
913 | + ), |
|
914 | + 'metric' => array( |
|
915 | + 'location' => 'query', |
|
916 | + 'type' => 'string', |
|
917 | + 'repeated' => true, |
|
918 | + ), |
|
919 | + 'maxResults' => array( |
|
920 | + 'location' => 'query', |
|
921 | + 'type' => 'integer', |
|
922 | + ), |
|
923 | + 'filter' => array( |
|
924 | + 'location' => 'query', |
|
925 | + 'type' => 'string', |
|
926 | + 'repeated' => true, |
|
927 | + ), |
|
928 | + 'currency' => array( |
|
929 | + 'location' => 'query', |
|
930 | + 'type' => 'string', |
|
931 | + ), |
|
932 | + 'startIndex' => array( |
|
933 | + 'location' => 'query', |
|
934 | + 'type' => 'integer', |
|
935 | + ), |
|
936 | + 'useTimezoneReporting' => array( |
|
937 | + 'location' => 'query', |
|
938 | + 'type' => 'boolean', |
|
939 | + ), |
|
940 | + 'dimension' => array( |
|
941 | + 'location' => 'query', |
|
942 | + 'type' => 'string', |
|
943 | + 'repeated' => true, |
|
944 | + ), |
|
945 | + 'accountId' => array( |
|
946 | + 'location' => 'query', |
|
947 | + 'type' => 'string', |
|
948 | + 'repeated' => true, |
|
949 | + ), |
|
950 | + ), |
|
951 | + ), |
|
952 | + ) |
|
953 | + ) |
|
954 | + ); |
|
955 | + $this->reports_saved = new Google_Service_AdSense_ReportsSaved_Resource( |
|
956 | + $this, |
|
957 | + $this->serviceName, |
|
958 | + 'saved', |
|
959 | + array( |
|
960 | + 'methods' => array( |
|
961 | + 'generate' => array( |
|
962 | + 'path' => 'reports/{savedReportId}', |
|
963 | + 'httpMethod' => 'GET', |
|
964 | + 'parameters' => array( |
|
965 | + 'savedReportId' => array( |
|
966 | + 'location' => 'path', |
|
967 | + 'type' => 'string', |
|
968 | + 'required' => true, |
|
969 | + ), |
|
970 | + 'locale' => array( |
|
971 | + 'location' => 'query', |
|
972 | + 'type' => 'string', |
|
973 | + ), |
|
974 | + 'startIndex' => array( |
|
975 | + 'location' => 'query', |
|
976 | + 'type' => 'integer', |
|
977 | + ), |
|
978 | + 'maxResults' => array( |
|
979 | + 'location' => 'query', |
|
980 | + 'type' => 'integer', |
|
981 | + ), |
|
982 | + ), |
|
983 | + ),'list' => array( |
|
984 | + 'path' => 'reports/saved', |
|
985 | + 'httpMethod' => 'GET', |
|
986 | + 'parameters' => array( |
|
987 | + 'pageToken' => array( |
|
988 | + 'location' => 'query', |
|
989 | + 'type' => 'string', |
|
990 | + ), |
|
991 | + 'maxResults' => array( |
|
992 | + 'location' => 'query', |
|
993 | + 'type' => 'integer', |
|
994 | + ), |
|
995 | + ), |
|
996 | + ), |
|
997 | + ) |
|
998 | + ) |
|
999 | + ); |
|
1000 | + $this->savedadstyles = new Google_Service_AdSense_Savedadstyles_Resource( |
|
1001 | + $this, |
|
1002 | + $this->serviceName, |
|
1003 | + 'savedadstyles', |
|
1004 | + array( |
|
1005 | + 'methods' => array( |
|
1006 | + 'get' => array( |
|
1007 | + 'path' => 'savedadstyles/{savedAdStyleId}', |
|
1008 | + 'httpMethod' => 'GET', |
|
1009 | + 'parameters' => array( |
|
1010 | + 'savedAdStyleId' => array( |
|
1011 | + 'location' => 'path', |
|
1012 | + 'type' => 'string', |
|
1013 | + 'required' => true, |
|
1014 | + ), |
|
1015 | + ), |
|
1016 | + ),'list' => array( |
|
1017 | + 'path' => 'savedadstyles', |
|
1018 | + 'httpMethod' => 'GET', |
|
1019 | + 'parameters' => array( |
|
1020 | + 'pageToken' => array( |
|
1021 | + 'location' => 'query', |
|
1022 | + 'type' => 'string', |
|
1023 | + ), |
|
1024 | + 'maxResults' => array( |
|
1025 | + 'location' => 'query', |
|
1026 | + 'type' => 'integer', |
|
1027 | + ), |
|
1028 | + ), |
|
1029 | + ), |
|
1030 | + ) |
|
1031 | + ) |
|
1032 | + ); |
|
1033 | + $this->urlchannels = new Google_Service_AdSense_Urlchannels_Resource( |
|
1034 | + $this, |
|
1035 | + $this->serviceName, |
|
1036 | + 'urlchannels', |
|
1037 | + array( |
|
1038 | + 'methods' => array( |
|
1039 | + 'list' => array( |
|
1040 | + 'path' => 'adclients/{adClientId}/urlchannels', |
|
1041 | + 'httpMethod' => 'GET', |
|
1042 | + 'parameters' => array( |
|
1043 | + 'adClientId' => array( |
|
1044 | + 'location' => 'path', |
|
1045 | + 'type' => 'string', |
|
1046 | + 'required' => true, |
|
1047 | + ), |
|
1048 | + 'pageToken' => array( |
|
1049 | + 'location' => 'query', |
|
1050 | + 'type' => 'string', |
|
1051 | + ), |
|
1052 | + 'maxResults' => array( |
|
1053 | + 'location' => 'query', |
|
1054 | + 'type' => 'integer', |
|
1055 | + ), |
|
1056 | + ), |
|
1057 | + ), |
|
1058 | + ) |
|
1059 | + ) |
|
1060 | + ); |
|
1061 | 1061 | } |
1062 | 1062 | } |
1063 | 1063 | |
@@ -1084,9 +1084,9 @@ discard block |
||
1084 | 1084 | */ |
1085 | 1085 | public function get($accountId, $optParams = array()) |
1086 | 1086 | { |
1087 | - $params = array('accountId' => $accountId); |
|
1088 | - $params = array_merge($params, $optParams); |
|
1089 | - return $this->call('get', array($params), "Google_Service_AdSense_Account"); |
|
1087 | + $params = array('accountId' => $accountId); |
|
1088 | + $params = array_merge($params, $optParams); |
|
1089 | + return $this->call('get', array($params), "Google_Service_AdSense_Account"); |
|
1090 | 1090 | } |
1091 | 1091 | |
1092 | 1092 | /** |
@@ -1103,9 +1103,9 @@ discard block |
||
1103 | 1103 | */ |
1104 | 1104 | public function listAccounts($optParams = array()) |
1105 | 1105 | { |
1106 | - $params = array(); |
|
1107 | - $params = array_merge($params, $optParams); |
|
1108 | - return $this->call('list', array($params), "Google_Service_AdSense_Accounts"); |
|
1106 | + $params = array(); |
|
1107 | + $params = array_merge($params, $optParams); |
|
1108 | + return $this->call('list', array($params), "Google_Service_AdSense_Accounts"); |
|
1109 | 1109 | } |
1110 | 1110 | } |
1111 | 1111 | |
@@ -1136,9 +1136,9 @@ discard block |
||
1136 | 1136 | */ |
1137 | 1137 | public function listAccountsAdclients($accountId, $optParams = array()) |
1138 | 1138 | { |
1139 | - $params = array('accountId' => $accountId); |
|
1140 | - $params = array_merge($params, $optParams); |
|
1141 | - return $this->call('list', array($params), "Google_Service_AdSense_AdClients"); |
|
1139 | + $params = array('accountId' => $accountId); |
|
1140 | + $params = array_merge($params, $optParams); |
|
1141 | + return $this->call('list', array($params), "Google_Service_AdSense_AdClients"); |
|
1142 | 1142 | } |
1143 | 1143 | } |
1144 | 1144 | /** |
@@ -1164,9 +1164,9 @@ discard block |
||
1164 | 1164 | */ |
1165 | 1165 | public function get($accountId, $adClientId, $adUnitId, $optParams = array()) |
1166 | 1166 | { |
1167 | - $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); |
|
1168 | - $params = array_merge($params, $optParams); |
|
1169 | - return $this->call('get', array($params), "Google_Service_AdSense_AdUnit"); |
|
1167 | + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); |
|
1168 | + $params = array_merge($params, $optParams); |
|
1169 | + return $this->call('get', array($params), "Google_Service_AdSense_AdUnit"); |
|
1170 | 1170 | } |
1171 | 1171 | |
1172 | 1172 | /** |
@@ -1180,9 +1180,9 @@ discard block |
||
1180 | 1180 | */ |
1181 | 1181 | public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array()) |
1182 | 1182 | { |
1183 | - $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); |
|
1184 | - $params = array_merge($params, $optParams); |
|
1185 | - return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode"); |
|
1183 | + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); |
|
1184 | + $params = array_merge($params, $optParams); |
|
1185 | + return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode"); |
|
1186 | 1186 | } |
1187 | 1187 | |
1188 | 1188 | /** |
@@ -1204,9 +1204,9 @@ discard block |
||
1204 | 1204 | */ |
1205 | 1205 | public function listAccountsAdunits($accountId, $adClientId, $optParams = array()) |
1206 | 1206 | { |
1207 | - $params = array('accountId' => $accountId, 'adClientId' => $adClientId); |
|
1208 | - $params = array_merge($params, $optParams); |
|
1209 | - return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); |
|
1207 | + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); |
|
1208 | + $params = array_merge($params, $optParams); |
|
1209 | + return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); |
|
1210 | 1210 | } |
1211 | 1211 | } |
1212 | 1212 | |
@@ -1239,9 +1239,9 @@ discard block |
||
1239 | 1239 | */ |
1240 | 1240 | public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array()) |
1241 | 1241 | { |
1242 | - $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); |
|
1243 | - $params = array_merge($params, $optParams); |
|
1244 | - return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); |
|
1242 | + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); |
|
1243 | + $params = array_merge($params, $optParams); |
|
1244 | + return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); |
|
1245 | 1245 | } |
1246 | 1246 | } |
1247 | 1247 | /** |
@@ -1265,9 +1265,9 @@ discard block |
||
1265 | 1265 | */ |
1266 | 1266 | public function delete($accountId, $alertId, $optParams = array()) |
1267 | 1267 | { |
1268 | - $params = array('accountId' => $accountId, 'alertId' => $alertId); |
|
1269 | - $params = array_merge($params, $optParams); |
|
1270 | - return $this->call('delete', array($params)); |
|
1268 | + $params = array('accountId' => $accountId, 'alertId' => $alertId); |
|
1269 | + $params = array_merge($params, $optParams); |
|
1270 | + return $this->call('delete', array($params)); |
|
1271 | 1271 | } |
1272 | 1272 | |
1273 | 1273 | /** |
@@ -1284,9 +1284,9 @@ discard block |
||
1284 | 1284 | */ |
1285 | 1285 | public function listAccountsAlerts($accountId, $optParams = array()) |
1286 | 1286 | { |
1287 | - $params = array('accountId' => $accountId); |
|
1288 | - $params = array_merge($params, $optParams); |
|
1289 | - return $this->call('list', array($params), "Google_Service_AdSense_Alerts"); |
|
1287 | + $params = array('accountId' => $accountId); |
|
1288 | + $params = array_merge($params, $optParams); |
|
1289 | + return $this->call('list', array($params), "Google_Service_AdSense_Alerts"); |
|
1290 | 1290 | } |
1291 | 1291 | } |
1292 | 1292 | /** |
@@ -1312,9 +1312,9 @@ discard block |
||
1312 | 1312 | */ |
1313 | 1313 | public function get($accountId, $adClientId, $customChannelId, $optParams = array()) |
1314 | 1314 | { |
1315 | - $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId); |
|
1316 | - $params = array_merge($params, $optParams); |
|
1317 | - return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel"); |
|
1315 | + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId); |
|
1316 | + $params = array_merge($params, $optParams); |
|
1317 | + return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel"); |
|
1318 | 1318 | } |
1319 | 1319 | |
1320 | 1320 | /** |
@@ -1334,9 +1334,9 @@ discard block |
||
1334 | 1334 | */ |
1335 | 1335 | public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array()) |
1336 | 1336 | { |
1337 | - $params = array('accountId' => $accountId, 'adClientId' => $adClientId); |
|
1338 | - $params = array_merge($params, $optParams); |
|
1339 | - return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); |
|
1337 | + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); |
|
1338 | + $params = array_merge($params, $optParams); |
|
1339 | + return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); |
|
1340 | 1340 | } |
1341 | 1341 | } |
1342 | 1342 | |
@@ -1371,9 +1371,9 @@ discard block |
||
1371 | 1371 | */ |
1372 | 1372 | public function listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array()) |
1373 | 1373 | { |
1374 | - $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId); |
|
1375 | - $params = array_merge($params, $optParams); |
|
1376 | - return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); |
|
1374 | + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId); |
|
1375 | + $params = array_merge($params, $optParams); |
|
1376 | + return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); |
|
1377 | 1377 | } |
1378 | 1378 | } |
1379 | 1379 | /** |
@@ -1397,9 +1397,9 @@ discard block |
||
1397 | 1397 | */ |
1398 | 1398 | public function listAccountsPayments($accountId, $optParams = array()) |
1399 | 1399 | { |
1400 | - $params = array('accountId' => $accountId); |
|
1401 | - $params = array_merge($params, $optParams); |
|
1402 | - return $this->call('list', array($params), "Google_Service_AdSense_Payments"); |
|
1400 | + $params = array('accountId' => $accountId); |
|
1401 | + $params = array_merge($params, $optParams); |
|
1402 | + return $this->call('list', array($params), "Google_Service_AdSense_Payments"); |
|
1403 | 1403 | } |
1404 | 1404 | } |
1405 | 1405 | /** |
@@ -1445,9 +1445,9 @@ discard block |
||
1445 | 1445 | */ |
1446 | 1446 | public function generate($accountId, $startDate, $endDate, $optParams = array()) |
1447 | 1447 | { |
1448 | - $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate); |
|
1449 | - $params = array_merge($params, $optParams); |
|
1450 | - return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); |
|
1448 | + $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate); |
|
1449 | + $params = array_merge($params, $optParams); |
|
1450 | + return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); |
|
1451 | 1451 | } |
1452 | 1452 | } |
1453 | 1453 | |
@@ -1479,9 +1479,9 @@ discard block |
||
1479 | 1479 | */ |
1480 | 1480 | public function generate($accountId, $savedReportId, $optParams = array()) |
1481 | 1481 | { |
1482 | - $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId); |
|
1483 | - $params = array_merge($params, $optParams); |
|
1484 | - return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); |
|
1482 | + $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId); |
|
1483 | + $params = array_merge($params, $optParams); |
|
1484 | + return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); |
|
1485 | 1485 | } |
1486 | 1486 | |
1487 | 1487 | /** |
@@ -1500,9 +1500,9 @@ discard block |
||
1500 | 1500 | */ |
1501 | 1501 | public function listAccountsReportsSaved($accountId, $optParams = array()) |
1502 | 1502 | { |
1503 | - $params = array('accountId' => $accountId); |
|
1504 | - $params = array_merge($params, $optParams); |
|
1505 | - return $this->call('list', array($params), "Google_Service_AdSense_SavedReports"); |
|
1503 | + $params = array('accountId' => $accountId); |
|
1504 | + $params = array_merge($params, $optParams); |
|
1505 | + return $this->call('list', array($params), "Google_Service_AdSense_SavedReports"); |
|
1506 | 1506 | } |
1507 | 1507 | } |
1508 | 1508 | /** |
@@ -1526,9 +1526,9 @@ discard block |
||
1526 | 1526 | */ |
1527 | 1527 | public function get($accountId, $savedAdStyleId, $optParams = array()) |
1528 | 1528 | { |
1529 | - $params = array('accountId' => $accountId, 'savedAdStyleId' => $savedAdStyleId); |
|
1530 | - $params = array_merge($params, $optParams); |
|
1531 | - return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle"); |
|
1529 | + $params = array('accountId' => $accountId, 'savedAdStyleId' => $savedAdStyleId); |
|
1530 | + $params = array_merge($params, $optParams); |
|
1531 | + return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle"); |
|
1532 | 1532 | } |
1533 | 1533 | |
1534 | 1534 | /** |
@@ -1547,9 +1547,9 @@ discard block |
||
1547 | 1547 | */ |
1548 | 1548 | public function listAccountsSavedadstyles($accountId, $optParams = array()) |
1549 | 1549 | { |
1550 | - $params = array('accountId' => $accountId); |
|
1551 | - $params = array_merge($params, $optParams); |
|
1552 | - return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles"); |
|
1550 | + $params = array('accountId' => $accountId); |
|
1551 | + $params = array_merge($params, $optParams); |
|
1552 | + return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles"); |
|
1553 | 1553 | } |
1554 | 1554 | } |
1555 | 1555 | /** |
@@ -1580,9 +1580,9 @@ discard block |
||
1580 | 1580 | */ |
1581 | 1581 | public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array()) |
1582 | 1582 | { |
1583 | - $params = array('accountId' => $accountId, 'adClientId' => $adClientId); |
|
1584 | - $params = array_merge($params, $optParams); |
|
1585 | - return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels"); |
|
1583 | + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); |
|
1584 | + $params = array_merge($params, $optParams); |
|
1585 | + return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels"); |
|
1586 | 1586 | } |
1587 | 1587 | } |
1588 | 1588 | |
@@ -1611,9 +1611,9 @@ discard block |
||
1611 | 1611 | */ |
1612 | 1612 | public function listAdclients($optParams = array()) |
1613 | 1613 | { |
1614 | - $params = array(); |
|
1615 | - $params = array_merge($params, $optParams); |
|
1616 | - return $this->call('list', array($params), "Google_Service_AdSense_AdClients"); |
|
1614 | + $params = array(); |
|
1615 | + $params = array_merge($params, $optParams); |
|
1616 | + return $this->call('list', array($params), "Google_Service_AdSense_AdClients"); |
|
1617 | 1617 | } |
1618 | 1618 | } |
1619 | 1619 | |
@@ -1638,9 +1638,9 @@ discard block |
||
1638 | 1638 | */ |
1639 | 1639 | public function get($adClientId, $adUnitId, $optParams = array()) |
1640 | 1640 | { |
1641 | - $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); |
|
1642 | - $params = array_merge($params, $optParams); |
|
1643 | - return $this->call('get', array($params), "Google_Service_AdSense_AdUnit"); |
|
1641 | + $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); |
|
1642 | + $params = array_merge($params, $optParams); |
|
1643 | + return $this->call('get', array($params), "Google_Service_AdSense_AdUnit"); |
|
1644 | 1644 | } |
1645 | 1645 | |
1646 | 1646 | /** |
@@ -1653,9 +1653,9 @@ discard block |
||
1653 | 1653 | */ |
1654 | 1654 | public function getAdCode($adClientId, $adUnitId, $optParams = array()) |
1655 | 1655 | { |
1656 | - $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); |
|
1657 | - $params = array_merge($params, $optParams); |
|
1658 | - return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode"); |
|
1656 | + $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); |
|
1657 | + $params = array_merge($params, $optParams); |
|
1658 | + return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode"); |
|
1659 | 1659 | } |
1660 | 1660 | |
1661 | 1661 | /** |
@@ -1676,9 +1676,9 @@ discard block |
||
1676 | 1676 | */ |
1677 | 1677 | public function listAdunits($adClientId, $optParams = array()) |
1678 | 1678 | { |
1679 | - $params = array('adClientId' => $adClientId); |
|
1680 | - $params = array_merge($params, $optParams); |
|
1681 | - return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); |
|
1679 | + $params = array('adClientId' => $adClientId); |
|
1680 | + $params = array_merge($params, $optParams); |
|
1681 | + return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); |
|
1682 | 1682 | } |
1683 | 1683 | } |
1684 | 1684 | |
@@ -1710,9 +1710,9 @@ discard block |
||
1710 | 1710 | */ |
1711 | 1711 | public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array()) |
1712 | 1712 | { |
1713 | - $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); |
|
1714 | - $params = array_merge($params, $optParams); |
|
1715 | - return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); |
|
1713 | + $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); |
|
1714 | + $params = array_merge($params, $optParams); |
|
1715 | + return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); |
|
1716 | 1716 | } |
1717 | 1717 | } |
1718 | 1718 | |
@@ -1736,9 +1736,9 @@ discard block |
||
1736 | 1736 | */ |
1737 | 1737 | public function delete($alertId, $optParams = array()) |
1738 | 1738 | { |
1739 | - $params = array('alertId' => $alertId); |
|
1740 | - $params = array_merge($params, $optParams); |
|
1741 | - return $this->call('delete', array($params)); |
|
1739 | + $params = array('alertId' => $alertId); |
|
1740 | + $params = array_merge($params, $optParams); |
|
1741 | + return $this->call('delete', array($params)); |
|
1742 | 1742 | } |
1743 | 1743 | |
1744 | 1744 | /** |
@@ -1753,9 +1753,9 @@ discard block |
||
1753 | 1753 | */ |
1754 | 1754 | public function listAlerts($optParams = array()) |
1755 | 1755 | { |
1756 | - $params = array(); |
|
1757 | - $params = array_merge($params, $optParams); |
|
1758 | - return $this->call('list', array($params), "Google_Service_AdSense_Alerts"); |
|
1756 | + $params = array(); |
|
1757 | + $params = array_merge($params, $optParams); |
|
1758 | + return $this->call('list', array($params), "Google_Service_AdSense_Alerts"); |
|
1759 | 1759 | } |
1760 | 1760 | } |
1761 | 1761 | |
@@ -1781,9 +1781,9 @@ discard block |
||
1781 | 1781 | */ |
1782 | 1782 | public function get($adClientId, $customChannelId, $optParams = array()) |
1783 | 1783 | { |
1784 | - $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); |
|
1785 | - $params = array_merge($params, $optParams); |
|
1786 | - return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel"); |
|
1784 | + $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); |
|
1785 | + $params = array_merge($params, $optParams); |
|
1786 | + return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel"); |
|
1787 | 1787 | } |
1788 | 1788 | |
1789 | 1789 | /** |
@@ -1802,9 +1802,9 @@ discard block |
||
1802 | 1802 | */ |
1803 | 1803 | public function listCustomchannels($adClientId, $optParams = array()) |
1804 | 1804 | { |
1805 | - $params = array('adClientId' => $adClientId); |
|
1806 | - $params = array_merge($params, $optParams); |
|
1807 | - return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); |
|
1805 | + $params = array('adClientId' => $adClientId); |
|
1806 | + $params = array_merge($params, $optParams); |
|
1807 | + return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); |
|
1808 | 1808 | } |
1809 | 1809 | } |
1810 | 1810 | |
@@ -1838,9 +1838,9 @@ discard block |
||
1838 | 1838 | */ |
1839 | 1839 | public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array()) |
1840 | 1840 | { |
1841 | - $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); |
|
1842 | - $params = array_merge($params, $optParams); |
|
1843 | - return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); |
|
1841 | + $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); |
|
1842 | + $params = array_merge($params, $optParams); |
|
1843 | + return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); |
|
1844 | 1844 | } |
1845 | 1845 | } |
1846 | 1846 | |
@@ -1876,9 +1876,9 @@ discard block |
||
1876 | 1876 | */ |
1877 | 1877 | public function listMetadataDimensions($optParams = array()) |
1878 | 1878 | { |
1879 | - $params = array(); |
|
1880 | - $params = array_merge($params, $optParams); |
|
1881 | - return $this->call('list', array($params), "Google_Service_AdSense_Metadata"); |
|
1879 | + $params = array(); |
|
1880 | + $params = array_merge($params, $optParams); |
|
1881 | + return $this->call('list', array($params), "Google_Service_AdSense_Metadata"); |
|
1882 | 1882 | } |
1883 | 1883 | } |
1884 | 1884 | /** |
@@ -1901,9 +1901,9 @@ discard block |
||
1901 | 1901 | */ |
1902 | 1902 | public function listMetadataMetrics($optParams = array()) |
1903 | 1903 | { |
1904 | - $params = array(); |
|
1905 | - $params = array_merge($params, $optParams); |
|
1906 | - return $this->call('list', array($params), "Google_Service_AdSense_Metadata"); |
|
1904 | + $params = array(); |
|
1905 | + $params = array_merge($params, $optParams); |
|
1906 | + return $this->call('list', array($params), "Google_Service_AdSense_Metadata"); |
|
1907 | 1907 | } |
1908 | 1908 | } |
1909 | 1909 | |
@@ -1926,9 +1926,9 @@ discard block |
||
1926 | 1926 | */ |
1927 | 1927 | public function listPayments($optParams = array()) |
1928 | 1928 | { |
1929 | - $params = array(); |
|
1930 | - $params = array_merge($params, $optParams); |
|
1931 | - return $this->call('list', array($params), "Google_Service_AdSense_Payments"); |
|
1929 | + $params = array(); |
|
1930 | + $params = array_merge($params, $optParams); |
|
1931 | + return $this->call('list', array($params), "Google_Service_AdSense_Payments"); |
|
1932 | 1932 | } |
1933 | 1933 | } |
1934 | 1934 | |
@@ -1975,9 +1975,9 @@ discard block |
||
1975 | 1975 | */ |
1976 | 1976 | public function generate($startDate, $endDate, $optParams = array()) |
1977 | 1977 | { |
1978 | - $params = array('startDate' => $startDate, 'endDate' => $endDate); |
|
1979 | - $params = array_merge($params, $optParams); |
|
1980 | - return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); |
|
1978 | + $params = array('startDate' => $startDate, 'endDate' => $endDate); |
|
1979 | + $params = array_merge($params, $optParams); |
|
1980 | + return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); |
|
1981 | 1981 | } |
1982 | 1982 | } |
1983 | 1983 | |
@@ -2008,9 +2008,9 @@ discard block |
||
2008 | 2008 | */ |
2009 | 2009 | public function generate($savedReportId, $optParams = array()) |
2010 | 2010 | { |
2011 | - $params = array('savedReportId' => $savedReportId); |
|
2012 | - $params = array_merge($params, $optParams); |
|
2013 | - return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); |
|
2011 | + $params = array('savedReportId' => $savedReportId); |
|
2012 | + $params = array_merge($params, $optParams); |
|
2013 | + return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); |
|
2014 | 2014 | } |
2015 | 2015 | |
2016 | 2016 | /** |
@@ -2027,9 +2027,9 @@ discard block |
||
2027 | 2027 | */ |
2028 | 2028 | public function listReportsSaved($optParams = array()) |
2029 | 2029 | { |
2030 | - $params = array(); |
|
2031 | - $params = array_merge($params, $optParams); |
|
2032 | - return $this->call('list', array($params), "Google_Service_AdSense_SavedReports"); |
|
2030 | + $params = array(); |
|
2031 | + $params = array_merge($params, $optParams); |
|
2032 | + return $this->call('list', array($params), "Google_Service_AdSense_SavedReports"); |
|
2033 | 2033 | } |
2034 | 2034 | } |
2035 | 2035 | |
@@ -2053,9 +2053,9 @@ discard block |
||
2053 | 2053 | */ |
2054 | 2054 | public function get($savedAdStyleId, $optParams = array()) |
2055 | 2055 | { |
2056 | - $params = array('savedAdStyleId' => $savedAdStyleId); |
|
2057 | - $params = array_merge($params, $optParams); |
|
2058 | - return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle"); |
|
2056 | + $params = array('savedAdStyleId' => $savedAdStyleId); |
|
2057 | + $params = array_merge($params, $optParams); |
|
2058 | + return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle"); |
|
2059 | 2059 | } |
2060 | 2060 | |
2061 | 2061 | /** |
@@ -2073,9 +2073,9 @@ discard block |
||
2073 | 2073 | */ |
2074 | 2074 | public function listSavedadstyles($optParams = array()) |
2075 | 2075 | { |
2076 | - $params = array(); |
|
2077 | - $params = array_merge($params, $optParams); |
|
2078 | - return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles"); |
|
2076 | + $params = array(); |
|
2077 | + $params = array_merge($params, $optParams); |
|
2078 | + return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles"); |
|
2079 | 2079 | } |
2080 | 2080 | } |
2081 | 2081 | |
@@ -2106,9 +2106,9 @@ discard block |
||
2106 | 2106 | */ |
2107 | 2107 | public function listUrlchannels($adClientId, $optParams = array()) |
2108 | 2108 | { |
2109 | - $params = array('adClientId' => $adClientId); |
|
2110 | - $params = array_merge($params, $optParams); |
|
2111 | - return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels"); |
|
2109 | + $params = array('adClientId' => $adClientId); |
|
2110 | + $params = array_merge($params, $optParams); |
|
2111 | + return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels"); |
|
2112 | 2112 | } |
2113 | 2113 | } |
2114 | 2114 | |
@@ -2131,51 +2131,51 @@ discard block |
||
2131 | 2131 | |
2132 | 2132 | public function setId($id) |
2133 | 2133 | { |
2134 | - $this->id = $id; |
|
2134 | + $this->id = $id; |
|
2135 | 2135 | } |
2136 | 2136 | public function getId() |
2137 | 2137 | { |
2138 | - return $this->id; |
|
2138 | + return $this->id; |
|
2139 | 2139 | } |
2140 | 2140 | public function setKind($kind) |
2141 | 2141 | { |
2142 | - $this->kind = $kind; |
|
2142 | + $this->kind = $kind; |
|
2143 | 2143 | } |
2144 | 2144 | public function getKind() |
2145 | 2145 | { |
2146 | - return $this->kind; |
|
2146 | + return $this->kind; |
|
2147 | 2147 | } |
2148 | 2148 | public function setName($name) |
2149 | 2149 | { |
2150 | - $this->name = $name; |
|
2150 | + $this->name = $name; |
|
2151 | 2151 | } |
2152 | 2152 | public function getName() |
2153 | 2153 | { |
2154 | - return $this->name; |
|
2154 | + return $this->name; |
|
2155 | 2155 | } |
2156 | 2156 | public function setPremium($premium) |
2157 | 2157 | { |
2158 | - $this->premium = $premium; |
|
2158 | + $this->premium = $premium; |
|
2159 | 2159 | } |
2160 | 2160 | public function getPremium() |
2161 | 2161 | { |
2162 | - return $this->premium; |
|
2162 | + return $this->premium; |
|
2163 | 2163 | } |
2164 | 2164 | public function setSubAccounts($subAccounts) |
2165 | 2165 | { |
2166 | - $this->subAccounts = $subAccounts; |
|
2166 | + $this->subAccounts = $subAccounts; |
|
2167 | 2167 | } |
2168 | 2168 | public function getSubAccounts() |
2169 | 2169 | { |
2170 | - return $this->subAccounts; |
|
2170 | + return $this->subAccounts; |
|
2171 | 2171 | } |
2172 | 2172 | public function setTimezone($timezone) |
2173 | 2173 | { |
2174 | - $this->timezone = $timezone; |
|
2174 | + $this->timezone = $timezone; |
|
2175 | 2175 | } |
2176 | 2176 | public function getTimezone() |
2177 | 2177 | { |
2178 | - return $this->timezone; |
|
2178 | + return $this->timezone; |
|
2179 | 2179 | } |
2180 | 2180 | } |
2181 | 2181 | |
@@ -2193,35 +2193,35 @@ discard block |
||
2193 | 2193 | |
2194 | 2194 | public function setEtag($etag) |
2195 | 2195 | { |
2196 | - $this->etag = $etag; |
|
2196 | + $this->etag = $etag; |
|
2197 | 2197 | } |
2198 | 2198 | public function getEtag() |
2199 | 2199 | { |
2200 | - return $this->etag; |
|
2200 | + return $this->etag; |
|
2201 | 2201 | } |
2202 | 2202 | public function setItems($items) |
2203 | 2203 | { |
2204 | - $this->items = $items; |
|
2204 | + $this->items = $items; |
|
2205 | 2205 | } |
2206 | 2206 | public function getItems() |
2207 | 2207 | { |
2208 | - return $this->items; |
|
2208 | + return $this->items; |
|
2209 | 2209 | } |
2210 | 2210 | public function setKind($kind) |
2211 | 2211 | { |
2212 | - $this->kind = $kind; |
|
2212 | + $this->kind = $kind; |
|
2213 | 2213 | } |
2214 | 2214 | public function getKind() |
2215 | 2215 | { |
2216 | - return $this->kind; |
|
2216 | + return $this->kind; |
|
2217 | 2217 | } |
2218 | 2218 | public function setNextPageToken($nextPageToken) |
2219 | 2219 | { |
2220 | - $this->nextPageToken = $nextPageToken; |
|
2220 | + $this->nextPageToken = $nextPageToken; |
|
2221 | 2221 | } |
2222 | 2222 | public function getNextPageToken() |
2223 | 2223 | { |
2224 | - return $this->nextPageToken; |
|
2224 | + return $this->nextPageToken; |
|
2225 | 2225 | } |
2226 | 2226 | } |
2227 | 2227 | |
@@ -2239,51 +2239,51 @@ discard block |
||
2239 | 2239 | |
2240 | 2240 | public function setArcOptIn($arcOptIn) |
2241 | 2241 | { |
2242 | - $this->arcOptIn = $arcOptIn; |
|
2242 | + $this->arcOptIn = $arcOptIn; |
|
2243 | 2243 | } |
2244 | 2244 | public function getArcOptIn() |
2245 | 2245 | { |
2246 | - return $this->arcOptIn; |
|
2246 | + return $this->arcOptIn; |
|
2247 | 2247 | } |
2248 | 2248 | public function setArcReviewMode($arcReviewMode) |
2249 | 2249 | { |
2250 | - $this->arcReviewMode = $arcReviewMode; |
|
2250 | + $this->arcReviewMode = $arcReviewMode; |
|
2251 | 2251 | } |
2252 | 2252 | public function getArcReviewMode() |
2253 | 2253 | { |
2254 | - return $this->arcReviewMode; |
|
2254 | + return $this->arcReviewMode; |
|
2255 | 2255 | } |
2256 | 2256 | public function setId($id) |
2257 | 2257 | { |
2258 | - $this->id = $id; |
|
2258 | + $this->id = $id; |
|
2259 | 2259 | } |
2260 | 2260 | public function getId() |
2261 | 2261 | { |
2262 | - return $this->id; |
|
2262 | + return $this->id; |
|
2263 | 2263 | } |
2264 | 2264 | public function setKind($kind) |
2265 | 2265 | { |
2266 | - $this->kind = $kind; |
|
2266 | + $this->kind = $kind; |
|
2267 | 2267 | } |
2268 | 2268 | public function getKind() |
2269 | 2269 | { |
2270 | - return $this->kind; |
|
2270 | + return $this->kind; |
|
2271 | 2271 | } |
2272 | 2272 | public function setProductCode($productCode) |
2273 | 2273 | { |
2274 | - $this->productCode = $productCode; |
|
2274 | + $this->productCode = $productCode; |
|
2275 | 2275 | } |
2276 | 2276 | public function getProductCode() |
2277 | 2277 | { |
2278 | - return $this->productCode; |
|
2278 | + return $this->productCode; |
|
2279 | 2279 | } |
2280 | 2280 | public function setSupportsReporting($supportsReporting) |
2281 | 2281 | { |
2282 | - $this->supportsReporting = $supportsReporting; |
|
2282 | + $this->supportsReporting = $supportsReporting; |
|
2283 | 2283 | } |
2284 | 2284 | public function getSupportsReporting() |
2285 | 2285 | { |
2286 | - return $this->supportsReporting; |
|
2286 | + return $this->supportsReporting; |
|
2287 | 2287 | } |
2288 | 2288 | } |
2289 | 2289 | |
@@ -2301,35 +2301,35 @@ discard block |
||
2301 | 2301 | |
2302 | 2302 | public function setEtag($etag) |
2303 | 2303 | { |
2304 | - $this->etag = $etag; |
|
2304 | + $this->etag = $etag; |
|
2305 | 2305 | } |
2306 | 2306 | public function getEtag() |
2307 | 2307 | { |
2308 | - return $this->etag; |
|
2308 | + return $this->etag; |
|
2309 | 2309 | } |
2310 | 2310 | public function setItems($items) |
2311 | 2311 | { |
2312 | - $this->items = $items; |
|
2312 | + $this->items = $items; |
|
2313 | 2313 | } |
2314 | 2314 | public function getItems() |
2315 | 2315 | { |
2316 | - return $this->items; |
|
2316 | + return $this->items; |
|
2317 | 2317 | } |
2318 | 2318 | public function setKind($kind) |
2319 | 2319 | { |
2320 | - $this->kind = $kind; |
|
2320 | + $this->kind = $kind; |
|
2321 | 2321 | } |
2322 | 2322 | public function getKind() |
2323 | 2323 | { |
2324 | - return $this->kind; |
|
2324 | + return $this->kind; |
|
2325 | 2325 | } |
2326 | 2326 | public function setNextPageToken($nextPageToken) |
2327 | 2327 | { |
2328 | - $this->nextPageToken = $nextPageToken; |
|
2328 | + $this->nextPageToken = $nextPageToken; |
|
2329 | 2329 | } |
2330 | 2330 | public function getNextPageToken() |
2331 | 2331 | { |
2332 | - return $this->nextPageToken; |
|
2332 | + return $this->nextPageToken; |
|
2333 | 2333 | } |
2334 | 2334 | } |
2335 | 2335 | |
@@ -2343,19 +2343,19 @@ discard block |
||
2343 | 2343 | |
2344 | 2344 | public function setAdCode($adCode) |
2345 | 2345 | { |
2346 | - $this->adCode = $adCode; |
|
2346 | + $this->adCode = $adCode; |
|
2347 | 2347 | } |
2348 | 2348 | public function getAdCode() |
2349 | 2349 | { |
2350 | - return $this->adCode; |
|
2350 | + return $this->adCode; |
|
2351 | 2351 | } |
2352 | 2352 | public function setKind($kind) |
2353 | 2353 | { |
2354 | - $this->kind = $kind; |
|
2354 | + $this->kind = $kind; |
|
2355 | 2355 | } |
2356 | 2356 | public function getKind() |
2357 | 2357 | { |
2358 | - return $this->kind; |
|
2358 | + return $this->kind; |
|
2359 | 2359 | } |
2360 | 2360 | } |
2361 | 2361 | |
@@ -2373,35 +2373,35 @@ discard block |
||
2373 | 2373 | |
2374 | 2374 | public function setColors(Google_Service_AdSense_AdStyleColors $colors) |
2375 | 2375 | { |
2376 | - $this->colors = $colors; |
|
2376 | + $this->colors = $colors; |
|
2377 | 2377 | } |
2378 | 2378 | public function getColors() |
2379 | 2379 | { |
2380 | - return $this->colors; |
|
2380 | + return $this->colors; |
|
2381 | 2381 | } |
2382 | 2382 | public function setCorners($corners) |
2383 | 2383 | { |
2384 | - $this->corners = $corners; |
|
2384 | + $this->corners = $corners; |
|
2385 | 2385 | } |
2386 | 2386 | public function getCorners() |
2387 | 2387 | { |
2388 | - return $this->corners; |
|
2388 | + return $this->corners; |
|
2389 | 2389 | } |
2390 | 2390 | public function setFont(Google_Service_AdSense_AdStyleFont $font) |
2391 | 2391 | { |
2392 | - $this->font = $font; |
|
2392 | + $this->font = $font; |
|
2393 | 2393 | } |
2394 | 2394 | public function getFont() |
2395 | 2395 | { |
2396 | - return $this->font; |
|
2396 | + return $this->font; |
|
2397 | 2397 | } |
2398 | 2398 | public function setKind($kind) |
2399 | 2399 | { |
2400 | - $this->kind = $kind; |
|
2400 | + $this->kind = $kind; |
|
2401 | 2401 | } |
2402 | 2402 | public function getKind() |
2403 | 2403 | { |
2404 | - return $this->kind; |
|
2404 | + return $this->kind; |
|
2405 | 2405 | } |
2406 | 2406 | } |
2407 | 2407 | |
@@ -2418,43 +2418,43 @@ discard block |
||
2418 | 2418 | |
2419 | 2419 | public function setBackground($background) |
2420 | 2420 | { |
2421 | - $this->background = $background; |
|
2421 | + $this->background = $background; |
|
2422 | 2422 | } |
2423 | 2423 | public function getBackground() |
2424 | 2424 | { |
2425 | - return $this->background; |
|
2425 | + return $this->background; |
|
2426 | 2426 | } |
2427 | 2427 | public function setBorder($border) |
2428 | 2428 | { |
2429 | - $this->border = $border; |
|
2429 | + $this->border = $border; |
|
2430 | 2430 | } |
2431 | 2431 | public function getBorder() |
2432 | 2432 | { |
2433 | - return $this->border; |
|
2433 | + return $this->border; |
|
2434 | 2434 | } |
2435 | 2435 | public function setText($text) |
2436 | 2436 | { |
2437 | - $this->text = $text; |
|
2437 | + $this->text = $text; |
|
2438 | 2438 | } |
2439 | 2439 | public function getText() |
2440 | 2440 | { |
2441 | - return $this->text; |
|
2441 | + return $this->text; |
|
2442 | 2442 | } |
2443 | 2443 | public function setTitle($title) |
2444 | 2444 | { |
2445 | - $this->title = $title; |
|
2445 | + $this->title = $title; |
|
2446 | 2446 | } |
2447 | 2447 | public function getTitle() |
2448 | 2448 | { |
2449 | - return $this->title; |
|
2449 | + return $this->title; |
|
2450 | 2450 | } |
2451 | 2451 | public function setUrl($url) |
2452 | 2452 | { |
2453 | - $this->url = $url; |
|
2453 | + $this->url = $url; |
|
2454 | 2454 | } |
2455 | 2455 | public function getUrl() |
2456 | 2456 | { |
2457 | - return $this->url; |
|
2457 | + return $this->url; |
|
2458 | 2458 | } |
2459 | 2459 | } |
2460 | 2460 | |
@@ -2468,19 +2468,19 @@ discard block |
||
2468 | 2468 | |
2469 | 2469 | public function setFamily($family) |
2470 | 2470 | { |
2471 | - $this->family = $family; |
|
2471 | + $this->family = $family; |
|
2472 | 2472 | } |
2473 | 2473 | public function getFamily() |
2474 | 2474 | { |
2475 | - return $this->family; |
|
2475 | + return $this->family; |
|
2476 | 2476 | } |
2477 | 2477 | public function setSize($size) |
2478 | 2478 | { |
2479 | - $this->size = $size; |
|
2479 | + $this->size = $size; |
|
2480 | 2480 | } |
2481 | 2481 | public function getSize() |
2482 | 2482 | { |
2483 | - return $this->size; |
|
2483 | + return $this->size; |
|
2484 | 2484 | } |
2485 | 2485 | } |
2486 | 2486 | |
@@ -2506,83 +2506,83 @@ discard block |
||
2506 | 2506 | |
2507 | 2507 | public function setCode($code) |
2508 | 2508 | { |
2509 | - $this->code = $code; |
|
2509 | + $this->code = $code; |
|
2510 | 2510 | } |
2511 | 2511 | public function getCode() |
2512 | 2512 | { |
2513 | - return $this->code; |
|
2513 | + return $this->code; |
|
2514 | 2514 | } |
2515 | 2515 | public function setContentAdsSettings(Google_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings) |
2516 | 2516 | { |
2517 | - $this->contentAdsSettings = $contentAdsSettings; |
|
2517 | + $this->contentAdsSettings = $contentAdsSettings; |
|
2518 | 2518 | } |
2519 | 2519 | public function getContentAdsSettings() |
2520 | 2520 | { |
2521 | - return $this->contentAdsSettings; |
|
2521 | + return $this->contentAdsSettings; |
|
2522 | 2522 | } |
2523 | 2523 | public function setCustomStyle(Google_Service_AdSense_AdStyle $customStyle) |
2524 | 2524 | { |
2525 | - $this->customStyle = $customStyle; |
|
2525 | + $this->customStyle = $customStyle; |
|
2526 | 2526 | } |
2527 | 2527 | public function getCustomStyle() |
2528 | 2528 | { |
2529 | - return $this->customStyle; |
|
2529 | + return $this->customStyle; |
|
2530 | 2530 | } |
2531 | 2531 | public function setFeedAdsSettings(Google_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings) |
2532 | 2532 | { |
2533 | - $this->feedAdsSettings = $feedAdsSettings; |
|
2533 | + $this->feedAdsSettings = $feedAdsSettings; |
|
2534 | 2534 | } |
2535 | 2535 | public function getFeedAdsSettings() |
2536 | 2536 | { |
2537 | - return $this->feedAdsSettings; |
|
2537 | + return $this->feedAdsSettings; |
|
2538 | 2538 | } |
2539 | 2539 | public function setId($id) |
2540 | 2540 | { |
2541 | - $this->id = $id; |
|
2541 | + $this->id = $id; |
|
2542 | 2542 | } |
2543 | 2543 | public function getId() |
2544 | 2544 | { |
2545 | - return $this->id; |
|
2545 | + return $this->id; |
|
2546 | 2546 | } |
2547 | 2547 | public function setKind($kind) |
2548 | 2548 | { |
2549 | - $this->kind = $kind; |
|
2549 | + $this->kind = $kind; |
|
2550 | 2550 | } |
2551 | 2551 | public function getKind() |
2552 | 2552 | { |
2553 | - return $this->kind; |
|
2553 | + return $this->kind; |
|
2554 | 2554 | } |
2555 | 2555 | public function setMobileContentAdsSettings(Google_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings) |
2556 | 2556 | { |
2557 | - $this->mobileContentAdsSettings = $mobileContentAdsSettings; |
|
2557 | + $this->mobileContentAdsSettings = $mobileContentAdsSettings; |
|
2558 | 2558 | } |
2559 | 2559 | public function getMobileContentAdsSettings() |
2560 | 2560 | { |
2561 | - return $this->mobileContentAdsSettings; |
|
2561 | + return $this->mobileContentAdsSettings; |
|
2562 | 2562 | } |
2563 | 2563 | public function setName($name) |
2564 | 2564 | { |
2565 | - $this->name = $name; |
|
2565 | + $this->name = $name; |
|
2566 | 2566 | } |
2567 | 2567 | public function getName() |
2568 | 2568 | { |
2569 | - return $this->name; |
|
2569 | + return $this->name; |
|
2570 | 2570 | } |
2571 | 2571 | public function setSavedStyleId($savedStyleId) |
2572 | 2572 | { |
2573 | - $this->savedStyleId = $savedStyleId; |
|
2573 | + $this->savedStyleId = $savedStyleId; |
|
2574 | 2574 | } |
2575 | 2575 | public function getSavedStyleId() |
2576 | 2576 | { |
2577 | - return $this->savedStyleId; |
|
2577 | + return $this->savedStyleId; |
|
2578 | 2578 | } |
2579 | 2579 | public function setStatus($status) |
2580 | 2580 | { |
2581 | - $this->status = $status; |
|
2581 | + $this->status = $status; |
|
2582 | 2582 | } |
2583 | 2583 | public function getStatus() |
2584 | 2584 | { |
2585 | - return $this->status; |
|
2585 | + return $this->status; |
|
2586 | 2586 | } |
2587 | 2587 | } |
2588 | 2588 | |
@@ -2598,27 +2598,27 @@ discard block |
||
2598 | 2598 | |
2599 | 2599 | public function setBackupOption(Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption $backupOption) |
2600 | 2600 | { |
2601 | - $this->backupOption = $backupOption; |
|
2601 | + $this->backupOption = $backupOption; |
|
2602 | 2602 | } |
2603 | 2603 | public function getBackupOption() |
2604 | 2604 | { |
2605 | - return $this->backupOption; |
|
2605 | + return $this->backupOption; |
|
2606 | 2606 | } |
2607 | 2607 | public function setSize($size) |
2608 | 2608 | { |
2609 | - $this->size = $size; |
|
2609 | + $this->size = $size; |
|
2610 | 2610 | } |
2611 | 2611 | public function getSize() |
2612 | 2612 | { |
2613 | - return $this->size; |
|
2613 | + return $this->size; |
|
2614 | 2614 | } |
2615 | 2615 | public function setType($type) |
2616 | 2616 | { |
2617 | - $this->type = $type; |
|
2617 | + $this->type = $type; |
|
2618 | 2618 | } |
2619 | 2619 | public function getType() |
2620 | 2620 | { |
2621 | - return $this->type; |
|
2621 | + return $this->type; |
|
2622 | 2622 | } |
2623 | 2623 | } |
2624 | 2624 | |
@@ -2633,27 +2633,27 @@ discard block |
||
2633 | 2633 | |
2634 | 2634 | public function setColor($color) |
2635 | 2635 | { |
2636 | - $this->color = $color; |
|
2636 | + $this->color = $color; |
|
2637 | 2637 | } |
2638 | 2638 | public function getColor() |
2639 | 2639 | { |
2640 | - return $this->color; |
|
2640 | + return $this->color; |
|
2641 | 2641 | } |
2642 | 2642 | public function setType($type) |
2643 | 2643 | { |
2644 | - $this->type = $type; |
|
2644 | + $this->type = $type; |
|
2645 | 2645 | } |
2646 | 2646 | public function getType() |
2647 | 2647 | { |
2648 | - return $this->type; |
|
2648 | + return $this->type; |
|
2649 | 2649 | } |
2650 | 2650 | public function setUrl($url) |
2651 | 2651 | { |
2652 | - $this->url = $url; |
|
2652 | + $this->url = $url; |
|
2653 | 2653 | } |
2654 | 2654 | public function getUrl() |
2655 | 2655 | { |
2656 | - return $this->url; |
|
2656 | + return $this->url; |
|
2657 | 2657 | } |
2658 | 2658 | } |
2659 | 2659 | |
@@ -2669,35 +2669,35 @@ discard block |
||
2669 | 2669 | |
2670 | 2670 | public function setAdPosition($adPosition) |
2671 | 2671 | { |
2672 | - $this->adPosition = $adPosition; |
|
2672 | + $this->adPosition = $adPosition; |
|
2673 | 2673 | } |
2674 | 2674 | public function getAdPosition() |
2675 | 2675 | { |
2676 | - return $this->adPosition; |
|
2676 | + return $this->adPosition; |
|
2677 | 2677 | } |
2678 | 2678 | public function setFrequency($frequency) |
2679 | 2679 | { |
2680 | - $this->frequency = $frequency; |
|
2680 | + $this->frequency = $frequency; |
|
2681 | 2681 | } |
2682 | 2682 | public function getFrequency() |
2683 | 2683 | { |
2684 | - return $this->frequency; |
|
2684 | + return $this->frequency; |
|
2685 | 2685 | } |
2686 | 2686 | public function setMinimumWordCount($minimumWordCount) |
2687 | 2687 | { |
2688 | - $this->minimumWordCount = $minimumWordCount; |
|
2688 | + $this->minimumWordCount = $minimumWordCount; |
|
2689 | 2689 | } |
2690 | 2690 | public function getMinimumWordCount() |
2691 | 2691 | { |
2692 | - return $this->minimumWordCount; |
|
2692 | + return $this->minimumWordCount; |
|
2693 | 2693 | } |
2694 | 2694 | public function setType($type) |
2695 | 2695 | { |
2696 | - $this->type = $type; |
|
2696 | + $this->type = $type; |
|
2697 | 2697 | } |
2698 | 2698 | public function getType() |
2699 | 2699 | { |
2700 | - return $this->type; |
|
2700 | + return $this->type; |
|
2701 | 2701 | } |
2702 | 2702 | } |
2703 | 2703 | |
@@ -2713,35 +2713,35 @@ discard block |
||
2713 | 2713 | |
2714 | 2714 | public function setMarkupLanguage($markupLanguage) |
2715 | 2715 | { |
2716 | - $this->markupLanguage = $markupLanguage; |
|
2716 | + $this->markupLanguage = $markupLanguage; |
|
2717 | 2717 | } |
2718 | 2718 | public function getMarkupLanguage() |
2719 | 2719 | { |
2720 | - return $this->markupLanguage; |
|
2720 | + return $this->markupLanguage; |
|
2721 | 2721 | } |
2722 | 2722 | public function setScriptingLanguage($scriptingLanguage) |
2723 | 2723 | { |
2724 | - $this->scriptingLanguage = $scriptingLanguage; |
|
2724 | + $this->scriptingLanguage = $scriptingLanguage; |
|
2725 | 2725 | } |
2726 | 2726 | public function getScriptingLanguage() |
2727 | 2727 | { |
2728 | - return $this->scriptingLanguage; |
|
2728 | + return $this->scriptingLanguage; |
|
2729 | 2729 | } |
2730 | 2730 | public function setSize($size) |
2731 | 2731 | { |
2732 | - $this->size = $size; |
|
2732 | + $this->size = $size; |
|
2733 | 2733 | } |
2734 | 2734 | public function getSize() |
2735 | 2735 | { |
2736 | - return $this->size; |
|
2736 | + return $this->size; |
|
2737 | 2737 | } |
2738 | 2738 | public function setType($type) |
2739 | 2739 | { |
2740 | - $this->type = $type; |
|
2740 | + $this->type = $type; |
|
2741 | 2741 | } |
2742 | 2742 | public function getType() |
2743 | 2743 | { |
2744 | - return $this->type; |
|
2744 | + return $this->type; |
|
2745 | 2745 | } |
2746 | 2746 | } |
2747 | 2747 | |
@@ -2759,35 +2759,35 @@ discard block |
||
2759 | 2759 | |
2760 | 2760 | public function setEtag($etag) |
2761 | 2761 | { |
2762 | - $this->etag = $etag; |
|
2762 | + $this->etag = $etag; |
|
2763 | 2763 | } |
2764 | 2764 | public function getEtag() |
2765 | 2765 | { |
2766 | - return $this->etag; |
|
2766 | + return $this->etag; |
|
2767 | 2767 | } |
2768 | 2768 | public function setItems($items) |
2769 | 2769 | { |
2770 | - $this->items = $items; |
|
2770 | + $this->items = $items; |
|
2771 | 2771 | } |
2772 | 2772 | public function getItems() |
2773 | 2773 | { |
2774 | - return $this->items; |
|
2774 | + return $this->items; |
|
2775 | 2775 | } |
2776 | 2776 | public function setKind($kind) |
2777 | 2777 | { |
2778 | - $this->kind = $kind; |
|
2778 | + $this->kind = $kind; |
|
2779 | 2779 | } |
2780 | 2780 | public function getKind() |
2781 | 2781 | { |
2782 | - return $this->kind; |
|
2782 | + return $this->kind; |
|
2783 | 2783 | } |
2784 | 2784 | public function setNextPageToken($nextPageToken) |
2785 | 2785 | { |
2786 | - $this->nextPageToken = $nextPageToken; |
|
2786 | + $this->nextPageToken = $nextPageToken; |
|
2787 | 2787 | } |
2788 | 2788 | public function getNextPageToken() |
2789 | 2789 | { |
2790 | - return $this->nextPageToken; |
|
2790 | + return $this->nextPageToken; |
|
2791 | 2791 | } |
2792 | 2792 | } |
2793 | 2793 | |
@@ -2810,75 +2810,75 @@ discard block |
||
2810 | 2810 | |
2811 | 2811 | public function setAverages($averages) |
2812 | 2812 | { |
2813 | - $this->averages = $averages; |
|
2813 | + $this->averages = $averages; |
|
2814 | 2814 | } |
2815 | 2815 | public function getAverages() |
2816 | 2816 | { |
2817 | - return $this->averages; |
|
2817 | + return $this->averages; |
|
2818 | 2818 | } |
2819 | 2819 | public function setEndDate($endDate) |
2820 | 2820 | { |
2821 | - $this->endDate = $endDate; |
|
2821 | + $this->endDate = $endDate; |
|
2822 | 2822 | } |
2823 | 2823 | public function getEndDate() |
2824 | 2824 | { |
2825 | - return $this->endDate; |
|
2825 | + return $this->endDate; |
|
2826 | 2826 | } |
2827 | 2827 | public function setHeaders($headers) |
2828 | 2828 | { |
2829 | - $this->headers = $headers; |
|
2829 | + $this->headers = $headers; |
|
2830 | 2830 | } |
2831 | 2831 | public function getHeaders() |
2832 | 2832 | { |
2833 | - return $this->headers; |
|
2833 | + return $this->headers; |
|
2834 | 2834 | } |
2835 | 2835 | public function setKind($kind) |
2836 | 2836 | { |
2837 | - $this->kind = $kind; |
|
2837 | + $this->kind = $kind; |
|
2838 | 2838 | } |
2839 | 2839 | public function getKind() |
2840 | 2840 | { |
2841 | - return $this->kind; |
|
2841 | + return $this->kind; |
|
2842 | 2842 | } |
2843 | 2843 | public function setRows($rows) |
2844 | 2844 | { |
2845 | - $this->rows = $rows; |
|
2845 | + $this->rows = $rows; |
|
2846 | 2846 | } |
2847 | 2847 | public function getRows() |
2848 | 2848 | { |
2849 | - return $this->rows; |
|
2849 | + return $this->rows; |
|
2850 | 2850 | } |
2851 | 2851 | public function setStartDate($startDate) |
2852 | 2852 | { |
2853 | - $this->startDate = $startDate; |
|
2853 | + $this->startDate = $startDate; |
|
2854 | 2854 | } |
2855 | 2855 | public function getStartDate() |
2856 | 2856 | { |
2857 | - return $this->startDate; |
|
2857 | + return $this->startDate; |
|
2858 | 2858 | } |
2859 | 2859 | public function setTotalMatchedRows($totalMatchedRows) |
2860 | 2860 | { |
2861 | - $this->totalMatchedRows = $totalMatchedRows; |
|
2861 | + $this->totalMatchedRows = $totalMatchedRows; |
|
2862 | 2862 | } |
2863 | 2863 | public function getTotalMatchedRows() |
2864 | 2864 | { |
2865 | - return $this->totalMatchedRows; |
|
2865 | + return $this->totalMatchedRows; |
|
2866 | 2866 | } |
2867 | 2867 | public function setTotals($totals) |
2868 | 2868 | { |
2869 | - $this->totals = $totals; |
|
2869 | + $this->totals = $totals; |
|
2870 | 2870 | } |
2871 | 2871 | public function getTotals() |
2872 | 2872 | { |
2873 | - return $this->totals; |
|
2873 | + return $this->totals; |
|
2874 | 2874 | } |
2875 | 2875 | public function setWarnings($warnings) |
2876 | 2876 | { |
2877 | - $this->warnings = $warnings; |
|
2877 | + $this->warnings = $warnings; |
|
2878 | 2878 | } |
2879 | 2879 | public function getWarnings() |
2880 | 2880 | { |
2881 | - return $this->warnings; |
|
2881 | + return $this->warnings; |
|
2882 | 2882 | } |
2883 | 2883 | } |
2884 | 2884 | |
@@ -2893,27 +2893,27 @@ discard block |
||
2893 | 2893 | |
2894 | 2894 | public function setCurrency($currency) |
2895 | 2895 | { |
2896 | - $this->currency = $currency; |
|
2896 | + $this->currency = $currency; |
|
2897 | 2897 | } |
2898 | 2898 | public function getCurrency() |
2899 | 2899 | { |
2900 | - return $this->currency; |
|
2900 | + return $this->currency; |
|
2901 | 2901 | } |
2902 | 2902 | public function setName($name) |
2903 | 2903 | { |
2904 | - $this->name = $name; |
|
2904 | + $this->name = $name; |
|
2905 | 2905 | } |
2906 | 2906 | public function getName() |
2907 | 2907 | { |
2908 | - return $this->name; |
|
2908 | + return $this->name; |
|
2909 | 2909 | } |
2910 | 2910 | public function setType($type) |
2911 | 2911 | { |
2912 | - $this->type = $type; |
|
2912 | + $this->type = $type; |
|
2913 | 2913 | } |
2914 | 2914 | public function getType() |
2915 | 2915 | { |
2916 | - return $this->type; |
|
2916 | + return $this->type; |
|
2917 | 2917 | } |
2918 | 2918 | } |
2919 | 2919 | |
@@ -2931,51 +2931,51 @@ discard block |
||
2931 | 2931 | |
2932 | 2932 | public function setId($id) |
2933 | 2933 | { |
2934 | - $this->id = $id; |
|
2934 | + $this->id = $id; |
|
2935 | 2935 | } |
2936 | 2936 | public function getId() |
2937 | 2937 | { |
2938 | - return $this->id; |
|
2938 | + return $this->id; |
|
2939 | 2939 | } |
2940 | 2940 | public function setIsDismissible($isDismissible) |
2941 | 2941 | { |
2942 | - $this->isDismissible = $isDismissible; |
|
2942 | + $this->isDismissible = $isDismissible; |
|
2943 | 2943 | } |
2944 | 2944 | public function getIsDismissible() |
2945 | 2945 | { |
2946 | - return $this->isDismissible; |
|
2946 | + return $this->isDismissible; |
|
2947 | 2947 | } |
2948 | 2948 | public function setKind($kind) |
2949 | 2949 | { |
2950 | - $this->kind = $kind; |
|
2950 | + $this->kind = $kind; |
|
2951 | 2951 | } |
2952 | 2952 | public function getKind() |
2953 | 2953 | { |
2954 | - return $this->kind; |
|
2954 | + return $this->kind; |
|
2955 | 2955 | } |
2956 | 2956 | public function setMessage($message) |
2957 | 2957 | { |
2958 | - $this->message = $message; |
|
2958 | + $this->message = $message; |
|
2959 | 2959 | } |
2960 | 2960 | public function getMessage() |
2961 | 2961 | { |
2962 | - return $this->message; |
|
2962 | + return $this->message; |
|
2963 | 2963 | } |
2964 | 2964 | public function setSeverity($severity) |
2965 | 2965 | { |
2966 | - $this->severity = $severity; |
|
2966 | + $this->severity = $severity; |
|
2967 | 2967 | } |
2968 | 2968 | public function getSeverity() |
2969 | 2969 | { |
2970 | - return $this->severity; |
|
2970 | + return $this->severity; |
|
2971 | 2971 | } |
2972 | 2972 | public function setType($type) |
2973 | 2973 | { |
2974 | - $this->type = $type; |
|
2974 | + $this->type = $type; |
|
2975 | 2975 | } |
2976 | 2976 | public function getType() |
2977 | 2977 | { |
2978 | - return $this->type; |
|
2978 | + return $this->type; |
|
2979 | 2979 | } |
2980 | 2980 | } |
2981 | 2981 | |
@@ -2991,19 +2991,19 @@ discard block |
||
2991 | 2991 | |
2992 | 2992 | public function setItems($items) |
2993 | 2993 | { |
2994 | - $this->items = $items; |
|
2994 | + $this->items = $items; |
|
2995 | 2995 | } |
2996 | 2996 | public function getItems() |
2997 | 2997 | { |
2998 | - return $this->items; |
|
2998 | + return $this->items; |
|
2999 | 2999 | } |
3000 | 3000 | public function setKind($kind) |
3001 | 3001 | { |
3002 | - $this->kind = $kind; |
|
3002 | + $this->kind = $kind; |
|
3003 | 3003 | } |
3004 | 3004 | public function getKind() |
3005 | 3005 | { |
3006 | - return $this->kind; |
|
3006 | + return $this->kind; |
|
3007 | 3007 | } |
3008 | 3008 | } |
3009 | 3009 | |
@@ -3021,43 +3021,43 @@ discard block |
||
3021 | 3021 | |
3022 | 3022 | public function setCode($code) |
3023 | 3023 | { |
3024 | - $this->code = $code; |
|
3024 | + $this->code = $code; |
|
3025 | 3025 | } |
3026 | 3026 | public function getCode() |
3027 | 3027 | { |
3028 | - return $this->code; |
|
3028 | + return $this->code; |
|
3029 | 3029 | } |
3030 | 3030 | public function setId($id) |
3031 | 3031 | { |
3032 | - $this->id = $id; |
|
3032 | + $this->id = $id; |
|
3033 | 3033 | } |
3034 | 3034 | public function getId() |
3035 | 3035 | { |
3036 | - return $this->id; |
|
3036 | + return $this->id; |
|
3037 | 3037 | } |
3038 | 3038 | public function setKind($kind) |
3039 | 3039 | { |
3040 | - $this->kind = $kind; |
|
3040 | + $this->kind = $kind; |
|
3041 | 3041 | } |
3042 | 3042 | public function getKind() |
3043 | 3043 | { |
3044 | - return $this->kind; |
|
3044 | + return $this->kind; |
|
3045 | 3045 | } |
3046 | 3046 | public function setName($name) |
3047 | 3047 | { |
3048 | - $this->name = $name; |
|
3048 | + $this->name = $name; |
|
3049 | 3049 | } |
3050 | 3050 | public function getName() |
3051 | 3051 | { |
3052 | - return $this->name; |
|
3052 | + return $this->name; |
|
3053 | 3053 | } |
3054 | 3054 | public function setTargetingInfo(Google_Service_AdSense_CustomChannelTargetingInfo $targetingInfo) |
3055 | 3055 | { |
3056 | - $this->targetingInfo = $targetingInfo; |
|
3056 | + $this->targetingInfo = $targetingInfo; |
|
3057 | 3057 | } |
3058 | 3058 | public function getTargetingInfo() |
3059 | 3059 | { |
3060 | - return $this->targetingInfo; |
|
3060 | + return $this->targetingInfo; |
|
3061 | 3061 | } |
3062 | 3062 | } |
3063 | 3063 | |
@@ -3073,35 +3073,35 @@ discard block |
||
3073 | 3073 | |
3074 | 3074 | public function setAdsAppearOn($adsAppearOn) |
3075 | 3075 | { |
3076 | - $this->adsAppearOn = $adsAppearOn; |
|
3076 | + $this->adsAppearOn = $adsAppearOn; |
|
3077 | 3077 | } |
3078 | 3078 | public function getAdsAppearOn() |
3079 | 3079 | { |
3080 | - return $this->adsAppearOn; |
|
3080 | + return $this->adsAppearOn; |
|
3081 | 3081 | } |
3082 | 3082 | public function setDescription($description) |
3083 | 3083 | { |
3084 | - $this->description = $description; |
|
3084 | + $this->description = $description; |
|
3085 | 3085 | } |
3086 | 3086 | public function getDescription() |
3087 | 3087 | { |
3088 | - return $this->description; |
|
3088 | + return $this->description; |
|
3089 | 3089 | } |
3090 | 3090 | public function setLocation($location) |
3091 | 3091 | { |
3092 | - $this->location = $location; |
|
3092 | + $this->location = $location; |
|
3093 | 3093 | } |
3094 | 3094 | public function getLocation() |
3095 | 3095 | { |
3096 | - return $this->location; |
|
3096 | + return $this->location; |
|
3097 | 3097 | } |
3098 | 3098 | public function setSiteLanguage($siteLanguage) |
3099 | 3099 | { |
3100 | - $this->siteLanguage = $siteLanguage; |
|
3100 | + $this->siteLanguage = $siteLanguage; |
|
3101 | 3101 | } |
3102 | 3102 | public function getSiteLanguage() |
3103 | 3103 | { |
3104 | - return $this->siteLanguage; |
|
3104 | + return $this->siteLanguage; |
|
3105 | 3105 | } |
3106 | 3106 | } |
3107 | 3107 | |
@@ -3119,35 +3119,35 @@ discard block |
||
3119 | 3119 | |
3120 | 3120 | public function setEtag($etag) |
3121 | 3121 | { |
3122 | - $this->etag = $etag; |
|
3122 | + $this->etag = $etag; |
|
3123 | 3123 | } |
3124 | 3124 | public function getEtag() |
3125 | 3125 | { |
3126 | - return $this->etag; |
|
3126 | + return $this->etag; |
|
3127 | 3127 | } |
3128 | 3128 | public function setItems($items) |
3129 | 3129 | { |
3130 | - $this->items = $items; |
|
3130 | + $this->items = $items; |
|
3131 | 3131 | } |
3132 | 3132 | public function getItems() |
3133 | 3133 | { |
3134 | - return $this->items; |
|
3134 | + return $this->items; |
|
3135 | 3135 | } |
3136 | 3136 | public function setKind($kind) |
3137 | 3137 | { |
3138 | - $this->kind = $kind; |
|
3138 | + $this->kind = $kind; |
|
3139 | 3139 | } |
3140 | 3140 | public function getKind() |
3141 | 3141 | { |
3142 | - return $this->kind; |
|
3142 | + return $this->kind; |
|
3143 | 3143 | } |
3144 | 3144 | public function setNextPageToken($nextPageToken) |
3145 | 3145 | { |
3146 | - $this->nextPageToken = $nextPageToken; |
|
3146 | + $this->nextPageToken = $nextPageToken; |
|
3147 | 3147 | } |
3148 | 3148 | public function getNextPageToken() |
3149 | 3149 | { |
3150 | - return $this->nextPageToken; |
|
3150 | + return $this->nextPageToken; |
|
3151 | 3151 | } |
3152 | 3152 | } |
3153 | 3153 | |
@@ -3163,19 +3163,19 @@ discard block |
||
3163 | 3163 | |
3164 | 3164 | public function setItems($items) |
3165 | 3165 | { |
3166 | - $this->items = $items; |
|
3166 | + $this->items = $items; |
|
3167 | 3167 | } |
3168 | 3168 | public function getItems() |
3169 | 3169 | { |
3170 | - return $this->items; |
|
3170 | + return $this->items; |
|
3171 | 3171 | } |
3172 | 3172 | public function setKind($kind) |
3173 | 3173 | { |
3174 | - $this->kind = $kind; |
|
3174 | + $this->kind = $kind; |
|
3175 | 3175 | } |
3176 | 3176 | public function getKind() |
3177 | 3177 | { |
3178 | - return $this->kind; |
|
3178 | + return $this->kind; |
|
3179 | 3179 | } |
3180 | 3180 | } |
3181 | 3181 | |
@@ -3192,43 +3192,43 @@ discard block |
||
3192 | 3192 | |
3193 | 3193 | public function setId($id) |
3194 | 3194 | { |
3195 | - $this->id = $id; |
|
3195 | + $this->id = $id; |
|
3196 | 3196 | } |
3197 | 3197 | public function getId() |
3198 | 3198 | { |
3199 | - return $this->id; |
|
3199 | + return $this->id; |
|
3200 | 3200 | } |
3201 | 3201 | public function setKind($kind) |
3202 | 3202 | { |
3203 | - $this->kind = $kind; |
|
3203 | + $this->kind = $kind; |
|
3204 | 3204 | } |
3205 | 3205 | public function getKind() |
3206 | 3206 | { |
3207 | - return $this->kind; |
|
3207 | + return $this->kind; |
|
3208 | 3208 | } |
3209 | 3209 | public function setPaymentAmount($paymentAmount) |
3210 | 3210 | { |
3211 | - $this->paymentAmount = $paymentAmount; |
|
3211 | + $this->paymentAmount = $paymentAmount; |
|
3212 | 3212 | } |
3213 | 3213 | public function getPaymentAmount() |
3214 | 3214 | { |
3215 | - return $this->paymentAmount; |
|
3215 | + return $this->paymentAmount; |
|
3216 | 3216 | } |
3217 | 3217 | public function setPaymentAmountCurrencyCode($paymentAmountCurrencyCode) |
3218 | 3218 | { |
3219 | - $this->paymentAmountCurrencyCode = $paymentAmountCurrencyCode; |
|
3219 | + $this->paymentAmountCurrencyCode = $paymentAmountCurrencyCode; |
|
3220 | 3220 | } |
3221 | 3221 | public function getPaymentAmountCurrencyCode() |
3222 | 3222 | { |
3223 | - return $this->paymentAmountCurrencyCode; |
|
3223 | + return $this->paymentAmountCurrencyCode; |
|
3224 | 3224 | } |
3225 | 3225 | public function setPaymentDate($paymentDate) |
3226 | 3226 | { |
3227 | - $this->paymentDate = $paymentDate; |
|
3227 | + $this->paymentDate = $paymentDate; |
|
3228 | 3228 | } |
3229 | 3229 | public function getPaymentDate() |
3230 | 3230 | { |
3231 | - return $this->paymentDate; |
|
3231 | + return $this->paymentDate; |
|
3232 | 3232 | } |
3233 | 3233 | } |
3234 | 3234 | |
@@ -3244,19 +3244,19 @@ discard block |
||
3244 | 3244 | |
3245 | 3245 | public function setItems($items) |
3246 | 3246 | { |
3247 | - $this->items = $items; |
|
3247 | + $this->items = $items; |
|
3248 | 3248 | } |
3249 | 3249 | public function getItems() |
3250 | 3250 | { |
3251 | - return $this->items; |
|
3251 | + return $this->items; |
|
3252 | 3252 | } |
3253 | 3253 | public function setKind($kind) |
3254 | 3254 | { |
3255 | - $this->kind = $kind; |
|
3255 | + $this->kind = $kind; |
|
3256 | 3256 | } |
3257 | 3257 | public function getKind() |
3258 | 3258 | { |
3259 | - return $this->kind; |
|
3259 | + return $this->kind; |
|
3260 | 3260 | } |
3261 | 3261 | } |
3262 | 3262 | |
@@ -3276,59 +3276,59 @@ discard block |
||
3276 | 3276 | |
3277 | 3277 | public function setCompatibleDimensions($compatibleDimensions) |
3278 | 3278 | { |
3279 | - $this->compatibleDimensions = $compatibleDimensions; |
|
3279 | + $this->compatibleDimensions = $compatibleDimensions; |
|
3280 | 3280 | } |
3281 | 3281 | public function getCompatibleDimensions() |
3282 | 3282 | { |
3283 | - return $this->compatibleDimensions; |
|
3283 | + return $this->compatibleDimensions; |
|
3284 | 3284 | } |
3285 | 3285 | public function setCompatibleMetrics($compatibleMetrics) |
3286 | 3286 | { |
3287 | - $this->compatibleMetrics = $compatibleMetrics; |
|
3287 | + $this->compatibleMetrics = $compatibleMetrics; |
|
3288 | 3288 | } |
3289 | 3289 | public function getCompatibleMetrics() |
3290 | 3290 | { |
3291 | - return $this->compatibleMetrics; |
|
3291 | + return $this->compatibleMetrics; |
|
3292 | 3292 | } |
3293 | 3293 | public function setId($id) |
3294 | 3294 | { |
3295 | - $this->id = $id; |
|
3295 | + $this->id = $id; |
|
3296 | 3296 | } |
3297 | 3297 | public function getId() |
3298 | 3298 | { |
3299 | - return $this->id; |
|
3299 | + return $this->id; |
|
3300 | 3300 | } |
3301 | 3301 | public function setKind($kind) |
3302 | 3302 | { |
3303 | - $this->kind = $kind; |
|
3303 | + $this->kind = $kind; |
|
3304 | 3304 | } |
3305 | 3305 | public function getKind() |
3306 | 3306 | { |
3307 | - return $this->kind; |
|
3307 | + return $this->kind; |
|
3308 | 3308 | } |
3309 | 3309 | public function setRequiredDimensions($requiredDimensions) |
3310 | 3310 | { |
3311 | - $this->requiredDimensions = $requiredDimensions; |
|
3311 | + $this->requiredDimensions = $requiredDimensions; |
|
3312 | 3312 | } |
3313 | 3313 | public function getRequiredDimensions() |
3314 | 3314 | { |
3315 | - return $this->requiredDimensions; |
|
3315 | + return $this->requiredDimensions; |
|
3316 | 3316 | } |
3317 | 3317 | public function setRequiredMetrics($requiredMetrics) |
3318 | 3318 | { |
3319 | - $this->requiredMetrics = $requiredMetrics; |
|
3319 | + $this->requiredMetrics = $requiredMetrics; |
|
3320 | 3320 | } |
3321 | 3321 | public function getRequiredMetrics() |
3322 | 3322 | { |
3323 | - return $this->requiredMetrics; |
|
3323 | + return $this->requiredMetrics; |
|
3324 | 3324 | } |
3325 | 3325 | public function setSupportedProducts($supportedProducts) |
3326 | 3326 | { |
3327 | - $this->supportedProducts = $supportedProducts; |
|
3327 | + $this->supportedProducts = $supportedProducts; |
|
3328 | 3328 | } |
3329 | 3329 | public function getSupportedProducts() |
3330 | 3330 | { |
3331 | - return $this->supportedProducts; |
|
3331 | + return $this->supportedProducts; |
|
3332 | 3332 | } |
3333 | 3333 | } |
3334 | 3334 | |
@@ -3345,35 +3345,35 @@ discard block |
||
3345 | 3345 | |
3346 | 3346 | public function setAdStyle(Google_Service_AdSense_AdStyle $adStyle) |
3347 | 3347 | { |
3348 | - $this->adStyle = $adStyle; |
|
3348 | + $this->adStyle = $adStyle; |
|
3349 | 3349 | } |
3350 | 3350 | public function getAdStyle() |
3351 | 3351 | { |
3352 | - return $this->adStyle; |
|
3352 | + return $this->adStyle; |
|
3353 | 3353 | } |
3354 | 3354 | public function setId($id) |
3355 | 3355 | { |
3356 | - $this->id = $id; |
|
3356 | + $this->id = $id; |
|
3357 | 3357 | } |
3358 | 3358 | public function getId() |
3359 | 3359 | { |
3360 | - return $this->id; |
|
3360 | + return $this->id; |
|
3361 | 3361 | } |
3362 | 3362 | public function setKind($kind) |
3363 | 3363 | { |
3364 | - $this->kind = $kind; |
|
3364 | + $this->kind = $kind; |
|
3365 | 3365 | } |
3366 | 3366 | public function getKind() |
3367 | 3367 | { |
3368 | - return $this->kind; |
|
3368 | + return $this->kind; |
|
3369 | 3369 | } |
3370 | 3370 | public function setName($name) |
3371 | 3371 | { |
3372 | - $this->name = $name; |
|
3372 | + $this->name = $name; |
|
3373 | 3373 | } |
3374 | 3374 | public function getName() |
3375 | 3375 | { |
3376 | - return $this->name; |
|
3376 | + return $this->name; |
|
3377 | 3377 | } |
3378 | 3378 | } |
3379 | 3379 | |
@@ -3391,35 +3391,35 @@ discard block |
||
3391 | 3391 | |
3392 | 3392 | public function setEtag($etag) |
3393 | 3393 | { |
3394 | - $this->etag = $etag; |
|
3394 | + $this->etag = $etag; |
|
3395 | 3395 | } |
3396 | 3396 | public function getEtag() |
3397 | 3397 | { |
3398 | - return $this->etag; |
|
3398 | + return $this->etag; |
|
3399 | 3399 | } |
3400 | 3400 | public function setItems($items) |
3401 | 3401 | { |
3402 | - $this->items = $items; |
|
3402 | + $this->items = $items; |
|
3403 | 3403 | } |
3404 | 3404 | public function getItems() |
3405 | 3405 | { |
3406 | - return $this->items; |
|
3406 | + return $this->items; |
|
3407 | 3407 | } |
3408 | 3408 | public function setKind($kind) |
3409 | 3409 | { |
3410 | - $this->kind = $kind; |
|
3410 | + $this->kind = $kind; |
|
3411 | 3411 | } |
3412 | 3412 | public function getKind() |
3413 | 3413 | { |
3414 | - return $this->kind; |
|
3414 | + return $this->kind; |
|
3415 | 3415 | } |
3416 | 3416 | public function setNextPageToken($nextPageToken) |
3417 | 3417 | { |
3418 | - $this->nextPageToken = $nextPageToken; |
|
3418 | + $this->nextPageToken = $nextPageToken; |
|
3419 | 3419 | } |
3420 | 3420 | public function getNextPageToken() |
3421 | 3421 | { |
3422 | - return $this->nextPageToken; |
|
3422 | + return $this->nextPageToken; |
|
3423 | 3423 | } |
3424 | 3424 | } |
3425 | 3425 | |
@@ -3434,27 +3434,27 @@ discard block |
||
3434 | 3434 | |
3435 | 3435 | public function setId($id) |
3436 | 3436 | { |
3437 | - $this->id = $id; |
|
3437 | + $this->id = $id; |
|
3438 | 3438 | } |
3439 | 3439 | public function getId() |
3440 | 3440 | { |
3441 | - return $this->id; |
|
3441 | + return $this->id; |
|
3442 | 3442 | } |
3443 | 3443 | public function setKind($kind) |
3444 | 3444 | { |
3445 | - $this->kind = $kind; |
|
3445 | + $this->kind = $kind; |
|
3446 | 3446 | } |
3447 | 3447 | public function getKind() |
3448 | 3448 | { |
3449 | - return $this->kind; |
|
3449 | + return $this->kind; |
|
3450 | 3450 | } |
3451 | 3451 | public function setName($name) |
3452 | 3452 | { |
3453 | - $this->name = $name; |
|
3453 | + $this->name = $name; |
|
3454 | 3454 | } |
3455 | 3455 | public function getName() |
3456 | 3456 | { |
3457 | - return $this->name; |
|
3457 | + return $this->name; |
|
3458 | 3458 | } |
3459 | 3459 | } |
3460 | 3460 | |
@@ -3472,35 +3472,35 @@ discard block |
||
3472 | 3472 | |
3473 | 3473 | public function setEtag($etag) |
3474 | 3474 | { |
3475 | - $this->etag = $etag; |
|
3475 | + $this->etag = $etag; |
|
3476 | 3476 | } |
3477 | 3477 | public function getEtag() |
3478 | 3478 | { |
3479 | - return $this->etag; |
|
3479 | + return $this->etag; |
|
3480 | 3480 | } |
3481 | 3481 | public function setItems($items) |
3482 | 3482 | { |
3483 | - $this->items = $items; |
|
3483 | + $this->items = $items; |
|
3484 | 3484 | } |
3485 | 3485 | public function getItems() |
3486 | 3486 | { |
3487 | - return $this->items; |
|
3487 | + return $this->items; |
|
3488 | 3488 | } |
3489 | 3489 | public function setKind($kind) |
3490 | 3490 | { |
3491 | - $this->kind = $kind; |
|
3491 | + $this->kind = $kind; |
|
3492 | 3492 | } |
3493 | 3493 | public function getKind() |
3494 | 3494 | { |
3495 | - return $this->kind; |
|
3495 | + return $this->kind; |
|
3496 | 3496 | } |
3497 | 3497 | public function setNextPageToken($nextPageToken) |
3498 | 3498 | { |
3499 | - $this->nextPageToken = $nextPageToken; |
|
3499 | + $this->nextPageToken = $nextPageToken; |
|
3500 | 3500 | } |
3501 | 3501 | public function getNextPageToken() |
3502 | 3502 | { |
3503 | - return $this->nextPageToken; |
|
3503 | + return $this->nextPageToken; |
|
3504 | 3504 | } |
3505 | 3505 | } |
3506 | 3506 | |
@@ -3515,27 +3515,27 @@ discard block |
||
3515 | 3515 | |
3516 | 3516 | public function setId($id) |
3517 | 3517 | { |
3518 | - $this->id = $id; |
|
3518 | + $this->id = $id; |
|
3519 | 3519 | } |
3520 | 3520 | public function getId() |
3521 | 3521 | { |
3522 | - return $this->id; |
|
3522 | + return $this->id; |
|
3523 | 3523 | } |
3524 | 3524 | public function setKind($kind) |
3525 | 3525 | { |
3526 | - $this->kind = $kind; |
|
3526 | + $this->kind = $kind; |
|
3527 | 3527 | } |
3528 | 3528 | public function getKind() |
3529 | 3529 | { |
3530 | - return $this->kind; |
|
3530 | + return $this->kind; |
|
3531 | 3531 | } |
3532 | 3532 | public function setUrlPattern($urlPattern) |
3533 | 3533 | { |
3534 | - $this->urlPattern = $urlPattern; |
|
3534 | + $this->urlPattern = $urlPattern; |
|
3535 | 3535 | } |
3536 | 3536 | public function getUrlPattern() |
3537 | 3537 | { |
3538 | - return $this->urlPattern; |
|
3538 | + return $this->urlPattern; |
|
3539 | 3539 | } |
3540 | 3540 | } |
3541 | 3541 | |
@@ -3553,34 +3553,34 @@ discard block |
||
3553 | 3553 | |
3554 | 3554 | public function setEtag($etag) |
3555 | 3555 | { |
3556 | - $this->etag = $etag; |
|
3556 | + $this->etag = $etag; |
|
3557 | 3557 | } |
3558 | 3558 | public function getEtag() |
3559 | 3559 | { |
3560 | - return $this->etag; |
|
3560 | + return $this->etag; |
|
3561 | 3561 | } |
3562 | 3562 | public function setItems($items) |
3563 | 3563 | { |
3564 | - $this->items = $items; |
|
3564 | + $this->items = $items; |
|
3565 | 3565 | } |
3566 | 3566 | public function getItems() |
3567 | 3567 | { |
3568 | - return $this->items; |
|
3568 | + return $this->items; |
|
3569 | 3569 | } |
3570 | 3570 | public function setKind($kind) |
3571 | 3571 | { |
3572 | - $this->kind = $kind; |
|
3572 | + $this->kind = $kind; |
|
3573 | 3573 | } |
3574 | 3574 | public function getKind() |
3575 | 3575 | { |
3576 | - return $this->kind; |
|
3576 | + return $this->kind; |
|
3577 | 3577 | } |
3578 | 3578 | public function setNextPageToken($nextPageToken) |
3579 | 3579 | { |
3580 | - $this->nextPageToken = $nextPageToken; |
|
3580 | + $this->nextPageToken = $nextPageToken; |
|
3581 | 3581 | } |
3582 | 3582 | public function getNextPageToken() |
3583 | 3583 | { |
3584 | - return $this->nextPageToken; |
|
3584 | + return $this->nextPageToken; |
|
3585 | 3585 | } |
3586 | 3586 | } |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | 'type' => 'boolean', |
99 | 99 | ), |
100 | 100 | ), |
101 | - ),'list' => array( |
|
101 | + ), 'list' => array( |
|
102 | 102 | 'path' => 'accounts', |
103 | 103 | 'httpMethod' => 'GET', |
104 | 104 | 'parameters' => array( |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | 'required' => true, |
170 | 170 | ), |
171 | 171 | ), |
172 | - ),'getAdCode' => array( |
|
172 | + ), 'getAdCode' => array( |
|
173 | 173 | 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', |
174 | 174 | 'httpMethod' => 'GET', |
175 | 175 | 'parameters' => array( |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | 'required' => true, |
190 | 190 | ), |
191 | 191 | ), |
192 | - ),'list' => array( |
|
192 | + ), 'list' => array( |
|
193 | 193 | 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', |
194 | 194 | 'httpMethod' => 'GET', |
195 | 195 | 'parameters' => array( |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | 'required' => true, |
280 | 280 | ), |
281 | 281 | ), |
282 | - ),'list' => array( |
|
282 | + ), 'list' => array( |
|
283 | 283 | 'path' => 'accounts/{accountId}/alerts', |
284 | 284 | 'httpMethod' => 'GET', |
285 | 285 | 'parameters' => array( |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | 'required' => true, |
324 | 324 | ), |
325 | 325 | ), |
326 | - ),'list' => array( |
|
326 | + ), 'list' => array( |
|
327 | 327 | 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', |
328 | 328 | 'httpMethod' => 'GET', |
329 | 329 | 'parameters' => array( |
@@ -515,7 +515,7 @@ discard block |
||
515 | 515 | 'type' => 'integer', |
516 | 516 | ), |
517 | 517 | ), |
518 | - ),'list' => array( |
|
518 | + ), 'list' => array( |
|
519 | 519 | 'path' => 'accounts/{accountId}/reports/saved', |
520 | 520 | 'httpMethod' => 'GET', |
521 | 521 | 'parameters' => array( |
@@ -558,7 +558,7 @@ discard block |
||
558 | 558 | 'required' => true, |
559 | 559 | ), |
560 | 560 | ), |
561 | - ),'list' => array( |
|
561 | + ), 'list' => array( |
|
562 | 562 | 'path' => 'accounts/{accountId}/savedadstyles', |
563 | 563 | 'httpMethod' => 'GET', |
564 | 564 | 'parameters' => array( |
@@ -657,7 +657,7 @@ discard block |
||
657 | 657 | 'required' => true, |
658 | 658 | ), |
659 | 659 | ), |
660 | - ),'getAdCode' => array( |
|
660 | + ), 'getAdCode' => array( |
|
661 | 661 | 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/adcode', |
662 | 662 | 'httpMethod' => 'GET', |
663 | 663 | 'parameters' => array( |
@@ -672,7 +672,7 @@ discard block |
||
672 | 672 | 'required' => true, |
673 | 673 | ), |
674 | 674 | ), |
675 | - ),'list' => array( |
|
675 | + ), 'list' => array( |
|
676 | 676 | 'path' => 'adclients/{adClientId}/adunits', |
677 | 677 | 'httpMethod' => 'GET', |
678 | 678 | 'parameters' => array( |
@@ -747,7 +747,7 @@ discard block |
||
747 | 747 | 'required' => true, |
748 | 748 | ), |
749 | 749 | ), |
750 | - ),'list' => array( |
|
750 | + ), 'list' => array( |
|
751 | 751 | 'path' => 'alerts', |
752 | 752 | 'httpMethod' => 'GET', |
753 | 753 | 'parameters' => array( |
@@ -781,7 +781,7 @@ discard block |
||
781 | 781 | 'required' => true, |
782 | 782 | ), |
783 | 783 | ), |
784 | - ),'list' => array( |
|
784 | + ), 'list' => array( |
|
785 | 785 | 'path' => 'adclients/{adClientId}/customchannels', |
786 | 786 | 'httpMethod' => 'GET', |
787 | 787 | 'parameters' => array( |
@@ -980,7 +980,7 @@ discard block |
||
980 | 980 | 'type' => 'integer', |
981 | 981 | ), |
982 | 982 | ), |
983 | - ),'list' => array( |
|
983 | + ), 'list' => array( |
|
984 | 984 | 'path' => 'reports/saved', |
985 | 985 | 'httpMethod' => 'GET', |
986 | 986 | 'parameters' => array( |
@@ -1013,7 +1013,7 @@ discard block |
||
1013 | 1013 | 'required' => true, |
1014 | 1014 | ), |
1015 | 1015 | ), |
1016 | - ),'list' => array( |
|
1016 | + ), 'list' => array( |
|
1017 | 1017 | 'path' => 'savedadstyles', |
1018 | 1018 | 'httpMethod' => 'GET', |
1019 | 1019 | 'parameters' => array( |