Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Side by Side Diff: discovery/googleapis/partners__v2.json

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/monitoring__v3.json ('k') | discovery/googleapis/people__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "basePath": "", 2 "basePath": "",
3 "baseUrl": "https://partners.googleapis.com/", 3 "baseUrl": "https://partners.googleapis.com/",
4 "batchPath": "batch", 4 "batchPath": "batch",
5 "canonicalName": "Partners", 5 "canonicalName": "Partners",
6 "description": "Searches certified companies and creates contact leads with them, and also audits the usage of clients.", 6 "description": "Searches certified companies and creates contact leads with them, and also audits the usage of clients.",
7 "discoveryVersion": "v1", 7 "discoveryVersion": "v1",
8 "documentationLink": "https://developers.google.com/partners/", 8 "documentationLink": "https://developers.google.com/partners/",
9 "icons": { 9 "icons": {
10 "x16": "http://www.google.com/images/icons/product/search-16.gif", 10 "x16": "http://www.google.com/images/icons/product/search-16.gif",
11 "x32": "http://www.google.com/images/icons/product/search-32.gif" 11 "x32": "http://www.google.com/images/icons/product/search-32.gif"
12 }, 12 },
13 "id": "partners:v2", 13 "id": "partners:v2",
14 "kind": "discovery#restDescription", 14 "kind": "discovery#restDescription",
15 "name": "partners", 15 "name": "partners",
16 "ownerDomain": "google.com", 16 "ownerDomain": "google.com",
17 "ownerName": "Google", 17 "ownerName": "Google",
18 "parameters": { 18 "parameters": {
19 "quotaUser": {
20 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
21 "location": "query",
22 "type": "string"
23 },
24 "pp": {
25 "default": "true",
26 "description": "Pretty-print response.",
27 "location": "query",
28 "type": "boolean"
29 },
30 "oauth_token": {
31 "description": "OAuth 2.0 token for the current user.",
32 "location": "query",
33 "type": "string"
34 },
35 "bearer_token": {
36 "description": "OAuth bearer token.",
37 "location": "query",
38 "type": "string"
39 },
40 "upload_protocol": { 19 "upload_protocol": {
41 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 20 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
42 "location": "query", 21 "location": "query",
43 "type": "string" 22 "type": "string"
44 }, 23 },
45 "prettyPrint": { 24 "prettyPrint": {
46 "default": "true", 25 "default": "true",
47 "description": "Returns response with indentations and line breaks." , 26 "description": "Returns response with indentations and line breaks." ,
48 "location": "query", 27 "location": "query",
49 "type": "boolean" 28 "type": "boolean"
50 }, 29 },
30 "uploadType": {
31 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
32 "location": "query",
33 "type": "string"
34 },
51 "fields": { 35 "fields": {
52 "description": "Selector specifying which fields to include in a par tial response.", 36 "description": "Selector specifying which fields to include in a par tial response.",
53 "location": "query", 37 "location": "query",
54 "type": "string" 38 "type": "string"
55 }, 39 },
56 "uploadType": {
57 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
58 "location": "query",
59 "type": "string"
60 },
61 "callback": { 40 "callback": {
62 "description": "JSONP", 41 "description": "JSONP",
63 "location": "query", 42 "location": "query",
64 "type": "string" 43 "type": "string"
65 }, 44 },
66 "$.xgafv": { 45 "$.xgafv": {
67 "description": "V1 error format.", 46 "description": "V1 error format.",
68 "enum": [ 47 "enum": [
69 "1", 48 "1",
70 "2" 49 "2"
(...skipping 23 matching lines...) Expand all
94 }, 73 },
95 "key": { 74 "key": {
96 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.", 75 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
97 "location": "query", 76 "location": "query",
98 "type": "string" 77 "type": "string"
99 }, 78 },
100 "access_token": { 79 "access_token": {
101 "description": "OAuth access token.", 80 "description": "OAuth access token.",
102 "location": "query", 81 "location": "query",
103 "type": "string" 82 "type": "string"
83 },
84 "quotaUser": {
85 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
86 "location": "query",
87 "type": "string"
88 },
89 "pp": {
90 "default": "true",
91 "description": "Pretty-print response.",
92 "location": "query",
93 "type": "boolean"
94 },
95 "oauth_token": {
96 "description": "OAuth 2.0 token for the current user.",
97 "location": "query",
98 "type": "string"
99 },
100 "bearer_token": {
101 "description": "OAuth bearer token.",
102 "location": "query",
103 "type": "string"
104 } 104 }
105 }, 105 },
106 "protocol": "rest", 106 "protocol": "rest",
107 "resources": { 107 "resources": {
108 "userEvents": {
109 "methods": {
110 "log": {
111 "description": "Logs a user event.",
112 "httpMethod": "POST",
113 "id": "partners.userEvents.log",
114 "parameterOrder": [],
115 "parameters": {},
116 "path": "v2/userEvents:log",
117 "request": {
118 "$ref": "LogUserEventRequest"
119 },
120 "response": {
121 "$ref": "LogUserEventResponse"
122 }
123 }
124 }
125 },
126 "clientMessages": {
127 "methods": {
128 "log": {
129 "description": "Logs a generic message from the client, such as\n`Failed to render component`, `Profile page is running slow`,\n`More than 5 00 users have accessed this result.`, etc.",
130 "httpMethod": "POST",
131 "id": "partners.clientMessages.log",
132 "parameterOrder": [],
133 "parameters": {},
134 "path": "v2/clientMessages:log",
135 "request": {
136 "$ref": "LogMessageRequest"
137 },
138 "response": {
139 "$ref": "LogMessageResponse"
140 }
141 }
142 }
143 },
144 "exams": {
145 "methods": {
146 "getToken": {
147 "description": "Gets an Exam Token for a Partner's user to t ake an exam in the Exams System",
148 "httpMethod": "GET",
149 "id": "partners.exams.getToken",
150 "parameterOrder": [
151 "examType"
152 ],
153 "parameters": {
154 "requestMetadata.userOverrides.userId": {
155 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
156 "location": "query",
157 "type": "string"
158 },
159 "requestMetadata.partnersSessionId": {
160 "description": "Google Partners session ID.",
161 "location": "query",
162 "type": "string"
163 },
164 "requestMetadata.trafficSource.trafficSourceId": {
165 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
166 "location": "query",
167 "type": "string"
168 },
169 "requestMetadata.locale": {
170 "description": "Locale to use for the current reques t.",
171 "location": "query",
172 "type": "string"
173 },
174 "requestMetadata.userOverrides.ipAddress": {
175 "description": "IP address to use instead of the use r's geo-located IP address.",
176 "location": "query",
177 "type": "string"
178 },
179 "requestMetadata.experimentIds": {
180 "description": "Experiment IDs the current request b elongs to.",
181 "location": "query",
182 "repeated": true,
183 "type": "string"
184 },
185 "requestMetadata.trafficSource.trafficSubId": {
186 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
187 "location": "query",
188 "type": "string"
189 },
190 "examType": {
191 "description": "The exam type we are requesting a to ken for.",
192 "enum": [
193 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
194 "CET_ADWORDS_FUNDAMENTALS",
195 "CET_ADWORDS_ADVANCED_SEARCH",
196 "CET_ADWORDS_ADVANCED_DISPLAY",
197 "CET_VIDEO_ADS",
198 "CET_DOUBLECLICK",
199 "CET_ANALYTICS",
200 "CET_SHOPPING",
201 "CET_MOBILE",
202 "CET_DIGITAL_SALES",
203 "CET_MOBILE_SITES"
204 ],
205 "location": "path",
206 "required": true,
207 "type": "string"
208 }
209 },
210 "path": "v2/exams/{examType}/token",
211 "response": {
212 "$ref": "ExamToken"
213 }
214 }
215 }
216 },
217 "leads": { 108 "leads": {
218 "methods": { 109 "methods": {
219 "list": { 110 "list": {
220 "description": "Lists advertiser leads for a user's associat ed company.\nShould only be called within the context of an authorized logged in user.", 111 "description": "Lists advertiser leads for a user's associat ed company.\nShould only be called within the context of an authorized logged in user.",
221 "httpMethod": "GET", 112 "httpMethod": "GET",
222 "id": "partners.leads.list", 113 "id": "partners.leads.list",
223 "parameterOrder": [], 114 "parameterOrder": [],
224 "parameters": { 115 "parameters": {
116 "requestMetadata.partnersSessionId": {
117 "description": "Google Partners session ID.",
118 "location": "query",
119 "type": "string"
120 },
225 "requestMetadata.userOverrides.userId": { 121 "requestMetadata.userOverrides.userId": {
226 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 122 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
227 "location": "query", 123 "location": "query",
228 "type": "string" 124 "type": "string"
229 }, 125 },
230 "requestMetadata.partnersSessionId": {
231 "description": "Google Partners session ID.",
232 "location": "query",
233 "type": "string"
234 },
235 "pageToken": { 126 "pageToken": {
236 "description": "A token identifying a page of result s that the server returns.\nTypically, this is the value of `ListLeadsResponse.n ext_page_token`\nreturned from the previous call to\nListLeads.", 127 "description": "A token identifying a page of result s that the server returns.\nTypically, this is the value of `ListLeadsResponse.n ext_page_token`\nreturned from the previous call to\nListLeads.",
237 "location": "query", 128 "location": "query",
238 "type": "string" 129 "type": "string"
239 }, 130 },
240 "pageSize": { 131 "pageSize": {
241 "description": "Requested page size. Server may retu rn fewer leads than requested.\nIf unspecified, server picks an appropriate defa ult.", 132 "description": "Requested page size. Server may retu rn fewer leads than requested.\nIf unspecified, server picks an appropriate defa ult.",
242 "format": "int32", 133 "format": "int32",
243 "location": "query", 134 "location": "query",
244 "type": "integer" 135 "type": "integer"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 "description": "Experiment IDs the current request b elongs to.", 200 "description": "Experiment IDs the current request b elongs to.",
310 "location": "query", 201 "location": "query",
311 "repeated": true, 202 "repeated": true,
312 "type": "string" 203 "type": "string"
313 }, 204 },
314 "requestMetadata.trafficSource.trafficSubId": { 205 "requestMetadata.trafficSource.trafficSubId": {
315 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.", 206 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
316 "location": "query", 207 "location": "query",
317 "type": "string" 208 "type": "string"
318 }, 209 },
210 "requestMetadata.userOverrides.userId": {
211 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
212 "location": "query",
213 "type": "string"
214 },
319 "requestMetadata.partnersSessionId": { 215 "requestMetadata.partnersSessionId": {
320 "description": "Google Partners session ID.", 216 "description": "Google Partners session ID.",
321 "location": "query", 217 "location": "query",
322 "type": "string" 218 "type": "string"
323 },
324 "requestMetadata.userOverrides.userId": {
325 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
326 "location": "query",
327 "type": "string"
328 } 219 }
329 }, 220 },
330 "path": "v2/offers", 221 "path": "v2/offers",
331 "response": { 222 "response": {
332 "$ref": "ListOffersResponse" 223 "$ref": "ListOffersResponse"
333 } 224 }
334 } 225 }
335 }, 226 },
336 "resources": { 227 "resources": {
337 "history": { 228 "history": {
338 "methods": { 229 "methods": {
339 "list": { 230 "list": {
340 "description": "Lists the Historical Offers for the current user (or user's entire company)", 231 "description": "Lists the Historical Offers for the current user (or user's entire company)",
341 "httpMethod": "GET", 232 "httpMethod": "GET",
342 "id": "partners.offers.history.list", 233 "id": "partners.offers.history.list",
343 "parameterOrder": [], 234 "parameterOrder": [],
344 "parameters": { 235 "parameters": {
345 "requestMetadata.userOverrides.userId": { 236 "requestMetadata.trafficSource.trafficSubId": {
346 "description": "Logged-in user ID to imperso nate instead of the user's ID.", 237 "description": "Second level identifier to i ndicate where the traffic comes from.\nAn identifier has multiple letters create d by a team which redirected the\ntraffic to us.",
347 "location": "query", 238 "location": "query",
348 "type": "string" 239 "type": "string"
349 }, 240 },
241 "orderBy": {
242 "description": "Comma-separated list of fiel ds to order by, e.g.: \"foo,bar,baz\".\nUse \"foo desc\" to sort descending.\nLi st of valid field names is: name, offer_code, expiration_time, status,\n last _modified_time, sender_name, creation_time, country_code,\n offer_type.",
243 "location": "query",
244 "type": "string"
245 },
350 "requestMetadata.partnersSessionId": { 246 "requestMetadata.partnersSessionId": {
351 "description": "Google Partners session ID." , 247 "description": "Google Partners session ID." ,
352 "location": "query", 248 "location": "query",
353 "type": "string" 249 "type": "string"
354 }, 250 },
251 "requestMetadata.userOverrides.userId": {
252 "description": "Logged-in user ID to imperso nate instead of the user's ID.",
253 "location": "query",
254 "type": "string"
255 },
355 "pageToken": { 256 "pageToken": {
356 "description": "Token to retrieve a specific page.", 257 "description": "Token to retrieve a specific page.",
357 "location": "query", 258 "location": "query",
358 "type": "string" 259 "type": "string"
359 }, 260 },
360 "pageSize": { 261 "pageSize": {
361 "description": "Maximum number of rows to re turn per page.", 262 "description": "Maximum number of rows to re turn per page.",
362 "format": "int32", 263 "format": "int32",
363 "location": "query", 264 "location": "query",
364 "type": "integer" 265 "type": "integer"
365 }, 266 },
366 "requestMetadata.trafficSource.trafficSourceId": { 267 "requestMetadata.trafficSource.trafficSourceId": {
367 "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team w hich redirected the\ntraffic to us.", 268 "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team w hich redirected the\ntraffic to us.",
368 "location": "query", 269 "location": "query",
369 "type": "string" 270 "type": "string"
370 }, 271 },
371 "requestMetadata.locale": { 272 "requestMetadata.locale": {
372 "description": "Locale to use for the curren t request.", 273 "description": "Locale to use for the curren t request.",
373 "location": "query", 274 "location": "query",
374 "type": "string" 275 "type": "string"
375 }, 276 },
376 "requestMetadata.userOverrides.ipAddress": { 277 "requestMetadata.userOverrides.ipAddress": {
377 "description": "IP address to use instead of the user's geo-located IP address.", 278 "description": "IP address to use instead of the user's geo-located IP address.",
378 "location": "query", 279 "location": "query",
379 "type": "string" 280 "type": "string"
380 }, 281 },
381 "entireCompany": {
382 "description": "if true, show history for th e entire company. Requires user to be admin.",
383 "location": "query",
384 "type": "boolean"
385 },
386 "requestMetadata.experimentIds": { 282 "requestMetadata.experimentIds": {
387 "description": "Experiment IDs the current r equest belongs to.", 283 "description": "Experiment IDs the current r equest belongs to.",
388 "location": "query", 284 "location": "query",
389 "repeated": true, 285 "repeated": true,
390 "type": "string" 286 "type": "string"
391 }, 287 },
392 "requestMetadata.trafficSource.trafficSubId": { 288 "entireCompany": {
393 "description": "Second level identifier to i ndicate where the traffic comes from.\nAn identifier has multiple letters create d by a team which redirected the\ntraffic to us.", 289 "description": "if true, show history for th e entire company. Requires user to be admin.",
394 "location": "query", 290 "location": "query",
395 "type": "string" 291 "type": "boolean"
396 },
397 "orderBy": {
398 "description": "Comma-separated list of fiel ds to order by, e.g.: \"foo,bar,baz\".\nUse \"foo desc\" to sort descending.\nLi st of valid field names is: name, offer_code, expiration_time, status,\n last _modified_time, sender_name, creation_time, country_code,\n offer_type.",
399 "location": "query",
400 "type": "string"
401 } 292 }
402 }, 293 },
403 "path": "v2/offers/history", 294 "path": "v2/offers/history",
404 "response": { 295 "response": {
405 "$ref": "ListOffersHistoryResponse" 296 "$ref": "ListOffersHistoryResponse"
406 } 297 }
407 } 298 }
408 } 299 }
409 } 300 }
410 } 301 }
411 }, 302 },
412 "userStates": { 303 "analytics": {
413 "methods": { 304 "methods": {
414 "list": { 305 "list": {
415 "description": "Lists states for current user.", 306 "description": "Lists analytics data for a user's associated company.\nShould only be called within the context of an authorized logged in u ser.",
416 "httpMethod": "GET", 307 "httpMethod": "GET",
417 "id": "partners.userStates.list", 308 "id": "partners.analytics.list",
418 "parameterOrder": [], 309 "parameterOrder": [],
419 "parameters": { 310 "parameters": {
420 "requestMetadata.userOverrides.ipAddress": { 311 "requestMetadata.partnersSessionId": {
421 "description": "IP address to use instead of the use r's geo-located IP address.", 312 "description": "Google Partners session ID.",
422 "location": "query", 313 "location": "query",
423 "type": "string" 314 "type": "string"
424 }, 315 },
425 "requestMetadata.experimentIds": {
426 "description": "Experiment IDs the current request b elongs to.",
427 "location": "query",
428 "repeated": true,
429 "type": "string"
430 },
431 "requestMetadata.trafficSource.trafficSubId": {
432 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
433 "location": "query",
434 "type": "string"
435 },
436 "requestMetadata.userOverrides.userId": { 316 "requestMetadata.userOverrides.userId": {
437 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 317 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
438 "location": "query", 318 "location": "query",
439 "type": "string" 319 "type": "string"
440 }, 320 },
441 "requestMetadata.partnersSessionId": { 321 "pageToken": {
442 "description": "Google Partners session ID.", 322 "description": "A token identifying a page of result s that the server returns.\nTypically, this is the value of `ListAnalyticsRespon se.next_page_token`\nreturned from the previous call to\nListAnalytics.\nWill be a date string in `YYYY-MM-DD` format representing the end date\nof the date ran ge of results to return.\nIf unspecified or set to \"\", default value is the cu rrent date.",
443 "location": "query", 323 "location": "query",
444 "type": "string" 324 "type": "string"
445 }, 325 },
326 "pageSize": {
327 "description": "Requested page size. Server may retu rn fewer analytics than requested.\nIf unspecified or set to 0, default value is 30.\nSpecifies the number of days in the date range when querying analytics.\nT he `page_token` represents the end date of the date range\nand the start date is calculated using the `page_size` as the number\nof days BEFORE the end date.\nM ust be a non-negative integer.",
328 "format": "int32",
329 "location": "query",
330 "type": "integer"
331 },
446 "requestMetadata.trafficSource.trafficSourceId": { 332 "requestMetadata.trafficSource.trafficSourceId": {
447 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.", 333 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
448 "location": "query", 334 "location": "query",
449 "type": "string" 335 "type": "string"
450 }, 336 },
451 "requestMetadata.locale": { 337 "requestMetadata.locale": {
452 "description": "Locale to use for the current reques t.", 338 "description": "Locale to use for the current reques t.",
453 "location": "query", 339 "location": "query",
454 "type": "string" 340 "type": "string"
341 },
342 "requestMetadata.userOverrides.ipAddress": {
343 "description": "IP address to use instead of the use r's geo-located IP address.",
344 "location": "query",
345 "type": "string"
346 },
347 "requestMetadata.experimentIds": {
348 "description": "Experiment IDs the current request b elongs to.",
349 "location": "query",
350 "repeated": true,
351 "type": "string"
352 },
353 "requestMetadata.trafficSource.trafficSubId": {
354 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
355 "location": "query",
356 "type": "string"
455 } 357 }
456 }, 358 },
457 "path": "v2/userStates", 359 "path": "v2/analytics",
458 "response": { 360 "response": {
459 "$ref": "ListUserStatesResponse" 361 "$ref": "ListAnalyticsResponse"
460 } 362 }
461 } 363 }
462 } 364 }
463 }, 365 },
464 "analytics": { 366 "userStates": {
465 "methods": { 367 "methods": {
466 "list": { 368 "list": {
467 "description": "Lists analytics data for a user's associated company.\nShould only be called within the context of an authorized logged in u ser.", 369 "description": "Lists states for current user.",
468 "httpMethod": "GET", 370 "httpMethod": "GET",
469 "id": "partners.analytics.list", 371 "id": "partners.userStates.list",
470 "parameterOrder": [], 372 "parameterOrder": [],
471 "parameters": { 373 "parameters": {
472 "requestMetadata.userOverrides.userId": { 374 "requestMetadata.userOverrides.userId": {
473 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 375 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
474 "location": "query", 376 "location": "query",
475 "type": "string" 377 "type": "string"
476 }, 378 },
477 "requestMetadata.partnersSessionId": { 379 "requestMetadata.partnersSessionId": {
478 "description": "Google Partners session ID.", 380 "description": "Google Partners session ID.",
479 "location": "query", 381 "location": "query",
480 "type": "string" 382 "type": "string"
481 }, 383 },
482 "pageToken": {
483 "description": "A token identifying a page of result s that the server returns.\nTypically, this is the value of `ListAnalyticsRespon se.next_page_token`\nreturned from the previous call to\nListAnalytics.\nWill be a date string in `YYYY-MM-DD` format representing the end date\nof the date ran ge of results to return.\nIf unspecified or set to \"\", default value is the cu rrent date.",
484 "location": "query",
485 "type": "string"
486 },
487 "pageSize": {
488 "description": "Requested page size. Server may retu rn fewer analytics than requested.\nIf unspecified or set to 0, default value is 30.\nSpecifies the number of days in the date range when querying analytics.\nT he `page_token` represents the end date of the date range\nand the start date is calculated using the `page_size` as the number\nof days BEFORE the end date.\nM ust be a non-negative integer.",
489 "format": "int32",
490 "location": "query",
491 "type": "integer"
492 },
493 "requestMetadata.trafficSource.trafficSourceId": { 384 "requestMetadata.trafficSource.trafficSourceId": {
494 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.", 385 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
495 "location": "query", 386 "location": "query",
496 "type": "string" 387 "type": "string"
497 }, 388 },
498 "requestMetadata.locale": { 389 "requestMetadata.locale": {
499 "description": "Locale to use for the current reques t.", 390 "description": "Locale to use for the current reques t.",
500 "location": "query", 391 "location": "query",
501 "type": "string" 392 "type": "string"
502 }, 393 },
503 "requestMetadata.userOverrides.ipAddress": { 394 "requestMetadata.userOverrides.ipAddress": {
504 "description": "IP address to use instead of the use r's geo-located IP address.", 395 "description": "IP address to use instead of the use r's geo-located IP address.",
505 "location": "query", 396 "location": "query",
506 "type": "string" 397 "type": "string"
507 }, 398 },
508 "requestMetadata.experimentIds": { 399 "requestMetadata.experimentIds": {
509 "description": "Experiment IDs the current request b elongs to.", 400 "description": "Experiment IDs the current request b elongs to.",
510 "location": "query", 401 "location": "query",
511 "repeated": true, 402 "repeated": true,
512 "type": "string" 403 "type": "string"
513 }, 404 },
514 "requestMetadata.trafficSource.trafficSubId": { 405 "requestMetadata.trafficSource.trafficSubId": {
515 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.", 406 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
516 "location": "query", 407 "location": "query",
517 "type": "string" 408 "type": "string"
518 } 409 }
519 }, 410 },
520 "path": "v2/analytics", 411 "path": "v2/userStates",
521 "response": { 412 "response": {
522 "$ref": "ListAnalyticsResponse" 413 "$ref": "ListUserStatesResponse"
523 } 414 }
524 } 415 }
525 } 416 }
526 }, 417 },
527 "v2": { 418 "v2": {
528 "methods": { 419 "methods": {
529 "getPartnersstatus": { 420 "updateLeads": {
530 "description": "Gets Partners Status of the logged in user's agency.\nShould only be called if the logged in user is the admin of the agency .", 421 "description": "Updates the specified lead.",
531 "httpMethod": "GET", 422 "httpMethod": "PATCH",
532 "id": "partners.getPartnersstatus", 423 "id": "partners.updateLeads",
533 "parameterOrder": [], 424 "parameterOrder": [],
534 "parameters": { 425 "parameters": {
535 "requestMetadata.userOverrides.userId": {
536 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
537 "location": "query",
538 "type": "string"
539 },
540 "requestMetadata.partnersSessionId": {
541 "description": "Google Partners session ID.",
542 "location": "query",
543 "type": "string"
544 },
545 "requestMetadata.trafficSource.trafficSourceId": {
546 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
547 "location": "query",
548 "type": "string"
549 },
550 "requestMetadata.locale": { 426 "requestMetadata.locale": {
551 "description": "Locale to use for the current reques t.", 427 "description": "Locale to use for the current reques t.",
552 "location": "query", 428 "location": "query",
553 "type": "string" 429 "type": "string"
554 }, 430 },
555 "requestMetadata.userOverrides.ipAddress": { 431 "requestMetadata.userOverrides.ipAddress": {
556 "description": "IP address to use instead of the use r's geo-located IP address.", 432 "description": "IP address to use instead of the use r's geo-located IP address.",
557 "location": "query", 433 "location": "query",
558 "type": "string"
559 },
560 "requestMetadata.experimentIds": {
561 "description": "Experiment IDs the current request b elongs to.",
562 "location": "query",
563 "repeated": true,
564 "type": "string"
565 },
566 "requestMetadata.trafficSource.trafficSubId": {
567 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
568 "location": "query",
569 "type": "string"
570 }
571 },
572 "path": "v2/partnersstatus",
573 "response": {
574 "$ref": "GetPartnersStatusResponse"
575 }
576 },
577 "updateLeads": {
578 "description": "Updates the specified lead.",
579 "httpMethod": "PATCH",
580 "id": "partners.updateLeads",
581 "parameterOrder": [],
582 "parameters": {
583 "requestMetadata.userOverrides.ipAddress": {
584 "description": "IP address to use instead of the use r's geo-located IP address.",
585 "location": "query",
586 "type": "string" 434 "type": "string"
587 }, 435 },
588 "updateMask": { 436 "updateMask": {
589 "description": "Standard field mask for the set of f ields to be updated.\nRequired with at least 1 value in FieldMask's paths.\nOnly `state` and `adwords_customer_id` are currently supported.", 437 "description": "Standard field mask for the set of f ields to be updated.\nRequired with at least 1 value in FieldMask's paths.\nOnly `state` and `adwords_customer_id` are currently supported.",
590 "format": "google-fieldmask", 438 "format": "google-fieldmask",
591 "location": "query", 439 "location": "query",
592 "type": "string" 440 "type": "string"
593 }, 441 },
594 "requestMetadata.experimentIds": { 442 "requestMetadata.experimentIds": {
595 "description": "Experiment IDs the current request b elongs to.", 443 "description": "Experiment IDs the current request b elongs to.",
(...skipping 13 matching lines...) Expand all
609 }, 457 },
610 "requestMetadata.partnersSessionId": { 458 "requestMetadata.partnersSessionId": {
611 "description": "Google Partners session ID.", 459 "description": "Google Partners session ID.",
612 "location": "query", 460 "location": "query",
613 "type": "string" 461 "type": "string"
614 }, 462 },
615 "requestMetadata.trafficSource.trafficSourceId": { 463 "requestMetadata.trafficSource.trafficSourceId": {
616 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.", 464 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
617 "location": "query", 465 "location": "query",
618 "type": "string" 466 "type": "string"
619 },
620 "requestMetadata.locale": {
621 "description": "Locale to use for the current reques t.",
622 "location": "query",
623 "type": "string"
624 } 467 }
625 }, 468 },
626 "path": "v2/leads", 469 "path": "v2/leads",
627 "request": { 470 "request": {
628 "$ref": "Lead" 471 "$ref": "Lead"
629 }, 472 },
630 "response": { 473 "response": {
631 "$ref": "Lead" 474 "$ref": "Lead"
632 } 475 }
633 }, 476 },
634 "updateCompanies": { 477 "updateCompanies": {
635 "description": "Update company.\nShould only be called withi n the context of an authorized logged in user.", 478 "description": "Update company.\nShould only be called withi n the context of an authorized logged in user.",
636 "httpMethod": "PATCH", 479 "httpMethod": "PATCH",
637 "id": "partners.updateCompanies", 480 "id": "partners.updateCompanies",
638 "parameterOrder": [], 481 "parameterOrder": [],
639 "parameters": { 482 "parameters": {
483 "requestMetadata.trafficSource.trafficSubId": {
484 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
485 "location": "query",
486 "type": "string"
487 },
640 "requestMetadata.userOverrides.userId": { 488 "requestMetadata.userOverrides.userId": {
641 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 489 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
642 "location": "query", 490 "location": "query",
643 "type": "string" 491 "type": "string"
644 }, 492 },
645 "requestMetadata.partnersSessionId": { 493 "requestMetadata.partnersSessionId": {
646 "description": "Google Partners session ID.", 494 "description": "Google Partners session ID.",
647 "location": "query", 495 "location": "query",
648 "type": "string" 496 "type": "string"
649 }, 497 },
(...skipping 16 matching lines...) Expand all
666 "description": "Standard field mask for the set of f ields to be updated.\nRequired with at least 1 value in FieldMask's paths.", 514 "description": "Standard field mask for the set of f ields to be updated.\nRequired with at least 1 value in FieldMask's paths.",
667 "format": "google-fieldmask", 515 "format": "google-fieldmask",
668 "location": "query", 516 "location": "query",
669 "type": "string" 517 "type": "string"
670 }, 518 },
671 "requestMetadata.experimentIds": { 519 "requestMetadata.experimentIds": {
672 "description": "Experiment IDs the current request b elongs to.", 520 "description": "Experiment IDs the current request b elongs to.",
673 "location": "query", 521 "location": "query",
674 "repeated": true, 522 "repeated": true,
675 "type": "string" 523 "type": "string"
676 },
677 "requestMetadata.trafficSource.trafficSubId": {
678 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
679 "location": "query",
680 "type": "string"
681 } 524 }
682 }, 525 },
683 "path": "v2/companies", 526 "path": "v2/companies",
684 "request": { 527 "request": {
685 "$ref": "Company" 528 "$ref": "Company"
686 }, 529 },
687 "response": { 530 "response": {
688 "$ref": "Company" 531 "$ref": "Company"
689 } 532 }
690 } 533 },
691 } 534 "getPartnersstatus": {
692 }, 535 "description": "Gets Partners Status of the logged in user's agency.\nShould only be called if the logged in user is the admin of the agency .",
693 "users": { 536 "httpMethod": "GET",
694 "methods": { 537 "id": "partners.getPartnersstatus",
695 "deleteCompanyRelation": { 538 "parameterOrder": [],
696 "description": "Deletes a user's company relation. Unaffilia ites the user from a company.",
697 "httpMethod": "DELETE",
698 "id": "partners.users.deleteCompanyRelation",
699 "parameterOrder": [
700 "userId"
701 ],
702 "parameters": { 539 "parameters": {
703 "requestMetadata.experimentIds": { 540 "requestMetadata.experimentIds": {
704 "description": "Experiment IDs the current request b elongs to.", 541 "description": "Experiment IDs the current request b elongs to.",
705 "location": "query", 542 "location": "query",
706 "repeated": true, 543 "repeated": true,
707 "type": "string" 544 "type": "string"
708 }, 545 },
709 "userId": {
710 "description": "The ID of the user. Can be set to <c ode>me</code> to mean\nthe currently authenticated user.",
711 "location": "path",
712 "required": true,
713 "type": "string"
714 },
715 "requestMetadata.trafficSource.trafficSubId": { 546 "requestMetadata.trafficSource.trafficSubId": {
716 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.", 547 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
717 "location": "query", 548 "location": "query",
718 "type": "string" 549 "type": "string"
719 }, 550 },
551 "requestMetadata.partnersSessionId": {
552 "description": "Google Partners session ID.",
553 "location": "query",
554 "type": "string"
555 },
720 "requestMetadata.userOverrides.userId": { 556 "requestMetadata.userOverrides.userId": {
721 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 557 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
722 "location": "query", 558 "location": "query",
723 "type": "string" 559 "type": "string"
724 }, 560 },
561 "requestMetadata.trafficSource.trafficSourceId": {
562 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
563 "location": "query",
564 "type": "string"
565 },
566 "requestMetadata.locale": {
567 "description": "Locale to use for the current reques t.",
568 "location": "query",
569 "type": "string"
570 },
571 "requestMetadata.userOverrides.ipAddress": {
572 "description": "IP address to use instead of the use r's geo-located IP address.",
573 "location": "query",
574 "type": "string"
575 }
576 },
577 "path": "v2/partnersstatus",
578 "response": {
579 "$ref": "GetPartnersStatusResponse"
580 }
581 }
582 }
583 },
584 "users": {
585 "methods": {
586 "updateProfile": {
587 "description": "Updates a user's profile. A user can only up date their own profile and\nshould only be called within the context of a logged in user.",
588 "httpMethod": "PATCH",
589 "id": "partners.users.updateProfile",
590 "parameterOrder": [],
591 "parameters": {
725 "requestMetadata.partnersSessionId": { 592 "requestMetadata.partnersSessionId": {
726 "description": "Google Partners session ID.", 593 "description": "Google Partners session ID.",
727 "location": "query", 594 "location": "query",
728 "type": "string" 595 "type": "string"
729 }, 596 },
597 "requestMetadata.userOverrides.userId": {
598 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
599 "location": "query",
600 "type": "string"
601 },
730 "requestMetadata.trafficSource.trafficSourceId": { 602 "requestMetadata.trafficSource.trafficSourceId": {
731 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.", 603 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
732 "location": "query", 604 "location": "query",
733 "type": "string" 605 "type": "string"
734 }, 606 },
735 "requestMetadata.locale": { 607 "requestMetadata.locale": {
736 "description": "Locale to use for the current reques t.", 608 "description": "Locale to use for the current reques t.",
737 "location": "query", 609 "location": "query",
738 "type": "string" 610 "type": "string"
739 }, 611 },
740 "requestMetadata.userOverrides.ipAddress": { 612 "requestMetadata.userOverrides.ipAddress": {
741 "description": "IP address to use instead of the use r's geo-located IP address.", 613 "description": "IP address to use instead of the use r's geo-located IP address.",
742 "location": "query", 614 "location": "query",
743 "type": "string" 615 "type": "string"
616 },
617 "requestMetadata.experimentIds": {
618 "description": "Experiment IDs the current request b elongs to.",
619 "location": "query",
620 "repeated": true,
621 "type": "string"
622 },
623 "requestMetadata.trafficSource.trafficSubId": {
624 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
625 "location": "query",
626 "type": "string"
744 } 627 }
745 }, 628 },
746 "path": "v2/users/{userId}/companyRelation", 629 "path": "v2/users/profile",
630 "request": {
631 "$ref": "UserProfile"
632 },
747 "response": { 633 "response": {
748 "$ref": "Empty" 634 "$ref": "UserProfile"
749 } 635 }
750 }, 636 },
751 "createCompanyRelation": { 637 "deleteCompanyRelation": {
752 "description": "Creates a user's company relation. Affiliate s the user to a company.", 638 "description": "Deletes a user's company relation. Unaffilia ites the user from a company.",
753 "httpMethod": "PUT", 639 "httpMethod": "DELETE",
754 "id": "partners.users.createCompanyRelation", 640 "id": "partners.users.deleteCompanyRelation",
755 "parameterOrder": [ 641 "parameterOrder": [
756 "userId" 642 "userId"
757 ], 643 ],
758 "parameters": { 644 "parameters": {
759 "requestMetadata.experimentIds": { 645 "requestMetadata.experimentIds": {
760 "description": "Experiment IDs the current request b elongs to.", 646 "description": "Experiment IDs the current request b elongs to.",
761 "location": "query", 647 "location": "query",
762 "repeated": true, 648 "repeated": true,
763 "type": "string" 649 "type": "string"
764 }, 650 },
(...skipping 28 matching lines...) Expand all
793 "location": "query", 679 "location": "query",
794 "type": "string" 680 "type": "string"
795 }, 681 },
796 "requestMetadata.userOverrides.ipAddress": { 682 "requestMetadata.userOverrides.ipAddress": {
797 "description": "IP address to use instead of the use r's geo-located IP address.", 683 "description": "IP address to use instead of the use r's geo-located IP address.",
798 "location": "query", 684 "location": "query",
799 "type": "string" 685 "type": "string"
800 } 686 }
801 }, 687 },
802 "path": "v2/users/{userId}/companyRelation", 688 "path": "v2/users/{userId}/companyRelation",
803 "request": {
804 "$ref": "CompanyRelation"
805 },
806 "response": { 689 "response": {
807 "$ref": "CompanyRelation" 690 "$ref": "Empty"
808 } 691 }
809 }, 692 },
810 "get": { 693 "createCompanyRelation": {
811 "description": "Gets a user.", 694 "description": "Creates a user's company relation. Affiliate s the user to a company.",
812 "httpMethod": "GET", 695 "httpMethod": "PUT",
813 "id": "partners.users.get", 696 "id": "partners.users.createCompanyRelation",
814 "parameterOrder": [ 697 "parameterOrder": [
815 "userId" 698 "userId"
816 ], 699 ],
817 "parameters": { 700 "parameters": {
701 "requestMetadata.partnersSessionId": {
702 "description": "Google Partners session ID.",
703 "location": "query",
704 "type": "string"
705 },
818 "requestMetadata.userOverrides.userId": { 706 "requestMetadata.userOverrides.userId": {
819 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 707 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
820 "location": "query", 708 "location": "query",
821 "type": "string" 709 "type": "string"
822 }, 710 },
823 "requestMetadata.partnersSessionId": {
824 "description": "Google Partners session ID.",
825 "location": "query",
826 "type": "string"
827 },
828 "userView": {
829 "description": "Specifies what parts of the user inf ormation to return.",
830 "enum": [
831 "BASIC",
832 "PROFILE",
833 "PUBLIC_PROFILE"
834 ],
835 "location": "query",
836 "type": "string"
837 },
838 "requestMetadata.trafficSource.trafficSourceId": { 711 "requestMetadata.trafficSource.trafficSourceId": {
839 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.", 712 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
840 "location": "query", 713 "location": "query",
841 "type": "string" 714 "type": "string"
842 }, 715 },
843 "requestMetadata.locale": { 716 "requestMetadata.locale": {
844 "description": "Locale to use for the current reques t.", 717 "description": "Locale to use for the current reques t.",
845 "location": "query", 718 "location": "query",
846 "type": "string" 719 "type": "string"
847 }, 720 },
848 "requestMetadata.userOverrides.ipAddress": { 721 "requestMetadata.userOverrides.ipAddress": {
849 "description": "IP address to use instead of the use r's geo-located IP address.", 722 "description": "IP address to use instead of the use r's geo-located IP address.",
850 "location": "query", 723 "location": "query",
851 "type": "string" 724 "type": "string"
852 }, 725 },
853 "requestMetadata.experimentIds": { 726 "requestMetadata.experimentIds": {
854 "description": "Experiment IDs the current request b elongs to.", 727 "description": "Experiment IDs the current request b elongs to.",
855 "location": "query", 728 "location": "query",
856 "repeated": true, 729 "repeated": true,
857 "type": "string" 730 "type": "string"
858 }, 731 },
859 "userId": { 732 "userId": {
860 "description": "Identifier of the user. Can be set t o <code>me</code> to mean the currently\nauthenticated user.", 733 "description": "The ID of the user. Can be set to <c ode>me</code> to mean\nthe currently authenticated user.",
861 "location": "path", 734 "location": "path",
862 "required": true, 735 "required": true,
863 "type": "string" 736 "type": "string"
864 }, 737 },
865 "requestMetadata.trafficSource.trafficSubId": { 738 "requestMetadata.trafficSource.trafficSubId": {
866 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.", 739 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
867 "location": "query", 740 "location": "query",
868 "type": "string" 741 "type": "string"
869 } 742 }
870 }, 743 },
871 "path": "v2/users/{userId}", 744 "path": "v2/users/{userId}/companyRelation",
745 "request": {
746 "$ref": "CompanyRelation"
747 },
872 "response": { 748 "response": {
873 "$ref": "User" 749 "$ref": "CompanyRelation"
874 } 750 }
875 }, 751 },
876 "updateProfile": { 752 "get": {
877 "description": "Updates a user's profile. A user can only up date their own profile and\nshould only be called within the context of a logged in user.", 753 "description": "Gets a user.",
878 "httpMethod": "PATCH", 754 "httpMethod": "GET",
879 "id": "partners.users.updateProfile", 755 "id": "partners.users.get",
880 "parameterOrder": [], 756 "parameterOrder": [
757 "userId"
758 ],
881 "parameters": { 759 "parameters": {
882 "requestMetadata.partnersSessionId": { 760 "requestMetadata.partnersSessionId": {
883 "description": "Google Partners session ID.", 761 "description": "Google Partners session ID.",
884 "location": "query", 762 "location": "query",
885 "type": "string" 763 "type": "string"
886 }, 764 },
887 "requestMetadata.userOverrides.userId": { 765 "requestMetadata.userOverrides.userId": {
888 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 766 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
889 "location": "query", 767 "location": "query",
890 "type": "string" 768 "type": "string"
891 }, 769 },
770 "userView": {
771 "description": "Specifies what parts of the user inf ormation to return.",
772 "enum": [
773 "BASIC",
774 "PROFILE",
775 "PUBLIC_PROFILE"
776 ],
777 "location": "query",
778 "type": "string"
779 },
892 "requestMetadata.trafficSource.trafficSourceId": { 780 "requestMetadata.trafficSource.trafficSourceId": {
893 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.", 781 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
894 "location": "query", 782 "location": "query",
895 "type": "string" 783 "type": "string"
896 }, 784 },
897 "requestMetadata.locale": { 785 "requestMetadata.locale": {
898 "description": "Locale to use for the current reques t.", 786 "description": "Locale to use for the current reques t.",
899 "location": "query", 787 "location": "query",
900 "type": "string" 788 "type": "string"
901 }, 789 },
902 "requestMetadata.userOverrides.ipAddress": { 790 "requestMetadata.userOverrides.ipAddress": {
903 "description": "IP address to use instead of the use r's geo-located IP address.", 791 "description": "IP address to use instead of the use r's geo-located IP address.",
904 "location": "query", 792 "location": "query",
905 "type": "string" 793 "type": "string"
906 }, 794 },
907 "requestMetadata.experimentIds": { 795 "requestMetadata.experimentIds": {
908 "description": "Experiment IDs the current request b elongs to.", 796 "description": "Experiment IDs the current request b elongs to.",
909 "location": "query", 797 "location": "query",
910 "repeated": true, 798 "repeated": true,
911 "type": "string" 799 "type": "string"
912 }, 800 },
801 "userId": {
802 "description": "Identifier of the user. Can be set t o <code>me</code> to mean the currently\nauthenticated user.",
803 "location": "path",
804 "required": true,
805 "type": "string"
806 },
913 "requestMetadata.trafficSource.trafficSubId": { 807 "requestMetadata.trafficSource.trafficSubId": {
914 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.", 808 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
915 "location": "query", 809 "location": "query",
916 "type": "string" 810 "type": "string"
917 } 811 }
918 }, 812 },
919 "path": "v2/users/profile", 813 "path": "v2/users/{userId}",
920 "request": {
921 "$ref": "UserProfile"
922 },
923 "response": { 814 "response": {
924 "$ref": "UserProfile" 815 "$ref": "User"
925 } 816 }
926 } 817 }
927 } 818 }
928 }, 819 },
929 "companies": { 820 "companies": {
930 "methods": { 821 "methods": {
931 "list": { 822 "list": {
932 "description": "Lists companies.", 823 "description": "Lists companies.",
933 "httpMethod": "GET", 824 "httpMethod": "GET",
934 "id": "partners.companies.list", 825 "id": "partners.companies.list",
935 "parameterOrder": [], 826 "parameterOrder": [],
936 "parameters": { 827 "parameters": {
937 "requestMetadata.userOverrides.userId": {
938 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
939 "location": "query",
940 "type": "string"
941 },
942 "minMonthlyBudget.currencyCode": {
943 "description": "The 3-letter currency code defined i n ISO 4217.",
944 "location": "query",
945 "type": "string"
946 },
947 "view": {
948 "description": "The view of the `Company` resource t o be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.",
949 "enum": [
950 "COMPANY_VIEW_UNSPECIFIED",
951 "CV_GOOGLE_PARTNER_SEARCH"
952 ],
953 "location": "query",
954 "type": "string"
955 },
956 "requestMetadata.locale": {
957 "description": "Locale to use for the current reques t.",
958 "location": "query",
959 "type": "string"
960 },
961 "address": {
962 "description": "The address to use when searching fo r companies.\nIf not given, the geo-located address of the request is used.",
963 "location": "query",
964 "type": "string"
965 },
966 "minMonthlyBudget.units": {
967 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
968 "format": "int64",
969 "location": "query",
970 "type": "string"
971 },
972 "maxMonthlyBudget.nanos": {
973 "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nan os` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`= -750,000,000.",
974 "format": "int32",
975 "location": "query",
976 "type": "integer"
977 },
978 "services": {
979 "description": "List of services that the returned a gencies should provide. If this is\nnot empty, any returned agency must have at least one of these services,\nor one of the specializations in the \"specializat ions\" field.",
980 "enum": [
981 "SERVICE_UNSPECIFIED",
982 "S_ADVANCED_ADWORDS_SUPPORT",
983 "S_ADVERTISING_ON_GOOGLE",
984 "S_AN_ENHANCED_WEBSITE",
985 "S_AN_ONLINE_MARKETING_PLAN",
986 "S_MOBILE_AND_VIDEO_ADS",
987 "S_MOBILE_WEBSITE_SERVICES"
988 ],
989 "location": "query",
990 "repeated": true,
991 "type": "string"
992 },
993 "requestMetadata.trafficSource.trafficSourceId": {
994 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
995 "location": "query",
996 "type": "string"
997 },
998 "maxMonthlyBudget.units": {
999 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
1000 "format": "int64",
1001 "location": "query",
1002 "type": "string"
1003 },
1004 "requestMetadata.trafficSource.trafficSubId": {
1005 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
1006 "location": "query",
1007 "type": "string"
1008 },
1009 "minMonthlyBudget.nanos": {
1010 "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nan os` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`= -750,000,000.",
1011 "format": "int32",
1012 "location": "query",
1013 "type": "integer"
1014 },
1015 "requestMetadata.partnersSessionId": {
1016 "description": "Google Partners session ID.",
1017 "location": "query",
1018 "type": "string"
1019 },
1020 "companyName": { 828 "companyName": {
1021 "description": "Company name to search for.", 829 "description": "Company name to search for.",
1022 "location": "query", 830 "location": "query",
1023 "type": "string" 831 "type": "string"
1024 }, 832 },
1025 "pageToken": { 833 "pageToken": {
1026 "description": "A token identifying a page of result s that the server returns.\nTypically, this is the value of `ListCompaniesRespon se.next_page_token`\nreturned from the previous call to\nListCompanies.", 834 "description": "A token identifying a page of result s that the server returns.\nTypically, this is the value of `ListCompaniesRespon se.next_page_token`\nreturned from the previous call to\nListCompanies.",
1027 "location": "query", 835 "location": "query",
1028 "type": "string" 836 "type": "string"
1029 }, 837 },
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 "BADGE_SPECIALIZATION_ADWORDS_SHOPPING" 910 "BADGE_SPECIALIZATION_ADWORDS_SHOPPING"
1103 ], 911 ],
1104 "location": "query", 912 "location": "query",
1105 "repeated": true, 913 "repeated": true,
1106 "type": "string" 914 "type": "string"
1107 }, 915 },
1108 "maxMonthlyBudget.currencyCode": { 916 "maxMonthlyBudget.currencyCode": {
1109 "description": "The 3-letter currency code defined i n ISO 4217.", 917 "description": "The 3-letter currency code defined i n ISO 4217.",
1110 "location": "query", 918 "location": "query",
1111 "type": "string" 919 "type": "string"
920 },
921 "minMonthlyBudget.currencyCode": {
922 "description": "The 3-letter currency code defined i n ISO 4217.",
923 "location": "query",
924 "type": "string"
925 },
926 "requestMetadata.userOverrides.userId": {
927 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
928 "location": "query",
929 "type": "string"
930 },
931 "view": {
932 "description": "The view of the `Company` resource t o be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.",
933 "enum": [
934 "COMPANY_VIEW_UNSPECIFIED",
935 "CV_GOOGLE_PARTNER_SEARCH"
936 ],
937 "location": "query",
938 "type": "string"
939 },
940 "requestMetadata.locale": {
941 "description": "Locale to use for the current reques t.",
942 "location": "query",
943 "type": "string"
944 },
945 "address": {
946 "description": "The address to use when searching fo r companies.\nIf not given, the geo-located address of the request is used.",
947 "location": "query",
948 "type": "string"
949 },
950 "minMonthlyBudget.units": {
951 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
952 "format": "int64",
953 "location": "query",
954 "type": "string"
955 },
956 "maxMonthlyBudget.nanos": {
957 "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nan os` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`= -750,000,000.",
958 "format": "int32",
959 "location": "query",
960 "type": "integer"
961 },
962 "services": {
963 "description": "List of services that the returned a gencies should provide. If this is\nnot empty, any returned agency must have at least one of these services,\nor one of the specializations in the \"specializat ions\" field.",
964 "enum": [
965 "SERVICE_UNSPECIFIED",
966 "S_ADVANCED_ADWORDS_SUPPORT",
967 "S_ADVERTISING_ON_GOOGLE",
968 "S_AN_ENHANCED_WEBSITE",
969 "S_AN_ONLINE_MARKETING_PLAN",
970 "S_MOBILE_AND_VIDEO_ADS",
971 "S_MOBILE_WEBSITE_SERVICES"
972 ],
973 "location": "query",
974 "repeated": true,
975 "type": "string"
976 },
977 "maxMonthlyBudget.units": {
978 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
979 "format": "int64",
980 "location": "query",
981 "type": "string"
982 },
983 "requestMetadata.trafficSource.trafficSourceId": {
984 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
985 "location": "query",
986 "type": "string"
987 },
988 "requestMetadata.trafficSource.trafficSubId": {
989 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
990 "location": "query",
991 "type": "string"
992 },
993 "minMonthlyBudget.nanos": {
994 "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nan os` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`= -750,000,000.",
995 "format": "int32",
996 "location": "query",
997 "type": "integer"
998 },
999 "requestMetadata.partnersSessionId": {
1000 "description": "Google Partners session ID.",
1001 "location": "query",
1002 "type": "string"
1112 } 1003 }
1113 }, 1004 },
1114 "path": "v2/companies", 1005 "path": "v2/companies",
1115 "response": { 1006 "response": {
1116 "$ref": "ListCompaniesResponse" 1007 "$ref": "ListCompaniesResponse"
1117 } 1008 }
1118 }, 1009 },
1119 "get": { 1010 "get": {
1120 "description": "Gets a company.", 1011 "description": "Gets a company.",
1121 "httpMethod": "GET", 1012 "httpMethod": "GET",
1122 "id": "partners.companies.get", 1013 "id": "partners.companies.get",
1123 "parameterOrder": [ 1014 "parameterOrder": [
1124 "companyId" 1015 "companyId"
1125 ], 1016 ],
1126 "parameters": { 1017 "parameters": {
1018 "address": {
1019 "description": "The address to use for sorting the c ompany's addresses by proximity.\nIf not given, the geo-located address of the r equest is used.\nUsed when order_by is set.",
1020 "location": "query",
1021 "type": "string"
1022 },
1023 "requestMetadata.locale": {
1024 "description": "Locale to use for the current reques t.",
1025 "location": "query",
1026 "type": "string"
1027 },
1127 "requestMetadata.trafficSource.trafficSourceId": { 1028 "requestMetadata.trafficSource.trafficSourceId": {
1128 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.", 1029 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
1129 "location": "query", 1030 "location": "query",
1130 "type": "string" 1031 "type": "string"
1131 }, 1032 },
1132 "requestMetadata.userOverrides.ipAddress": { 1033 "requestMetadata.userOverrides.ipAddress": {
1133 "description": "IP address to use instead of the use r's geo-located IP address.", 1034 "description": "IP address to use instead of the use r's geo-located IP address.",
1134 "location": "query", 1035 "location": "query",
1135 "type": "string" 1036 "type": "string"
1136 }, 1037 },
1137 "companyId": { 1038 "companyId": {
1138 "description": "The ID of the company to retrieve.", 1039 "description": "The ID of the company to retrieve.",
1139 "location": "path", 1040 "location": "path",
1140 "required": true, 1041 "required": true,
1141 "type": "string" 1042 "type": "string"
1142 }, 1043 },
1044 "currencyCode": {
1045 "description": "If the company's budget is in a diff erent currency code than this one, then\nthe converted budget is converted to th is currency code.",
1046 "location": "query",
1047 "type": "string"
1048 },
1143 "requestMetadata.experimentIds": { 1049 "requestMetadata.experimentIds": {
1144 "description": "Experiment IDs the current request b elongs to.", 1050 "description": "Experiment IDs the current request b elongs to.",
1145 "location": "query", 1051 "location": "query",
1146 "repeated": true, 1052 "repeated": true,
1147 "type": "string" 1053 "type": "string"
1148 }, 1054 },
1149 "currencyCode": { 1055 "requestMetadata.trafficSource.trafficSubId": {
1150 "description": "If the company's budget is in a diff erent currency code than this one, then\nthe converted budget is converted to th is currency code.", 1056 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
1151 "location": "query", 1057 "location": "query",
1152 "type": "string" 1058 "type": "string"
1153 }, 1059 },
1154 "orderBy": { 1060 "orderBy": {
1155 "description": "How to order addresses within the re turned company. Currently, only\n`address` and `address desc` is supported which will sorted by closest to\nfarthest in distance from given address and farthest to closest distance\nfrom given address respectively.", 1061 "description": "How to order addresses within the re turned company. Currently, only\n`address` and `address desc` is supported which will sorted by closest to\nfarthest in distance from given address and farthest to closest distance\nfrom given address respectively.",
1156 "location": "query", 1062 "location": "query",
1157 "type": "string" 1063 "type": "string"
1158 }, 1064 },
1159 "requestMetadata.trafficSource.trafficSubId": { 1065 "requestMetadata.userOverrides.userId": {
1160 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.", 1066 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
1161 "location": "query", 1067 "location": "query",
1162 "type": "string" 1068 "type": "string"
1163 }, 1069 },
1164 "requestMetadata.partnersSessionId": { 1070 "requestMetadata.partnersSessionId": {
1165 "description": "Google Partners session ID.", 1071 "description": "Google Partners session ID.",
1166 "location": "query", 1072 "location": "query",
1167 "type": "string" 1073 "type": "string"
1168 }, 1074 },
1169 "requestMetadata.userOverrides.userId": {
1170 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
1171 "location": "query",
1172 "type": "string"
1173 },
1174 "view": { 1075 "view": {
1175 "description": "The view of `Company` resource to be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.", 1076 "description": "The view of `Company` resource to be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.",
1176 "enum": [ 1077 "enum": [
1177 "COMPANY_VIEW_UNSPECIFIED", 1078 "COMPANY_VIEW_UNSPECIFIED",
1178 "CV_GOOGLE_PARTNER_SEARCH" 1079 "CV_GOOGLE_PARTNER_SEARCH"
1179 ], 1080 ],
1180 "location": "query", 1081 "location": "query",
1181 "type": "string" 1082 "type": "string"
1182 },
1183 "address": {
1184 "description": "The address to use for sorting the c ompany's addresses by proximity.\nIf not given, the geo-located address of the r equest is used.\nUsed when order_by is set.",
1185 "location": "query",
1186 "type": "string"
1187 },
1188 "requestMetadata.locale": {
1189 "description": "Locale to use for the current reques t.",
1190 "location": "query",
1191 "type": "string"
1192 } 1083 }
1193 }, 1084 },
1194 "path": "v2/companies/{companyId}", 1085 "path": "v2/companies/{companyId}",
1195 "response": { 1086 "response": {
1196 "$ref": "GetCompanyResponse" 1087 "$ref": "GetCompanyResponse"
1197 } 1088 }
1198 } 1089 }
1199 }, 1090 },
1200 "resources": { 1091 "resources": {
1201 "leads": { 1092 "leads": {
(...skipping 17 matching lines...) Expand all
1219 "request": { 1110 "request": {
1220 "$ref": "CreateLeadRequest" 1111 "$ref": "CreateLeadRequest"
1221 }, 1112 },
1222 "response": { 1113 "response": {
1223 "$ref": "CreateLeadResponse" 1114 "$ref": "CreateLeadResponse"
1224 } 1115 }
1225 } 1116 }
1226 } 1117 }
1227 } 1118 }
1228 } 1119 }
1120 },
1121 "userEvents": {
1122 "methods": {
1123 "log": {
1124 "description": "Logs a user event.",
1125 "httpMethod": "POST",
1126 "id": "partners.userEvents.log",
1127 "parameterOrder": [],
1128 "parameters": {},
1129 "path": "v2/userEvents:log",
1130 "request": {
1131 "$ref": "LogUserEventRequest"
1132 },
1133 "response": {
1134 "$ref": "LogUserEventResponse"
1135 }
1136 }
1137 }
1138 },
1139 "clientMessages": {
1140 "methods": {
1141 "log": {
1142 "description": "Logs a generic message from the client, such as\n`Failed to render component`, `Profile page is running slow`,\n`More than 5 00 users have accessed this result.`, etc.",
1143 "httpMethod": "POST",
1144 "id": "partners.clientMessages.log",
1145 "parameterOrder": [],
1146 "parameters": {},
1147 "path": "v2/clientMessages:log",
1148 "request": {
1149 "$ref": "LogMessageRequest"
1150 },
1151 "response": {
1152 "$ref": "LogMessageResponse"
1153 }
1154 }
1155 }
1156 },
1157 "exams": {
1158 "methods": {
1159 "getToken": {
1160 "description": "Gets an Exam Token for a Partner's user to t ake an exam in the Exams System",
1161 "httpMethod": "GET",
1162 "id": "partners.exams.getToken",
1163 "parameterOrder": [
1164 "examType"
1165 ],
1166 "parameters": {
1167 "examType": {
1168 "description": "The exam type we are requesting a to ken for.",
1169 "enum": [
1170 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
1171 "CET_ADWORDS_FUNDAMENTALS",
1172 "CET_ADWORDS_ADVANCED_SEARCH",
1173 "CET_ADWORDS_ADVANCED_DISPLAY",
1174 "CET_VIDEO_ADS",
1175 "CET_DOUBLECLICK",
1176 "CET_ANALYTICS",
1177 "CET_SHOPPING",
1178 "CET_MOBILE",
1179 "CET_DIGITAL_SALES",
1180 "CET_MOBILE_SITES"
1181 ],
1182 "location": "path",
1183 "required": true,
1184 "type": "string"
1185 },
1186 "requestMetadata.userOverrides.userId": {
1187 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
1188 "location": "query",
1189 "type": "string"
1190 },
1191 "requestMetadata.partnersSessionId": {
1192 "description": "Google Partners session ID.",
1193 "location": "query",
1194 "type": "string"
1195 },
1196 "requestMetadata.trafficSource.trafficSourceId": {
1197 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.",
1198 "location": "query",
1199 "type": "string"
1200 },
1201 "requestMetadata.locale": {
1202 "description": "Locale to use for the current reques t.",
1203 "location": "query",
1204 "type": "string"
1205 },
1206 "requestMetadata.userOverrides.ipAddress": {
1207 "description": "IP address to use instead of the use r's geo-located IP address.",
1208 "location": "query",
1209 "type": "string"
1210 },
1211 "requestMetadata.experimentIds": {
1212 "description": "Experiment IDs the current request b elongs to.",
1213 "location": "query",
1214 "repeated": true,
1215 "type": "string"
1216 },
1217 "requestMetadata.trafficSource.trafficSubId": {
1218 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
1219 "location": "query",
1220 "type": "string"
1221 }
1222 },
1223 "path": "v2/exams/{examType}/token",
1224 "response": {
1225 "$ref": "ExamToken"
1226 }
1227 }
1228 }
1229 } 1229 }
1230 }, 1230 },
1231 "revision": "20170628", 1231 "revision": "20170725",
1232 "rootUrl": "https://partners.googleapis.com/", 1232 "rootUrl": "https://partners.googleapis.com/",
1233 "schemas": { 1233 "schemas": {
1234 "RecaptchaChallenge": {
1235 "description": "<a href=\"https://www.google.com/recaptcha/\">reCapt cha</a> challenge info.",
1236 "id": "RecaptchaChallenge",
1237 "properties": {
1238 "id": {
1239 "description": "The ID of the reCaptcha challenge.",
1240 "type": "string"
1241 },
1242 "response": {
1243 "description": "The response to the reCaptcha challenge.",
1244 "type": "string"
1245 }
1246 },
1247 "type": "object"
1248 },
1249 "AvailableOffer": {
1250 "description": "Available Offers to be distributed.",
1251 "id": "AvailableOffer",
1252 "properties": {
1253 "name": {
1254 "description": "Name of the offer.",
1255 "type": "string"
1256 },
1257 "id": {
1258 "description": "ID of this offer.",
1259 "format": "int64",
1260 "type": "string"
1261 },
1262 "qualifiedCustomersComplete": {
1263 "description": "Whether or not the list of qualified custome rs is definitely complete.",
1264 "type": "boolean"
1265 },
1266 "countryOfferInfos": {
1267 "description": "Offer info by country.",
1268 "items": {
1269 "$ref": "CountryOfferInfo"
1270 },
1271 "type": "array"
1272 },
1273 "offerType": {
1274 "description": "Type of offer.",
1275 "enum": [
1276 "OFFER_TYPE_UNSPECIFIED",
1277 "OFFER_TYPE_SPEND_X_GET_Y",
1278 "OFFER_TYPE_VIDEO",
1279 "OFFER_TYPE_SPEND_MATCH"
1280 ],
1281 "enumDescriptions": [
1282 "Unset.",
1283 "AdWords spend X get Y.",
1284 "Youtube video.",
1285 "Spend Match up to Y."
1286 ],
1287 "type": "string"
1288 },
1289 "maxAccountAge": {
1290 "description": "The maximum age of an account [in days] to b e eligible.",
1291 "format": "int32",
1292 "type": "integer"
1293 },
1294 "qualifiedCustomer": {
1295 "description": "Customers who qualify for this offer.",
1296 "items": {
1297 "$ref": "OfferCustomer"
1298 },
1299 "type": "array"
1300 },
1301 "terms": {
1302 "description": "Terms of the offer.",
1303 "type": "string"
1304 },
1305 "showSpecialOfferCopy": {
1306 "description": "Should special text be shown on the offers p age.",
1307 "type": "boolean"
1308 },
1309 "available": {
1310 "description": "The number of codes for this offer that are available for distribution.",
1311 "format": "int32",
1312 "type": "integer"
1313 },
1314 "description": {
1315 "description": "Description of the offer.",
1316 "type": "string"
1317 },
1318 "offerLevel": {
1319 "description": "Level of this offer.",
1320 "enum": [
1321 "OFFER_LEVEL_UNSPECIFIED",
1322 "OFFER_LEVEL_DENY_PROBLEM",
1323 "OFFER_LEVEL_DENY_CONTRACT",
1324 "OFFER_LEVEL_MANUAL",
1325 "OFFER_LEVEL_LIMIT_0",
1326 "OFFER_LEVEL_LIMIT_5",
1327 "OFFER_LEVEL_LIMIT_15",
1328 "OFFER_LEVEL_LIMIT_50"
1329 ],
1330 "enumDescriptions": [
1331 "Unset.",
1332 "Users/Agencies that have no offers because of a problem .",
1333 "Users/Agencies that have no offers due to contractural agreements.",
1334 "Users/Agencies that have a manually-configured limit.",
1335 "Some Agencies don't get any offers.",
1336 "Basic level gets 5 per month.",
1337 "Agencies with adequate AHI and spend get 15/month.",
1338 "Badged partners (even in grace) get 50 per month."
1339 ],
1340 "type": "string"
1341 }
1342 },
1343 "type": "object"
1344 },
1345 "LatLng": {
1346 "description": "An object representing a latitude/longitude pair. Th is is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n<a href=\"http ://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\">WGS84\nstandard</a>. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n \n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees long itude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r > 180.0 or (r == 180.0 and q <= -1.0):\n return r - 360.0\n retur n r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], resp ectively.\"\"\"\n r = latitude % 360.0\n if r <= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r >= 270.0:\n return r - 36 0, NormalizeLongitude(longitude)\n else:\n return 180 - r, Normalize Longitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLo ngitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == Normali zeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\ n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10. 0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng (-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n as sert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == N ormalizeLatLng(-270.0, 10.0)",
1347 "id": "LatLng",
1348 "properties": {
1349 "latitude": {
1350 "description": "The latitude in degrees. It must be in the r ange [-90.0, +90.0].",
1351 "format": "double",
1352 "type": "number"
1353 },
1354 "longitude": {
1355 "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
1356 "format": "double",
1357 "type": "number"
1358 }
1359 },
1360 "type": "object"
1361 },
1362 "Money": {
1363 "description": "Represents an amount of money with its currency type .",
1364 "id": "Money",
1365 "properties": {
1366 "units": {
1367 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
1368 "format": "int64",
1369 "type": "string"
1370 },
1371 "currencyCode": {
1372 "description": "The 3-letter currency code defined in ISO 42 17.",
1373 "type": "string"
1374 },
1375 "nanos": {
1376 "description": "Number of nano (10^-9) units of the amount.\ nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negativ e or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000 ,000.",
1377 "format": "int32",
1378 "type": "integer"
1379 }
1380 },
1381 "type": "object"
1382 },
1383 "AnalyticsSummary": { 1234 "AnalyticsSummary": {
1384 "description": "Analytics aggregated data for a `Company` for a give n date range.", 1235 "description": "Analytics aggregated data for a `Company` for a give n date range.",
1385 "id": "AnalyticsSummary", 1236 "id": "AnalyticsSummary",
1386 "properties": { 1237 "properties": {
1387 "profileViewsCount": { 1238 "profileViewsCount": {
1388 "description": "Aggregated number of profile views for the ` Company` for given date range.", 1239 "description": "Aggregated number of profile views for the ` Company` for given date range.",
1389 "format": "int32", 1240 "format": "int32",
1390 "type": "integer" 1241 "type": "integer"
1391 }, 1242 },
1392 "searchViewsCount": { 1243 "searchViewsCount": {
1393 "description": "Aggregated number of times users saw the `Co mpany`\nin Google Partners Search results for given date range.", 1244 "description": "Aggregated number of times users saw the `Co mpany`\nin Google Partners Search results for given date range.",
1394 "format": "int32", 1245 "format": "int32",
1395 "type": "integer" 1246 "type": "integer"
1396 }, 1247 },
1397 "contactsCount": { 1248 "contactsCount": {
1398 "description": "Aggregated number of times users contacted t he `Company`\nfor given date range.", 1249 "description": "Aggregated number of times users contacted t he `Company`\nfor given date range.",
1399 "format": "int32", 1250 "format": "int32",
1400 "type": "integer" 1251 "type": "integer"
1401 } 1252 }
1402 }, 1253 },
1403 "type": "object" 1254 "type": "object"
1404 }, 1255 },
1405 "LogMessageRequest": { 1256 "LogMessageRequest": {
1406 "description": "Request message for\nLogClientMessage.", 1257 "description": "Request message for\nLogClientMessage.",
1407 "id": "LogMessageRequest", 1258 "id": "LogMessageRequest",
1408 "properties": { 1259 "properties": {
1260 "details": {
1261 "description": "Details about the client message.",
1262 "type": "string"
1263 },
1264 "clientInfo": {
1265 "additionalProperties": {
1266 "type": "string"
1267 },
1268 "description": "Map of client info, such as URL, browser nav igator, browser platform, etc.",
1269 "type": "object"
1270 },
1409 "requestMetadata": { 1271 "requestMetadata": {
1410 "$ref": "RequestMetadata", 1272 "$ref": "RequestMetadata",
1411 "description": "Current request metadata." 1273 "description": "Current request metadata."
1412 }, 1274 },
1413 "level": { 1275 "level": {
1414 "description": "Message level of client message.", 1276 "description": "Message level of client message.",
1415 "enum": [ 1277 "enum": [
1416 "MESSAGE_LEVEL_UNSPECIFIED", 1278 "MESSAGE_LEVEL_UNSPECIFIED",
1417 "ML_FINE", 1279 "ML_FINE",
1418 "ML_INFO", 1280 "ML_INFO",
1419 "ML_WARNING", 1281 "ML_WARNING",
1420 "ML_SEVERE" 1282 "ML_SEVERE"
1421 ], 1283 ],
1422 "enumDescriptions": [ 1284 "enumDescriptions": [
1423 "Unchosen.", 1285 "Unchosen.",
1424 "Message level for tracing information.", 1286 "Message level for tracing information.",
1425 "Message level for informational messages.", 1287 "Message level for informational messages.",
1426 "Message level for potential problems.", 1288 "Message level for potential problems.",
1427 "Message level for serious failures." 1289 "Message level for serious failures."
1428 ], 1290 ],
1429 "type": "string" 1291 "type": "string"
1430 },
1431 "details": {
1432 "description": "Details about the client message.",
1433 "type": "string"
1434 },
1435 "clientInfo": {
1436 "additionalProperties": {
1437 "type": "string"
1438 },
1439 "description": "Map of client info, such as URL, browser nav igator, browser platform, etc.",
1440 "type": "object"
1441 } 1292 }
1442 }, 1293 },
1443 "type": "object" 1294 "type": "object"
1295 },
1296 "DebugInfo": {
1297 "description": "Debug information about this request.",
1298 "id": "DebugInfo",
1299 "properties": {
1300 "serviceUrl": {
1301 "description": "URL of the service that handled this request .",
1302 "type": "string"
1303 },
1304 "serverTraceInfo": {
1305 "description": "Server-side debug stack trace.",
1306 "type": "string"
1307 },
1308 "serverInfo": {
1309 "description": "Info about the server that serviced this req uest.",
1310 "type": "string"
1311 }
1312 },
1313 "type": "object"
1444 }, 1314 },
1445 "Lead": { 1315 "Lead": {
1446 "description": "A lead resource that represents an advertiser contac t for a `Company`. These\nare usually generated via Google Partner Search (the a dvertiser portal).", 1316 "description": "A lead resource that represents an advertiser contac t for a `Company`. These\nare usually generated via Google Partner Search (the a dvertiser portal).",
1447 "id": "Lead", 1317 "id": "Lead",
1448 "properties": { 1318 "properties": {
1449 "phoneNumber": {
1450 "description": "Phone number of lead source.",
1451 "type": "string"
1452 },
1453 "adwordsCustomerId": { 1319 "adwordsCustomerId": {
1454 "description": "The AdWords Customer ID of the lead.", 1320 "description": "The AdWords Customer ID of the lead.",
1455 "format": "int64", 1321 "format": "int64",
1456 "type": "string" 1322 "type": "string"
1457 }, 1323 },
1324 "phoneNumber": {
1325 "description": "Phone number of lead source.",
1326 "type": "string"
1327 },
1458 "createTime": { 1328 "createTime": {
1459 "description": "Timestamp of when this lead was created.", 1329 "description": "Timestamp of when this lead was created.",
1460 "format": "google-datetime", 1330 "format": "google-datetime",
1461 "type": "string" 1331 "type": "string"
1462 }, 1332 },
1463 "marketingOptIn": { 1333 "marketingOptIn": {
1464 "description": "Whether or not the lead signed up for market ing emails", 1334 "description": "Whether or not the lead signed up for market ing emails",
1465 "type": "boolean" 1335 "type": "boolean"
1466 }, 1336 },
1467 "type": { 1337 "type": {
(...skipping 17 matching lines...) Expand all
1485 "type": "string" 1355 "type": "string"
1486 }, 1356 },
1487 "languageCode": { 1357 "languageCode": {
1488 "description": "Language code of the lead's language prefere nce, as defined by\n<a href=\"https://tools.ietf.org/html/bcp47\">BCP 47</a>\n(I ETF BCP 47, \"Tags for Identifying Languages\").", 1358 "description": "Language code of the lead's language prefere nce, as defined by\n<a href=\"https://tools.ietf.org/html/bcp47\">BCP 47</a>\n(I ETF BCP 47, \"Tags for Identifying Languages\").",
1489 "type": "string" 1359 "type": "string"
1490 }, 1360 },
1491 "websiteUrl": { 1361 "websiteUrl": {
1492 "description": "Website URL of lead source.", 1362 "description": "Website URL of lead source.",
1493 "type": "string" 1363 "type": "string"
1494 }, 1364 },
1365 "state": {
1366 "description": "The lead's state in relation to the company. ",
1367 "enum": [
1368 "LEAD_STATE_UNSPECIFIED",
1369 "LEAD",
1370 "CONTACTED",
1371 "CLIENT",
1372 "OTHER"
1373 ],
1374 "enumDescriptions": [
1375 "Unchosen.",
1376 "Lead not yet contacted.",
1377 "Lead has been contacted.",
1378 "Lead has become a client.",
1379 "Lead in a state not covered by other options."
1380 ],
1381 "type": "string"
1382 },
1495 "gpsMotivations": { 1383 "gpsMotivations": {
1496 "description": "List of reasons for using Google Partner Sea rch and creating a lead.", 1384 "description": "List of reasons for using Google Partner Sea rch and creating a lead.",
1497 "enumDescriptions": [ 1385 "enumDescriptions": [
1498 "Unchosen.", 1386 "Unchosen.",
1499 "Advertiser needs help with their advertising.", 1387 "Advertiser needs help with their advertising.",
1500 "Advertiser needs help with their website.", 1388 "Advertiser needs help with their website.",
1501 "Advertiser does not have a website." 1389 "Advertiser does not have a website."
1502 ], 1390 ],
1503 "items": { 1391 "items": {
1504 "enum": [ 1392 "enum": [
1505 "GPS_MOTIVATION_UNSPECIFIED", 1393 "GPS_MOTIVATION_UNSPECIFIED",
1506 "GPSM_HELP_WITH_ADVERTISING", 1394 "GPSM_HELP_WITH_ADVERTISING",
1507 "GPSM_HELP_WITH_WEBSITE", 1395 "GPSM_HELP_WITH_WEBSITE",
1508 "GPSM_NO_WEBSITE" 1396 "GPSM_NO_WEBSITE"
1509 ], 1397 ],
1510 "type": "string" 1398 "type": "string"
1511 }, 1399 },
1512 "type": "array" 1400 "type": "array"
1513 }, 1401 },
1514 "state": {
1515 "description": "The lead's state in relation to the company. ",
1516 "enum": [
1517 "LEAD_STATE_UNSPECIFIED",
1518 "LEAD",
1519 "CONTACTED",
1520 "CLIENT",
1521 "OTHER"
1522 ],
1523 "enumDescriptions": [
1524 "Unchosen.",
1525 "Lead not yet contacted.",
1526 "Lead has been contacted.",
1527 "Lead has become a client.",
1528 "Lead in a state not covered by other options."
1529 ],
1530 "type": "string"
1531 },
1532 "email": { 1402 "email": {
1533 "description": "Email address of lead source.", 1403 "description": "Email address of lead source.",
1534 "type": "string" 1404 "type": "string"
1535 }, 1405 },
1536 "familyName": { 1406 "familyName": {
1537 "description": "Last name of lead source.", 1407 "description": "Last name of lead source.",
1538 "type": "string" 1408 "type": "string"
1539 }, 1409 },
1540 "comments": { 1410 "comments": {
1541 "description": "Comments lead source gave.", 1411 "description": "Comments lead source gave.",
1542 "type": "string" 1412 "type": "string"
1543 }, 1413 },
1544 "id": { 1414 "id": {
1545 "description": "ID of the lead.", 1415 "description": "ID of the lead.",
1546 "type": "string" 1416 "type": "string"
1547 } 1417 }
1548 }, 1418 },
1549 "type": "object" 1419 "type": "object"
1550 }, 1420 },
1551 "DebugInfo": {
1552 "description": "Debug information about this request.",
1553 "id": "DebugInfo",
1554 "properties": {
1555 "serverTraceInfo": {
1556 "description": "Server-side debug stack trace.",
1557 "type": "string"
1558 },
1559 "serverInfo": {
1560 "description": "Info about the server that serviced this req uest.",
1561 "type": "string"
1562 },
1563 "serviceUrl": {
1564 "description": "URL of the service that handled this request .",
1565 "type": "string"
1566 }
1567 },
1568 "type": "object"
1569 },
1570 "ListUserStatesResponse": { 1421 "ListUserStatesResponse": {
1571 "description": "Response message for\nListUserStates.", 1422 "description": "Response message for\nListUserStates.",
1572 "id": "ListUserStatesResponse", 1423 "id": "ListUserStatesResponse",
1573 "properties": { 1424 "properties": {
1425 "responseMetadata": {
1426 "$ref": "ResponseMetadata",
1427 "description": "Current response metadata."
1428 },
1574 "userStates": { 1429 "userStates": {
1575 "description": "User's states.", 1430 "description": "User's states.",
1576 "enumDescriptions": [ 1431 "enumDescriptions": [
1577 "Unchosen.", 1432 "Unchosen.",
1578 "User must pass <a href=\"https://www.google.com/recaptc ha/\">reCaptcha</a> to\ncontact a Partner via Google Partner Search." 1433 "User must pass <a href=\"https://www.google.com/recaptc ha/\">reCaptcha</a> to\ncontact a Partner via Google Partner Search."
1579 ], 1434 ],
1580 "items": { 1435 "items": {
1581 "enum": [ 1436 "enum": [
1582 "USER_STATE_UNSPECIFIED", 1437 "USER_STATE_UNSPECIFIED",
1583 "US_REQUIRES_RECAPTCHA_FOR_GPS_CONTACT" 1438 "US_REQUIRES_RECAPTCHA_FOR_GPS_CONTACT"
1584 ], 1439 ],
1585 "type": "string" 1440 "type": "string"
1586 }, 1441 },
1587 "type": "array" 1442 "type": "array"
1588 },
1589 "responseMetadata": {
1590 "$ref": "ResponseMetadata",
1591 "description": "Current response metadata."
1592 } 1443 }
1593 }, 1444 },
1594 "type": "object" 1445 "type": "object"
1595 }, 1446 },
1596 "CompanyRelation": { 1447 "CompanyRelation": {
1597 "description": "A CompanyRelation resource representing information about a user's\naffiliation and standing with a company in Partners.", 1448 "description": "A CompanyRelation resource representing information about a user's\naffiliation and standing with a company in Partners.",
1598 "id": "CompanyRelation", 1449 "id": "CompanyRelation",
1599 "properties": { 1450 "properties": {
1451 "internalCompanyId": {
1452 "description": "The internal company ID.\nOnly available for a whitelisted set of api clients.",
1453 "type": "string"
1454 },
1455 "specializationStatus": {
1456 "description": "The list of Google Partners specialization s tatuses for the company.",
1457 "items": {
1458 "$ref": "SpecializationStatus"
1459 },
1460 "type": "array"
1461 },
1462 "badgeTier": {
1463 "description": "Whether the company is a Partner.",
1464 "enum": [
1465 "BADGE_TIER_NONE",
1466 "BADGE_TIER_REGULAR",
1467 "BADGE_TIER_PREMIER"
1468 ],
1469 "enumDescriptions": [
1470 "Tier badge is not set.",
1471 "Agency has regular partner badge.",
1472 "Agency has premier badge."
1473 ],
1474 "type": "string"
1475 },
1476 "website": {
1477 "description": "The website URL for this company.",
1478 "type": "string"
1479 },
1480 "phoneNumber": {
1481 "description": "The phone number for the company's primary a ddress.",
1482 "type": "string"
1483 },
1484 "primaryCountryCode": {
1485 "description": "The primary country code of the company.",
1486 "type": "string"
1487 },
1488 "companyId": {
1489 "description": "The ID of the company. There may be no id if this is a\npending company.5",
1490 "type": "string"
1491 },
1492 "primaryLanguageCode": {
1493 "description": "The primary language code of the company.",
1494 "type": "string"
1495 },
1600 "logoUrl": { 1496 "logoUrl": {
1601 "description": "A URL to a profile photo, e.g. a G+ profile photo.", 1497 "description": "A URL to a profile photo, e.g. a G+ profile photo.",
1602 "type": "string" 1498 "type": "string"
1603 }, 1499 },
1604 "resolvedTimestamp": { 1500 "resolvedTimestamp": {
1605 "description": "The timestamp when the user was approved.\n@ OutputOnly", 1501 "description": "The timestamp when the user was approved.\n@ OutputOnly",
1606 "format": "google-datetime", 1502 "format": "google-datetime",
1607 "type": "string" 1503 "type": "string"
1608 }, 1504 },
1609 "companyAdmin": { 1505 "companyAdmin": {
1610 "description": "Indicates if the user is an admin for this c ompany.", 1506 "description": "Indicates if the user is an admin for this c ompany.",
1611 "type": "boolean" 1507 "type": "boolean"
1612 }, 1508 },
1613 "address": { 1509 "address": {
1614 "description": "The primary address for this company.", 1510 "description": "The primary address for this company.",
1615 "type": "string" 1511 "type": "string"
1616 }, 1512 },
1617 "isPending": { 1513 "isPending": {
1618 "description": "The flag that indicates if the company is pe nding verification.", 1514 "description": "The flag that indicates if the company is pe nding verification.",
1619 "type": "boolean" 1515 "type": "boolean"
1620 }, 1516 },
1621 "creationTime": { 1517 "creationTime": {
1622 "description": "The timestamp of when affiliation was reques ted.\n@OutputOnly", 1518 "description": "The timestamp of when affiliation was reques ted.\n@OutputOnly",
1623 "format": "google-datetime", 1519 "format": "google-datetime",
1624 "type": "string" 1520 "type": "string"
1625 }, 1521 },
1522 "primaryAddress": {
1523 "$ref": "Location",
1524 "description": "The primary location of the company."
1525 },
1626 "state": { 1526 "state": {
1627 "description": "The state of relationship, in terms of appro vals.", 1527 "description": "The state of relationship, in terms of appro vals.",
1628 "enum": [ 1528 "enum": [
1629 "USER_COMPANY_REATION_STATE_NONE_SPECIFIED", 1529 "USER_COMPANY_REATION_STATE_NONE_SPECIFIED",
1630 "USER_COMPANY_RELATION_STATE_AWAIT_EMAIL", 1530 "USER_COMPANY_RELATION_STATE_AWAIT_EMAIL",
1631 "USER_COMPANY_RELATION_STATE_AWAIT_ADMIN", 1531 "USER_COMPANY_RELATION_STATE_AWAIT_ADMIN",
1632 "USER_COMPANY_RELATION_STATE_APPROVED" 1532 "USER_COMPANY_RELATION_STATE_APPROVED"
1633 ], 1533 ],
1634 "enumDescriptions": [ 1534 "enumDescriptions": [
1635 "Default unspecified value.", 1535 "Default unspecified value.",
1636 "User has filled in a request to be associated with an c ompany.\nNow waiting email confirmation.", 1536 "User has filled in a request to be associated with an c ompany.\nNow waiting email confirmation.",
1637 "Pending approval from company.\nEmail confirmation will not approve this one.", 1537 "Pending approval from company.\nEmail confirmation will not approve this one.",
1638 "Approved by company." 1538 "Approved by company."
1639 ], 1539 ],
1640 "type": "string" 1540 "type": "string"
1641 }, 1541 },
1642 "primaryAddress": {
1643 "$ref": "Location",
1644 "description": "The primary location of the company."
1645 },
1646 "name": {
1647 "description": "The name (in the company's primary language) for the company.",
1648 "type": "string"
1649 },
1650 "managerAccount": { 1542 "managerAccount": {
1651 "description": "The AdWords manager account # associated thi s company.", 1543 "description": "The AdWords manager account # associated thi s company.",
1652 "format": "int64", 1544 "format": "int64",
1653 "type": "string" 1545 "type": "string"
1654 }, 1546 },
1547 "name": {
1548 "description": "The name (in the company's primary language) for the company.",
1549 "type": "string"
1550 },
1655 "segment": { 1551 "segment": {
1656 "description": "The segment the company is classified as.", 1552 "description": "The segment the company is classified as.",
1657 "enumDescriptions": [ 1553 "enumDescriptions": [
1658 "Default segment indicates an unknown.", 1554 "Default segment indicates an unknown.",
1659 "Segment representing a selected group of Partners", 1555 "Segment representing a selected group of Partners",
1660 "Segment representing Premier SMB Partners, an AdWords p artnership program.", 1556 "Segment representing Premier SMB Partners, an AdWords p artnership program.",
1661 "A segment of Premier SMB Partners that have relationshi p with Google." 1557 "A segment of Premier SMB Partners that have relationshi p with Google."
1662 ], 1558 ],
1663 "items": { 1559 "items": {
1664 "enum": [ 1560 "enum": [
1665 "COMPANY_SEGMENT_UNKNOWN", 1561 "COMPANY_SEGMENT_UNKNOWN",
1666 "COMPANY_SEGMENT_NAL", 1562 "COMPANY_SEGMENT_NAL",
1667 "COMPANY_SEGMENT_PSP", 1563 "COMPANY_SEGMENT_PSP",
1668 "COMPANY_SEGMENT_PPSP" 1564 "COMPANY_SEGMENT_PPSP"
1669 ], 1565 ],
1670 "type": "string" 1566 "type": "string"
1671 }, 1567 },
1672 "type": "array" 1568 "type": "array"
1673 },
1674 "internalCompanyId": {
1675 "description": "The internal company ID.\nOnly available for a whitelisted set of api clients.",
1676 "type": "string"
1677 },
1678 "badgeTier": {
1679 "description": "Whether the company is a Partner.",
1680 "enum": [
1681 "BADGE_TIER_NONE",
1682 "BADGE_TIER_REGULAR",
1683 "BADGE_TIER_PREMIER"
1684 ],
1685 "enumDescriptions": [
1686 "Tier badge is not set.",
1687 "Agency has regular partner badge.",
1688 "Agency has premier badge."
1689 ],
1690 "type": "string"
1691 },
1692 "specializationStatus": {
1693 "description": "The list of Google Partners specialization s tatuses for the company.",
1694 "items": {
1695 "$ref": "SpecializationStatus"
1696 },
1697 "type": "array"
1698 },
1699 "phoneNumber": {
1700 "description": "The phone number for the company's primary a ddress.",
1701 "type": "string"
1702 },
1703 "website": {
1704 "description": "The website URL for this company.",
1705 "type": "string"
1706 },
1707 "primaryCountryCode": {
1708 "description": "The primary country code of the company.",
1709 "type": "string"
1710 },
1711 "companyId": {
1712 "description": "The ID of the company. There may be no id if this is a\npending company.5",
1713 "type": "string"
1714 },
1715 "primaryLanguageCode": {
1716 "description": "The primary language code of the company.",
1717 "type": "string"
1718 } 1569 }
1719 }, 1570 },
1720 "type": "object" 1571 "type": "object"
1721 }, 1572 },
1722 "Date": { 1573 "Date": {
1723 "description": "Represents a whole calendar date, e.g. date of birth . The time of day and\ntime zone are either specified elsewhere or are not signi ficant. The date\nis relative to the Proleptic Gregorian Calendar. The day may b e 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independe nt\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`.", 1574 "description": "Represents a whole calendar date, e.g. date of birth . The time of day and\ntime zone are either specified elsewhere or are not signi ficant. The date\nis relative to the Proleptic Gregorian Calendar. The day may b e 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independe nt\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`.",
1724 "id": "Date", 1575 "id": "Date",
1725 "properties": { 1576 "properties": {
1726 "month": { 1577 "month": {
1727 "description": "Month of year. Must be from 1 to 12.", 1578 "description": "Month of year. Must be from 1 to 12.",
(...skipping 27 matching lines...) Expand all
1755 "description": "Second level identifier to indicate where th e traffic comes from.\nAn identifier has multiple letters created by a team whic h redirected the\ntraffic to us.", 1606 "description": "Second level identifier to indicate where th e traffic comes from.\nAn identifier has multiple letters created by a team whic h redirected the\ntraffic to us.",
1756 "type": "string" 1607 "type": "string"
1757 }, 1608 },
1758 "trafficSourceId": { 1609 "trafficSourceId": {
1759 "description": "Identifier to indicate where the traffic com es from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", 1610 "description": "Identifier to indicate where the traffic com es from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
1760 "type": "string" 1611 "type": "string"
1761 } 1612 }
1762 }, 1613 },
1763 "type": "object" 1614 "type": "object"
1764 }, 1615 },
1616 "CreateLeadRequest": {
1617 "description": "Request message for CreateLead.",
1618 "id": "CreateLeadRequest",
1619 "properties": {
1620 "recaptchaChallenge": {
1621 "$ref": "RecaptchaChallenge",
1622 "description": "<a href=\"https://www.google.com/recaptcha/\ ">reCaptcha</a> challenge info."
1623 },
1624 "lead": {
1625 "$ref": "Lead",
1626 "description": "The lead resource. The `LeadType` must not b e `LEAD_TYPE_UNSPECIFIED`\nand either `email` or `phone_number` must be provided ."
1627 },
1628 "requestMetadata": {
1629 "$ref": "RequestMetadata",
1630 "description": "Current request metadata."
1631 }
1632 },
1633 "type": "object"
1634 },
1765 "RequestMetadata": { 1635 "RequestMetadata": {
1766 "description": "Common data that is in each API request.", 1636 "description": "Common data that is in each API request.",
1767 "id": "RequestMetadata", 1637 "id": "RequestMetadata",
1768 "properties": { 1638 "properties": {
1769 "locale": { 1639 "locale": {
1770 "description": "Locale to use for the current request.", 1640 "description": "Locale to use for the current request.",
1771 "type": "string" 1641 "type": "string"
1772 }, 1642 },
1773 "partnersSessionId": { 1643 "partnersSessionId": {
1774 "description": "Google Partners session ID.", 1644 "description": "Google Partners session ID.",
(...skipping 10 matching lines...) Expand all
1785 "experimentIds": { 1655 "experimentIds": {
1786 "description": "Experiment IDs the current request belongs t o.", 1656 "description": "Experiment IDs the current request belongs t o.",
1787 "items": { 1657 "items": {
1788 "type": "string" 1658 "type": "string"
1789 }, 1659 },
1790 "type": "array" 1660 "type": "array"
1791 } 1661 }
1792 }, 1662 },
1793 "type": "object" 1663 "type": "object"
1794 }, 1664 },
1795 "CreateLeadRequest": {
1796 "description": "Request message for CreateLead.",
1797 "id": "CreateLeadRequest",
1798 "properties": {
1799 "recaptchaChallenge": {
1800 "$ref": "RecaptchaChallenge",
1801 "description": "<a href=\"https://www.google.com/recaptcha/\ ">reCaptcha</a> challenge info."
1802 },
1803 "lead": {
1804 "$ref": "Lead",
1805 "description": "The lead resource. The `LeadType` must not b e `LEAD_TYPE_UNSPECIFIED`\nand either `email` or `phone_number` must be provided ."
1806 },
1807 "requestMetadata": {
1808 "$ref": "RequestMetadata",
1809 "description": "Current request metadata."
1810 }
1811 },
1812 "type": "object"
1813 },
1814 "EventData": { 1665 "EventData": {
1815 "description": "Key value data pair for an event.", 1666 "description": "Key value data pair for an event.",
1816 "id": "EventData", 1667 "id": "EventData",
1817 "properties": { 1668 "properties": {
1818 "key": { 1669 "key": {
1819 "description": "Data type.", 1670 "description": "Data type.",
1820 "enum": [ 1671 "enum": [
1821 "EVENT_DATA_TYPE_UNSPECIFIED", 1672 "EVENT_DATA_TYPE_UNSPECIFIED",
1822 "ACTION", 1673 "ACTION",
1823 "AGENCY_ID", 1674 "AGENCY_ID",
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1906 }, 1757 },
1907 "type": "array" 1758 "type": "array"
1908 } 1759 }
1909 }, 1760 },
1910 "type": "object" 1761 "type": "object"
1911 }, 1762 },
1912 "ExamStatus": { 1763 "ExamStatus": {
1913 "description": "A user's information on a specific exam.", 1764 "description": "A user's information on a specific exam.",
1914 "id": "ExamStatus", 1765 "id": "ExamStatus",
1915 "properties": { 1766 "properties": {
1767 "passed": {
1768 "description": "Whether this exam has been passed and not ex pired.",
1769 "type": "boolean"
1770 },
1771 "taken": {
1772 "description": "The date the user last taken this exam.",
1773 "format": "google-datetime",
1774 "type": "string"
1775 },
1916 "warning": { 1776 "warning": {
1917 "description": "Whether this exam is in the state of warning .", 1777 "description": "Whether this exam is in the state of warning .",
1918 "type": "boolean" 1778 "type": "boolean"
1919 }, 1779 },
1920 "expiration": { 1780 "expiration": {
1921 "description": "Date this exam is due to expire.", 1781 "description": "Date this exam is due to expire.",
1922 "format": "google-datetime", 1782 "format": "google-datetime",
1923 "type": "string" 1783 "type": "string"
1924 }, 1784 },
1925 "lastPassed": { 1785 "lastPassed": {
(...skipping 23 matching lines...) Expand all
1949 "AdWords advanced display exam.", 1809 "AdWords advanced display exam.",
1950 "VideoAds exam.", 1810 "VideoAds exam.",
1951 "DoubleClick exam.", 1811 "DoubleClick exam.",
1952 "Analytics exam.", 1812 "Analytics exam.",
1953 "Shopping exam.", 1813 "Shopping exam.",
1954 "Mobile exam.", 1814 "Mobile exam.",
1955 "Digital Sales exam.", 1815 "Digital Sales exam.",
1956 "Mobile Sites exam." 1816 "Mobile Sites exam."
1957 ], 1817 ],
1958 "type": "string" 1818 "type": "string"
1959 },
1960 "taken": {
1961 "description": "The date the user last taken this exam.",
1962 "format": "google-datetime",
1963 "type": "string"
1964 },
1965 "passed": {
1966 "description": "Whether this exam has been passed and not ex pired.",
1967 "type": "boolean"
1968 } 1819 }
1969 }, 1820 },
1970 "type": "object" 1821 "type": "object"
1971 }, 1822 },
1972 "ListOffersResponse": { 1823 "ListOffersResponse": {
1973 "description": "Response for ListOffer.", 1824 "description": "Response for ListOffer.",
1974 "id": "ListOffersResponse", 1825 "id": "ListOffersResponse",
1975 "properties": { 1826 "properties": {
1976 "noOfferReason": { 1827 "noOfferReason": {
1977 "description": "Reason why no Offers are available.", 1828 "description": "Reason why no Offers are available.",
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
2057 }, 1908 },
2058 "type": "array" 1909 "type": "array"
2059 } 1910 }
2060 }, 1911 },
2061 "type": "object" 1912 "type": "object"
2062 }, 1913 },
2063 "OfferCustomer": { 1914 "OfferCustomer": {
2064 "description": "Customers qualified for an offer.", 1915 "description": "Customers qualified for an offer.",
2065 "id": "OfferCustomer", 1916 "id": "OfferCustomer",
2066 "properties": { 1917 "properties": {
2067 "getYAmount": {
2068 "description": "Formatted Get Y amount with currency code.",
2069 "type": "string"
2070 },
2071 "name": {
2072 "description": "Name of the customer.",
2073 "type": "string"
2074 },
2075 "spendXAmount": { 1918 "spendXAmount": {
2076 "description": "Formatted Spend X amount with currency code. ", 1919 "description": "Formatted Spend X amount with currency code. ",
2077 "type": "string" 1920 "type": "string"
2078 }, 1921 },
2079 "adwordsUrl": { 1922 "adwordsUrl": {
2080 "description": "URL to the customer's AdWords page.", 1923 "description": "URL to the customer's AdWords page.",
2081 "type": "string" 1924 "type": "string"
2082 }, 1925 },
2083 "creationTime": { 1926 "creationTime": {
2084 "description": "Time the customer was created.", 1927 "description": "Time the customer was created.",
(...skipping 22 matching lines...) Expand all
2107 "AdWords spend X get Y.", 1950 "AdWords spend X get Y.",
2108 "Youtube video.", 1951 "Youtube video.",
2109 "Spend Match up to Y." 1952 "Spend Match up to Y."
2110 ], 1953 ],
2111 "type": "string" 1954 "type": "string"
2112 }, 1955 },
2113 "externalCid": { 1956 "externalCid": {
2114 "description": "External CID for the customer.", 1957 "description": "External CID for the customer.",
2115 "format": "int64", 1958 "format": "int64",
2116 "type": "string" 1959 "type": "string"
1960 },
1961 "getYAmount": {
1962 "description": "Formatted Get Y amount with currency code.",
1963 "type": "string"
1964 },
1965 "name": {
1966 "description": "Name of the customer.",
1967 "type": "string"
2117 } 1968 }
2118 }, 1969 },
2119 "type": "object" 1970 "type": "object"
2120 }, 1971 },
2121 "CertificationStatus": { 1972 "CertificationStatus": {
2122 "description": "Google Partners certification status.", 1973 "description": "Google Partners certification status.",
2123 "id": "CertificationStatus", 1974 "id": "CertificationStatus",
2124 "properties": { 1975 "properties": {
2125 "examStatuses": {
2126 "description": "List of certification exam statuses.",
2127 "items": {
2128 "$ref": "CertificationExamStatus"
2129 },
2130 "type": "array"
2131 },
2132 "type": { 1976 "type": {
2133 "description": "The type of the certification.", 1977 "description": "The type of the certification.",
2134 "enum": [ 1978 "enum": [
2135 "CERTIFICATION_TYPE_UNSPECIFIED", 1979 "CERTIFICATION_TYPE_UNSPECIFIED",
2136 "CT_ADWORDS", 1980 "CT_ADWORDS",
2137 "CT_YOUTUBE", 1981 "CT_YOUTUBE",
2138 "CT_VIDEOADS", 1982 "CT_VIDEOADS",
2139 "CT_ANALYTICS", 1983 "CT_ANALYTICS",
2140 "CT_DOUBLECLICK", 1984 "CT_DOUBLECLICK",
2141 "CT_SHOPPING", 1985 "CT_SHOPPING",
(...skipping 20 matching lines...) Expand all
2162 "type": "string" 2006 "type": "string"
2163 }, 2007 },
2164 "userCount": { 2008 "userCount": {
2165 "description": "Number of people who are certified,", 2009 "description": "Number of people who are certified,",
2166 "format": "int32", 2010 "format": "int32",
2167 "type": "integer" 2011 "type": "integer"
2168 }, 2012 },
2169 "isCertified": { 2013 "isCertified": {
2170 "description": "Whether certification is passing.", 2014 "description": "Whether certification is passing.",
2171 "type": "boolean" 2015 "type": "boolean"
2016 },
2017 "examStatuses": {
2018 "description": "List of certification exam statuses.",
2019 "items": {
2020 "$ref": "CertificationExamStatus"
2021 },
2022 "type": "array"
2172 } 2023 }
2173 }, 2024 },
2174 "type": "object" 2025 "type": "object"
2175 }, 2026 },
2176 "LocalizedCompanyInfo": { 2027 "LocalizedCompanyInfo": {
2177 "description": "The localized company information.", 2028 "description": "The localized company information.",
2178 "id": "LocalizedCompanyInfo", 2029 "id": "LocalizedCompanyInfo",
2179 "properties": { 2030 "properties": {
2180 "languageCode": {
2181 "description": "Language code of the localized company info, as defined by\n<a href=\"https://tools.ietf.org/html/bcp47\">BCP 47</a>\n(IETF BCP 47, \"Tags for Identifying Languages\").",
2182 "type": "string"
2183 },
2184 "countryCodes": { 2031 "countryCodes": {
2185 "description": "List of country codes for the localized comp any info.", 2032 "description": "List of country codes for the localized comp any info.",
2186 "items": { 2033 "items": {
2187 "type": "string" 2034 "type": "string"
2188 }, 2035 },
2189 "type": "array" 2036 "type": "array"
2190 }, 2037 },
2191 "overview": { 2038 "overview": {
2192 "description": "Localized brief description that the company uses to advertise themselves.", 2039 "description": "Localized brief description that the company uses to advertise themselves.",
2193 "type": "string" 2040 "type": "string"
2194 }, 2041 },
2195 "displayName": { 2042 "displayName": {
2196 "description": "Localized display name.", 2043 "description": "Localized display name.",
2197 "type": "string" 2044 "type": "string"
2045 },
2046 "languageCode": {
2047 "description": "Language code of the localized company info, as defined by\n<a href=\"https://tools.ietf.org/html/bcp47\">BCP 47</a>\n(IETF BCP 47, \"Tags for Identifying Languages\").",
2048 "type": "string"
2198 } 2049 }
2199 }, 2050 },
2200 "type": "object" 2051 "type": "object"
2201 }, 2052 },
2202 "LogUserEventResponse": { 2053 "LogUserEventResponse": {
2203 "description": "Response message for\nLogUserEvent.", 2054 "description": "Response message for\nLogUserEvent.",
2204 "id": "LogUserEventResponse", 2055 "id": "LogUserEventResponse",
2205 "properties": { 2056 "properties": {
2206 "responseMetadata": { 2057 "responseMetadata": {
2207 "$ref": "ResponseMetadata", 2058 "$ref": "ResponseMetadata",
2208 "description": "Current response metadata." 2059 "description": "Current response metadata."
2209 } 2060 }
2210 }, 2061 },
2211 "type": "object" 2062 "type": "object"
2212 }, 2063 },
2213 "ListOffersHistoryResponse": { 2064 "ListOffersHistoryResponse": {
2214 "description": "Response for ListOfferHistory.", 2065 "description": "Response for ListOfferHistory.",
2215 "id": "ListOffersHistoryResponse", 2066 "id": "ListOffersHistoryResponse",
2216 "properties": { 2067 "properties": {
2217 "canShowEntireCompany": {
2218 "description": "True if the user has the option to show enti re company history.",
2219 "type": "boolean"
2220 },
2221 "totalResults": {
2222 "description": "Number of results across all pages.",
2223 "format": "int32",
2224 "type": "integer"
2225 },
2226 "showingEntireCompany": { 2068 "showingEntireCompany": {
2227 "description": "True if this response is showing entire comp any history.", 2069 "description": "True if this response is showing entire comp any history.",
2228 "type": "boolean" 2070 "type": "boolean"
2229 }, 2071 },
2230 "offers": { 2072 "offers": {
2231 "description": "Historical offers meeting request.", 2073 "description": "Historical offers meeting request.",
2232 "items": { 2074 "items": {
2233 "$ref": "HistoricalOffer" 2075 "$ref": "HistoricalOffer"
2234 }, 2076 },
2235 "type": "array" 2077 "type": "array"
2236 }, 2078 },
2237 "nextPageToken": { 2079 "nextPageToken": {
2238 "description": "Supply this token in a ListOffersHistoryRequ est to retrieve the next page.", 2080 "description": "Supply this token in a ListOffersHistoryRequ est to retrieve the next page.",
2239 "type": "string" 2081 "type": "string"
2240 }, 2082 },
2241 "responseMetadata": { 2083 "responseMetadata": {
2242 "$ref": "ResponseMetadata", 2084 "$ref": "ResponseMetadata",
2243 "description": "Current response metadata." 2085 "description": "Current response metadata."
2086 },
2087 "canShowEntireCompany": {
2088 "description": "True if the user has the option to show enti re company history.",
2089 "type": "boolean"
2090 },
2091 "totalResults": {
2092 "description": "Number of results across all pages.",
2093 "format": "int32",
2094 "type": "integer"
2244 } 2095 }
2245 }, 2096 },
2246 "type": "object" 2097 "type": "object"
2247 }, 2098 },
2248 "LogMessageResponse": { 2099 "LogMessageResponse": {
2249 "description": "Response message for\nLogClientMessage.", 2100 "description": "Response message for\nLogClientMessage.",
2250 "id": "LogMessageResponse", 2101 "id": "LogMessageResponse",
2251 "properties": { 2102 "properties": {
2252 "responseMetadata": { 2103 "responseMetadata": {
2253 "$ref": "ResponseMetadata", 2104 "$ref": "ResponseMetadata",
2254 "description": "Current response metadata." 2105 "description": "Current response metadata."
2255 } 2106 }
2256 }, 2107 },
2257 "type": "object" 2108 "type": "object"
2258 }, 2109 },
2259 "SpecializationStatus": { 2110 "SpecializationStatus": {
2260 "description": "Agency specialization status", 2111 "description": "Agency specialization status",
2261 "id": "SpecializationStatus", 2112 "id": "SpecializationStatus",
2262 "properties": { 2113 "properties": {
2263 "badgeSpecializationState": {
2264 "description": "State of agency specialization.",
2265 "enum": [
2266 "BADGE_SPECIALIZATION_STATE_UNKNOWN",
2267 "BADGE_SPECIALIZATION_STATE_PASSED",
2268 "BADGE_SPECIALIZATION_STATE_NOT_PASSED",
2269 "BADGE_SPECIALIZATION_STATE_IN_GRACE"
2270 ],
2271 "enumDescriptions": [
2272 "Unknown state",
2273 "Specialization passed",
2274 "Specialization not passed",
2275 "Specialization in grace"
2276 ],
2277 "type": "string"
2278 },
2279 "badgeSpecialization": { 2114 "badgeSpecialization": {
2280 "description": "The specialization this status is for.", 2115 "description": "The specialization this status is for.",
2281 "enum": [ 2116 "enum": [
2282 "BADGE_SPECIALIZATION_UNKNOWN", 2117 "BADGE_SPECIALIZATION_UNKNOWN",
2283 "BADGE_SPECIALIZATION_ADWORDS_SEARCH", 2118 "BADGE_SPECIALIZATION_ADWORDS_SEARCH",
2284 "BADGE_SPECIALIZATION_ADWORDS_DISPLAY", 2119 "BADGE_SPECIALIZATION_ADWORDS_DISPLAY",
2285 "BADGE_SPECIALIZATION_ADWORDS_MOBILE", 2120 "BADGE_SPECIALIZATION_ADWORDS_MOBILE",
2286 "BADGE_SPECIALIZATION_ADWORDS_VIDEO", 2121 "BADGE_SPECIALIZATION_ADWORDS_VIDEO",
2287 "BADGE_SPECIALIZATION_ADWORDS_SHOPPING" 2122 "BADGE_SPECIALIZATION_ADWORDS_SHOPPING"
2288 ], 2123 ],
2289 "enumDescriptions": [ 2124 "enumDescriptions": [
2290 "Unknown specialization", 2125 "Unknown specialization",
2291 "AdWords Search specialization", 2126 "AdWords Search specialization",
2292 "AdWords Display specialization", 2127 "AdWords Display specialization",
2293 "AdWords Mobile specialization", 2128 "AdWords Mobile specialization",
2294 "AdWords Video specialization", 2129 "AdWords Video specialization",
2295 "AdWords Shopping specialization" 2130 "AdWords Shopping specialization"
2296 ], 2131 ],
2297 "type": "string" 2132 "type": "string"
2133 },
2134 "badgeSpecializationState": {
2135 "description": "State of agency specialization.",
2136 "enum": [
2137 "BADGE_SPECIALIZATION_STATE_UNKNOWN",
2138 "BADGE_SPECIALIZATION_STATE_PASSED",
2139 "BADGE_SPECIALIZATION_STATE_NOT_PASSED",
2140 "BADGE_SPECIALIZATION_STATE_IN_GRACE"
2141 ],
2142 "enumDescriptions": [
2143 "Unknown state",
2144 "Specialization passed",
2145 "Specialization not passed",
2146 "Specialization in grace"
2147 ],
2148 "type": "string"
2298 } 2149 }
2299 }, 2150 },
2300 "type": "object" 2151 "type": "object"
2301 }, 2152 },
2302 "Certification": { 2153 "Certification": {
2303 "description": "A user's information on a specific certification.", 2154 "description": "A user's information on a specific certification.",
2304 "id": "Certification", 2155 "id": "Certification",
2305 "properties": { 2156 "properties": {
2306 "certificationType": { 2157 "certificationType": {
2307 "description": "The type of certification, the area of exper tise.", 2158 "description": "The type of certification, the area of exper tise.",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2353 "description": "Whether this certification has been achieved .", 2204 "description": "Whether this certification has been achieved .",
2354 "type": "boolean" 2205 "type": "boolean"
2355 } 2206 }
2356 }, 2207 },
2357 "type": "object" 2208 "type": "object"
2358 }, 2209 },
2359 "User": { 2210 "User": {
2360 "description": "A resource representing a user of the Partners platf orm.", 2211 "description": "A resource representing a user of the Partners platf orm.",
2361 "id": "User", 2212 "id": "User",
2362 "properties": { 2213 "properties": {
2363 "profile": {
2364 "$ref": "UserProfile",
2365 "description": "The profile information of a Partners user, contains all the directly\neditable user information."
2366 },
2367 "company": {
2368 "$ref": "CompanyRelation",
2369 "description": "The company that the user is associated with .\nIf not present, the user is not associated with any company."
2370 },
2371 "lastAccessTime": { 2214 "lastAccessTime": {
2372 "description": "The most recent time the user interacted wit h the Partners site.\n@OutputOnly", 2215 "description": "The most recent time the user interacted wit h the Partners site.\n@OutputOnly",
2373 "format": "google-datetime", 2216 "format": "google-datetime",
2374 "type": "string" 2217 "type": "string"
2375 }, 2218 },
2219 "availableAdwordsManagerAccounts": {
2220 "description": "This is the list of AdWords Manager Accounts the user has edit access to.\nIf the user has edit access to multiple accounts, the user can choose the\npreferred account and we use this when a personal acco unt is needed. Can\nbe empty meaning the user has access to no accounts.\n@Outpu tOnly",
2221 "items": {
2222 "$ref": "AdWordsManagerAccountInfo"
2223 },
2224 "type": "array"
2225 },
2376 "primaryEmails": { 2226 "primaryEmails": {
2377 "description": "The list of emails the user has access to/ca n select as primary.\n@OutputOnly", 2227 "description": "The list of emails the user has access to/ca n select as primary.\n@OutputOnly",
2378 "items": { 2228 "items": {
2379 "type": "string" 2229 "type": "string"
2380 }, 2230 },
2381 "type": "array" 2231 "type": "array"
2382 }, 2232 },
2383 "availableAdwordsManagerAccounts": {
2384 "description": "This is the list of AdWords Manager Accounts the user has edit access to.\nIf the user has edit access to multiple accounts, the user can choose the\npreferred account and we use this when a personal acco unt is needed. Can\nbe empty meaning the user has access to no accounts.\n@Outpu tOnly",
2385 "items": {
2386 "$ref": "AdWordsManagerAccountInfo"
2387 },
2388 "type": "array"
2389 },
2390 "internalId": { 2233 "internalId": {
2391 "description": "The internal user ID.\nOnly available for a whitelisted set of api clients.", 2234 "description": "The internal user ID.\nOnly available for a whitelisted set of api clients.",
2392 "type": "string" 2235 "type": "string"
2393 }, 2236 },
2394 "examStatus": { 2237 "examStatus": {
2395 "description": "The list of exams the user ever taken. For e ach type of exam, only one\nentry is listed.", 2238 "description": "The list of exams the user ever taken. For e ach type of exam, only one\nentry is listed.",
2396 "items": { 2239 "items": {
2397 "$ref": "ExamStatus" 2240 "$ref": "ExamStatus"
2398 }, 2241 },
2399 "type": "array" 2242 "type": "array"
2400 }, 2243 },
2401 "id": { 2244 "id": {
2402 "description": "The ID of the user.", 2245 "description": "The ID of the user.",
2403 "type": "string" 2246 "type": "string"
2404 }, 2247 },
2405 "publicProfile": { 2248 "publicProfile": {
2406 "$ref": "PublicProfile", 2249 "$ref": "PublicProfile",
2407 "description": "Information about a user's external public p rofile outside Google Partners." 2250 "description": "Information about a user's external public p rofile outside Google Partners."
2408 }, 2251 },
2409 "certificationStatus": { 2252 "certificationStatus": {
2410 "description": "The list of achieved certifications. These a re calculated based on exam\nresults and other requirements.\n@OutputOnly", 2253 "description": "The list of achieved certifications. These a re calculated based on exam\nresults and other requirements.\n@OutputOnly",
2411 "items": { 2254 "items": {
2412 "$ref": "Certification" 2255 "$ref": "Certification"
2413 }, 2256 },
2414 "type": "array" 2257 "type": "array"
2415 }, 2258 },
2416 "companyVerificationEmail": { 2259 "companyVerificationEmail": {
2417 "description": "The email address used by the user used for company verification.\n@OutputOnly", 2260 "description": "The email address used by the user used for company verification.\n@OutputOnly",
2418 "type": "string" 2261 "type": "string"
2262 },
2263 "company": {
2264 "$ref": "CompanyRelation",
2265 "description": "The company that the user is associated with .\nIf not present, the user is not associated with any company."
2266 },
2267 "profile": {
2268 "$ref": "UserProfile",
2269 "description": "The profile information of a Partners user, contains all the directly\neditable user information."
2419 } 2270 }
2420 }, 2271 },
2421 "type": "object" 2272 "type": "object"
2422 }, 2273 },
2423 "ListAnalyticsResponse": { 2274 "ListAnalyticsResponse": {
2424 "description": "Response message for\nListAnalytics.", 2275 "description": "Response message for\nListAnalytics.",
2425 "id": "ListAnalyticsResponse", 2276 "id": "ListAnalyticsResponse",
2426 "properties": { 2277 "properties": {
2427 "analyticsSummary": {
2428 "$ref": "AnalyticsSummary",
2429 "description": "Aggregated information across the response's \nanalytics."
2430 },
2431 "responseMetadata": {
2432 "$ref": "ResponseMetadata",
2433 "description": "Current response metadata."
2434 },
2435 "analytics": { 2278 "analytics": {
2436 "description": "The list of analytics.\nSorted in ascending order of\nAnalytics.event_date.", 2279 "description": "The list of analytics.\nSorted in ascending order of\nAnalytics.event_date.",
2437 "items": { 2280 "items": {
2438 "$ref": "Analytics" 2281 "$ref": "Analytics"
2439 }, 2282 },
2440 "type": "array" 2283 "type": "array"
2441 }, 2284 },
2442 "nextPageToken": { 2285 "nextPageToken": {
2443 "description": "A token to retrieve next page of results.\nP ass this value in the `ListAnalyticsRequest.page_token` field in the\nsubsequent call to\nListAnalytics to retrieve the\nnext page of results.", 2286 "description": "A token to retrieve next page of results.\nP ass this value in the `ListAnalyticsRequest.page_token` field in the\nsubsequent call to\nListAnalytics to retrieve the\nnext page of results.",
2444 "type": "string" 2287 "type": "string"
2288 },
2289 "analyticsSummary": {
2290 "$ref": "AnalyticsSummary",
2291 "description": "Aggregated information across the response's \nanalytics."
2292 },
2293 "responseMetadata": {
2294 "$ref": "ResponseMetadata",
2295 "description": "Current response metadata."
2445 } 2296 }
2446 }, 2297 },
2447 "type": "object" 2298 "type": "object"
2448 }, 2299 },
2449 "Company": { 2300 "Company": {
2450 "description": "A company resource in the Google Partners API. Once certified, it qualifies\nfor being searched by advertisers.", 2301 "description": "A company resource in the Google Partners API. Once certified, it qualifies\nfor being searched by advertisers.",
2451 "id": "Company", 2302 "id": "Company",
2452 "properties": { 2303 "properties": {
2453 "additionalWebsites": { 2304 "autoApprovalEmailDomains": {
2454 "description": "URL of the company's additional websites use d to verify the dynamic badges.\nThese are stored as full URLs as entered by the user, but only the TLD will\nbe used for the actual verification.", 2305 "description": "Email domains that allow users with a matchi ng email address to get\nauto-approved for associating with this company.",
2455 "items": { 2306 "items": {
2456 "type": "string" 2307 "type": "string"
2457 }, 2308 },
2458 "type": "array" 2309 "type": "array"
2310 },
2311 "companyTypes": {
2312 "description": "Company type labels listed on the company's profile.",
2313 "enumDescriptions": [
2314 "Unchosen.",
2315 "Handles all aspects of the advertising process.",
2316 "Focuses solely on an advertiser's media placement.",
2317 "Plans/executes advertising campaigns.",
2318 "Like a\nFULL_SERVICE_AGENCY,\nbut specializing in digit al.",
2319 "Increases visibility in search engine result pages.",
2320 "Drives promotional efforts for immediate impact.",
2321 "Focuses on bid management, conversion, reporting.",
2322 "Establishes favorable relationship with public through low/no-cost\ncommunications.",
2323 "Does not manage other company's accounts, manages own m arketing programs.",
2324 "Full-service AdWords account management for local busin esses."
2325 ],
2326 "items": {
2327 "enum": [
2328 "COMPANY_TYPE_UNSPECIFIED",
2329 "FULL_SERVICE_AGENCY",
2330 "MEDIA_AGENCY",
2331 "CREATIVE_AGENCY",
2332 "CDIGITAL_AGENCY",
2333 "SEM_SEO",
2334 "PERFORMANCE_MARKETING",
2335 "ADVERTISING_TOOL_DEVELOPMENT",
2336 "PR",
2337 "SELF_MANAGED",
2338 "RESELLER"
2339 ],
2340 "type": "string"
2341 },
2342 "type": "array"
2343 },
2344 "profileStatus": {
2345 "description": "The public viewability status of the company 's profile.",
2346 "enum": [
2347 "COMPANY_PROFILE_STATUS_UNSPECIFIED",
2348 "HIDDEN",
2349 "PUBLISHED",
2350 "SEARCHABLE"
2351 ],
2352 "enumDescriptions": [
2353 "Unchosen.",
2354 "Company profile does not show up publicly.",
2355 "Company profile can only be viewed by the profile's URL \nand not by Google Partner Search.",
2356 "Company profile can be viewed by the profile's URL\nand by Google Partner Search."
2357 ],
2358 "type": "string"
2359 },
2360 "primaryLanguageCode": {
2361 "description": "The primary language code of the company, as defined by\n<a href=\"https://tools.ietf.org/html/bcp47\">BCP 47</a>\n(IETF BCP 47, \"Tags for Identifying Languages\").",
2362 "type": "string"
2363 },
2364 "locations": {
2365 "description": "The list of all company locations.\nIf set, must include the\nprimary_location\nin the list.",
2366 "items": {
2367 "$ref": "Location"
2368 },
2369 "type": "array"
2370 },
2371 "convertedMinMonthlyBudget": {
2372 "$ref": "Money",
2373 "description": "The minimum monthly budget that the company accepts for partner business,\nconverted to the requested currency code."
2374 },
2375 "industries": {
2376 "description": "Industries the company can help with.",
2377 "enumDescriptions": [
2378 "Unchosen.",
2379 "The automotive industry.",
2380 "The business-to-business industry.",
2381 "The consumer packaged goods industry.",
2382 "The education industry.",
2383 "The finance industry.",
2384 "The healthcare industry.",
2385 "The media and entertainment industry.",
2386 "The retail industry.",
2387 "The technology industry.",
2388 "The travel industry."
2389 ],
2390 "items": {
2391 "enum": [
2392 "INDUSTRY_UNSPECIFIED",
2393 "I_AUTOMOTIVE",
2394 "I_BUSINESS_TO_BUSINESS",
2395 "I_CONSUMER_PACKAGED_GOODS",
2396 "I_EDUCATION",
2397 "I_FINANCE",
2398 "I_HEALTHCARE",
2399 "I_MEDIA_AND_ENTERTAINMENT",
2400 "I_RETAIL",
2401 "I_TECHNOLOGY",
2402 "I_TRAVEL"
2403 ],
2404 "type": "string"
2405 },
2406 "type": "array"
2459 }, 2407 },
2460 "websiteUrl": { 2408 "websiteUrl": {
2461 "description": "URL of the company's website.", 2409 "description": "URL of the company's website.",
2462 "type": "string" 2410 "type": "string"
2463 }, 2411 },
2412 "additionalWebsites": {
2413 "description": "URL of the company's additional websites use d to verify the dynamic badges.\nThese are stored as full URLs as entered by the user, but only the TLD will\nbe used for the actual verification.",
2414 "items": {
2415 "type": "string"
2416 },
2417 "type": "array"
2418 },
2464 "primaryAdwordsManagerAccountId": { 2419 "primaryAdwordsManagerAccountId": {
2465 "description": "The Primary AdWords Manager Account id.", 2420 "description": "The Primary AdWords Manager Account id.",
2466 "format": "int64", 2421 "format": "int64",
2467 "type": "string" 2422 "type": "string"
2468 }, 2423 },
2469 "name": { 2424 "name": {
2470 "description": "The name of the company.", 2425 "description": "The name of the company.",
2471 "type": "string" 2426 "type": "string"
2472 }, 2427 },
2473 "localizedInfos": { 2428 "localizedInfos": {
2474 "description": "The list of localized info for the company." , 2429 "description": "The list of localized info for the company." ,
2475 "items": { 2430 "items": {
2476 "$ref": "LocalizedCompanyInfo" 2431 "$ref": "LocalizedCompanyInfo"
2477 }, 2432 },
2478 "type": "array" 2433 "type": "array"
2479 }, 2434 },
2480 "id": {
2481 "description": "The ID of the company.",
2482 "type": "string"
2483 },
2484 "certificationStatuses": { 2435 "certificationStatuses": {
2485 "description": "The list of Google Partners certification st atuses for the company.", 2436 "description": "The list of Google Partners certification st atuses for the company.",
2486 "items": { 2437 "items": {
2487 "$ref": "CertificationStatus" 2438 "$ref": "CertificationStatus"
2488 }, 2439 },
2489 "type": "array" 2440 "type": "array"
2490 }, 2441 },
2491 "publicProfile": { 2442 "id": {
2492 "$ref": "PublicProfile", 2443 "description": "The ID of the company.",
2493 "description": "Basic information from the company's public profile." 2444 "type": "string"
2494 },
2495 "primaryLocation": {
2496 "$ref": "Location",
2497 "description": "The primary location of the company."
2498 }, 2445 },
2499 "services": { 2446 "services": {
2500 "description": "Services the company can help with.", 2447 "description": "Services the company can help with.",
2501 "enumDescriptions": [ 2448 "enumDescriptions": [
2502 "Unchosen.", 2449 "Unchosen.",
2503 "Help with advanced AdWords support.", 2450 "Help with advanced AdWords support.",
2504 "Help with advertising on Google.", 2451 "Help with advertising on Google.",
2505 "Help with an enhanced website.", 2452 "Help with an enhanced website.",
2506 "Help with an online marketing plan.", 2453 "Help with an online marketing plan.",
2507 "Help with mobile and video ads.", 2454 "Help with mobile and video ads.",
2508 "Help with mobile websites." 2455 "Help with mobile websites."
2509 ], 2456 ],
2510 "items": { 2457 "items": {
2511 "enum": [ 2458 "enum": [
2512 "SERVICE_UNSPECIFIED", 2459 "SERVICE_UNSPECIFIED",
2513 "S_ADVANCED_ADWORDS_SUPPORT", 2460 "S_ADVANCED_ADWORDS_SUPPORT",
2514 "S_ADVERTISING_ON_GOOGLE", 2461 "S_ADVERTISING_ON_GOOGLE",
2515 "S_AN_ENHANCED_WEBSITE", 2462 "S_AN_ENHANCED_WEBSITE",
2516 "S_AN_ONLINE_MARKETING_PLAN", 2463 "S_AN_ONLINE_MARKETING_PLAN",
2517 "S_MOBILE_AND_VIDEO_ADS", 2464 "S_MOBILE_AND_VIDEO_ADS",
2518 "S_MOBILE_WEBSITE_SERVICES" 2465 "S_MOBILE_WEBSITE_SERVICES"
2519 ], 2466 ],
2520 "type": "string" 2467 "type": "string"
2521 }, 2468 },
2522 "type": "array" 2469 "type": "array"
2523 }, 2470 },
2471 "primaryLocation": {
2472 "$ref": "Location",
2473 "description": "The primary location of the company."
2474 },
2524 "originalMinMonthlyBudget": { 2475 "originalMinMonthlyBudget": {
2525 "$ref": "Money", 2476 "$ref": "Money",
2526 "description": "The unconverted minimum monthly budget that the company accepts for partner\nbusiness." 2477 "description": "The unconverted minimum monthly budget that the company accepts for partner\nbusiness."
2527 }, 2478 },
2479 "publicProfile": {
2480 "$ref": "PublicProfile",
2481 "description": "Basic information from the company's public profile."
2482 },
2528 "ranks": { 2483 "ranks": {
2529 "description": "Information related to the ranking of the co mpany within the list of\ncompanies.", 2484 "description": "Information related to the ranking of the co mpany within the list of\ncompanies.",
2530 "items": { 2485 "items": {
2531 "$ref": "Rank" 2486 "$ref": "Rank"
2532 }, 2487 },
2533 "type": "array" 2488 "type": "array"
2534 }, 2489 },
2535 "specializationStatus": { 2490 "specializationStatus": {
2536 "description": "The list of Google Partners specialization s tatuses for the company.", 2491 "description": "The list of Google Partners specialization s tatuses for the company.",
2537 "items": { 2492 "items": {
2538 "$ref": "SpecializationStatus" 2493 "$ref": "SpecializationStatus"
2539 }, 2494 },
2540 "type": "array" 2495 "type": "array"
2541 }, 2496 },
2542 "badgeTier": { 2497 "badgeTier": {
2543 "description": "Partner badge tier", 2498 "description": "Partner badge tier",
2544 "enum": [ 2499 "enum": [
2545 "BADGE_TIER_NONE", 2500 "BADGE_TIER_NONE",
2546 "BADGE_TIER_REGULAR", 2501 "BADGE_TIER_REGULAR",
2547 "BADGE_TIER_PREMIER" 2502 "BADGE_TIER_PREMIER"
2548 ], 2503 ],
2549 "enumDescriptions": [ 2504 "enumDescriptions": [
2550 "Tier badge is not set.", 2505 "Tier badge is not set.",
2551 "Agency has regular partner badge.", 2506 "Agency has regular partner badge.",
2552 "Agency has premier badge." 2507 "Agency has premier badge."
2553 ], 2508 ],
2554 "type": "string" 2509 "type": "string"
2555 },
2556 "autoApprovalEmailDomains": {
2557 "description": "Email domains that allow users with a matchi ng email address to get\nauto-approved for associating with this company.",
2558 "items": {
2559 "type": "string"
2560 },
2561 "type": "array"
2562 },
2563 "companyTypes": {
2564 "description": "Company type labels listed on the company's profile.",
2565 "enumDescriptions": [
2566 "Unchosen.",
2567 "Handles all aspects of the advertising process.",
2568 "Focuses solely on an advertiser's media placement.",
2569 "Plans/executes advertising campaigns.",
2570 "Like a\nFULL_SERVICE_AGENCY,\nbut specializing in digit al.",
2571 "Increases visibility in search engine result pages.",
2572 "Drives promotional efforts for immediate impact.",
2573 "Focuses on bid management, conversion, reporting.",
2574 "Establishes favorable relationship with public through low/no-cost\ncommunications.",
2575 "Does not manage other company's accounts, manages own m arketing programs.",
2576 "Full-service AdWords account management for local busin esses."
2577 ],
2578 "items": {
2579 "enum": [
2580 "COMPANY_TYPE_UNSPECIFIED",
2581 "FULL_SERVICE_AGENCY",
2582 "MEDIA_AGENCY",
2583 "CREATIVE_AGENCY",
2584 "CDIGITAL_AGENCY",
2585 "SEM_SEO",
2586 "PERFORMANCE_MARKETING",
2587 "ADVERTISING_TOOL_DEVELOPMENT",
2588 "PR",
2589 "SELF_MANAGED",
2590 "RESELLER"
2591 ],
2592 "type": "string"
2593 },
2594 "type": "array"
2595 },
2596 "primaryLanguageCode": {
2597 "description": "The primary language code of the company, as defined by\n<a href=\"https://tools.ietf.org/html/bcp47\">BCP 47</a>\n(IETF BCP 47, \"Tags for Identifying Languages\").",
2598 "type": "string"
2599 },
2600 "profileStatus": {
2601 "description": "The public viewability status of the company 's profile.",
2602 "enum": [
2603 "COMPANY_PROFILE_STATUS_UNSPECIFIED",
2604 "HIDDEN",
2605 "PUBLISHED",
2606 "SEARCHABLE"
2607 ],
2608 "enumDescriptions": [
2609 "Unchosen.",
2610 "Company profile does not show up publicly.",
2611 "Company profile can only be viewed by the profile's URL \nand not by Google Partner Search.",
2612 "Company profile can be viewed by the profile's URL\nand by Google Partner Search."
2613 ],
2614 "type": "string"
2615 },
2616 "locations": {
2617 "description": "The list of all company locations.\nIf set, must include the\nprimary_location\nin the list.",
2618 "items": {
2619 "$ref": "Location"
2620 },
2621 "type": "array"
2622 },
2623 "convertedMinMonthlyBudget": {
2624 "$ref": "Money",
2625 "description": "The minimum monthly budget that the company accepts for partner business,\nconverted to the requested currency code."
2626 },
2627 "industries": {
2628 "description": "Industries the company can help with.",
2629 "enumDescriptions": [
2630 "Unchosen.",
2631 "The automotive industry.",
2632 "The business-to-business industry.",
2633 "The consumer packaged goods industry.",
2634 "The education industry.",
2635 "The finance industry.",
2636 "The healthcare industry.",
2637 "The media and entertainment industry.",
2638 "The retail industry.",
2639 "The technology industry.",
2640 "The travel industry."
2641 ],
2642 "items": {
2643 "enum": [
2644 "INDUSTRY_UNSPECIFIED",
2645 "I_AUTOMOTIVE",
2646 "I_BUSINESS_TO_BUSINESS",
2647 "I_CONSUMER_PACKAGED_GOODS",
2648 "I_EDUCATION",
2649 "I_FINANCE",
2650 "I_HEALTHCARE",
2651 "I_MEDIA_AND_ENTERTAINMENT",
2652 "I_RETAIL",
2653 "I_TECHNOLOGY",
2654 "I_TRAVEL"
2655 ],
2656 "type": "string"
2657 },
2658 "type": "array"
2659 } 2510 }
2660 }, 2511 },
2661 "type": "object" 2512 "type": "object"
2662 }, 2513 },
2663 "ListLeadsResponse": { 2514 "ListLeadsResponse": {
2664 "description": "Response message for ListLeads.", 2515 "description": "Response message for ListLeads.",
2665 "id": "ListLeadsResponse", 2516 "id": "ListLeadsResponse",
2666 "properties": { 2517 "properties": {
2667 "nextPageToken": { 2518 "nextPageToken": {
2668 "description": "A token to retrieve next page of results.\nP ass this value in the `ListLeadsRequest.page_token` field in the\nsubsequent cal l to\nListLeads to retrieve the\nnext page of results.", 2519 "description": "A token to retrieve next page of results.\nP ass this value in the `ListLeadsRequest.page_token` field in the\nsubsequent cal l to\nListLeads to retrieve the\nnext page of results.",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
2715 "$ref": "ResponseMetadata", 2566 "$ref": "ResponseMetadata",
2716 "description": "Current response metadata." 2567 "description": "Current response metadata."
2717 } 2568 }
2718 }, 2569 },
2719 "type": "object" 2570 "type": "object"
2720 }, 2571 },
2721 "GetCompanyResponse": { 2572 "GetCompanyResponse": {
2722 "description": "Response message for GetCompany.", 2573 "description": "Response message for GetCompany.",
2723 "id": "GetCompanyResponse", 2574 "id": "GetCompanyResponse",
2724 "properties": { 2575 "properties": {
2576 "company": {
2577 "$ref": "Company",
2578 "description": "The company."
2579 },
2725 "responseMetadata": { 2580 "responseMetadata": {
2726 "$ref": "ResponseMetadata", 2581 "$ref": "ResponseMetadata",
2727 "description": "Current response metadata." 2582 "description": "Current response metadata."
2728 },
2729 "company": {
2730 "$ref": "Company",
2731 "description": "The company."
2732 } 2583 }
2733 }, 2584 },
2734 "type": "object" 2585 "type": "object"
2735 }, 2586 },
2736 "Location": { 2587 "Location": {
2737 "description": "A location with address and geographic coordinates. May optionally contain a\ndetailed (multi-field) version of the address.", 2588 "description": "A location with address and geographic coordinates. May optionally contain a\ndetailed (multi-field) version of the address.",
2738 "id": "Location", 2589 "id": "Location",
2739 "properties": { 2590 "properties": {
2591 "latLng": {
2592 "$ref": "LatLng",
2593 "description": "The latitude and longitude of the location, in degrees."
2594 },
2595 "address": {
2596 "description": "The single string version of the address.",
2597 "type": "string"
2598 },
2599 "regionCode": {
2600 "description": "CLDR (Common Locale Data Repository) region code .",
2601 "type": "string"
2602 },
2603 "dependentLocality": {
2604 "description": "Dependent locality or sublocality. Used for UK dependent localities, or\nneighborhoods or boroughs in other locations.",
2605 "type": "string"
2606 },
2607 "postalCode": {
2608 "description": "Values are frequently alphanumeric.",
2609 "type": "string"
2610 },
2740 "languageCode": { 2611 "languageCode": {
2741 "description": "Language code of the address. Should be in B CP 47 format.", 2612 "description": "Language code of the address. Should be in B CP 47 format.",
2742 "type": "string" 2613 "type": "string"
2743 }, 2614 },
2744 "sortingCode": { 2615 "sortingCode": {
2745 "description": "Use of this code is very country-specific, b ut will refer to a secondary\nclassification code for sorting mail.", 2616 "description": "Use of this code is very country-specific, b ut will refer to a secondary\nclassification code for sorting mail.",
2746 "type": "string" 2617 "type": "string"
2747 }, 2618 },
2748 "addressLine": { 2619 "addressLine": {
2749 "description": "The following address lines represent the mo st specific part of any\naddress.", 2620 "description": "The following address lines represent the mo st specific part of any\naddress.",
2750 "items": { 2621 "items": {
2751 "type": "string" 2622 "type": "string"
2752 }, 2623 },
2753 "type": "array" 2624 "type": "array"
2754 }, 2625 },
2755 "administrativeArea": { 2626 "administrativeArea": {
2756 "description": "Top-level administrative subdivision of this country.", 2627 "description": "Top-level administrative subdivision of this country.",
2757 "type": "string" 2628 "type": "string"
2758 }, 2629 },
2759 "locality": { 2630 "locality": {
2760 "description": "Generally refers to the city/town portion of an address.", 2631 "description": "Generally refers to the city/town portion of an address.",
2761 "type": "string" 2632 "type": "string"
2762 },
2763 "latLng": {
2764 "$ref": "LatLng",
2765 "description": "The latitude and longitude of the location, in degrees."
2766 },
2767 "dependentLocality": {
2768 "description": "Dependent locality or sublocality. Used for UK dependent localities, or\nneighborhoods or boroughs in other locations.",
2769 "type": "string"
2770 },
2771 "address": {
2772 "description": "The single string version of the address.",
2773 "type": "string"
2774 },
2775 "regionCode": {
2776 "description": "CLDR (Common Locale Data Repository) region code .",
2777 "type": "string"
2778 },
2779 "postalCode": {
2780 "description": "Values are frequently alphanumeric.",
2781 "type": "string"
2782 } 2633 }
2783 }, 2634 },
2784 "type": "object" 2635 "type": "object"
2785 }, 2636 },
2786 "ExamToken": { 2637 "ExamToken": {
2787 "description": "A token that allows a user to take an exam.", 2638 "description": "A token that allows a user to take an exam.",
2788 "id": "ExamToken", 2639 "id": "ExamToken",
2789 "properties": { 2640 "properties": {
2790 "examId": { 2641 "examId": {
2791 "description": "The id of the exam the token is for.", 2642 "description": "The id of the exam the token is for.",
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
2868 ], 2719 ],
2869 "type": "string" 2720 "type": "string"
2870 } 2721 }
2871 }, 2722 },
2872 "type": "object" 2723 "type": "object"
2873 }, 2724 },
2874 "OptIns": { 2725 "OptIns": {
2875 "description": "A set of opt-ins for a user.", 2726 "description": "A set of opt-ins for a user.",
2876 "id": "OptIns", 2727 "id": "OptIns",
2877 "properties": { 2728 "properties": {
2878 "marketComm": {
2879 "description": "An opt-in about receiving email from Partner s marketing teams. Includes\nmember-only events and special promotional offers f or Google products.",
2880 "type": "boolean"
2881 },
2882 "specialOffers": { 2729 "specialOffers": {
2883 "description": "An opt-in about receiving email regarding ne w features and products.", 2730 "description": "An opt-in about receiving email regarding ne w features and products.",
2884 "type": "boolean" 2731 "type": "boolean"
2885 }, 2732 },
2886 "performanceSuggestions": { 2733 "performanceSuggestions": {
2887 "description": "An opt-in about receiving email with customi zed AdWords campaign management\ntips.", 2734 "description": "An opt-in about receiving email with customi zed AdWords campaign management\ntips.",
2888 "type": "boolean" 2735 "type": "boolean"
2889 }, 2736 },
2890 "phoneContact": { 2737 "phoneContact": {
2891 "description": "An opt-in to allow recieivng phone calls abo ut their Partners account.", 2738 "description": "An opt-in to allow recieivng phone calls abo ut their Partners account.",
2892 "type": "boolean" 2739 "type": "boolean"
2893 }, 2740 },
2894 "physicalMail": { 2741 "physicalMail": {
2895 "description": "An opt-in to receive special promotional gif ts and material in the mail.", 2742 "description": "An opt-in to receive special promotional gif ts and material in the mail.",
2896 "type": "boolean" 2743 "type": "boolean"
2744 },
2745 "marketComm": {
2746 "description": "An opt-in about receiving email from Partner s marketing teams. Includes\nmember-only events and special promotional offers f or Google products.",
2747 "type": "boolean"
2897 } 2748 }
2898 }, 2749 },
2899 "type": "object" 2750 "type": "object"
2900 }, 2751 },
2901 "Rank": { 2752 "Rank": {
2902 "description": "Information related to ranking of results.", 2753 "description": "Information related to ranking of results.",
2903 "id": "Rank", 2754 "id": "Rank",
2904 "properties": { 2755 "properties": {
2756 "value": {
2757 "description": "The numerical value of the rank.",
2758 "format": "double",
2759 "type": "number"
2760 },
2905 "type": { 2761 "type": {
2906 "description": "The type of rank.", 2762 "description": "The type of rank.",
2907 "enum": [ 2763 "enum": [
2908 "RANK_TYPE_UNSPECIFIED", 2764 "RANK_TYPE_UNSPECIFIED",
2909 "RT_FINAL_SCORE" 2765 "RT_FINAL_SCORE"
2910 ], 2766 ],
2911 "enumDescriptions": [ 2767 "enumDescriptions": [
2912 "Unchosen.", 2768 "Unchosen.",
2913 "Total final score." 2769 "Total final score."
2914 ], 2770 ],
2915 "type": "string" 2771 "type": "string"
2916 },
2917 "value": {
2918 "description": "The numerical value of the rank.",
2919 "format": "double",
2920 "type": "number"
2921 } 2772 }
2922 }, 2773 },
2923 "type": "object" 2774 "type": "object"
2924 }, 2775 },
2925 "UserProfile": { 2776 "UserProfile": {
2926 "description": "The profile information of a Partners user.", 2777 "description": "The profile information of a Partners user.",
2927 "id": "UserProfile", 2778 "id": "UserProfile",
2928 "properties": { 2779 "properties": {
2929 "emailAddress": {
2930 "description": "The email address the user has selected on t he Partners site as primary.",
2931 "type": "string"
2932 },
2933 "channels": {
2934 "description": "A list of ids representing which channels th e user selected they were in.",
2935 "items": {
2936 "type": "string"
2937 },
2938 "type": "array"
2939 },
2940 "profilePublic": {
2941 "description": "Whether the user's public profile is visible to anyone with the URL.",
2942 "type": "boolean"
2943 },
2944 "jobFunctions": {
2945 "description": "A list of ids represnting which job categori es the user selected.",
2946 "items": {
2947 "type": "string"
2948 },
2949 "type": "array"
2950 },
2951 "givenName": { 2780 "givenName": {
2952 "description": "The user's given name.", 2781 "description": "The user's given name.",
2953 "type": "string" 2782 "type": "string"
2954 }, 2783 },
2955 "address": { 2784 "address": {
2956 "$ref": "Location", 2785 "$ref": "Location",
2957 "description": "The user's mailing address, contains multipl e fields." 2786 "description": "The user's mailing address, contains multipl e fields."
2958 }, 2787 },
2959 "industries": { 2788 "industries": {
2960 "description": "A list of ids representing which industries the user selected.", 2789 "description": "A list of ids representing which industries the user selected.",
(...skipping 17 matching lines...) Expand all
2978 "$ref": "OptIns", 2807 "$ref": "OptIns",
2979 "description": "The list of opt-ins for the user, related to communication preferences." 2808 "description": "The list of opt-ins for the user, related to communication preferences."
2980 }, 2809 },
2981 "markets": { 2810 "markets": {
2982 "description": "A list of ids representing which markets the user was interested in.", 2811 "description": "A list of ids representing which markets the user was interested in.",
2983 "items": { 2812 "items": {
2984 "type": "string" 2813 "type": "string"
2985 }, 2814 },
2986 "type": "array" 2815 "type": "array"
2987 }, 2816 },
2988 "phoneNumber": {
2989 "description": "The user's phone number.",
2990 "type": "string"
2991 },
2992 "adwordsManagerAccount": { 2817 "adwordsManagerAccount": {
2993 "description": "If the user has edit access to multiple acco unts, the user can choose the\npreferred account and it is used when a personal account is needed. Can\nbe empty.", 2818 "description": "If the user has edit access to multiple acco unts, the user can choose the\npreferred account and it is used when a personal account is needed. Can\nbe empty.",
2994 "format": "int64", 2819 "format": "int64",
2995 "type": "string" 2820 "type": "string"
2996 }, 2821 },
2822 "phoneNumber": {
2823 "description": "The user's phone number.",
2824 "type": "string"
2825 },
2997 "primaryCountryCode": { 2826 "primaryCountryCode": {
2998 "description": "The user's primary country, an ISO 2-charact er code.", 2827 "description": "The user's primary country, an ISO 2-charact er code.",
2999 "type": "string" 2828 "type": "string"
2829 },
2830 "emailAddress": {
2831 "description": "The email address the user has selected on t he Partners site as primary.",
2832 "type": "string"
2833 },
2834 "channels": {
2835 "description": "A list of ids representing which channels th e user selected they were in.",
2836 "items": {
2837 "type": "string"
2838 },
2839 "type": "array"
2840 },
2841 "profilePublic": {
2842 "description": "Whether the user's public profile is visible to anyone with the URL.",
2843 "type": "boolean"
2844 },
2845 "jobFunctions": {
2846 "description": "A list of ids represnting which job categori es the user selected.",
2847 "items": {
2848 "type": "string"
2849 },
2850 "type": "array"
3000 } 2851 }
3001 }, 2852 },
3002 "type": "object" 2853 "type": "object"
3003 }, 2854 },
3004 "GetPartnersStatusResponse": { 2855 "GetPartnersStatusResponse": {
3005 "description": "Response message for\nGetPartnersStatus.", 2856 "description": "Response message for\nGetPartnersStatus.",
3006 "id": "GetPartnersStatusResponse", 2857 "id": "GetPartnersStatusResponse",
3007 "properties": { 2858 "properties": {
3008 "responseMetadata": { 2859 "responseMetadata": {
3009 "$ref": "ResponseMetadata", 2860 "$ref": "ResponseMetadata",
3010 "description": "Current response metadata." 2861 "description": "Current response metadata."
3011 } 2862 }
3012 }, 2863 },
3013 "type": "object" 2864 "type": "object"
3014 }, 2865 },
3015 "HistoricalOffer": { 2866 "HistoricalOffer": {
3016 "description": "Historical information about a Google Partners Offer .", 2867 "description": "Historical information about a Google Partners Offer .",
3017 "id": "HistoricalOffer", 2868 "id": "HistoricalOffer",
3018 "properties": { 2869 "properties": {
3019 "adwordsUrl": {
3020 "description": "Client's AdWords page URL.",
3021 "type": "string"
3022 },
3023 "offerType": {
3024 "description": "Type of offer.",
3025 "enum": [
3026 "OFFER_TYPE_UNSPECIFIED",
3027 "OFFER_TYPE_SPEND_X_GET_Y",
3028 "OFFER_TYPE_VIDEO",
3029 "OFFER_TYPE_SPEND_MATCH"
3030 ],
3031 "enumDescriptions": [
3032 "Unset.",
3033 "AdWords spend X get Y.",
3034 "Youtube video.",
3035 "Spend Match up to Y."
3036 ],
3037 "type": "string"
3038 },
3039 "senderName": {
3040 "description": "Name (First + Last) of the partners user to whom the incentive is allocated.",
3041 "type": "string"
3042 },
3043 "offerCountryCode": { 2870 "offerCountryCode": {
3044 "description": "Country Code for the offer country.", 2871 "description": "Country Code for the offer country.",
3045 "type": "string" 2872 "type": "string"
3046 }, 2873 },
3047 "expirationTime": { 2874 "expirationTime": {
3048 "description": "Time this offer expires.", 2875 "description": "Time this offer expires.",
3049 "format": "google-datetime", 2876 "format": "google-datetime",
3050 "type": "string" 2877 "type": "string"
3051 }, 2878 },
3052 "offerCode": { 2879 "offerCode": {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
3086 "type": "string" 2913 "type": "string"
3087 }, 2914 },
3088 "clientName": { 2915 "clientName": {
3089 "description": "Name of the client.", 2916 "description": "Name of the client.",
3090 "type": "string" 2917 "type": "string"
3091 }, 2918 },
3092 "lastModifiedTime": { 2919 "lastModifiedTime": {
3093 "description": "Time last action was taken.", 2920 "description": "Time last action was taken.",
3094 "format": "google-datetime", 2921 "format": "google-datetime",
3095 "type": "string" 2922 "type": "string"
2923 },
2924 "adwordsUrl": {
2925 "description": "Client's AdWords page URL.",
2926 "type": "string"
2927 },
2928 "offerType": {
2929 "description": "Type of offer.",
2930 "enum": [
2931 "OFFER_TYPE_UNSPECIFIED",
2932 "OFFER_TYPE_SPEND_X_GET_Y",
2933 "OFFER_TYPE_VIDEO",
2934 "OFFER_TYPE_SPEND_MATCH"
2935 ],
2936 "enumDescriptions": [
2937 "Unset.",
2938 "AdWords spend X get Y.",
2939 "Youtube video.",
2940 "Spend Match up to Y."
2941 ],
2942 "type": "string"
2943 },
2944 "senderName": {
2945 "description": "Name (First + Last) of the partners user to whom the incentive is allocated.",
2946 "type": "string"
3096 } 2947 }
3097 }, 2948 },
3098 "type": "object" 2949 "type": "object"
2950 },
2951 "UserOverrides": {
2952 "description": "Values to use instead of the user's respective defau lts. These are only\nhonored by whitelisted products.",
2953 "id": "UserOverrides",
2954 "properties": {
2955 "userId": {
2956 "description": "Logged-in user ID to impersonate instead of the user's ID.",
2957 "type": "string"
2958 },
2959 "ipAddress": {
2960 "description": "IP address to use instead of the user's geo- located IP address.",
2961 "type": "string"
2962 }
2963 },
2964 "type": "object"
3099 }, 2965 },
3100 "LogUserEventRequest": { 2966 "LogUserEventRequest": {
3101 "description": "Request message for\nLogUserEvent.", 2967 "description": "Request message for\nLogUserEvent.",
3102 "id": "LogUserEventRequest", 2968 "id": "LogUserEventRequest",
3103 "properties": { 2969 "properties": {
2970 "url": {
2971 "description": "The URL where the event occurred.",
2972 "type": "string"
2973 },
2974 "requestMetadata": {
2975 "$ref": "RequestMetadata",
2976 "description": "Current request metadata."
2977 },
2978 "eventScope": {
2979 "description": "The scope of the event.",
2980 "enum": [
2981 "EVENT_SCOPE_UNSPECIFIED",
2982 "VISITOR",
2983 "SESSION",
2984 "PAGE"
2985 ],
2986 "enumDescriptions": [
2987 "Unchosen.",
2988 "Based on visitor.",
2989 "Based on session.",
2990 "Based on page visit."
2991 ],
2992 "type": "string"
2993 },
2994 "eventDatas": {
2995 "description": "List of event data for the event.",
2996 "items": {
2997 "$ref": "EventData"
2998 },
2999 "type": "array"
3000 },
3104 "eventCategory": { 3001 "eventCategory": {
3105 "description": "The category the action belongs to.", 3002 "description": "The category the action belongs to.",
3106 "enum": [ 3003 "enum": [
3107 "EVENT_CATEGORY_UNSPECIFIED", 3004 "EVENT_CATEGORY_UNSPECIFIED",
3108 "GOOGLE_PARTNER_SEARCH", 3005 "GOOGLE_PARTNER_SEARCH",
3109 "GOOGLE_PARTNER_SIGNUP_FLOW", 3006 "GOOGLE_PARTNER_SIGNUP_FLOW",
3110 "GOOGLE_PARTNER_PORTAL", 3007 "GOOGLE_PARTNER_PORTAL",
3111 "GOOGLE_PARTNER_PORTAL_MY_PROFILE", 3008 "GOOGLE_PARTNER_PORTAL_MY_PROFILE",
3112 "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS", 3009 "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS",
3113 "GOOGLE_PARTNER_PORTAL_COMMUNITY", 3010 "GOOGLE_PARTNER_PORTAL_COMMUNITY",
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
3268 "SMB_VIEWED_ADWORDS_CERTIFICATE", 3165 "SMB_VIEWED_ADWORDS_CERTIFICATE",
3269 "SMB_VIEWED_ADWORDS_SEARCH_CERTIFICATE", 3166 "SMB_VIEWED_ADWORDS_SEARCH_CERTIFICATE",
3270 "SMB_VIEWED_ADWORDS_DISPLAY_CERTIFICATE", 3167 "SMB_VIEWED_ADWORDS_DISPLAY_CERTIFICATE",
3271 "SMB_CLICKED_ADWORDS_CERTIFICATE_HELP_ICON", 3168 "SMB_CLICKED_ADWORDS_CERTIFICATE_HELP_ICON",
3272 "SMB_VIEWED_ANALYTICS_CERTIFICATE", 3169 "SMB_VIEWED_ANALYTICS_CERTIFICATE",
3273 "SMB_VIEWED_DOUBLECLICK_CERTIFICATE", 3170 "SMB_VIEWED_DOUBLECLICK_CERTIFICATE",
3274 "SMB_VIEWED_MOBILE_SITES_CERTIFICATE", 3171 "SMB_VIEWED_MOBILE_SITES_CERTIFICATE",
3275 "SMB_VIEWED_VIDEO_ADS_CERTIFICATE", 3172 "SMB_VIEWED_VIDEO_ADS_CERTIFICATE",
3276 "SMB_VIEWED_SHOPPING_CERTIFICATE", 3173 "SMB_VIEWED_SHOPPING_CERTIFICATE",
3277 "SMB_CLICKED_VIDEO_ADS_CERTIFICATE_HELP_ICON", 3174 "SMB_CLICKED_VIDEO_ADS_CERTIFICATE_HELP_ICON",
3175 "SMB_VIEWED_DIGITAL_SALES_CERTIFICATE",
3278 "CLICKED_HELP_AT_BOTTOM", 3176 "CLICKED_HELP_AT_BOTTOM",
3279 "CLICKED_HELP_AT_TOP", 3177 "CLICKED_HELP_AT_TOP",
3280 "CLIENT_ERROR", 3178 "CLIENT_ERROR",
3281 "AGENCY_CLICKED_LEFT_NAV_STORIES", 3179 "AGENCY_CLICKED_LEFT_NAV_STORIES",
3282 "CLICKED", 3180 "CLICKED",
3283 "SMB_VIEWED_MOBILE_CERTIFICATE", 3181 "SMB_VIEWED_MOBILE_CERTIFICATE",
3284 "AGENCY_FAILED_COMPANY_VERIFICATION", 3182 "AGENCY_FAILED_COMPANY_VERIFICATION",
3285 "VISITED_LANDING", 3183 "VISITED_LANDING",
3286 "VISITED_GPS", 3184 "VISITED_GPS",
3287 "VISITED_AGENCY_PORTAL", 3185 "VISITED_AGENCY_PORTAL",
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
3426 "Advertiser viewed AdWords certificate.", 3324 "Advertiser viewed AdWords certificate.",
3427 "Advertiser viewed AdWords Search certificate.", 3325 "Advertiser viewed AdWords Search certificate.",
3428 "Advertiser viewed AdWords Display certificate.", 3326 "Advertiser viewed AdWords Display certificate.",
3429 "Advertiser clicked AdWords certificate help icon.", 3327 "Advertiser clicked AdWords certificate help icon.",
3430 "Advertiser viewed Analytics certificate.", 3328 "Advertiser viewed Analytics certificate.",
3431 "Advertiser viewed DoubleClick certificate.", 3329 "Advertiser viewed DoubleClick certificate.",
3432 "Advertiser viewed Mobile Sites certificate.", 3330 "Advertiser viewed Mobile Sites certificate.",
3433 "Advertiser viewed VideoAds certificate.", 3331 "Advertiser viewed VideoAds certificate.",
3434 "Advertiser clicked Shopping certificate help icon.", 3332 "Advertiser clicked Shopping certificate help icon.",
3435 "Advertiser clicked VideoAds certificate help icon.", 3333 "Advertiser clicked VideoAds certificate help icon.",
3334 "Advertiser viewed Digital Sales certificate.",
3436 "Clicked `help` at bottom.", 3335 "Clicked `help` at bottom.",
3437 "Clicked `help` at top.", 3336 "Clicked `help` at top.",
3438 "Client error occurred.", 3337 "Client error occurred.",
3439 "Agency clicked left nav `stories`.", 3338 "Agency clicked left nav `stories`.",
3440 "Click occured.", 3339 "Click occured.",
3441 "Advertiser clicked Mobile certificate help icon.", 3340 "Advertiser clicked Mobile certificate help icon.",
3442 "Agency failed the company verification.", 3341 "Agency failed the company verification.",
3443 "User visited the landing portion of Google Partners.", 3342 "User visited the landing portion of Google Partners.",
3444 "User visited the Google Partner Search portion of Googl e Partners.", 3343 "User visited the Google Partner Search portion of Googl e Partners.",
3445 "User visited the agency portal portion of Google Partne rs.", 3344 "User visited the agency portal portion of Google Partne rs.",
(...skipping 11 matching lines...) Expand all
3457 "Agency picked a suggested agency.", 3356 "Agency picked a suggested agency.",
3458 "Agency searched for agencies.", 3357 "Agency searched for agencies.",
3459 "Agency picked a searched agency.", 3358 "Agency picked a searched agency.",
3460 "Agency dismissed affiliation widget.", 3359 "Agency dismissed affiliation widget.",
3461 "Agency clicked on the download link for downloading con tent.", 3360 "Agency clicked on the download link for downloading con tent.",
3462 "Agency user is maklingg progress viewing a content item .", 3361 "Agency user is maklingg progress viewing a content item .",
3463 "Agency clicked `cancel Terms Of Service` button.", 3362 "Agency clicked `cancel Terms Of Service` button.",
3464 "Advertiser entered website in contact form." 3363 "Advertiser entered website in contact form."
3465 ], 3364 ],
3466 "type": "string" 3365 "type": "string"
3467 },
3468 "url": {
3469 "description": "The URL where the event occurred.",
3470 "type": "string"
3471 },
3472 "requestMetadata": {
3473 "$ref": "RequestMetadata",
3474 "description": "Current request metadata."
3475 },
3476 "eventScope": {
3477 "description": "The scope of the event.",
3478 "enum": [
3479 "EVENT_SCOPE_UNSPECIFIED",
3480 "VISITOR",
3481 "SESSION",
3482 "PAGE"
3483 ],
3484 "enumDescriptions": [
3485 "Unchosen.",
3486 "Based on visitor.",
3487 "Based on session.",
3488 "Based on page visit."
3489 ],
3490 "type": "string"
3491 },
3492 "eventDatas": {
3493 "description": "List of event data for the event.",
3494 "items": {
3495 "$ref": "EventData"
3496 },
3497 "type": "array"
3498 }
3499 },
3500 "type": "object"
3501 },
3502 "UserOverrides": {
3503 "description": "Values to use instead of the user's respective defau lts. These are only\nhonored by whitelisted products.",
3504 "id": "UserOverrides",
3505 "properties": {
3506 "userId": {
3507 "description": "Logged-in user ID to impersonate instead of the user's ID.",
3508 "type": "string"
3509 },
3510 "ipAddress": {
3511 "description": "IP address to use instead of the user's geo- located IP address.",
3512 "type": "string"
3513 } 3366 }
3514 }, 3367 },
3515 "type": "object" 3368 "type": "object"
3516 }, 3369 },
3517 "AnalyticsDataPoint": { 3370 "AnalyticsDataPoint": {
3518 "description": "Details of the analytics events for a `Company` with in a single day.", 3371 "description": "Details of the analytics events for a `Company` with in a single day.",
3519 "id": "AnalyticsDataPoint", 3372 "id": "AnalyticsDataPoint",
3520 "properties": { 3373 "properties": {
3521 "eventCount": {
3522 "description": "Number of times the type of event occurred.\ nMeaning depends on context (e.g. profile views, contacts, etc.).",
3523 "format": "int32",
3524 "type": "integer"
3525 },
3526 "eventLocations": { 3374 "eventLocations": {
3527 "description": "Location information of where these events o ccurred.", 3375 "description": "Location information of where these events o ccurred.",
3528 "items": { 3376 "items": {
3529 "$ref": "LatLng" 3377 "$ref": "LatLng"
3530 }, 3378 },
3531 "type": "array" 3379 "type": "array"
3380 },
3381 "eventCount": {
3382 "description": "Number of times the type of event occurred.\ nMeaning depends on context (e.g. profile views, contacts, etc.).",
3383 "format": "int32",
3384 "type": "integer"
3532 } 3385 }
3533 }, 3386 },
3534 "type": "object" 3387 "type": "object"
3535 }, 3388 },
3536 "Analytics": { 3389 "Analytics": {
3537 "description": "Analytics data for a `Company` within a single day." , 3390 "description": "Analytics data for a `Company` within a single day." ,
3538 "id": "Analytics", 3391 "id": "Analytics",
3539 "properties": { 3392 "properties": {
3540 "contacts": {
3541 "$ref": "AnalyticsDataPoint",
3542 "description": "Instances of users contacting the `Company`\ non the specified date."
3543 },
3544 "searchViews": { 3393 "searchViews": {
3545 "$ref": "AnalyticsDataPoint", 3394 "$ref": "AnalyticsDataPoint",
3546 "description": "Instances of users seeing the `Company` in G oogle Partners Search results\non the specified date." 3395 "description": "Instances of users seeing the `Company` in G oogle Partners Search results\non the specified date."
3547 }, 3396 },
3548 "profileViews": { 3397 "profileViews": {
3549 "$ref": "AnalyticsDataPoint", 3398 "$ref": "AnalyticsDataPoint",
3550 "description": "Instances of users viewing the `Company` pro file\non the specified date." 3399 "description": "Instances of users viewing the `Company` pro file\non the specified date."
3551 }, 3400 },
3552 "eventDate": { 3401 "eventDate": {
3553 "$ref": "Date", 3402 "$ref": "Date",
3554 "description": "Date on which these events occurred." 3403 "description": "Date on which these events occurred."
3404 },
3405 "contacts": {
3406 "$ref": "AnalyticsDataPoint",
3407 "description": "Instances of users contacting the `Company`\ non the specified date."
3555 } 3408 }
3556 }, 3409 },
3557 "type": "object" 3410 "type": "object"
3558 },
3559 "AdWordsManagerAccountInfo": {
3560 "description": "Information about a particular AdWords Manager Accou nt.\nRead more at https://support.google.com/adwords/answer/6139186",
3561 "id": "AdWordsManagerAccountInfo",
3562 "properties": {
3563 "customerName": {
3564 "description": "Name of the customer this account represents .",
3565 "type": "string"
3566 },
3567 "id": {
3568 "description": "The AdWords Manager Account id.",
3569 "format": "int64",
3570 "type": "string"
3571 }
3572 },
3573 "type": "object"
3574 }, 3411 },
3575 "PublicProfile": { 3412 "PublicProfile": {
3576 "description": "Basic information from a public profile.", 3413 "description": "Basic information from a public profile.",
3577 "id": "PublicProfile", 3414 "id": "PublicProfile",
3578 "properties": { 3415 "properties": {
3579 "profileImage": {
3580 "description": "The URL to the main profile image of the pub lic profile.",
3581 "type": "string"
3582 },
3583 "displayImageUrl": { 3416 "displayImageUrl": {
3584 "description": "The URL to the main display image of the pub lic profile. Being deprecated.", 3417 "description": "The URL to the main display image of the pub lic profile. Being deprecated.",
3585 "type": "string" 3418 "type": "string"
3586 }, 3419 },
3587 "displayName": { 3420 "displayName": {
3588 "description": "The display name of the public profile.", 3421 "description": "The display name of the public profile.",
3589 "type": "string" 3422 "type": "string"
3590 }, 3423 },
3591 "url": { 3424 "url": {
3592 "description": "The URL of the public profile.", 3425 "description": "The URL of the public profile.",
3593 "type": "string" 3426 "type": "string"
3594 }, 3427 },
3595 "id": { 3428 "id": {
3596 "description": "The ID which can be used to retrieve more de tails about the public profile.", 3429 "description": "The ID which can be used to retrieve more de tails about the public profile.",
3597 "type": "string" 3430 "type": "string"
3431 },
3432 "profileImage": {
3433 "description": "The URL to the main profile image of the pub lic profile.",
3434 "type": "string"
3598 } 3435 }
3599 }, 3436 },
3600 "type": "object" 3437 "type": "object"
3438 },
3439 "AdWordsManagerAccountInfo": {
3440 "description": "Information about a particular AdWords Manager Accou nt.\nRead more at https://support.google.com/adwords/answer/6139186",
3441 "id": "AdWordsManagerAccountInfo",
3442 "properties": {
3443 "customerName": {
3444 "description": "Name of the customer this account represents .",
3445 "type": "string"
3446 },
3447 "id": {
3448 "description": "The AdWords Manager Account id.",
3449 "format": "int64",
3450 "type": "string"
3451 }
3452 },
3453 "type": "object"
3601 }, 3454 },
3602 "ResponseMetadata": { 3455 "ResponseMetadata": {
3603 "description": "Common data that is in each API response.", 3456 "description": "Common data that is in each API response.",
3604 "id": "ResponseMetadata", 3457 "id": "ResponseMetadata",
3605 "properties": { 3458 "properties": {
3606 "debugInfo": { 3459 "debugInfo": {
3607 "$ref": "DebugInfo", 3460 "$ref": "DebugInfo",
3608 "description": "Debug information about this request." 3461 "description": "Debug information about this request."
3609 } 3462 }
3610 }, 3463 },
3611 "type": "object" 3464 "type": "object"
3465 },
3466 "RecaptchaChallenge": {
3467 "description": "<a href=\"https://www.google.com/recaptcha/\">reCapt cha</a> challenge info.",
3468 "id": "RecaptchaChallenge",
3469 "properties": {
3470 "response": {
3471 "description": "The response to the reCaptcha challenge.",
3472 "type": "string"
3473 },
3474 "id": {
3475 "description": "The ID of the reCaptcha challenge.",
3476 "type": "string"
3477 }
3478 },
3479 "type": "object"
3480 },
3481 "AvailableOffer": {
3482 "description": "Available Offers to be distributed.",
3483 "id": "AvailableOffer",
3484 "properties": {
3485 "qualifiedCustomersComplete": {
3486 "description": "Whether or not the list of qualified custome rs is definitely complete.",
3487 "type": "boolean"
3488 },
3489 "id": {
3490 "description": "ID of this offer.",
3491 "format": "int64",
3492 "type": "string"
3493 },
3494 "countryOfferInfos": {
3495 "description": "Offer info by country.",
3496 "items": {
3497 "$ref": "CountryOfferInfo"
3498 },
3499 "type": "array"
3500 },
3501 "offerType": {
3502 "description": "Type of offer.",
3503 "enum": [
3504 "OFFER_TYPE_UNSPECIFIED",
3505 "OFFER_TYPE_SPEND_X_GET_Y",
3506 "OFFER_TYPE_VIDEO",
3507 "OFFER_TYPE_SPEND_MATCH"
3508 ],
3509 "enumDescriptions": [
3510 "Unset.",
3511 "AdWords spend X get Y.",
3512 "Youtube video.",
3513 "Spend Match up to Y."
3514 ],
3515 "type": "string"
3516 },
3517 "maxAccountAge": {
3518 "description": "The maximum age of an account [in days] to b e eligible.",
3519 "format": "int32",
3520 "type": "integer"
3521 },
3522 "qualifiedCustomer": {
3523 "description": "Customers who qualify for this offer.",
3524 "items": {
3525 "$ref": "OfferCustomer"
3526 },
3527 "type": "array"
3528 },
3529 "terms": {
3530 "description": "Terms of the offer.",
3531 "type": "string"
3532 },
3533 "showSpecialOfferCopy": {
3534 "description": "Should special text be shown on the offers p age.",
3535 "type": "boolean"
3536 },
3537 "available": {
3538 "description": "The number of codes for this offer that are available for distribution.",
3539 "format": "int32",
3540 "type": "integer"
3541 },
3542 "description": {
3543 "description": "Description of the offer.",
3544 "type": "string"
3545 },
3546 "offerLevel": {
3547 "description": "Level of this offer.",
3548 "enum": [
3549 "OFFER_LEVEL_UNSPECIFIED",
3550 "OFFER_LEVEL_DENY_PROBLEM",
3551 "OFFER_LEVEL_DENY_CONTRACT",
3552 "OFFER_LEVEL_MANUAL",
3553 "OFFER_LEVEL_LIMIT_0",
3554 "OFFER_LEVEL_LIMIT_5",
3555 "OFFER_LEVEL_LIMIT_15",
3556 "OFFER_LEVEL_LIMIT_50"
3557 ],
3558 "enumDescriptions": [
3559 "Unset.",
3560 "Users/Agencies that have no offers because of a problem .",
3561 "Users/Agencies that have no offers due to contractural agreements.",
3562 "Users/Agencies that have a manually-configured limit.",
3563 "Some Agencies don't get any offers.",
3564 "Basic level gets 5 per month.",
3565 "Agencies with adequate AHI and spend get 15/month.",
3566 "Badged partners (even in grace) get 50 per month."
3567 ],
3568 "type": "string"
3569 },
3570 "name": {
3571 "description": "Name of the offer.",
3572 "type": "string"
3573 }
3574 },
3575 "type": "object"
3576 },
3577 "LatLng": {
3578 "description": "An object representing a latitude/longitude pair. Th is is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n<a href=\"http ://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\">WGS84\nstandard</a>. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n \n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees long itude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r > 180.0 or (r == 180.0 and q <= -1.0):\n return r - 360.0\n retur n r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], resp ectively.\"\"\"\n r = latitude % 360.0\n if r <= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r >= 270.0:\n return r - 36 0, NormalizeLongitude(longitude)\n else:\n return 180 - r, Normalize Longitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLo ngitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == Normali zeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\ n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10. 0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng (-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n as sert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == N ormalizeLatLng(-270.0, 10.0)",
3579 "id": "LatLng",
3580 "properties": {
3581 "longitude": {
3582 "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
3583 "format": "double",
3584 "type": "number"
3585 },
3586 "latitude": {
3587 "description": "The latitude in degrees. It must be in the r ange [-90.0, +90.0].",
3588 "format": "double",
3589 "type": "number"
3590 }
3591 },
3592 "type": "object"
3593 },
3594 "Money": {
3595 "description": "Represents an amount of money with its currency type .",
3596 "id": "Money",
3597 "properties": {
3598 "currencyCode": {
3599 "description": "The 3-letter currency code defined in ISO 42 17.",
3600 "type": "string"
3601 },
3602 "nanos": {
3603 "description": "Number of nano (10^-9) units of the amount.\ nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negativ e or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000 ,000.",
3604 "format": "int32",
3605 "type": "integer"
3606 },
3607 "units": {
3608 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
3609 "format": "int64",
3610 "type": "string"
3611 }
3612 },
3613 "type": "object"
3612 } 3614 }
3613 }, 3615 },
3614 "servicePath": "", 3616 "servicePath": "",
3615 "title": "Google Partners API", 3617 "title": "Google Partners API",
3616 "version": "v2" 3618 "version": "v2"
3617 } 3619 }
OLDNEW
« no previous file with comments | « discovery/googleapis/monitoring__v3.json ('k') | discovery/googleapis/people__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698