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

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

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 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 "bearer_token": {
31 "description": "OAuth bearer token.",
32 "location": "query",
33 "type": "string"
34 },
35 "oauth_token": {
36 "description": "OAuth 2.0 token for the current user.",
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"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 "proto" 64 "proto"
86 ], 65 ],
87 "enumDescriptions": [ 66 "enumDescriptions": [
88 "Responses with Content-Type of application/json", 67 "Responses with Content-Type of application/json",
89 "Media download with context-dependent Content-Type", 68 "Media download with context-dependent Content-Type",
90 "Responses with Content-Type of application/x-protobuf" 69 "Responses with Content-Type of application/x-protobuf"
91 ], 70 ],
92 "location": "query", 71 "location": "query",
93 "type": "string" 72 "type": "string"
94 }, 73 },
74 "key": {
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.",
76 "location": "query",
77 "type": "string"
78 },
95 "access_token": { 79 "access_token": {
96 "description": "OAuth access token.", 80 "description": "OAuth access token.",
97 "location": "query", 81 "location": "query",
98 "type": "string" 82 "type": "string"
99 }, 83 },
100 "key": { 84 "quotaUser": {
101 "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.", 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 "bearer_token": {
96 "description": "OAuth bearer token.",
97 "location": "query",
98 "type": "string"
99 },
100 "oauth_token": {
101 "description": "OAuth 2.0 token for the current user.",
102 "location": "query", 102 "location": "query",
103 "type": "string" 103 "type": "string"
104 } 104 }
105 }, 105 },
106 "protocol": "rest", 106 "protocol": "rest",
107 "resources": { 107 "resources": {
108 "leads": { 108 "leads": {
109 "methods": { 109 "methods": {
110 "list": { 110 "list": {
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.", 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.",
(...skipping 21 matching lines...) Expand all
133 "description": "IP address to use instead of the use r's geo-located IP address.", 133 "description": "IP address to use instead of the use r's geo-located IP address.",
134 "location": "query", 134 "location": "query",
135 "type": "string" 135 "type": "string"
136 }, 136 },
137 "requestMetadata.experimentIds": { 137 "requestMetadata.experimentIds": {
138 "description": "Experiment IDs the current request b elongs to.", 138 "description": "Experiment IDs the current request b elongs to.",
139 "location": "query", 139 "location": "query",
140 "repeated": true, 140 "repeated": true,
141 "type": "string" 141 "type": "string"
142 }, 142 },
143 "orderBy": {
144 "description": "How to order Leads. Currently, only `create_time`\nand `create_time desc` are supported",
145 "location": "query",
146 "type": "string"
147 },
143 "requestMetadata.trafficSource.trafficSubId": { 148 "requestMetadata.trafficSource.trafficSubId": {
144 "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.", 149 "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.",
145 "location": "query", 150 "location": "query",
146 "type": "string" 151 "type": "string"
147 }, 152 },
148 "orderBy": {
149 "description": "How to order Leads. Currently, only `create_time`\nand `create_time desc` are supported",
150 "location": "query",
151 "type": "string"
152 },
153 "requestMetadata.partnersSessionId": {
154 "description": "Google Partners session ID.",
155 "location": "query",
156 "type": "string"
157 },
158 "requestMetadata.userOverrides.userId": { 153 "requestMetadata.userOverrides.userId": {
159 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 154 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
160 "location": "query", 155 "location": "query",
161 "type": "string" 156 "type": "string"
162 }, 157 },
158 "requestMetadata.partnersSessionId": {
159 "description": "Google Partners session ID.",
160 "location": "query",
161 "type": "string"
162 },
163 "pageToken": { 163 "pageToken": {
164 "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.", 164 "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.",
165 "location": "query", 165 "location": "query",
166 "type": "string" 166 "type": "string"
167 } 167 }
168 }, 168 },
169 "path": "v2/leads", 169 "path": "v2/leads",
170 "response": { 170 "response": {
171 "$ref": "ListLeadsResponse" 171 "$ref": "ListLeadsResponse"
172 } 172 }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 }, 226 },
227 "resources": { 227 "resources": {
228 "history": { 228 "history": {
229 "methods": { 229 "methods": {
230 "list": { 230 "list": {
231 "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)",
232 "httpMethod": "GET", 232 "httpMethod": "GET",
233 "id": "partners.offers.history.list", 233 "id": "partners.offers.history.list",
234 "parameterOrder": [], 234 "parameterOrder": [],
235 "parameters": { 235 "parameters": {
236 "requestMetadata.partnersSessionId": {
237 "description": "Google Partners session ID." ,
238 "location": "query",
239 "type": "string"
240 },
236 "requestMetadata.userOverrides.userId": { 241 "requestMetadata.userOverrides.userId": {
237 "description": "Logged-in user ID to imperso nate instead of the user's ID.", 242 "description": "Logged-in user ID to imperso nate instead of the user's ID.",
238 "location": "query", 243 "location": "query",
239 "type": "string" 244 "type": "string"
240 }, 245 },
241 "requestMetadata.partnersSessionId": {
242 "description": "Google Partners session ID." ,
243 "location": "query",
244 "type": "string"
245 },
246 "pageToken": { 246 "pageToken": {
247 "description": "Token to retrieve a specific page.", 247 "description": "Token to retrieve a specific page.",
248 "location": "query", 248 "location": "query",
249 "type": "string" 249 "type": "string"
250 }, 250 },
251 "pageSize": { 251 "pageSize": {
252 "description": "Maximum number of rows to re turn per page.", 252 "description": "Maximum number of rows to re turn per page.",
253 "format": "int32", 253 "format": "int32",
254 "location": "query", 254 "location": "query",
255 "type": "integer" 255 "type": "integer"
256 }, 256 },
257 "requestMetadata.trafficSource.trafficSourceId": { 257 "requestMetadata.trafficSource.trafficSourceId": {
258 "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.", 258 "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.",
259 "location": "query", 259 "location": "query",
260 "type": "string" 260 "type": "string"
261 }, 261 },
262 "requestMetadata.locale": { 262 "requestMetadata.locale": {
263 "description": "Locale to use for the curren t request.", 263 "description": "Locale to use for the curren t request.",
264 "location": "query", 264 "location": "query",
265 "type": "string" 265 "type": "string"
266 }, 266 },
267 "requestMetadata.userOverrides.ipAddress": { 267 "requestMetadata.userOverrides.ipAddress": {
268 "description": "IP address to use instead of the user's geo-located IP address.", 268 "description": "IP address to use instead of the user's geo-located IP address.",
269 "location": "query", 269 "location": "query",
270 "type": "string" 270 "type": "string"
271 }, 271 },
272 "entireCompany": {
273 "description": "if true, show history for th e entire company. Requires user to be admin.",
274 "location": "query",
275 "type": "boolean"
276 },
272 "requestMetadata.experimentIds": { 277 "requestMetadata.experimentIds": {
273 "description": "Experiment IDs the current r equest belongs to.", 278 "description": "Experiment IDs the current r equest belongs to.",
274 "location": "query", 279 "location": "query",
275 "repeated": true, 280 "repeated": true,
276 "type": "string" 281 "type": "string"
277 }, 282 },
278 "entireCompany": {
279 "description": "if true, show history for th e entire company. Requires user to be admin.",
280 "location": "query",
281 "type": "boolean"
282 },
283 "orderBy": { 283 "orderBy": {
284 "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.", 284 "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.",
285 "location": "query", 285 "location": "query",
286 "type": "string" 286 "type": "string"
287 }, 287 },
288 "requestMetadata.trafficSource.trafficSubId": { 288 "requestMetadata.trafficSource.trafficSubId": {
289 "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": "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.",
290 "location": "query", 290 "location": "query",
291 "type": "string" 291 "type": "string"
292 } 292 }
293 }, 293 },
294 "path": "v2/offers/history", 294 "path": "v2/offers/history",
295 "response": { 295 "response": {
296 "$ref": "ListOffersHistoryResponse" 296 "$ref": "ListOffersHistoryResponse"
297 } 297 }
298 } 298 }
299 } 299 }
300 } 300 }
301 } 301 }
302 }, 302 },
303 "userStates": { 303 "userStates": {
304 "methods": { 304 "methods": {
305 "list": { 305 "list": {
306 "description": "Lists states for current user.", 306 "description": "Lists states for current user.",
307 "httpMethod": "GET", 307 "httpMethod": "GET",
308 "id": "partners.userStates.list", 308 "id": "partners.userStates.list",
309 "parameterOrder": [], 309 "parameterOrder": [],
310 "parameters": { 310 "parameters": {
311 "requestMetadata.locale": {
312 "description": "Locale to use for the current reques t.",
313 "location": "query",
314 "type": "string"
315 },
311 "requestMetadata.userOverrides.ipAddress": { 316 "requestMetadata.userOverrides.ipAddress": {
312 "description": "IP address to use instead of the use r's geo-located IP address.", 317 "description": "IP address to use instead of the use r's geo-located IP address.",
313 "location": "query", 318 "location": "query",
314 "type": "string" 319 "type": "string"
315 }, 320 },
316 "requestMetadata.experimentIds": { 321 "requestMetadata.experimentIds": {
317 "description": "Experiment IDs the current request b elongs to.", 322 "description": "Experiment IDs the current request b elongs to.",
318 "location": "query", 323 "location": "query",
319 "repeated": true, 324 "repeated": true,
320 "type": "string" 325 "type": "string"
321 }, 326 },
322 "requestMetadata.trafficSource.trafficSubId": { 327 "requestMetadata.trafficSource.trafficSubId": {
323 "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.", 328 "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.",
324 "location": "query", 329 "location": "query",
325 "type": "string" 330 "type": "string"
326 }, 331 },
332 "requestMetadata.partnersSessionId": {
333 "description": "Google Partners session ID.",
334 "location": "query",
335 "type": "string"
336 },
327 "requestMetadata.userOverrides.userId": { 337 "requestMetadata.userOverrides.userId": {
328 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 338 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
329 "location": "query", 339 "location": "query",
330 "type": "string" 340 "type": "string"
331 }, 341 },
332 "requestMetadata.partnersSessionId": {
333 "description": "Google Partners session ID.",
334 "location": "query",
335 "type": "string"
336 },
337 "requestMetadata.trafficSource.trafficSourceId": { 342 "requestMetadata.trafficSource.trafficSourceId": {
338 "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.", 343 "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.",
339 "location": "query", 344 "location": "query",
340 "type": "string" 345 "type": "string"
341 },
342 "requestMetadata.locale": {
343 "description": "Locale to use for the current reques t.",
344 "location": "query",
345 "type": "string"
346 } 346 }
347 }, 347 },
348 "path": "v2/userStates", 348 "path": "v2/userStates",
349 "response": { 349 "response": {
350 "$ref": "ListUserStatesResponse" 350 "$ref": "ListUserStatesResponse"
351 } 351 }
352 } 352 }
353 } 353 }
354 }, 354 },
355 "analytics": { 355 "analytics": {
356 "methods": { 356 "methods": {
357 "list": { 357 "list": {
358 "description": "Lists analytics data for a user's associated company.\nShould only be called within the context of an authorized logged in u ser.", 358 "description": "Lists analytics data for a user's associated company.\nShould only be called within the context of an authorized logged in u ser.",
359 "httpMethod": "GET", 359 "httpMethod": "GET",
360 "id": "partners.analytics.list", 360 "id": "partners.analytics.list",
361 "parameterOrder": [], 361 "parameterOrder": [],
362 "parameters": { 362 "parameters": {
363 "requestMetadata.trafficSource.trafficSubId": {
364 "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.",
365 "location": "query",
366 "type": "string"
367 },
368 "requestMetadata.userOverrides.userId": { 363 "requestMetadata.userOverrides.userId": {
369 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 364 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
370 "location": "query", 365 "location": "query",
371 "type": "string" 366 "type": "string"
372 }, 367 },
373 "requestMetadata.partnersSessionId": { 368 "requestMetadata.partnersSessionId": {
374 "description": "Google Partners session ID.", 369 "description": "Google Partners session ID.",
375 "location": "query", 370 "location": "query",
376 "type": "string" 371 "type": "string"
377 }, 372 },
(...skipping 21 matching lines...) Expand all
399 "requestMetadata.userOverrides.ipAddress": { 394 "requestMetadata.userOverrides.ipAddress": {
400 "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.",
401 "location": "query", 396 "location": "query",
402 "type": "string" 397 "type": "string"
403 }, 398 },
404 "requestMetadata.experimentIds": { 399 "requestMetadata.experimentIds": {
405 "description": "Experiment IDs the current request b elongs to.", 400 "description": "Experiment IDs the current request b elongs to.",
406 "location": "query", 401 "location": "query",
407 "repeated": true, 402 "repeated": true,
408 "type": "string" 403 "type": "string"
404 },
405 "requestMetadata.trafficSource.trafficSubId": {
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.",
407 "location": "query",
408 "type": "string"
409 } 409 }
410 }, 410 },
411 "path": "v2/analytics", 411 "path": "v2/analytics",
412 "response": { 412 "response": {
413 "$ref": "ListAnalyticsResponse" 413 "$ref": "ListAnalyticsResponse"
414 } 414 }
415 } 415 }
416 } 416 }
417 }, 417 },
418 "v2": { 418 "v2": {
419 "methods": { 419 "methods": {
420 "updateLeads": { 420 "getPartnersstatus": {
421 "description": "Updates the specified lead.", 421 "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 .",
422 "httpMethod": "PATCH", 422 "httpMethod": "GET",
423 "id": "partners.updateLeads", 423 "id": "partners.getPartnersstatus",
424 "parameterOrder": [], 424 "parameterOrder": [],
425 "parameters": { 425 "parameters": {
426 "requestMetadata.trafficSource.trafficSourceId": { 426 "requestMetadata.trafficSource.trafficSourceId": {
427 "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.", 427 "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.",
428 "location": "query", 428 "location": "query",
429 "type": "string" 429 "type": "string"
430 }, 430 },
431 "requestMetadata.locale": { 431 "requestMetadata.locale": {
432 "description": "Locale to use for the current reques t.", 432 "description": "Locale to use for the current reques t.",
433 "location": "query", 433 "location": "query",
434 "type": "string" 434 "type": "string"
435 }, 435 },
436 "requestMetadata.userOverrides.ipAddress": { 436 "requestMetadata.userOverrides.ipAddress": {
437 "description": "IP address to use instead of the use r's geo-located IP address.", 437 "description": "IP address to use instead of the use r's geo-located IP address.",
438 "location": "query", 438 "location": "query",
439 "type": "string" 439 "type": "string"
440 }, 440 },
441 "updateMask": {
442 "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.",
443 "format": "google-fieldmask",
444 "location": "query",
445 "type": "string"
446 },
447 "requestMetadata.experimentIds": { 441 "requestMetadata.experimentIds": {
448 "description": "Experiment IDs the current request b elongs to.", 442 "description": "Experiment IDs the current request b elongs to.",
449 "location": "query", 443 "location": "query",
450 "repeated": true, 444 "repeated": true,
451 "type": "string" 445 "type": "string"
452 }, 446 },
453 "requestMetadata.trafficSource.trafficSubId": { 447 "requestMetadata.trafficSource.trafficSubId": {
454 "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.", 448 "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.",
455 "location": "query", 449 "location": "query",
456 "type": "string" 450 "type": "string"
457 }, 451 },
458 "requestMetadata.userOverrides.userId": {
459 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
460 "location": "query",
461 "type": "string"
462 },
463 "requestMetadata.partnersSessionId": {
464 "description": "Google Partners session ID.",
465 "location": "query",
466 "type": "string"
467 }
468 },
469 "path": "v2/leads",
470 "request": {
471 "$ref": "Lead"
472 },
473 "response": {
474 "$ref": "Lead"
475 }
476 },
477 "updateCompanies": {
478 "description": "Update company.\nShould only be called withi n the context of an authorized logged in user.",
479 "httpMethod": "PATCH",
480 "id": "partners.updateCompanies",
481 "parameterOrder": [],
482 "parameters": {
483 "requestMetadata.userOverrides.userId": {
484 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
485 "location": "query",
486 "type": "string"
487 },
488 "requestMetadata.partnersSessionId": { 452 "requestMetadata.partnersSessionId": {
489 "description": "Google Partners session ID.", 453 "description": "Google Partners session ID.",
490 "location": "query", 454 "location": "query",
491 "type": "string" 455 "type": "string"
492 }, 456 },
457 "requestMetadata.userOverrides.userId": {
458 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
459 "location": "query",
460 "type": "string"
461 }
462 },
463 "path": "v2/partnersstatus",
464 "response": {
465 "$ref": "GetPartnersStatusResponse"
466 }
467 },
468 "updateLeads": {
469 "description": "Updates the specified lead.",
470 "httpMethod": "PATCH",
471 "id": "partners.updateLeads",
472 "parameterOrder": [],
473 "parameters": {
493 "requestMetadata.trafficSource.trafficSourceId": { 474 "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.", 475 "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", 476 "location": "query",
496 "type": "string" 477 "type": "string"
497 }, 478 },
498 "requestMetadata.locale": { 479 "requestMetadata.locale": {
499 "description": "Locale to use for the current reques t.", 480 "description": "Locale to use for the current reques t.",
500 "location": "query", 481 "location": "query",
501 "type": "string" 482 "type": "string"
502 }, 483 },
503 "requestMetadata.userOverrides.ipAddress": { 484 "requestMetadata.userOverrides.ipAddress": {
504 "description": "IP address to use instead of the use r's geo-located IP address.", 485 "description": "IP address to use instead of the use r's geo-located IP address.",
505 "location": "query", 486 "location": "query",
506 "type": "string" 487 "type": "string"
507 }, 488 },
508 "updateMask": { 489 "updateMask": {
509 "description": "Standard field mask for the set of f ields to be updated.\nRequired with at least 1 value in FieldMask's paths.", 490 "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.",
510 "format": "google-fieldmask", 491 "format": "google-fieldmask",
511 "location": "query", 492 "location": "query",
512 "type": "string" 493 "type": "string"
513 }, 494 },
514 "requestMetadata.experimentIds": { 495 "requestMetadata.experimentIds": {
515 "description": "Experiment IDs the current request b elongs to.", 496 "description": "Experiment IDs the current request b elongs to.",
516 "location": "query", 497 "location": "query",
517 "repeated": true, 498 "repeated": true,
518 "type": "string" 499 "type": "string"
519 }, 500 },
520 "requestMetadata.trafficSource.trafficSubId": { 501 "requestMetadata.trafficSource.trafficSubId": {
521 "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.", 502 "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.",
522 "location": "query", 503 "location": "query",
523 "type": "string" 504 "type": "string"
524 } 505 },
525 },
526 "path": "v2/companies",
527 "request": {
528 "$ref": "Company"
529 },
530 "response": {
531 "$ref": "Company"
532 }
533 },
534 "getPartnersstatus": {
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 .",
536 "httpMethod": "GET",
537 "id": "partners.getPartnersstatus",
538 "parameterOrder": [],
539 "parameters": {
540 "requestMetadata.partnersSessionId": { 506 "requestMetadata.partnersSessionId": {
541 "description": "Google Partners session ID.", 507 "description": "Google Partners session ID.",
542 "location": "query", 508 "location": "query",
543 "type": "string" 509 "type": "string"
544 }, 510 },
545 "requestMetadata.userOverrides.userId": { 511 "requestMetadata.userOverrides.userId": {
546 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 512 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
547 "location": "query", 513 "location": "query",
548 "type": "string" 514 "type": "string"
549 }, 515 }
550 "requestMetadata.trafficSource.trafficSourceId": { 516 },
551 "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.", 517 "path": "v2/leads",
518 "request": {
519 "$ref": "Lead"
520 },
521 "response": {
522 "$ref": "Lead"
523 }
524 },
525 "updateCompanies": {
526 "description": "Update company.\nShould only be called withi n the context of an authorized logged in user.",
527 "httpMethod": "PATCH",
528 "id": "partners.updateCompanies",
529 "parameterOrder": [],
530 "parameters": {
531 "requestMetadata.userOverrides.ipAddress": {
532 "description": "IP address to use instead of the use r's geo-located IP address.",
552 "location": "query", 533 "location": "query",
553 "type": "string" 534 "type": "string"
554 }, 535 },
555 "requestMetadata.locale": { 536 "updateMask": {
556 "description": "Locale to use for the current reques t.", 537 "description": "Standard field mask for the set of f ields to be updated.\nRequired with at least 1 value in FieldMask's paths.",
557 "location": "query", 538 "format": "google-fieldmask",
558 "type": "string"
559 },
560 "requestMetadata.userOverrides.ipAddress": {
561 "description": "IP address to use instead of the use r's geo-located IP address.",
562 "location": "query", 539 "location": "query",
563 "type": "string" 540 "type": "string"
564 }, 541 },
565 "requestMetadata.experimentIds": { 542 "requestMetadata.experimentIds": {
566 "description": "Experiment IDs the current request b elongs to.", 543 "description": "Experiment IDs the current request b elongs to.",
567 "location": "query", 544 "location": "query",
568 "repeated": true, 545 "repeated": true,
569 "type": "string" 546 "type": "string"
570 }, 547 },
571 "requestMetadata.trafficSource.trafficSubId": { 548 "requestMetadata.trafficSource.trafficSubId": {
572 "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.", 549 "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.",
573 "location": "query", 550 "location": "query",
574 "type": "string" 551 "type": "string"
552 },
553 "requestMetadata.userOverrides.userId": {
554 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
555 "location": "query",
556 "type": "string"
557 },
558 "requestMetadata.partnersSessionId": {
559 "description": "Google Partners session ID.",
560 "location": "query",
561 "type": "string"
562 },
563 "requestMetadata.trafficSource.trafficSourceId": {
564 "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.",
565 "location": "query",
566 "type": "string"
567 },
568 "requestMetadata.locale": {
569 "description": "Locale to use for the current reques t.",
570 "location": "query",
571 "type": "string"
575 } 572 }
576 }, 573 },
577 "path": "v2/partnersstatus", 574 "path": "v2/companies",
575 "request": {
576 "$ref": "Company"
577 },
578 "response": { 578 "response": {
579 "$ref": "GetPartnersStatusResponse" 579 "$ref": "Company"
580 } 580 }
581 } 581 }
582 } 582 }
583 }, 583 },
584 "users": { 584 "companies": {
585 "methods": { 585 "methods": {
586 "createCompanyRelation": { 586 "get": {
587 "description": "Creates a user's company relation. Affiliate s the user to a company.", 587 "description": "Gets a company.",
588 "httpMethod": "PUT", 588 "httpMethod": "GET",
589 "id": "partners.users.createCompanyRelation", 589 "id": "partners.companies.get",
590 "parameterOrder": [ 590 "parameterOrder": [
591 "userId" 591 "companyId"
592 ], 592 ],
593 "parameters": { 593 "parameters": {
594 "requestMetadata.trafficSource.trafficSourceId": { 594 "requestMetadata.trafficSource.trafficSourceId": {
595 "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.", 595 "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.",
596 "location": "query", 596 "location": "query",
597 "type": "string" 597 "type": "string"
598 }, 598 },
599 "requestMetadata.locale": {
600 "description": "Locale to use for the current reques t.",
601 "location": "query",
602 "type": "string"
603 },
604 "requestMetadata.userOverrides.ipAddress": { 599 "requestMetadata.userOverrides.ipAddress": {
605 "description": "IP address to use instead of the use r's geo-located IP address.", 600 "description": "IP address to use instead of the use r's geo-located IP address.",
606 "location": "query", 601 "location": "query",
607 "type": "string" 602 "type": "string"
608 }, 603 },
604 "companyId": {
605 "description": "The ID of the company to retrieve.",
606 "location": "path",
607 "required": true,
608 "type": "string"
609 },
609 "requestMetadata.experimentIds": { 610 "requestMetadata.experimentIds": {
610 "description": "Experiment IDs the current request b elongs to.", 611 "description": "Experiment IDs the current request b elongs to.",
611 "location": "query", 612 "location": "query",
612 "repeated": true, 613 "repeated": true,
613 "type": "string" 614 "type": "string"
614 }, 615 },
615 "requestMetadata.trafficSource.trafficSubId": { 616 "currencyCode": {
616 "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.", 617 "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.",
617 "location": "query", 618 "location": "query",
618 "type": "string" 619 "type": "string"
619 }, 620 },
620 "userId": { 621 "orderBy": {
621 "description": "The ID of the user. Can be set to <c ode>me</code> to mean\nthe currently authenticated user.", 622 "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.",
622 "location": "path",
623 "required": true,
624 "type": "string"
625 },
626 "requestMetadata.userOverrides.userId": {
627 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
628 "location": "query", 623 "location": "query",
629 "type": "string" 624 "type": "string"
630 }, 625 },
631 "requestMetadata.partnersSessionId": {
632 "description": "Google Partners session ID.",
633 "location": "query",
634 "type": "string"
635 }
636 },
637 "path": "v2/users/{userId}/companyRelation",
638 "request": {
639 "$ref": "CompanyRelation"
640 },
641 "response": {
642 "$ref": "CompanyRelation"
643 }
644 },
645 "deleteCompanyRelation": {
646 "description": "Deletes a user's company relation. Unaffilia ites the user from a company.",
647 "httpMethod": "DELETE",
648 "id": "partners.users.deleteCompanyRelation",
649 "parameterOrder": [
650 "userId"
651 ],
652 "parameters": {
653 "requestMetadata.experimentIds": {
654 "description": "Experiment IDs the current request b elongs to.",
655 "location": "query",
656 "repeated": true,
657 "type": "string"
658 },
659 "userId": {
660 "description": "The ID of the user. Can be set to <c ode>me</code> to mean\nthe currently authenticated user.",
661 "location": "path",
662 "required": true,
663 "type": "string"
664 },
665 "requestMetadata.trafficSource.trafficSubId": { 626 "requestMetadata.trafficSource.trafficSubId": {
666 "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.", 627 "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.",
667 "location": "query", 628 "location": "query",
668 "type": "string" 629 "type": "string"
669 }, 630 },
631 "requestMetadata.userOverrides.userId": {
632 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
633 "location": "query",
634 "type": "string"
635 },
670 "requestMetadata.partnersSessionId": { 636 "requestMetadata.partnersSessionId": {
671 "description": "Google Partners session ID.", 637 "description": "Google Partners session ID.",
672 "location": "query", 638 "location": "query",
673 "type": "string" 639 "type": "string"
674 }, 640 },
675 "requestMetadata.userOverrides.userId": { 641 "view": {
676 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 642 "description": "The view of `Company` resource to be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.",
643 "enum": [
644 "COMPANY_VIEW_UNSPECIFIED",
645 "CV_GOOGLE_PARTNER_SEARCH"
646 ],
677 "location": "query", 647 "location": "query",
678 "type": "string" 648 "type": "string"
679 }, 649 },
680 "requestMetadata.trafficSource.trafficSourceId": {
681 "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.",
682 "location": "query",
683 "type": "string"
684 },
685 "requestMetadata.locale": { 650 "requestMetadata.locale": {
686 "description": "Locale to use for the current reques t.", 651 "description": "Locale to use for the current reques t.",
687 "location": "query", 652 "location": "query",
688 "type": "string" 653 "type": "string"
689 }, 654 },
690 "requestMetadata.userOverrides.ipAddress": { 655 "address": {
691 "description": "IP address to use instead of the use r's geo-located IP address.", 656 "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.",
692 "location": "query", 657 "location": "query",
693 "type": "string" 658 "type": "string"
694 } 659 }
695 }, 660 },
696 "path": "v2/users/{userId}/companyRelation", 661 "path": "v2/companies/{companyId}",
697 "response": { 662 "response": {
698 "$ref": "Empty" 663 "$ref": "GetCompanyResponse"
699 } 664 }
700 }, 665 },
701 "get": { 666 "list": {
702 "description": "Gets a user.", 667 "description": "Lists companies.",
703 "httpMethod": "GET", 668 "httpMethod": "GET",
704 "id": "partners.users.get", 669 "id": "partners.companies.list",
705 "parameterOrder": [ 670 "parameterOrder": [],
706 "userId"
707 ],
708 "parameters": { 671 "parameters": {
709 "requestMetadata.userOverrides.userId": { 672 "requestMetadata.trafficSource.trafficSourceId": {
710 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 673 "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.",
711 "location": "query", 674 "location": "query",
712 "type": "string" 675 "type": "string"
713 }, 676 },
677 "maxMonthlyBudget.units": {
678 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
679 "format": "int64",
680 "location": "query",
681 "type": "string"
682 },
683 "requestMetadata.trafficSource.trafficSubId": {
684 "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.",
685 "location": "query",
686 "type": "string"
687 },
688 "minMonthlyBudget.nanos": {
689 "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.",
690 "format": "int32",
691 "location": "query",
692 "type": "integer"
693 },
714 "requestMetadata.partnersSessionId": { 694 "requestMetadata.partnersSessionId": {
715 "description": "Google Partners session ID.", 695 "description": "Google Partners session ID.",
716 "location": "query", 696 "location": "query",
717 "type": "string" 697 "type": "string"
718 }, 698 },
719 "userView": { 699 "companyName": {
720 "description": "Specifies what parts of the user inf ormation to return.", 700 "description": "Company name to search for.",
721 "enum": [
722 "BASIC",
723 "PROFILE",
724 "PUBLIC_PROFILE"
725 ],
726 "location": "query", 701 "location": "query",
727 "type": "string" 702 "type": "string"
728 }, 703 },
729 "requestMetadata.trafficSource.trafficSourceId": { 704 "pageToken": {
730 "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.", 705 "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.",
731 "location": "query", 706 "location": "query",
732 "type": "string" 707 "type": "string"
733 }, 708 },
734 "requestMetadata.locale": { 709 "industries": {
735 "description": "Locale to use for the current reques t.", 710 "description": "List of industries the company can h elp with.",
711 "enum": [
712 "INDUSTRY_UNSPECIFIED",
713 "I_AUTOMOTIVE",
714 "I_BUSINESS_TO_BUSINESS",
715 "I_CONSUMER_PACKAGED_GOODS",
716 "I_EDUCATION",
717 "I_FINANCE",
718 "I_HEALTHCARE",
719 "I_MEDIA_AND_ENTERTAINMENT",
720 "I_RETAIL",
721 "I_TECHNOLOGY",
722 "I_TRAVEL"
723 ],
724 "location": "query",
725 "repeated": true,
726 "type": "string"
727 },
728 "websiteUrl": {
729 "description": "Website URL that will help to find a better matched company.\n.",
736 "location": "query", 730 "location": "query",
737 "type": "string" 731 "type": "string"
738 }, 732 },
733 "gpsMotivations": {
734 "description": "List of reasons for using Google Par tner Search to get companies.",
735 "enum": [
736 "GPS_MOTIVATION_UNSPECIFIED",
737 "GPSM_HELP_WITH_ADVERTISING",
738 "GPSM_HELP_WITH_WEBSITE",
739 "GPSM_NO_WEBSITE"
740 ],
741 "location": "query",
742 "repeated": true,
743 "type": "string"
744 },
745 "languageCodes": {
746 "description": "List of language codes that company can support. Only primary language\nsubtags are accepted as defined by\n<a href= \"https://tools.ietf.org/html/bcp47\">BCP 47</a>\n(IETF BCP 47, \"Tags for Ident ifying Languages\").",
747 "location": "query",
748 "repeated": true,
749 "type": "string"
750 },
751 "pageSize": {
752 "description": "Requested page size. Server may retu rn fewer companies than requested.\nIf unspecified, server picks an appropriate default.",
753 "format": "int32",
754 "location": "query",
755 "type": "integer"
756 },
739 "requestMetadata.userOverrides.ipAddress": { 757 "requestMetadata.userOverrides.ipAddress": {
740 "description": "IP address to use instead of the use r's geo-located IP address.", 758 "description": "IP address to use instead of the use r's geo-located IP address.",
741 "location": "query", 759 "location": "query",
742 "type": "string"
743 },
744 "requestMetadata.experimentIds": {
745 "description": "Experiment IDs the current request b elongs to.",
746 "location": "query",
747 "repeated": true,
748 "type": "string"
749 },
750 "userId": {
751 "description": "Identifier of the user. Can be set t o <code>me</code> to mean the currently\nauthenticated user.",
752 "location": "path",
753 "required": true,
754 "type": "string"
755 },
756 "requestMetadata.trafficSource.trafficSubId": {
757 "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.",
758 "location": "query",
759 "type": "string"
760 }
761 },
762 "path": "v2/users/{userId}",
763 "response": {
764 "$ref": "User"
765 }
766 },
767 "updateProfile": {
768 "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.",
769 "httpMethod": "PATCH",
770 "id": "partners.users.updateProfile",
771 "parameterOrder": [],
772 "parameters": {
773 "requestMetadata.locale": {
774 "description": "Locale to use for the current reques t.",
775 "location": "query",
776 "type": "string"
777 },
778 "requestMetadata.userOverrides.ipAddress": {
779 "description": "IP address to use instead of the use r's geo-located IP address.",
780 "location": "query",
781 "type": "string" 760 "type": "string"
782 }, 761 },
783 "requestMetadata.experimentIds": { 762 "requestMetadata.experimentIds": {
784 "description": "Experiment IDs the current request b elongs to.", 763 "description": "Experiment IDs the current request b elongs to.",
785 "location": "query", 764 "location": "query",
786 "repeated": true, 765 "repeated": true,
787 "type": "string" 766 "type": "string"
788 }, 767 },
789 "requestMetadata.trafficSource.trafficSubId": { 768 "orderBy": {
790 "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.", 769 "description": "How to order addresses within the re turned companies. Currently, only\n`address` and `address desc` is supported whi ch will sorted by closest to\nfarthest in distance from given address and farthe st to closest distance\nfrom given address respectively.",
770 "location": "query",
771 "type": "string"
772 },
773 "specializations": {
774 "description": "List of specializations that the ret urned agencies should provide. If this\nis not empty, any returned agency must h ave at least one of these\nspecializations, or one of the services in the \"serv ices\" field.",
775 "enum": [
776 "BADGE_SPECIALIZATION_UNKNOWN",
777 "BADGE_SPECIALIZATION_ADWORDS_SEARCH",
778 "BADGE_SPECIALIZATION_ADWORDS_DISPLAY",
779 "BADGE_SPECIALIZATION_ADWORDS_MOBILE",
780 "BADGE_SPECIALIZATION_ADWORDS_VIDEO",
781 "BADGE_SPECIALIZATION_ADWORDS_SHOPPING"
782 ],
783 "location": "query",
784 "repeated": true,
785 "type": "string"
786 },
787 "maxMonthlyBudget.currencyCode": {
788 "description": "The 3-letter currency code defined i n ISO 4217.",
791 "location": "query", 789 "location": "query",
792 "type": "string" 790 "type": "string"
793 }, 791 },
794 "requestMetadata.userOverrides.userId": { 792 "requestMetadata.userOverrides.userId": {
795 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 793 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
796 "location": "query", 794 "location": "query",
797 "type": "string" 795 "type": "string"
798 }, 796 },
799 "requestMetadata.partnersSessionId": { 797 "minMonthlyBudget.currencyCode": {
800 "description": "Google Partners session ID.", 798 "description": "The 3-letter currency code defined i n ISO 4217.",
801 "location": "query",
802 "type": "string"
803 },
804 "requestMetadata.trafficSource.trafficSourceId": {
805 "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.",
806 "location": "query",
807 "type": "string"
808 }
809 },
810 "path": "v2/users/profile",
811 "request": {
812 "$ref": "UserProfile"
813 },
814 "response": {
815 "$ref": "UserProfile"
816 }
817 }
818 }
819 },
820 "companies": {
821 "methods": {
822 "get": {
823 "description": "Gets a company.",
824 "httpMethod": "GET",
825 "id": "partners.companies.get",
826 "parameterOrder": [
827 "companyId"
828 ],
829 "parameters": {
830 "requestMetadata.partnersSessionId": {
831 "description": "Google Partners session ID.",
832 "location": "query",
833 "type": "string"
834 },
835 "requestMetadata.userOverrides.userId": {
836 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
837 "location": "query", 799 "location": "query",
838 "type": "string" 800 "type": "string"
839 }, 801 },
840 "view": { 802 "view": {
841 "description": "The view of `Company` resource to be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.", 803 "description": "The view of the `Company` resource t o be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.",
842 "enum": [ 804 "enum": [
843 "COMPANY_VIEW_UNSPECIFIED", 805 "COMPANY_VIEW_UNSPECIFIED",
844 "CV_GOOGLE_PARTNER_SEARCH" 806 "CV_GOOGLE_PARTNER_SEARCH"
845 ], 807 ],
846 "location": "query", 808 "location": "query",
847 "type": "string" 809 "type": "string"
848 }, 810 },
811 "address": {
812 "description": "The address to use when searching fo r companies.\nIf not given, the geo-located address of the request is used.",
813 "location": "query",
814 "type": "string"
815 },
849 "requestMetadata.locale": { 816 "requestMetadata.locale": {
850 "description": "Locale to use for the current reques t.", 817 "description": "Locale to use for the current reques t.",
851 "location": "query", 818 "location": "query",
852 "type": "string" 819 "type": "string"
853 }, 820 },
854 "address": {
855 "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.",
856 "location": "query",
857 "type": "string"
858 },
859 "requestMetadata.trafficSource.trafficSourceId": {
860 "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.",
861 "location": "query",
862 "type": "string"
863 },
864 "requestMetadata.userOverrides.ipAddress": {
865 "description": "IP address to use instead of the use r's geo-located IP address.",
866 "location": "query",
867 "type": "string"
868 },
869 "companyId": {
870 "description": "The ID of the company to retrieve.",
871 "location": "path",
872 "required": true,
873 "type": "string"
874 },
875 "currencyCode": {
876 "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.",
877 "location": "query",
878 "type": "string"
879 },
880 "requestMetadata.experimentIds": {
881 "description": "Experiment IDs the current request b elongs to.",
882 "location": "query",
883 "repeated": true,
884 "type": "string"
885 },
886 "requestMetadata.trafficSource.trafficSubId": {
887 "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.",
888 "location": "query",
889 "type": "string"
890 },
891 "orderBy": {
892 "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.",
893 "location": "query",
894 "type": "string"
895 }
896 },
897 "path": "v2/companies/{companyId}",
898 "response": {
899 "$ref": "GetCompanyResponse"
900 }
901 },
902 "list": {
903 "description": "Lists companies.",
904 "httpMethod": "GET",
905 "id": "partners.companies.list",
906 "parameterOrder": [],
907 "parameters": {
908 "languageCodes": {
909 "description": "List of language codes that company can support. Only primary language\nsubtags are accepted as defined by\n<a href= \"https://tools.ietf.org/html/bcp47\">BCP 47</a>\n(IETF BCP 47, \"Tags for Ident ifying Languages\").",
910 "location": "query",
911 "repeated": true,
912 "type": "string"
913 },
914 "pageSize": {
915 "description": "Requested page size. Server may retu rn fewer companies than requested.\nIf unspecified, server picks an appropriate default.",
916 "format": "int32",
917 "location": "query",
918 "type": "integer"
919 },
920 "requestMetadata.userOverrides.ipAddress": {
921 "description": "IP address to use instead of the use r's geo-located IP address.",
922 "location": "query",
923 "type": "string"
924 },
925 "requestMetadata.experimentIds": {
926 "description": "Experiment IDs the current request b elongs to.",
927 "location": "query",
928 "repeated": true,
929 "type": "string"
930 },
931 "orderBy": {
932 "description": "How to order addresses within the re turned companies. Currently, only\n`address` and `address desc` is supported whi ch will sorted by closest to\nfarthest in distance from given address and farthe st to closest distance\nfrom given address respectively.",
933 "location": "query",
934 "type": "string"
935 },
936 "specializations": {
937 "description": "List of specializations that the ret urned agencies should provide. If this\nis not empty, any returned agency must h ave at least one of these\nspecializations, or one of the services in the \"serv ices\" field.",
938 "enum": [
939 "BADGE_SPECIALIZATION_UNKNOWN",
940 "BADGE_SPECIALIZATION_ADWORDS_SEARCH",
941 "BADGE_SPECIALIZATION_ADWORDS_DISPLAY",
942 "BADGE_SPECIALIZATION_ADWORDS_MOBILE",
943 "BADGE_SPECIALIZATION_ADWORDS_VIDEO",
944 "BADGE_SPECIALIZATION_ADWORDS_SHOPPING"
945 ],
946 "location": "query",
947 "repeated": true,
948 "type": "string"
949 },
950 "maxMonthlyBudget.currencyCode": {
951 "description": "The 3-letter currency code defined i n ISO 4217.",
952 "location": "query",
953 "type": "string"
954 },
955 "minMonthlyBudget.currencyCode": {
956 "description": "The 3-letter currency code defined i n ISO 4217.",
957 "location": "query",
958 "type": "string"
959 },
960 "requestMetadata.userOverrides.userId": {
961 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
962 "location": "query",
963 "type": "string"
964 },
965 "view": {
966 "description": "The view of the `Company` resource t o be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.",
967 "enum": [
968 "COMPANY_VIEW_UNSPECIFIED",
969 "CV_GOOGLE_PARTNER_SEARCH"
970 ],
971 "location": "query",
972 "type": "string"
973 },
974 "requestMetadata.locale": {
975 "description": "Locale to use for the current reques t.",
976 "location": "query",
977 "type": "string"
978 },
979 "address": {
980 "description": "The address to use when searching fo r companies.\nIf not given, the geo-located address of the request is used.",
981 "location": "query",
982 "type": "string"
983 },
984 "minMonthlyBudget.units": { 821 "minMonthlyBudget.units": {
985 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", 822 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
986 "format": "int64", 823 "format": "int64",
987 "location": "query", 824 "location": "query",
988 "type": "string" 825 "type": "string"
989 }, 826 },
990 "maxMonthlyBudget.nanos": { 827 "maxMonthlyBudget.nanos": {
991 "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.", 828 "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.",
992 "format": "int32", 829 "format": "int32",
993 "location": "query", 830 "location": "query",
994 "type": "integer" 831 "type": "integer"
995 }, 832 },
996 "services": { 833 "services": {
997 "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.", 834 "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.",
998 "enum": [ 835 "enum": [
999 "SERVICE_UNSPECIFIED", 836 "SERVICE_UNSPECIFIED",
1000 "S_ADVANCED_ADWORDS_SUPPORT", 837 "S_ADVANCED_ADWORDS_SUPPORT",
1001 "S_ADVERTISING_ON_GOOGLE", 838 "S_ADVERTISING_ON_GOOGLE",
1002 "S_AN_ENHANCED_WEBSITE", 839 "S_AN_ENHANCED_WEBSITE",
1003 "S_AN_ONLINE_MARKETING_PLAN", 840 "S_AN_ONLINE_MARKETING_PLAN",
1004 "S_MOBILE_AND_VIDEO_ADS", 841 "S_MOBILE_AND_VIDEO_ADS",
1005 "S_MOBILE_WEBSITE_SERVICES" 842 "S_MOBILE_WEBSITE_SERVICES"
1006 ], 843 ],
1007 "location": "query", 844 "location": "query",
1008 "repeated": true, 845 "repeated": true,
1009 "type": "string" 846 "type": "string"
1010 },
1011 "requestMetadata.trafficSource.trafficSourceId": {
1012 "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.",
1013 "location": "query",
1014 "type": "string"
1015 },
1016 "maxMonthlyBudget.units": {
1017 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
1018 "format": "int64",
1019 "location": "query",
1020 "type": "string"
1021 },
1022 "minMonthlyBudget.nanos": {
1023 "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.",
1024 "format": "int32",
1025 "location": "query",
1026 "type": "integer"
1027 },
1028 "requestMetadata.trafficSource.trafficSubId": {
1029 "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.",
1030 "location": "query",
1031 "type": "string"
1032 },
1033 "requestMetadata.partnersSessionId": {
1034 "description": "Google Partners session ID.",
1035 "location": "query",
1036 "type": "string"
1037 },
1038 "pageToken": {
1039 "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.",
1040 "location": "query",
1041 "type": "string"
1042 },
1043 "companyName": {
1044 "description": "Company name to search for.",
1045 "location": "query",
1046 "type": "string"
1047 },
1048 "industries": {
1049 "description": "List of industries the company can h elp with.",
1050 "enum": [
1051 "INDUSTRY_UNSPECIFIED",
1052 "I_AUTOMOTIVE",
1053 "I_BUSINESS_TO_BUSINESS",
1054 "I_CONSUMER_PACKAGED_GOODS",
1055 "I_EDUCATION",
1056 "I_FINANCE",
1057 "I_HEALTHCARE",
1058 "I_MEDIA_AND_ENTERTAINMENT",
1059 "I_RETAIL",
1060 "I_TECHNOLOGY",
1061 "I_TRAVEL"
1062 ],
1063 "location": "query",
1064 "repeated": true,
1065 "type": "string"
1066 },
1067 "websiteUrl": {
1068 "description": "Website URL that will help to find a better matched company.\n.",
1069 "location": "query",
1070 "type": "string"
1071 },
1072 "gpsMotivations": {
1073 "description": "List of reasons for using Google Par tner Search to get companies.",
1074 "enum": [
1075 "GPS_MOTIVATION_UNSPECIFIED",
1076 "GPSM_HELP_WITH_ADVERTISING",
1077 "GPSM_HELP_WITH_WEBSITE",
1078 "GPSM_NO_WEBSITE"
1079 ],
1080 "location": "query",
1081 "repeated": true,
1082 "type": "string"
1083 } 847 }
1084 }, 848 },
1085 "path": "v2/companies", 849 "path": "v2/companies",
1086 "response": { 850 "response": {
1087 "$ref": "ListCompaniesResponse" 851 "$ref": "ListCompaniesResponse"
1088 } 852 }
1089 } 853 }
1090 }, 854 },
1091 "resources": { 855 "resources": {
1092 "leads": { 856 "leads": {
(...skipping 18 matching lines...) Expand all
1111 "$ref": "CreateLeadRequest" 875 "$ref": "CreateLeadRequest"
1112 }, 876 },
1113 "response": { 877 "response": {
1114 "$ref": "CreateLeadResponse" 878 "$ref": "CreateLeadResponse"
1115 } 879 }
1116 } 880 }
1117 } 881 }
1118 } 882 }
1119 } 883 }
1120 }, 884 },
1121 "userEvents": { 885 "users": {
1122 "methods": { 886 "methods": {
1123 "log": { 887 "get": {
1124 "description": "Logs a user event.", 888 "description": "Gets a user.",
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", 889 "httpMethod": "GET",
1162 "id": "partners.exams.getToken", 890 "id": "partners.users.get",
1163 "parameterOrder": [ 891 "parameterOrder": [
1164 "examType" 892 "userId"
1165 ], 893 ],
1166 "parameters": { 894 "parameters": {
1167 "requestMetadata.trafficSource.trafficSourceId": { 895 "requestMetadata.trafficSource.trafficSourceId": {
1168 "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.", 896 "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.",
1169 "location": "query", 897 "location": "query",
1170 "type": "string" 898 "type": "string"
1171 }, 899 },
1172 "requestMetadata.locale": { 900 "requestMetadata.locale": {
1173 "description": "Locale to use for the current reques t.", 901 "description": "Locale to use for the current reques t.",
1174 "location": "query", 902 "location": "query",
1175 "type": "string" 903 "type": "string"
1176 }, 904 },
1177 "requestMetadata.userOverrides.ipAddress": { 905 "requestMetadata.userOverrides.ipAddress": {
1178 "description": "IP address to use instead of the use r's geo-located IP address.", 906 "description": "IP address to use instead of the use r's geo-located IP address.",
1179 "location": "query", 907 "location": "query",
1180 "type": "string" 908 "type": "string"
1181 }, 909 },
1182 "requestMetadata.experimentIds": { 910 "requestMetadata.experimentIds": {
1183 "description": "Experiment IDs the current request b elongs to.", 911 "description": "Experiment IDs the current request b elongs to.",
1184 "location": "query", 912 "location": "query",
1185 "repeated": true, 913 "repeated": true,
1186 "type": "string" 914 "type": "string"
1187 }, 915 },
916 "userId": {
917 "description": "Identifier of the user. Can be set t o <code>me</code> to mean the currently\nauthenticated user.",
918 "location": "path",
919 "required": true,
920 "type": "string"
921 },
1188 "requestMetadata.trafficSource.trafficSubId": { 922 "requestMetadata.trafficSource.trafficSubId": {
1189 "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.", 923 "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.",
1190 "location": "query", 924 "location": "query",
1191 "type": "string" 925 "type": "string"
1192 }, 926 },
1193 "examType": { 927 "requestMetadata.partnersSessionId": {
1194 "description": "The exam type we are requesting a to ken for.", 928 "description": "Google Partners session ID.",
1195 "enum": [ 929 "location": "query",
1196 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
1197 "CET_ADWORDS_FUNDAMENTALS",
1198 "CET_ADWORDS_ADVANCED_SEARCH",
1199 "CET_ADWORDS_ADVANCED_DISPLAY",
1200 "CET_VIDEO_ADS",
1201 "CET_DOUBLECLICK",
1202 "CET_ANALYTICS",
1203 "CET_SHOPPING",
1204 "CET_MOBILE",
1205 "CET_DIGITAL_SALES",
1206 "CET_MOBILE_SITES"
1207 ],
1208 "location": "path",
1209 "required": true,
1210 "type": "string" 930 "type": "string"
1211 }, 931 },
1212 "requestMetadata.userOverrides.userId": { 932 "requestMetadata.userOverrides.userId": {
1213 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 933 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
1214 "location": "query", 934 "location": "query",
935 "type": "string"
936 },
937 "userView": {
938 "description": "Specifies what parts of the user inf ormation to return.",
939 "enum": [
940 "BASIC",
941 "PROFILE",
942 "PUBLIC_PROFILE"
943 ],
944 "location": "query",
945 "type": "string"
946 }
947 },
948 "path": "v2/users/{userId}",
949 "response": {
950 "$ref": "User"
951 }
952 },
953 "updateProfile": {
954 "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.",
955 "httpMethod": "PATCH",
956 "id": "partners.users.updateProfile",
957 "parameterOrder": [],
958 "parameters": {
959 "requestMetadata.trafficSource.trafficSubId": {
960 "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.",
961 "location": "query",
962 "type": "string"
963 },
964 "requestMetadata.partnersSessionId": {
965 "description": "Google Partners session ID.",
966 "location": "query",
967 "type": "string"
968 },
969 "requestMetadata.userOverrides.userId": {
970 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
971 "location": "query",
972 "type": "string"
973 },
974 "requestMetadata.trafficSource.trafficSourceId": {
975 "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.",
976 "location": "query",
977 "type": "string"
978 },
979 "requestMetadata.locale": {
980 "description": "Locale to use for the current reques t.",
981 "location": "query",
982 "type": "string"
983 },
984 "requestMetadata.userOverrides.ipAddress": {
985 "description": "IP address to use instead of the use r's geo-located IP address.",
986 "location": "query",
987 "type": "string"
988 },
989 "requestMetadata.experimentIds": {
990 "description": "Experiment IDs the current request b elongs to.",
991 "location": "query",
992 "repeated": true,
993 "type": "string"
994 }
995 },
996 "path": "v2/users/profile",
997 "request": {
998 "$ref": "UserProfile"
999 },
1000 "response": {
1001 "$ref": "UserProfile"
1002 }
1003 },
1004 "createCompanyRelation": {
1005 "description": "Creates a user's company relation. Affiliate s the user to a company.",
1006 "httpMethod": "PUT",
1007 "id": "partners.users.createCompanyRelation",
1008 "parameterOrder": [
1009 "userId"
1010 ],
1011 "parameters": {
1012 "requestMetadata.userOverrides.userId": {
1013 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
1014 "location": "query",
1215 "type": "string" 1015 "type": "string"
1216 }, 1016 },
1217 "requestMetadata.partnersSessionId": { 1017 "requestMetadata.partnersSessionId": {
1218 "description": "Google Partners session ID.", 1018 "description": "Google Partners session ID.",
1219 "location": "query", 1019 "location": "query",
1220 "type": "string" 1020 "type": "string"
1021 },
1022 "requestMetadata.trafficSource.trafficSourceId": {
1023 "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.",
1024 "location": "query",
1025 "type": "string"
1026 },
1027 "requestMetadata.locale": {
1028 "description": "Locale to use for the current reques t.",
1029 "location": "query",
1030 "type": "string"
1031 },
1032 "requestMetadata.userOverrides.ipAddress": {
1033 "description": "IP address to use instead of the use r's geo-located IP address.",
1034 "location": "query",
1035 "type": "string"
1036 },
1037 "requestMetadata.experimentIds": {
1038 "description": "Experiment IDs the current request b elongs to.",
1039 "location": "query",
1040 "repeated": true,
1041 "type": "string"
1042 },
1043 "userId": {
1044 "description": "The ID of the user. Can be set to <c ode>me</code> to mean\nthe currently authenticated user.",
1045 "location": "path",
1046 "required": true,
1047 "type": "string"
1048 },
1049 "requestMetadata.trafficSource.trafficSubId": {
1050 "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.",
1051 "location": "query",
1052 "type": "string"
1053 }
1054 },
1055 "path": "v2/users/{userId}/companyRelation",
1056 "request": {
1057 "$ref": "CompanyRelation"
1058 },
1059 "response": {
1060 "$ref": "CompanyRelation"
1061 }
1062 },
1063 "deleteCompanyRelation": {
1064 "description": "Deletes a user's company relation. Unaffilia ites the user from a company.",
1065 "httpMethod": "DELETE",
1066 "id": "partners.users.deleteCompanyRelation",
1067 "parameterOrder": [
1068 "userId"
1069 ],
1070 "parameters": {
1071 "requestMetadata.experimentIds": {
1072 "description": "Experiment IDs the current request b elongs to.",
1073 "location": "query",
1074 "repeated": true,
1075 "type": "string"
1076 },
1077 "userId": {
1078 "description": "The ID of the user. Can be set to <c ode>me</code> to mean\nthe currently authenticated user.",
1079 "location": "path",
1080 "required": true,
1081 "type": "string"
1082 },
1083 "requestMetadata.trafficSource.trafficSubId": {
1084 "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.",
1085 "location": "query",
1086 "type": "string"
1087 },
1088 "requestMetadata.partnersSessionId": {
1089 "description": "Google Partners session ID.",
1090 "location": "query",
1091 "type": "string"
1092 },
1093 "requestMetadata.userOverrides.userId": {
1094 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
1095 "location": "query",
1096 "type": "string"
1097 },
1098 "requestMetadata.trafficSource.trafficSourceId": {
1099 "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.",
1100 "location": "query",
1101 "type": "string"
1102 },
1103 "requestMetadata.locale": {
1104 "description": "Locale to use for the current reques t.",
1105 "location": "query",
1106 "type": "string"
1107 },
1108 "requestMetadata.userOverrides.ipAddress": {
1109 "description": "IP address to use instead of the use r's geo-located IP address.",
1110 "location": "query",
1111 "type": "string"
1112 }
1113 },
1114 "path": "v2/users/{userId}/companyRelation",
1115 "response": {
1116 "$ref": "Empty"
1117 }
1118 }
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 "requestMetadata.trafficSource.trafficSubId": {
1168 "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.",
1169 "location": "query",
1170 "type": "string"
1171 },
1172 "examType": {
1173 "description": "The exam type we are requesting a to ken for.",
1174 "enum": [
1175 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
1176 "CET_ADWORDS_FUNDAMENTALS",
1177 "CET_ADWORDS_ADVANCED_SEARCH",
1178 "CET_ADWORDS_ADVANCED_DISPLAY",
1179 "CET_VIDEO_ADS",
1180 "CET_DOUBLECLICK",
1181 "CET_ANALYTICS",
1182 "CET_SHOPPING",
1183 "CET_MOBILE",
1184 "CET_DIGITAL_SALES",
1185 "CET_MOBILE_SITES"
1186 ],
1187 "location": "path",
1188 "required": true,
1189 "type": "string"
1190 },
1191 "requestMetadata.userOverrides.userId": {
1192 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
1193 "location": "query",
1194 "type": "string"
1195 },
1196 "requestMetadata.partnersSessionId": {
1197 "description": "Google Partners session ID.",
1198 "location": "query",
1199 "type": "string"
1200 },
1201 "requestMetadata.trafficSource.trafficSourceId": {
1202 "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.",
1203 "location": "query",
1204 "type": "string"
1205 },
1206 "requestMetadata.locale": {
1207 "description": "Locale to use for the current reques t.",
1208 "location": "query",
1209 "type": "string"
1210 },
1211 "requestMetadata.userOverrides.ipAddress": {
1212 "description": "IP address to use instead of the use r's geo-located IP address.",
1213 "location": "query",
1214 "type": "string"
1215 },
1216 "requestMetadata.experimentIds": {
1217 "description": "Experiment IDs the current request b elongs to.",
1218 "location": "query",
1219 "repeated": true,
1220 "type": "string"
1221 } 1221 }
1222 }, 1222 },
1223 "path": "v2/exams/{examType}/token", 1223 "path": "v2/exams/{examType}/token",
1224 "response": { 1224 "response": {
1225 "$ref": "ExamToken" 1225 "$ref": "ExamToken"
1226 } 1226 }
1227 } 1227 }
1228 } 1228 }
1229 } 1229 }
1230 }, 1230 },
1231 "revision": "20170503", 1231 "revision": "20170605",
1232 "rootUrl": "https://partners.googleapis.com/", 1232 "rootUrl": "https://partners.googleapis.com/",
1233 "schemas": { 1233 "schemas": {
1234 "Rank": { 1234 "AnalyticsSummary": {
1235 "description": "Information related to ranking of results.", 1235 "description": "Analytics aggregated data for a `Company` for a give n date range.",
1236 "id": "Rank", 1236 "id": "AnalyticsSummary",
1237 "properties": { 1237 "properties": {
1238 "value": { 1238 "contactsCount": {
1239 "description": "The numerical value of the rank.", 1239 "description": "Aggregated number of times users contacted t he `Company`\nfor given date range.",
1240 "format": "double", 1240 "format": "int32",
1241 "type": "number" 1241 "type": "integer"
1242 },
1243 "profileViewsCount": {
1244 "description": "Aggregated number of profile views for the ` Company` for given date range.",
1245 "format": "int32",
1246 "type": "integer"
1247 },
1248 "searchViewsCount": {
1249 "description": "Aggregated number of times users saw the `Co mpany`\nin Google Partners Search results for given date range.",
1250 "format": "int32",
1251 "type": "integer"
1252 }
1253 },
1254 "type": "object"
1255 },
1256 "LogMessageRequest": {
1257 "description": "Request message for\nLogClientMessage.",
1258 "id": "LogMessageRequest",
1259 "properties": {
1260 "level": {
1261 "description": "Message level of client message.",
1262 "enum": [
1263 "MESSAGE_LEVEL_UNSPECIFIED",
1264 "ML_FINE",
1265 "ML_INFO",
1266 "ML_WARNING",
1267 "ML_SEVERE"
1268 ],
1269 "enumDescriptions": [
1270 "Unchosen.",
1271 "Message level for tracing information.",
1272 "Message level for informational messages.",
1273 "Message level for potential problems.",
1274 "Message level for serious failures."
1275 ],
1276 "type": "string"
1277 },
1278 "details": {
1279 "description": "Details about the client message.",
1280 "type": "string"
1281 },
1282 "clientInfo": {
1283 "additionalProperties": {
1284 "type": "string"
1285 },
1286 "description": "Map of client info, such as URL, browser nav igator, browser platform, etc.",
1287 "type": "object"
1288 },
1289 "requestMetadata": {
1290 "$ref": "RequestMetadata",
1291 "description": "Current request metadata."
1292 }
1293 },
1294 "type": "object"
1295 },
1296 "Lead": {
1297 "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).",
1298 "id": "Lead",
1299 "properties": {
1300 "languageCode": {
1301 "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\").",
1302 "type": "string"
1303 },
1304 "websiteUrl": {
1305 "description": "Website URL of lead source.",
1306 "type": "string"
1307 },
1308 "state": {
1309 "description": "The lead's state in relation to the company. ",
1310 "enum": [
1311 "LEAD_STATE_UNSPECIFIED",
1312 "LEAD",
1313 "CONTACTED",
1314 "CLIENT",
1315 "OTHER"
1316 ],
1317 "enumDescriptions": [
1318 "Unchosen.",
1319 "Lead not yet contacted.",
1320 "Lead has been contacted.",
1321 "Lead has become a client.",
1322 "Lead in a state not covered by other options."
1323 ],
1324 "type": "string"
1325 },
1326 "gpsMotivations": {
1327 "description": "List of reasons for using Google Partner Sea rch and creating a lead.",
1328 "enumDescriptions": [
1329 "Unchosen.",
1330 "Advertiser needs help with their advertising.",
1331 "Advertiser needs help with their website.",
1332 "Advertiser does not have a website."
1333 ],
1334 "items": {
1335 "enum": [
1336 "GPS_MOTIVATION_UNSPECIFIED",
1337 "GPSM_HELP_WITH_ADVERTISING",
1338 "GPSM_HELP_WITH_WEBSITE",
1339 "GPSM_NO_WEBSITE"
1340 ],
1341 "type": "string"
1342 },
1343 "type": "array"
1344 },
1345 "email": {
1346 "description": "Email address of lead source.",
1347 "type": "string"
1348 },
1349 "familyName": {
1350 "description": "Last name of lead source.",
1351 "type": "string"
1352 },
1353 "id": {
1354 "description": "ID of the lead.",
1355 "type": "string"
1356 },
1357 "comments": {
1358 "description": "Comments lead source gave.",
1359 "type": "string"
1360 },
1361 "phoneNumber": {
1362 "description": "Phone number of lead source.",
1363 "type": "string"
1364 },
1365 "adwordsCustomerId": {
1366 "description": "The AdWords Customer ID of the lead.",
1367 "format": "int64",
1368 "type": "string"
1369 },
1370 "createTime": {
1371 "description": "Timestamp of when this lead was created.",
1372 "format": "google-datetime",
1373 "type": "string"
1374 },
1375 "marketingOptIn": {
1376 "description": "Whether or not the lead signed up for market ing emails",
1377 "type": "boolean"
1242 }, 1378 },
1243 "type": { 1379 "type": {
1244 "description": "The type of rank.", 1380 "description": "Type of lead.",
1245 "enum": [ 1381 "enum": [
1246 "RANK_TYPE_UNSPECIFIED", 1382 "LEAD_TYPE_UNSPECIFIED",
1247 "RT_FINAL_SCORE" 1383 "LT_GPS"
1248 ], 1384 ],
1249 "enumDescriptions": [ 1385 "enumDescriptions": [
1250 "Unchosen.", 1386 "Unchosen.",
1251 "Total final score." 1387 "Google Partner Search."
1252 ], 1388 ],
1253 "type": "string" 1389 "type": "string"
1254 } 1390 },
1255 }, 1391 "minMonthlyBudget": {
1256 "type": "object" 1392 "$ref": "Money",
1257 }, 1393 "description": "The minimum monthly budget lead source is wi lling to spend."
1258 "UserProfile": { 1394 },
1259 "description": "The profile information of a Partners user.", 1395 "givenName": {
1260 "id": "UserProfile", 1396 "description": "First name of lead source.",
1261 "properties": { 1397 "type": "string"
1262 "languages": { 1398 }
1263 "description": "The list of languages this user understands. ", 1399 },
1400 "type": "object"
1401 },
1402 "DebugInfo": {
1403 "description": "Debug information about this request.",
1404 "id": "DebugInfo",
1405 "properties": {
1406 "serviceUrl": {
1407 "description": "URL of the service that handled this request .",
1408 "type": "string"
1409 },
1410 "serverInfo": {
1411 "description": "Info about the server that serviced this req uest.",
1412 "type": "string"
1413 },
1414 "serverTraceInfo": {
1415 "description": "Server-side debug stack trace.",
1416 "type": "string"
1417 }
1418 },
1419 "type": "object"
1420 },
1421 "ListUserStatesResponse": {
1422 "description": "Response message for\nListUserStates.",
1423 "id": "ListUserStatesResponse",
1424 "properties": {
1425 "userStates": {
1426 "description": "User's states.",
1427 "enumDescriptions": [
1428 "Unchosen.",
1429 "User must pass <a href=\"https://www.google.com/recaptc ha/\">reCaptcha</a> to\ncontact a Partner via Google Partner Search."
1430 ],
1264 "items": { 1431 "items": {
1432 "enum": [
1433 "USER_STATE_UNSPECIFIED",
1434 "US_REQUIRES_RECAPTCHA_FOR_GPS_CONTACT"
1435 ],
1265 "type": "string" 1436 "type": "string"
1266 }, 1437 },
1267 "type": "array" 1438 "type": "array"
1268 }, 1439 },
1269 "emailOptIns": {
1270 "$ref": "OptIns",
1271 "description": "The list of opt-ins for the user, related to communication preferences."
1272 },
1273 "familyName": {
1274 "description": "The user's family name.",
1275 "type": "string"
1276 },
1277 "markets": {
1278 "description": "A list of ids representing which markets the user was interested in.",
1279 "items": {
1280 "type": "string"
1281 },
1282 "type": "array"
1283 },
1284 "adwordsManagerAccount": {
1285 "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.",
1286 "format": "int64",
1287 "type": "string"
1288 },
1289 "phoneNumber": {
1290 "description": "The user's phone number.",
1291 "type": "string"
1292 },
1293 "primaryCountryCode": {
1294 "description": "The user's primary country, an ISO 2-charact er code.",
1295 "type": "string"
1296 },
1297 "emailAddress": {
1298 "description": "The email address the user has selected on t he Partners site as primary.",
1299 "type": "string"
1300 },
1301 "profilePublic": {
1302 "description": "Whether the user's public profile is visible to anyone with the URL.",
1303 "type": "boolean"
1304 },
1305 "channels": {
1306 "description": "A list of ids representing which channels th e user selected they were in.",
1307 "items": {
1308 "type": "string"
1309 },
1310 "type": "array"
1311 },
1312 "jobFunctions": {
1313 "description": "A list of ids represnting which job categori es the user selected.",
1314 "items": {
1315 "type": "string"
1316 },
1317 "type": "array"
1318 },
1319 "givenName": {
1320 "description": "The user's given name.",
1321 "type": "string"
1322 },
1323 "address": {
1324 "$ref": "Location",
1325 "description": "The user's mailing address, contains multipl e fields."
1326 },
1327 "industries": {
1328 "description": "A list of ids representing which industries the user selected.",
1329 "items": {
1330 "type": "string"
1331 },
1332 "type": "array"
1333 }
1334 },
1335 "type": "object"
1336 },
1337 "GetPartnersStatusResponse": {
1338 "description": "Response message for\nGetPartnersStatus.",
1339 "id": "GetPartnersStatusResponse",
1340 "properties": {
1341 "responseMetadata": { 1440 "responseMetadata": {
1342 "$ref": "ResponseMetadata", 1441 "$ref": "ResponseMetadata",
1343 "description": "Current response metadata." 1442 "description": "Current response metadata."
1344 } 1443 }
1345 }, 1444 },
1346 "type": "object" 1445 "type": "object"
1347 }, 1446 },
1348 "HistoricalOffer": { 1447 "CompanyRelation": {
1349 "description": "Historical information about a Google Partners Offer .", 1448 "description": "A CompanyRelation resource representing information about a user's\naffiliation and standing with a company in Partners.",
1350 "id": "HistoricalOffer", 1449 "id": "CompanyRelation",
1351 "properties": { 1450 "properties": {
1352 "adwordsUrl": { 1451 "resolvedTimestamp": {
1353 "description": "Client's AdWords page URL.", 1452 "description": "The timestamp when the user was approved.\n@ OutputOnly",
1354 "type": "string" 1453 "format": "google-datetime",
1355 }, 1454 "type": "string"
1455 },
1456 "companyAdmin": {
1457 "description": "Indicates if the user is an admin for this c ompany.",
1458 "type": "boolean"
1459 },
1460 "address": {
1461 "description": "The primary address for this company.",
1462 "type": "string"
1463 },
1464 "isPending": {
1465 "description": "The flag that indicates if the company is pe nding verification.",
1466 "type": "boolean"
1467 },
1468 "creationTime": {
1469 "description": "The timestamp of when affiliation was reques ted.\n@OutputOnly",
1470 "format": "google-datetime",
1471 "type": "string"
1472 },
1473 "primaryAddress": {
1474 "$ref": "Location",
1475 "description": "The primary location of the company."
1476 },
1477 "state": {
1478 "description": "The state of relationship, in terms of appro vals.",
1479 "enum": [
1480 "USER_COMPANY_REATION_STATE_NONE_SPECIFIED",
1481 "USER_COMPANY_RELATION_STATE_AWAIT_EMAIL",
1482 "USER_COMPANY_RELATION_STATE_AWAIT_ADMIN",
1483 "USER_COMPANY_RELATION_STATE_APPROVED"
1484 ],
1485 "enumDescriptions": [
1486 "Default unspecified value.",
1487 "User has filled in a request to be associated with an c ompany.\nNow waiting email confirmation.",
1488 "Pending approval from company.\nEmail confirmation will not approve this one.",
1489 "Approved by company."
1490 ],
1491 "type": "string"
1492 },
1493 "name": {
1494 "description": "The name (in the company's primary language) for the company.",
1495 "type": "string"
1496 },
1497 "managerAccount": {
1498 "description": "The AdWords manager account # associated thi s company.",
1499 "format": "int64",
1500 "type": "string"
1501 },
1502 "segment": {
1503 "description": "The segment the company is classified as.",
1504 "enumDescriptions": [
1505 "Default segment indicates an unknown.",
1506 "Segment representing a selected group of Partners",
1507 "Segment representing Premier SMB Partners, an AdWords p artnership program.",
1508 "A segment of Premier SMB Partners that have relationshi p with Google."
1509 ],
1510 "items": {
1511 "enum": [
1512 "COMPANY_SEGMENT_UNKNOWN",
1513 "COMPANY_SEGMENT_NAL",
1514 "COMPANY_SEGMENT_PSP",
1515 "COMPANY_SEGMENT_PPSP"
1516 ],
1517 "type": "string"
1518 },
1519 "type": "array"
1520 },
1521 "internalCompanyId": {
1522 "description": "The internal company ID.\nOnly available for a whitelisted set of api clients.",
1523 "type": "string"
1524 },
1525 "badgeTier": {
1526 "description": "Whether the company is a Partner.",
1527 "enum": [
1528 "BADGE_TIER_NONE",
1529 "BADGE_TIER_REGULAR",
1530 "BADGE_TIER_PREMIER"
1531 ],
1532 "enumDescriptions": [
1533 "Tier badge is not set.",
1534 "Agency has regular partner badge.",
1535 "Agency has premier badge."
1536 ],
1537 "type": "string"
1538 },
1539 "specializationStatus": {
1540 "description": "The list of Google Partners specialization s tatuses for the company.",
1541 "items": {
1542 "$ref": "SpecializationStatus"
1543 },
1544 "type": "array"
1545 },
1546 "phoneNumber": {
1547 "description": "The phone number for the company's primary a ddress.",
1548 "type": "string"
1549 },
1550 "website": {
1551 "description": "The website URL for this company.",
1552 "type": "string"
1553 },
1554 "primaryCountryCode": {
1555 "description": "The primary country code of the company.",
1556 "type": "string"
1557 },
1558 "companyId": {
1559 "description": "The ID of the company. There may be no id if this is a\npending company.5",
1560 "type": "string"
1561 },
1562 "primaryLanguageCode": {
1563 "description": "The primary language code of the company.",
1564 "type": "string"
1565 },
1566 "logoUrl": {
1567 "description": "A URL to a profile photo, e.g. a G+ profile photo.",
1568 "type": "string"
1569 }
1570 },
1571 "type": "object"
1572 },
1573 "Date": {
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`.",
1575 "id": "Date",
1576 "properties": {
1577 "year": {
1578 "description": "Year of date. Must be from 1 to 9999, or 0 i f specifying a date without\na year.",
1579 "format": "int32",
1580 "type": "integer"
1581 },
1582 "day": {
1583 "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not s ignificant.",
1584 "format": "int32",
1585 "type": "integer"
1586 },
1587 "month": {
1588 "description": "Month of year. Must be from 1 to 12.",
1589 "format": "int32",
1590 "type": "integer"
1591 }
1592 },
1593 "type": "object"
1594 },
1595 "Empty": {
1596 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
1597 "id": "Empty",
1598 "properties": {},
1599 "type": "object"
1600 },
1601 "TrafficSource": {
1602 "description": "Source of traffic for the current request.",
1603 "id": "TrafficSource",
1604 "properties": {
1605 "trafficSubId": {
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.",
1607 "type": "string"
1608 },
1609 "trafficSourceId": {
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.",
1611 "type": "string"
1612 }
1613 },
1614 "type": "object"
1615 },
1616 "RequestMetadata": {
1617 "description": "Common data that is in each API request.",
1618 "id": "RequestMetadata",
1619 "properties": {
1620 "userOverrides": {
1621 "$ref": "UserOverrides",
1622 "description": "Values to use instead of the user's respecti ve defaults for the current\nrequest. These are only honored by whitelisted prod ucts."
1623 },
1624 "partnersSessionId": {
1625 "description": "Google Partners session ID.",
1626 "type": "string"
1627 },
1628 "experimentIds": {
1629 "description": "Experiment IDs the current request belongs t o.",
1630 "items": {
1631 "type": "string"
1632 },
1633 "type": "array"
1634 },
1635 "trafficSource": {
1636 "$ref": "TrafficSource",
1637 "description": "Source of traffic for the current request."
1638 },
1639 "locale": {
1640 "description": "Locale to use for the current request.",
1641 "type": "string"
1642 }
1643 },
1644 "type": "object"
1645 },
1646 "CreateLeadRequest": {
1647 "description": "Request message for CreateLead.",
1648 "id": "CreateLeadRequest",
1649 "properties": {
1650 "lead": {
1651 "$ref": "Lead",
1652 "description": "The lead resource. The `LeadType` must not b e `LEAD_TYPE_UNSPECIFIED`\nand either `email` or `phone_number` must be provided ."
1653 },
1654 "recaptchaChallenge": {
1655 "$ref": "RecaptchaChallenge",
1656 "description": "<a href=\"https://www.google.com/recaptcha/\ ">reCaptcha</a> challenge info."
1657 },
1658 "requestMetadata": {
1659 "$ref": "RequestMetadata",
1660 "description": "Current request metadata."
1661 }
1662 },
1663 "type": "object"
1664 },
1665 "EventData": {
1666 "description": "Key value data pair for an event.",
1667 "id": "EventData",
1668 "properties": {
1669 "key": {
1670 "description": "Data type.",
1671 "enum": [
1672 "EVENT_DATA_TYPE_UNSPECIFIED",
1673 "ACTION",
1674 "AGENCY_ID",
1675 "AGENCY_NAME",
1676 "AGENCY_PHONE_NUMBER",
1677 "AGENCY_WEBSITE",
1678 "BUDGET",
1679 "CENTER_POINT",
1680 "CERTIFICATION",
1681 "COMMENT",
1682 "COUNTRY",
1683 "CURRENCY",
1684 "CURRENTLY_VIEWED_AGENCY_ID",
1685 "DISTANCE",
1686 "DISTANCE_TYPE",
1687 "EXAM",
1688 "HISTORY_TOKEN",
1689 "ID",
1690 "INDUSTRY",
1691 "INSIGHT_TAG",
1692 "LANGUAGE",
1693 "LOCATION",
1694 "MARKETING_OPT_IN",
1695 "QUERY",
1696 "SEARCH_START_INDEX",
1697 "SERVICE",
1698 "SHOW_VOW",
1699 "SOLUTION",
1700 "TRAFFIC_SOURCE_ID",
1701 "TRAFFIC_SUB_ID",
1702 "VIEW_PORT",
1703 "WEBSITE",
1704 "DETAILS",
1705 "EXPERIMENT_ID",
1706 "GPS_MOTIVATION",
1707 "URL",
1708 "ELEMENT_FOCUS",
1709 "PROGRESS"
1710 ],
1711 "enumDescriptions": [
1712 "Unchosen.",
1713 "Action data.",
1714 "Agency ID data.",
1715 "Agency name data.",
1716 "Agency phone number data.",
1717 "Agency website data.",
1718 "Budget data.",
1719 "Center-point data.",
1720 "Certification data.",
1721 "Comment data.",
1722 "Country data.",
1723 "Currency data.",
1724 "Currently viewed agency ID data.",
1725 "Distance data.",
1726 "Distance type data.",
1727 "Exam data.",
1728 "History token data.",
1729 "Identifier data.",
1730 "Industry data.",
1731 "Insight tag data.",
1732 "Language data.",
1733 "Location data.",
1734 "Marketing opt-in data.",
1735 "Query data.",
1736 "Search start index data.",
1737 "Service data.",
1738 "Show vow data.",
1739 "Solution data.",
1740 "Traffic source ID data.",
1741 "Traffic sub ID data.",
1742 "Viewport data.",
1743 "Website data.",
1744 "Details data.",
1745 "Experiment ID data.",
1746 "Google Partner Search motivation data.",
1747 "URL data.",
1748 "Element we wanted user to focus on.",
1749 "Progress when viewing an item \\[0-100\\]."
1750 ],
1751 "type": "string"
1752 },
1753 "values": {
1754 "description": "Data values.",
1755 "items": {
1756 "type": "string"
1757 },
1758 "type": "array"
1759 }
1760 },
1761 "type": "object"
1762 },
1763 "ExamStatus": {
1764 "description": "A user's information on a specific exam.",
1765 "id": "ExamStatus",
1766 "properties": {
1767 "warning": {
1768 "description": "Whether this exam is in the state of warning .",
1769 "type": "boolean"
1770 },
1771 "expiration": {
1772 "description": "Date this exam is due to expire.",
1773 "format": "google-datetime",
1774 "type": "string"
1775 },
1776 "lastPassed": {
1777 "description": "The date the user last passed this exam.",
1778 "format": "google-datetime",
1779 "type": "string"
1780 },
1781 "examType": {
1782 "description": "The type of the exam.",
1783 "enum": [
1784 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
1785 "CET_ADWORDS_FUNDAMENTALS",
1786 "CET_ADWORDS_ADVANCED_SEARCH",
1787 "CET_ADWORDS_ADVANCED_DISPLAY",
1788 "CET_VIDEO_ADS",
1789 "CET_DOUBLECLICK",
1790 "CET_ANALYTICS",
1791 "CET_SHOPPING",
1792 "CET_MOBILE",
1793 "CET_DIGITAL_SALES",
1794 "CET_MOBILE_SITES"
1795 ],
1796 "enumDescriptions": [
1797 "Unchosen.",
1798 "Adwords Fundamentals exam.",
1799 "AdWords advanced search exam.",
1800 "AdWords advanced display exam.",
1801 "VideoAds exam.",
1802 "DoubleClick exam.",
1803 "Analytics exam.",
1804 "Shopping exam.",
1805 "Mobile exam.",
1806 "Digital Sales exam.",
1807 "Mobile Sites exam."
1808 ],
1809 "type": "string"
1810 },
1811 "taken": {
1812 "description": "The date the user last taken this exam.",
1813 "format": "google-datetime",
1814 "type": "string"
1815 },
1816 "passed": {
1817 "description": "Whether this exam has been passed and not ex pired.",
1818 "type": "boolean"
1819 }
1820 },
1821 "type": "object"
1822 },
1823 "ListOffersResponse": {
1824 "description": "Response for ListOffer.",
1825 "id": "ListOffersResponse",
1826 "properties": {
1827 "responseMetadata": {
1828 "$ref": "ResponseMetadata",
1829 "description": "Current response metadata."
1830 },
1831 "noOfferReason": {
1832 "description": "Reason why no Offers are available.",
1833 "enum": [
1834 "NO_OFFER_REASON_UNSPECIFIED",
1835 "NO_OFFER_REASON_NO_MCC",
1836 "NO_OFFER_REASON_LIMIT_REACHED",
1837 "NO_OFFER_REASON_INELIGIBLE"
1838 ],
1839 "enumDescriptions": [
1840 "Unset.",
1841 "Not an MCC.",
1842 "Offer limit has been reached.",
1843 "Ineligible for offers."
1844 ],
1845 "type": "string"
1846 },
1847 "availableOffers": {
1848 "description": "Available Offers to be distributed.",
1849 "items": {
1850 "$ref": "AvailableOffer"
1851 },
1852 "type": "array"
1853 }
1854 },
1855 "type": "object"
1856 },
1857 "CountryOfferInfo": {
1858 "description": "Offer info by country.",
1859 "id": "CountryOfferInfo",
1860 "properties": {
1356 "offerType": { 1861 "offerType": {
1357 "description": "Type of offer.", 1862 "description": "Type of offer country is eligible for.",
1358 "enum": [ 1863 "enum": [
1359 "OFFER_TYPE_UNSPECIFIED", 1864 "OFFER_TYPE_UNSPECIFIED",
1360 "OFFER_TYPE_SPEND_X_GET_Y", 1865 "OFFER_TYPE_SPEND_X_GET_Y",
1361 "OFFER_TYPE_VIDEO", 1866 "OFFER_TYPE_VIDEO",
1362 "OFFER_TYPE_SPEND_MATCH" 1867 "OFFER_TYPE_SPEND_MATCH"
1363 ], 1868 ],
1364 "enumDescriptions": [ 1869 "enumDescriptions": [
1365 "Unset.", 1870 "Unset.",
1366 "AdWords spend X get Y.", 1871 "AdWords spend X get Y.",
1367 "Youtube video.", 1872 "Youtube video.",
1368 "Spend Match up to Y." 1873 "Spend Match up to Y."
1369 ], 1874 ],
1370 "type": "string" 1875 "type": "string"
1371 }, 1876 },
1372 "senderName": { 1877 "getYAmount": {
1373 "description": "Name (First + Last) of the partners user to whom the incentive is allocated.", 1878 "description": "(localized) Get Y amount for that country's offer.",
1374 "type": "string" 1879 "type": "string"
1375 }, 1880 },
1376 "offerCountryCode": { 1881 "offerCountryCode": {
1377 "description": "Country Code for the offer country.", 1882 "description": "Country code for which offer codes may be re quested.",
1378 "type": "string" 1883 "type": "string"
1379 }, 1884 },
1380 "expirationTime": { 1885 "spendXAmount": {
1381 "description": "Time this offer expires.", 1886 "description": "(localized) Spend X amount for that country' s offer.",
1887 "type": "string"
1888 }
1889 },
1890 "type": "object"
1891 },
1892 "ListCompaniesResponse": {
1893 "description": "Response message for\nListCompanies.",
1894 "id": "ListCompaniesResponse",
1895 "properties": {
1896 "nextPageToken": {
1897 "description": "A token to retrieve next page of results.\nP ass this value in the `ListCompaniesRequest.page_token` field in the\nsubsequent call to\nListCompanies to retrieve the\nnext page of results.",
1898 "type": "string"
1899 },
1900 "responseMetadata": {
1901 "$ref": "ResponseMetadata",
1902 "description": "Current response metadata."
1903 },
1904 "companies": {
1905 "description": "The list of companies.",
1906 "items": {
1907 "$ref": "Company"
1908 },
1909 "type": "array"
1910 }
1911 },
1912 "type": "object"
1913 },
1914 "OfferCustomer": {
1915 "description": "Customers qualified for an offer.",
1916 "id": "OfferCustomer",
1917 "properties": {
1918 "creationTime": {
1919 "description": "Time the customer was created.",
1382 "format": "google-datetime", 1920 "format": "google-datetime",
1383 "type": "string" 1921 "type": "string"
1384 }, 1922 },
1385 "offerCode": { 1923 "eligibilityDaysLeft": {
1386 "description": "Offer code.", 1924 "description": "Days the customer is still eligible.",
1387 "type": "string"
1388 },
1389 "creationTime": {
1390 "description": "Time offer was first created.",
1391 "format": "google-datetime",
1392 "type": "string"
1393 },
1394 "status": {
1395 "description": "Status of the offer.",
1396 "enum": [
1397 "OFFER_STATUS_UNSPECIFIED",
1398 "OFFER_STATUS_DISTRIBUTED",
1399 "OFFER_STATUS_REDEEMED",
1400 "OFFER_STATUS_AWARDED",
1401 "OFFER_STATUS_EXPIRED"
1402 ],
1403 "enumDescriptions": [
1404 "Unset.",
1405 "Offer distributed.",
1406 "Offer redeemed.",
1407 "Offer awarded.",
1408 "Offer expired."
1409 ],
1410 "type": "string"
1411 },
1412 "clientEmail": {
1413 "description": "Email address for client.",
1414 "type": "string"
1415 },
1416 "clientId": {
1417 "description": "ID of client.",
1418 "format": "int64",
1419 "type": "string"
1420 },
1421 "clientName": {
1422 "description": "Name of the client.",
1423 "type": "string"
1424 },
1425 "lastModifiedTime": {
1426 "description": "Time last action was taken.",
1427 "format": "google-datetime",
1428 "type": "string"
1429 }
1430 },
1431 "type": "object"
1432 },
1433 "LogUserEventRequest": {
1434 "description": "Request message for\nLogUserEvent.",
1435 "id": "LogUserEventRequest",
1436 "properties": {
1437 "eventCategory": {
1438 "description": "The category the action belongs to.",
1439 "enum": [
1440 "EVENT_CATEGORY_UNSPECIFIED",
1441 "GOOGLE_PARTNER_SEARCH",
1442 "GOOGLE_PARTNER_SIGNUP_FLOW",
1443 "GOOGLE_PARTNER_PORTAL",
1444 "GOOGLE_PARTNER_PORTAL_MY_PROFILE",
1445 "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS",
1446 "GOOGLE_PARTNER_PORTAL_COMMUNITY",
1447 "GOOGLE_PARTNER_PORTAL_INSIGHTS",
1448 "GOOGLE_PARTNER_PORTAL_CLIENTS",
1449 "GOOGLE_PARTNER_PUBLIC_USER_PROFILE",
1450 "GOOGLE_PARTNER_PANEL",
1451 "GOOGLE_PARTNER_PORTAL_LAST_ADMIN_DIALOG",
1452 "GOOGLE_PARTNER_CLIENT",
1453 "GOOGLE_PARTNER_PORTAL_COMPANY_PROFILE",
1454 "EXTERNAL_LINKS",
1455 "GOOGLE_PARTNER_LANDING"
1456 ],
1457 "enumDescriptions": [
1458 "Unchosen.",
1459 "Google Partner Search category.",
1460 "Google Partner sign-up flow category.",
1461 "Google Partner portal category.",
1462 "Google Partner portal my-profile category.",
1463 "Google Partner portal certifications category.",
1464 "Google Partner portal community category.",
1465 "Google Partner portal insights category.",
1466 "Google Partner portal clients category.",
1467 "Google Partner portal public user profile category.",
1468 "Google Partner panel category.",
1469 "Google Partner portal last admin dialog category.",
1470 "Google Partner client category.",
1471 "Google Partner portal company profile category.",
1472 "External links category.",
1473 "Google Partner landing category."
1474 ],
1475 "type": "string"
1476 },
1477 "lead": {
1478 "$ref": "Lead",
1479 "description": "Advertiser lead information."
1480 },
1481 "eventAction": {
1482 "description": "The action that occurred.",
1483 "enum": [
1484 "EVENT_ACTION_UNSPECIFIED",
1485 "SMB_CLICKED_FIND_A_PARTNER_BUTTON_BOTTOM",
1486 "SMB_CLICKED_FIND_A_PARTNER_BUTTON_TOP",
1487 "AGENCY_CLICKED_JOIN_NOW_BUTTON_BOTTOM",
1488 "AGENCY_CLICKED_JOIN_NOW_BUTTON_TOP",
1489 "SMB_CANCELED_PARTNER_CONTACT_FORM",
1490 "SMB_CLICKED_CONTACT_A_PARTNER",
1491 "SMB_COMPLETED_PARTNER_CONTACT_FORM",
1492 "SMB_ENTERED_EMAIL_IN_CONTACT_PARTNER_FORM",
1493 "SMB_ENTERED_NAME_IN_CONTACT_PARTNER_FORM",
1494 "SMB_ENTERED_PHONE_IN_CONTACT_PARTNER_FORM",
1495 "SMB_FAILED_RECAPTCHA_IN_CONTACT_PARTNER_FORM",
1496 "PARTNER_VIEWED_BY_SMB",
1497 "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_GPS",
1498 "SMB_CHANGED_A_SEARCH_PARAMETER_TOP",
1499 "SMB_CLICKED_CONTACT_A_PARTNER_ON_GPS",
1500 "SMB_CLICKED_SHOW_MORE_PARTNERS_BUTTON_BOTTOM",
1501 "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_GPS",
1502 "SMB_NO_PARTNERS_AVAILABLE_WITH_SEARCH_CRITERIA",
1503 "SMB_PERFORMED_SEARCH_ON_GPS",
1504 "SMB_VIEWED_A_PARTNER_ON_GPS",
1505 "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE",
1506 "SMB_CLICKED_CONTACT_A_PARTNER_ON_PROFILE_PAGE",
1507 "SMB_CLICKED_PARTNER_WEBSITE",
1508 "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE",
1509 "SMB_VIEWED_A_PARTNER_PROFILE",
1510 "AGENCY_CLICKED_ACCEPT_TOS_BUTTON",
1511 "AGENCY_CHANGED_TOS_COUNTRY",
1512 "AGENCY_ADDED_ADDRESS_IN_MY_PROFILE_PORTAL",
1513 "AGENCY_ADDED_PHONE_NUMBER_IN_MY_PROFILE_PORTAL",
1514 "AGENCY_CHANGED_PRIMARY_ACCOUNT_ASSOCIATION",
1515 "AGENCY_CHANGED_PRIMARY_COUNTRY_ASSOCIATION",
1516 "AGENCY_CLICKED_AFFILIATE_BUTTON_IN_MY_PROFILE_IN_PORTAL ",
1517 "AGENCY_CLICKED_GIVE_EDIT_ACCESS_IN_MY_PROFILE_PORTAL",
1518 "AGENCY_CLICKED_LOG_OUT_IN_MY_PROFILE_PORTAL",
1519 "AGENCY_CLICKED_MY_PROFILE_LEFT_NAV_IN_PORTAL",
1520 "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_COMPLETE_PRO FILE",
1521 "AGENCY_CLICKED_UNAFFILIATE_IN_MY_PROFILE_PORTAL",
1522 "AGENCY_FILLED_OUT_COMP_AFFILIATION_IN_MY_PROFILE_PORTAL ",
1523 "AGENCY_SUCCESSFULLY_CONNECTED_WITH_COMPANY_IN_MY_PROFIL E",
1524 "AGENCY_CLICKED_CREATE_MCC_IN_MY_PROFILE_PORTAL",
1525 "AGENCY_DIDNT_HAVE_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE ",
1526 "AGENCY_HAD_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE",
1527 "AGENCY_ADDED_JOB_FUNCTION_IN_MY_PROFILE_PORTAL",
1528 "AGENCY_LOOKED_AT_JOB_FUNCTION_DROP_DOWN",
1529 "AGENCY_SELECTED_ACCOUNT_MANAGER_AS_JOB_FUNCTION",
1530 "AGENCY_SELECTED_ACCOUNT_PLANNER_AS_JOB_FUNCTION",
1531 "AGENCY_SELECTED_ANALYTICS_AS_JOB_FUNCTION",
1532 "AGENCY_SELECTED_CREATIVE_AS_JOB_FUNCTION",
1533 "AGENCY_SELECTED_MEDIA_BUYER_AS_JOB_FUNCTION",
1534 "AGENCY_SELECTED_MEDIA_PLANNER_AS_JOB_FUNCTION",
1535 "AGENCY_SELECTED_OTHER_AS_JOB_FUNCTION",
1536 "AGENCY_SELECTED_PRODUCTION_AS_JOB_FUNCTION",
1537 "AGENCY_SELECTED_SEO_AS_JOB_FUNCTION",
1538 "AGENCY_SELECTED_SALES_REP_AS_JOB_FUNCTION",
1539 "AGENCY_SELECTED_SEARCH_SPECIALIST_AS_JOB_FUNCTION",
1540 "AGENCY_ADDED_CHANNELS_IN_MY_PROFILE_PORTAL",
1541 "AGENCY_LOOKED_AT_ADD_CHANNEL_DROP_DOWN",
1542 "AGENCY_SELECTED_CROSS_CHANNEL_FROM_ADD_CHANNEL",
1543 "AGENCY_SELECTED_DISPLAY_FROM_ADD_CHANNEL",
1544 "AGENCY_SELECTED_MOBILE_FROM_ADD_CHANNEL",
1545 "AGENCY_SELECTED_SEARCH_FROM_ADD_CHANNEL",
1546 "AGENCY_SELECTED_SOCIAL_FROM_ADD_CHANNEL",
1547 "AGENCY_SELECTED_TOOLS_FROM_ADD_CHANNEL",
1548 "AGENCY_SELECTED_YOUTUBE_FROM_ADD_CHANNEL",
1549 "AGENCY_ADDED_INDUSTRIES_IN_MY_PROFILE_PORTAL",
1550 "AGENCY_CHANGED_ADD_INDUSTRIES_DROP_DOWN",
1551 "AGENCY_ADDED_MARKETS_IN_MY_PROFILE_PORTAL",
1552 "AGENCY_CHANGED_ADD_MARKETS_DROP_DOWN",
1553 "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_MYPROFILE",
1554 "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_SIGNUP",
1555 "AGENCY_SELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH",
1556 "AGENCY_SELECTED_OPT_IN_BETA_TESTS_IN_MY_PROFILE_PORTAL" ,
1557 "AGENCY_SELECTED_OPT_IN_NEWS_IN_MY_PROFILE_PORTAL",
1558 "AGENCY_SELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS",
1559 "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUG_IN_MY_PROFILE_PO RTAL",
1560 "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS",
1561 "AGENCY_SELECTED_OPT_IN_SELECT_ALL_EMAIL_NOTIFICATIONS",
1562 "AGENCY_SELECTED_SELECT_ALL_OPT_INS_IN_MY_PROFILE_PORTAL ",
1563 "AGENCY_CLICKED_BACK_BUTTON_ON_CONNECT_WITH_COMPANY",
1564 "AGENCY_CLICKED_CONTINUE_TO_OVERVIEW_ON_CONNECT_WITH_COM PANY",
1565 "AGECNY_CLICKED_CREATE_MCC_CONNECT_WITH_COMPANY_NOT_FOUN D",
1566 "AGECNY_CLICKED_GIVE_EDIT_ACCESS_CONNECT_WITH_COMPANY_NO T_FOUND",
1567 "AGECNY_CLICKED_LOG_OUT_CONNECT_WITH_COMPANY_NOT_FOUND",
1568 "AGENCY_CLICKED_SKIP_FOR_NOW_ON_CONNECT_WITH_COMPANY_PAG E",
1569 "AGENCY_CLOSED_CONNECTED_TO_COMPANY_X_BUTTON_WRONG_COMPA NY",
1570 "AGENCY_COMPLETED_FIELD_CONNECT_WITH_COMPANY",
1571 "AGECNY_FOUND_COMPANY_TO_CONNECT_WITH",
1572 "AGENCY_SUCCESSFULLY_CREATED_COMPANY",
1573 "AGENCY_ADDED_NEW_COMPANY_LOCATION",
1574 "AGENCY_CLICKED_COMMUNITY_JOIN_NOW_LINK_IN_PORTAL_NOTIFI CATIONS",
1575 "AGENCY_CLICKED_CONNECT_TO_COMPANY_LINK_IN_PORTAL_NOTIFI CATIONS",
1576 "AGENCY_CLICKED_GET_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIO NS",
1577 "AGENCY_CLICKED_GET_VIDEO_ADS_CERTIFIED_LINK_IN_PORTAL_N OTIFICATIONS",
1578 "AGENCY_CLICKED_LINK_TO_MCC_LINK_IN_PORTAL_NOTIFICATIONS ",
1579 "AGENCY_CLICKED_INSIGHT_CONTENT_IN_PORTAL",
1580 "AGENCY_CLICKED_INSIGHTS_VIEW_NOW_PITCH_DECKS_IN_PORTAL" ,
1581 "AGENCY_CLICKED_INSIGHTS_LEFT_NAV_IN_PORTAL",
1582 "AGENCY_CLICKED_INSIGHTS_UPLOAD_CONTENT",
1583 "AGENCY_CLICKED_INSIGHTS_VIEWED_DEPRECATED",
1584 "AGENCY_CLICKED_COMMUNITY_LEFT_NAV_IN_PORTAL",
1585 "AGENCY_CLICKED_JOIN_COMMUNITY_BUTTON_COMMUNITY_PORTAL",
1586 "AGENCY_CLICKED_CERTIFICATIONS_LEFT_NAV_IN_PORTAL",
1587 "AGENCY_CLICKED_CERTIFICATIONS_PRODUCT_LEFT_NAV_IN_PORTA L",
1588 "AGENCY_CLICKED_PARTNER_STATUS_LEFT_NAV_IN_PORTAL",
1589 "AGENCY_CLICKED_PARTNER_STATUS_PRODUCT_LEFT_NAV_IN_PORTA L",
1590 "AGENCY_CLICKED_OFFERS_LEFT_NAV_IN_PORTAL",
1591 "AGENCY_CLICKED_SEND_BUTTON_ON_OFFERS_PAGE",
1592 "AGENCY_CLICKED_EXAM_DETAILS_ON_CERT_ADWORDS_PAGE",
1593 "AGENCY_CLICKED_SEE_EXAMS_CERTIFICATION_MAIN_PAGE",
1594 "AGENCY_CLICKED_TAKE_EXAM_ON_CERT_EXAM_PAGE",
1595 "AGENCY_OPENED_LAST_ADMIN_DIALOG",
1596 "AGENCY_OPENED_DIALOG_WITH_NO_USERS",
1597 "AGENCY_PROMOTED_USER_TO_ADMIN",
1598 "AGENCY_UNAFFILIATED",
1599 "AGENCY_CHANGED_ROLES",
1600 "SMB_CLICKED_COMPANY_NAME_LINK_TO_PROFILE",
1601 "SMB_VIEWED_ADWORDS_CERTIFICATE",
1602 "SMB_VIEWED_ADWORDS_SEARCH_CERTIFICATE",
1603 "SMB_VIEWED_ADWORDS_DISPLAY_CERTIFICATE",
1604 "SMB_CLICKED_ADWORDS_CERTIFICATE_HELP_ICON",
1605 "SMB_VIEWED_ANALYTICS_CERTIFICATE",
1606 "SMB_VIEWED_DOUBLECLICK_CERTIFICATE",
1607 "SMB_VIEWED_MOBILE_SITES_CERTIFICATE",
1608 "SMB_VIEWED_VIDEO_ADS_CERTIFICATE",
1609 "SMB_VIEWED_SHOPPING_CERTIFICATE",
1610 "SMB_CLICKED_VIDEO_ADS_CERTIFICATE_HELP_ICON",
1611 "CLICKED_HELP_AT_BOTTOM",
1612 "CLICKED_HELP_AT_TOP",
1613 "CLIENT_ERROR",
1614 "AGENCY_CLICKED_LEFT_NAV_STORIES",
1615 "CLICKED",
1616 "SMB_VIEWED_MOBILE_CERTIFICATE",
1617 "AGENCY_FAILED_COMPANY_VERIFICATION",
1618 "VISITED_LANDING",
1619 "VISITED_GPS",
1620 "VISITED_AGENCY_PORTAL",
1621 "CANCELLED_INDIVIDUAL_SIGN_UP",
1622 "CANCELLED_COMPANY_SIGN_UP",
1623 "AGENCY_CLICKED_SIGN_IN_BUTTON_TOP",
1624 "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_INCOMPLETE_P ROFILE",
1625 "AGENCY_UNSELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS",
1626 "AGENCY_UNSELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH",
1627 "AGENCY_UNSELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS",
1628 "AGENCY_SELECTED_OPT_OUT_UNSELECT_ALL_EMAIL_NOTIFICATION S",
1629 "AGENCY_LINKED_INDIVIDUAL_MCC",
1630 "AGENCY_SUGGESTED_TO_USER",
1631 "AGENCY_IGNORED_SUGGESTED_AGENCIES_AND_SEARCHED",
1632 "AGENCY_PICKED_SUGGESTED_AGENCY",
1633 "AGENCY_SEARCHED_FOR_AGENCIES",
1634 "AGENCY_PICKED_SEARCHED_AGENCY",
1635 "AGENCY_DISMISSED_AFFILIATION_WIDGET",
1636 "AGENCY_CLICKED_INSIGHTS_DOWNLOAD_CONTENT",
1637 "AGENCY_PROGRESS_INSIGHTS_VIEW_CONTENT",
1638 "AGENCY_CLICKED_CANCEL_ACCEPT_TOS_BUTTON",
1639 "SMB_ENTERED_WEBSITE_IN_CONTACT_PARTNER_FORM"
1640 ],
1641 "enumDescriptions": [
1642 "Unchosen.",
1643 "Advertiser clicked `Find a partner` bottom button.",
1644 "Advertiser clicked `Find a partner` top button.",
1645 "Agency clicked `Join now` bottom button.",
1646 "Agency clicked `Join now` top button.",
1647 "Advertiser canceled partner contact form.",
1648 "Advertiser started partner contact form.",
1649 "Advertiser completed partner contact form.",
1650 "Advertiser entered email in contact form.",
1651 "Advertiser entered name in contact form.",
1652 "Advertiser entered phone in contact form.",
1653 "Advertiser failed <a href=\"https://www.google.com/reca ptcha/\">reCaptcha</a>\nin contact form.",
1654 "Company viewed by advertiser.",
1655 "Advertiser canceled partner contact form on Google Part ner Search.",
1656 "Advertiser changed a top search parameter.",
1657 "Advertiser started partner contact form on Google Partn er Search.",
1658 "Advertiser clicked `Show more partners` bottom button." ,
1659 "Advertiser completed partner contact form on Google Par tner Search.",
1660 "Advertiser saw no partners available with search criter ia.",
1661 "Advertiser performed search on Google Partner Search.",
1662 "Advertiser viewed a partner on Google Partner Search.",
1663 "Advertiser canceled partner contact form on profile pag e.",
1664 "Advertiser started partner contact form on profile page .",
1665 "Advertiser clicked partner website.",
1666 "Advertiser completed contact form on profile page.",
1667 "Advertiser viewed a partner profile.",
1668 "Agency clicked `accept Terms Of Service` button.",
1669 "Agency changed Terms Of Service country.",
1670 "Agency added address in profile portal.",
1671 "Agency added phone number in profile portal.",
1672 "Agency changed primary account association.",
1673 "Agency changed primary country association.",
1674 "Agency clicked `affiliate` button in profile portal.",
1675 "Agency clicked `give edit access` in profile portal.",
1676 "Agency clicked `log out` in profile portal.",
1677 "Agency clicked profile portal left nav.",
1678 "Agency clicked `save and continue` at bottom of complet e profile.",
1679 "Agency clicked `unaffiliate` in profile portal.",
1680 "Agency filled out company affiliation in profile portal .",
1681 "Agency successfully connected with company in profile p ortal.",
1682 "Agency clicked create MCC in profile portal.",
1683 "Agency did not have an MCC associated on profile portal .",
1684 "Agency had an MCC associated on profile portal.",
1685 "Agency added job function in profile portal.",
1686 "Agency looked at job function drop-down.",
1687 "Agency selected `account manage` as job function.",
1688 "Agency selected `account planner` as job function.",
1689 "Agency selected `Analytics` as job function.",
1690 "Agency selected `creative` as job function.",
1691 "Agency selected `media buyer` as job function.",
1692 "Agency selected `media planner` as job function.",
1693 "Agency selected `other` as job function.",
1694 "Agency selected `production` as job function.",
1695 "Agency selected `SEO` as job function.",
1696 "Agency selected `sales rep` as job function.",
1697 "Agency selected `search specialist` as job function.",
1698 "Agency added channels in profile portal.",
1699 "Agency looked at `add channel` drop-down.",
1700 "Agency selected `cross channel` from add channel drop-d own.",
1701 "Agency selected `display` from add channel drop-down.",
1702 "Agency selected `mobile` from add channel drop-down.",
1703 "Agency selected `search` from add channel drop-down.",
1704 "Agency selected `social` from add channel drop-down.",
1705 "Agency selected `tools` from add channel drop-down.",
1706 "Agency selected `YouTube` from add channel drop-down.",
1707 "Agency added industries in profile portal.",
1708 "Agency changed `add industries` drop-down.",
1709 "Agency added markets in profile portal.",
1710 "Agency changed `add markets` drop-down.",
1711 "Agency checked `recieve mail promotions` in profile por tal.",
1712 "Agency checked `recieve mail promotions` in sign-up.",
1713 "Agency selected `opt-in beta tests and market research` .",
1714 "Agency selected `opt-in beta tests` in profile portal." ,
1715 "Agency selected `opt-in news` in profile portal.",
1716 "Agency selected `opt-in news invitations and promotions `.",
1717 "Agency selected `opt-in performance SUG` in profile por tal.",
1718 "Agency selected `opt-in performance suggestions`.",
1719 "Agency selected `opt-in select all email notifications` .",
1720 "Agency selected `select all opt-ins` in profile portal. ",
1721 "Agency clicked back button on `connect with company`.",
1722 "Agency clicked continue to overview on `connect with co mpany`.",
1723 "Agency clicked `create MCC connect with company not fou nd`.",
1724 "Agency clicked `give edit access connect with company n ot found`.",
1725 "Agency clicked `log out connect with company not found` .",
1726 "Agency clicked `skip for now on connect with company pa ge`.",
1727 "Agency closed connection to company.",
1728 "Agency completed field connect with company.",
1729 "Agency found company to connect with.",
1730 "Agency successfully created company.",
1731 "Agency added new company location.",
1732 "Agency clicked community `join now link` in portal noti fications.",
1733 "Agency clicked `connect to company` link in portal noti fications.",
1734 "Agency cliecked `get certified` link in portal notifica tions.",
1735 "Agency clicked `get VideoAds certified` link in portal notifications.",
1736 "Agency clicked `link to MCC` link in portal notificatio ns.",
1737 "Agency clicked `insight content` in portal.",
1738 "Agency clicked `insights view now pitch decks` in porta l.",
1739 "Agency clicked `insights` left nav in portal.",
1740 "Agency clicked `insights upload content`.",
1741 "Agency clicked `insights viewed deprecated`.",
1742 "Agency clicked `community` left nav in portal.",
1743 "Agency clicked `join community` button in community por tal.",
1744 "Agency clicked `certifications` left nav in portal.",
1745 "Agency clicked `certifications product` left nav in por tal.",
1746 "Agency clicked `partner status` left nav in portal.",
1747 "Agency clicked `partner status product` left nav in por tal.",
1748 "Agency clicked `offers` left nav in portal.",
1749 "Agency clicked `send` button on offers page.",
1750 "Agency clicked `exam details` on certifications AdWords page.",
1751 "Agency clicked `see exams` certifications main page.",
1752 "Agency clicked `take exam` on certifications exam page. ",
1753 "Agency opened `last admin` dialog.",
1754 "Agency opened dialog with no users.",
1755 "Agency promoted user to admin.",
1756 "Agency unaffiliated.",
1757 "Agency changed roles.",
1758 "Advertiser clicked `company name` link to profile.",
1759 "Advertiser viewed AdWords certificate.",
1760 "Advertiser viewed AdWords Search certificate.",
1761 "Advertiser viewed AdWords Display certificate.",
1762 "Advertiser clicked AdWords certificate help icon.",
1763 "Advertiser viewed Analytics certificate.",
1764 "Advertiser viewed DoubleClick certificate.",
1765 "Advertiser viewed Mobile Sites certificate.",
1766 "Advertiser viewed VideoAds certificate.",
1767 "Advertiser clicked Shopping certificate help icon.",
1768 "Advertiser clicked VideoAds certificate help icon.",
1769 "Clicked `help` at bottom.",
1770 "Clicked `help` at top.",
1771 "Client error occurred.",
1772 "Agency clicked left nav `stories`.",
1773 "Click occured.",
1774 "Advertiser clicked Mobile certificate help icon.",
1775 "Agency failed the company verification.",
1776 "User visited the landing portion of Google Partners.",
1777 "User visited the Google Partner Search portion of Googl e Partners.",
1778 "User visited the agency portal portion of Google Partne rs.",
1779 "User cancelled signing up.",
1780 "User cancelled signing up their company.",
1781 "Agency clicked `Sign in` top button.",
1782 "Agency clicked `save and continue` at bottom of incompl ete profile.",
1783 "Agency unselected `opt-in news invitations and promotio ns`.",
1784 "Agency unselected `opt-in beta tests and market researc h`.",
1785 "Agency unselected `opt-in performance suggestions`.",
1786 "Agency selected `opt-out unselect all email notificatio ns`.",
1787 "Agency linked their individual MCC.",
1788 "Agency was suggested to user for affiliation.",
1789 "Agency ignored suggested agencies and begin searching." ,
1790 "Agency picked a suggested agency.",
1791 "Agency searched for agencies.",
1792 "Agency picked a searched agency.",
1793 "Agency dismissed affiliation widget.",
1794 "Agency clicked on the download link for downloading con tent.",
1795 "Agency user is maklingg progress viewing a content item .",
1796 "Agency clicked `cancel Terms Of Service` button.",
1797 "Advertiser entered website in contact form."
1798 ],
1799 "type": "string"
1800 },
1801 "requestMetadata": {
1802 "$ref": "RequestMetadata",
1803 "description": "Current request metadata."
1804 },
1805 "url": {
1806 "description": "The URL where the event occurred.",
1807 "type": "string"
1808 },
1809 "eventDatas": {
1810 "description": "List of event data for the event.",
1811 "items": {
1812 "$ref": "EventData"
1813 },
1814 "type": "array"
1815 },
1816 "eventScope": {
1817 "description": "The scope of the event.",
1818 "enum": [
1819 "EVENT_SCOPE_UNSPECIFIED",
1820 "VISITOR",
1821 "SESSION",
1822 "PAGE"
1823 ],
1824 "enumDescriptions": [
1825 "Unchosen.",
1826 "Based on visitor.",
1827 "Based on session.",
1828 "Based on page visit."
1829 ],
1830 "type": "string"
1831 }
1832 },
1833 "type": "object"
1834 },
1835 "UserOverrides": {
1836 "description": "Values to use instead of the user's respective defau lts. These are only\nhonored by whitelisted products.",
1837 "id": "UserOverrides",
1838 "properties": {
1839 "ipAddress": {
1840 "description": "IP address to use instead of the user's geo- located IP address.",
1841 "type": "string"
1842 },
1843 "userId": {
1844 "description": "Logged-in user ID to impersonate instead of the user's ID.",
1845 "type": "string"
1846 }
1847 },
1848 "type": "object"
1849 },
1850 "AnalyticsDataPoint": {
1851 "description": "Details of the analytics events for a `Company` with in a single day.",
1852 "id": "AnalyticsDataPoint",
1853 "properties": {
1854 "eventCount": {
1855 "description": "Number of times the type of event occurred.\ nMeaning depends on context (e.g. profile views, contacts, etc.).",
1856 "format": "int32", 1925 "format": "int32",
1857 "type": "integer" 1926 "type": "integer"
1858 }, 1927 },
1859 "eventLocations": { 1928 "countryCode": {
1860 "description": "Location information of where these events o ccurred.", 1929 "description": "Country code of the customer.",
1861 "items": { 1930 "type": "string"
1862 "$ref": "LatLng" 1931 },
1863 }, 1932 "externalCid": {
1864 "type": "array" 1933 "description": "External CID for the customer.",
1865 }
1866 },
1867 "type": "object"
1868 },
1869 "Analytics": {
1870 "description": "Analytics data for a `Company` within a single day." ,
1871 "id": "Analytics",
1872 "properties": {
1873 "eventDate": {
1874 "$ref": "Date",
1875 "description": "Date on which these events occurred."
1876 },
1877 "profileViews": {
1878 "$ref": "AnalyticsDataPoint",
1879 "description": "Instances of users viewing the `Company` pro file\non the specified date."
1880 },
1881 "searchViews": {
1882 "$ref": "AnalyticsDataPoint",
1883 "description": "Instances of users seeing the `Company` in G oogle Partners Search results\non the specified date."
1884 },
1885 "contacts": {
1886 "$ref": "AnalyticsDataPoint",
1887 "description": "Instances of users contacting the `Company`\ non the specified date."
1888 }
1889 },
1890 "type": "object"
1891 },
1892 "AdWordsManagerAccountInfo": {
1893 "description": "Information about a particular AdWords Manager Accou nt.\nRead more at https://support.google.com/adwords/answer/6139186",
1894 "id": "AdWordsManagerAccountInfo",
1895 "properties": {
1896 "customerName": {
1897 "description": "Name of the customer this account represents .",
1898 "type": "string"
1899 },
1900 "id": {
1901 "description": "The AdWords Manager Account id.",
1902 "format": "int64", 1934 "format": "int64",
1903 "type": "string" 1935 "type": "string"
1904 }
1905 },
1906 "type": "object"
1907 },
1908 "PublicProfile": {
1909 "description": "Basic information from a public profile.",
1910 "id": "PublicProfile",
1911 "properties": {
1912 "id": {
1913 "description": "The ID which can be used to retrieve more de tails about the public profile.",
1914 "type": "string"
1915 },
1916 "url": {
1917 "description": "The URL of the public profile.",
1918 "type": "string"
1919 },
1920 "profileImage": {
1921 "description": "The URL to the main profile image of the pub lic profile.",
1922 "type": "string"
1923 },
1924 "displayName": {
1925 "description": "The display name of the public profile.",
1926 "type": "string"
1927 },
1928 "displayImageUrl": {
1929 "description": "The URL to the main display image of the pub lic profile. Being deprecated.",
1930 "type": "string"
1931 }
1932 },
1933 "type": "object"
1934 },
1935 "ResponseMetadata": {
1936 "description": "Common data that is in each API response.",
1937 "id": "ResponseMetadata",
1938 "properties": {
1939 "debugInfo": {
1940 "$ref": "DebugInfo",
1941 "description": "Debug information about this request."
1942 }
1943 },
1944 "type": "object"
1945 },
1946 "RecaptchaChallenge": {
1947 "description": "<a href=\"https://www.google.com/recaptcha/\">reCapt cha</a> challenge info.",
1948 "id": "RecaptchaChallenge",
1949 "properties": {
1950 "id": {
1951 "description": "The ID of the reCaptcha challenge.",
1952 "type": "string"
1953 },
1954 "response": {
1955 "description": "The response to the reCaptcha challenge.",
1956 "type": "string"
1957 }
1958 },
1959 "type": "object"
1960 },
1961 "AvailableOffer": {
1962 "description": "Available Offers to be distributed.",
1963 "id": "AvailableOffer",
1964 "properties": {
1965 "qualifiedCustomersComplete": {
1966 "description": "Whether or not the list of qualified custome rs is definitely complete.",
1967 "type": "boolean"
1968 },
1969 "id": {
1970 "description": "ID of this offer.",
1971 "format": "int64",
1972 "type": "string"
1973 },
1974 "countryOfferInfos": {
1975 "description": "Offer info by country.",
1976 "items": {
1977 "$ref": "CountryOfferInfo"
1978 },
1979 "type": "array"
1980 }, 1936 },
1981 "offerType": { 1937 "offerType": {
1982 "description": "Type of offer.", 1938 "description": "Type of the offer",
1983 "enum": [ 1939 "enum": [
1984 "OFFER_TYPE_UNSPECIFIED", 1940 "OFFER_TYPE_UNSPECIFIED",
1985 "OFFER_TYPE_SPEND_X_GET_Y", 1941 "OFFER_TYPE_SPEND_X_GET_Y",
1986 "OFFER_TYPE_VIDEO", 1942 "OFFER_TYPE_VIDEO",
1987 "OFFER_TYPE_SPEND_MATCH" 1943 "OFFER_TYPE_SPEND_MATCH"
1988 ], 1944 ],
1989 "enumDescriptions": [ 1945 "enumDescriptions": [
1990 "Unset.", 1946 "Unset.",
1991 "AdWords spend X get Y.", 1947 "AdWords spend X get Y.",
1992 "Youtube video.", 1948 "Youtube video.",
1993 "Spend Match up to Y." 1949 "Spend Match up to Y."
1994 ], 1950 ],
1995 "type": "string" 1951 "type": "string"
1996 }, 1952 },
1997 "maxAccountAge": { 1953 "getYAmount": {
1998 "description": "The maximum age of an account [in days] to b e eligible.", 1954 "description": "Formatted Get Y amount with currency code.",
1955 "type": "string"
1956 },
1957 "name": {
1958 "description": "Name of the customer.",
1959 "type": "string"
1960 },
1961 "spendXAmount": {
1962 "description": "Formatted Spend X amount with currency code. ",
1963 "type": "string"
1964 },
1965 "adwordsUrl": {
1966 "description": "URL to the customer's AdWords page.",
1967 "type": "string"
1968 }
1969 },
1970 "type": "object"
1971 },
1972 "CertificationStatus": {
1973 "description": "Google Partners certification status.",
1974 "id": "CertificationStatus",
1975 "properties": {
1976 "type": {
1977 "description": "The type of the certification.",
1978 "enum": [
1979 "CERTIFICATION_TYPE_UNSPECIFIED",
1980 "CT_ADWORDS",
1981 "CT_YOUTUBE",
1982 "CT_VIDEOADS",
1983 "CT_ANALYTICS",
1984 "CT_DOUBLECLICK",
1985 "CT_SHOPPING",
1986 "CT_MOBILE",
1987 "CT_DIGITAL_SALES",
1988 "CT_ADWORDS_SEARCH",
1989 "CT_ADWORDS_DISPLAY",
1990 "CT_MOBILE_SITES"
1991 ],
1992 "enumDescriptions": [
1993 "Unchosen.",
1994 "AdWords certified.",
1995 "YouTube certified.",
1996 "VideoAds certified.",
1997 "Analytics certified.",
1998 "DoubleClick certified.",
1999 "Shopping certified.",
2000 "Mobile certified.",
2001 "Digital sales certified.",
2002 "AdWords Search certified.",
2003 "AdWords Display certified.",
2004 "Mobile Sites certified."
2005 ],
2006 "type": "string"
2007 },
2008 "userCount": {
2009 "description": "Number of people who are certified,",
1999 "format": "int32", 2010 "format": "int32",
2000 "type": "integer" 2011 "type": "integer"
2001 }, 2012 },
2002 "qualifiedCustomer": { 2013 "isCertified": {
2003 "description": "Customers who qualify for this offer.", 2014 "description": "Whether certification is passing.",
2004 "items": {
2005 "$ref": "OfferCustomer"
2006 },
2007 "type": "array"
2008 },
2009 "terms": {
2010 "description": "Terms of the offer.",
2011 "type": "string"
2012 },
2013 "showSpecialOfferCopy": {
2014 "description": "Should special text be shown on the offers p age.",
2015 "type": "boolean" 2015 "type": "boolean"
2016 }, 2016 },
2017 "available": { 2017 "examStatuses": {
2018 "description": "The number of codes for this offer that are available for distribution.", 2018 "description": "List of certification exam statuses.",
2019 "format": "int32", 2019 "items": {
2020 "type": "integer" 2020 "$ref": "CertificationExamStatus"
2021 }, 2021 },
2022 "description": { 2022 "type": "array"
2023 "description": "Description of the offer.", 2023 }
2024 "type": "string" 2024 },
2025 }, 2025 "type": "object"
2026 "offerLevel": { 2026 },
2027 "description": "Level of this offer.", 2027 "LocalizedCompanyInfo": {
2028 "enum": [ 2028 "description": "The localized company information.",
2029 "OFFER_LEVEL_UNSPECIFIED", 2029 "id": "LocalizedCompanyInfo",
2030 "OFFER_LEVEL_DENY_PROBLEM", 2030 "properties": {
2031 "OFFER_LEVEL_DENY_CONTRACT", 2031 "displayName": {
2032 "OFFER_LEVEL_MANUAL", 2032 "description": "Localized display name.",
2033 "OFFER_LEVEL_LIMIT_0", 2033 "type": "string"
2034 "OFFER_LEVEL_LIMIT_5", 2034 },
2035 "OFFER_LEVEL_LIMIT_15", 2035 "languageCode": {
2036 "OFFER_LEVEL_LIMIT_50" 2036 "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\").",
2037 ], 2037 "type": "string"
2038 "enumDescriptions": [ 2038 },
2039 "Unset.", 2039 "countryCodes": {
2040 "Users/Agencies that have no offers because of a problem .", 2040 "description": "List of country codes for the localized comp any info.",
2041 "Users/Agencies that have no offers due to contractural agreements.", 2041 "items": {
2042 "Users/Agencies that have a manually-configured limit.",
2043 "Some Agencies don't get any offers.",
2044 "Basic level gets 5 per month.",
2045 "Agencies with adequate AHI and spend get 15/month.",
2046 "Badged partners (even in grace) get 50 per month."
2047 ],
2048 "type": "string"
2049 },
2050 "name": {
2051 "description": "Name of the offer.",
2052 "type": "string"
2053 }
2054 },
2055 "type": "object"
2056 },
2057 "LatLng": {
2058 "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)\n\nThe code in logs/storage/validator/logs_validato r_traits.cc treats this type\nas if it were annotated as ST_LOCATION.",
2059 "id": "LatLng",
2060 "properties": {
2061 "latitude": {
2062 "description": "The latitude in degrees. It must be in the r ange [-90.0, +90.0].",
2063 "format": "double",
2064 "type": "number"
2065 },
2066 "longitude": {
2067 "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
2068 "format": "double",
2069 "type": "number"
2070 }
2071 },
2072 "type": "object"
2073 },
2074 "Money": {
2075 "description": "Represents an amount of money with its currency type .",
2076 "id": "Money",
2077 "properties": {
2078 "units": {
2079 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
2080 "format": "int64",
2081 "type": "string"
2082 },
2083 "currencyCode": {
2084 "description": "The 3-letter currency code defined in ISO 42 17.",
2085 "type": "string"
2086 },
2087 "nanos": {
2088 "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.",
2089 "format": "int32",
2090 "type": "integer"
2091 }
2092 },
2093 "type": "object"
2094 },
2095 "AnalyticsSummary": {
2096 "description": "Analytics aggregated data for a `Company` for a give n date range.",
2097 "id": "AnalyticsSummary",
2098 "properties": {
2099 "profileViewsCount": {
2100 "description": "Aggregated number of profile views for the ` Company` for given date range.",
2101 "format": "int32",
2102 "type": "integer"
2103 },
2104 "searchViewsCount": {
2105 "description": "Aggregated number of times users saw the `Co mpany`\nin Google Partners Search results for given date range.",
2106 "format": "int32",
2107 "type": "integer"
2108 },
2109 "contactsCount": {
2110 "description": "Aggregated number of times users contacted t he `Company`\nfor given date range.",
2111 "format": "int32",
2112 "type": "integer"
2113 }
2114 },
2115 "type": "object"
2116 },
2117 "LogMessageRequest": {
2118 "description": "Request message for\nLogClientMessage.",
2119 "id": "LogMessageRequest",
2120 "properties": {
2121 "details": {
2122 "description": "Details about the client message.",
2123 "type": "string"
2124 },
2125 "clientInfo": {
2126 "additionalProperties": {
2127 "type": "string" 2042 "type": "string"
2128 }, 2043 },
2129 "description": "Map of client info, such as URL, browser nav igator, browser platform, etc.", 2044 "type": "array"
2130 "type": "object" 2045 },
2131 }, 2046 "overview": {
2132 "requestMetadata": { 2047 "description": "Localized brief description that the company uses to advertise themselves.",
2133 "$ref": "RequestMetadata", 2048 "type": "string"
2134 "description": "Current request metadata." 2049 }
2135 }, 2050 },
2136 "level": { 2051 "type": "object"
2137 "description": "Message level of client message.", 2052 },
2138 "enum": [ 2053 "LogUserEventResponse": {
2139 "MESSAGE_LEVEL_UNSPECIFIED", 2054 "description": "Response message for\nLogUserEvent.",
2140 "ML_FINE", 2055 "id": "LogUserEventResponse",
2141 "ML_INFO",
2142 "ML_WARNING",
2143 "ML_SEVERE"
2144 ],
2145 "enumDescriptions": [
2146 "Unchosen.",
2147 "Message level for tracing information.",
2148 "Message level for informational messages.",
2149 "Message level for potential problems.",
2150 "Message level for serious failures."
2151 ],
2152 "type": "string"
2153 }
2154 },
2155 "type": "object"
2156 },
2157 "Lead": {
2158 "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).",
2159 "id": "Lead",
2160 "properties": {
2161 "adwordsCustomerId": {
2162 "description": "The AdWords Customer ID of the lead.",
2163 "format": "int64",
2164 "type": "string"
2165 },
2166 "phoneNumber": {
2167 "description": "Phone number of lead source.",
2168 "type": "string"
2169 },
2170 "createTime": {
2171 "description": "Timestamp of when this lead was created.",
2172 "format": "google-datetime",
2173 "type": "string"
2174 },
2175 "marketingOptIn": {
2176 "description": "Whether or not the lead signed up for market ing emails",
2177 "type": "boolean"
2178 },
2179 "type": {
2180 "description": "Type of lead.",
2181 "enum": [
2182 "LEAD_TYPE_UNSPECIFIED",
2183 "LT_GPS"
2184 ],
2185 "enumDescriptions": [
2186 "Unchosen.",
2187 "Google Partner Search."
2188 ],
2189 "type": "string"
2190 },
2191 "minMonthlyBudget": {
2192 "$ref": "Money",
2193 "description": "The minimum monthly budget lead source is wi lling to spend."
2194 },
2195 "givenName": {
2196 "description": "First name of lead source.",
2197 "type": "string"
2198 },
2199 "websiteUrl": {
2200 "description": "Website URL of lead source.",
2201 "type": "string"
2202 },
2203 "languageCode": {
2204 "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\").",
2205 "type": "string"
2206 },
2207 "gpsMotivations": {
2208 "description": "List of reasons for using Google Partner Sea rch and creating a lead.",
2209 "enumDescriptions": [
2210 "Unchosen.",
2211 "Advertiser needs help with their advertising.",
2212 "Advertiser needs help with their website.",
2213 "Advertiser does not have a website."
2214 ],
2215 "items": {
2216 "enum": [
2217 "GPS_MOTIVATION_UNSPECIFIED",
2218 "GPSM_HELP_WITH_ADVERTISING",
2219 "GPSM_HELP_WITH_WEBSITE",
2220 "GPSM_NO_WEBSITE"
2221 ],
2222 "type": "string"
2223 },
2224 "type": "array"
2225 },
2226 "state": {
2227 "description": "The lead's state in relation to the company. ",
2228 "enum": [
2229 "LEAD_STATE_UNSPECIFIED",
2230 "LEAD",
2231 "CONTACTED",
2232 "CLIENT",
2233 "OTHER"
2234 ],
2235 "enumDescriptions": [
2236 "Unchosen.",
2237 "Lead not yet contacted.",
2238 "Lead has been contacted.",
2239 "Lead has become a client.",
2240 "Lead in a state not covered by other options."
2241 ],
2242 "type": "string"
2243 },
2244 "email": {
2245 "description": "Email address of lead source.",
2246 "type": "string"
2247 },
2248 "familyName": {
2249 "description": "Last name of lead source.",
2250 "type": "string"
2251 },
2252 "comments": {
2253 "description": "Comments lead source gave.",
2254 "type": "string"
2255 },
2256 "id": {
2257 "description": "ID of the lead.",
2258 "type": "string"
2259 }
2260 },
2261 "type": "object"
2262 },
2263 "DebugInfo": {
2264 "description": "Debug information about this request.",
2265 "id": "DebugInfo",
2266 "properties": {
2267 "serverInfo": {
2268 "description": "Info about the server that serviced this req uest.",
2269 "type": "string"
2270 },
2271 "serverTraceInfo": {
2272 "description": "Server-side debug stack trace.",
2273 "type": "string"
2274 },
2275 "serviceUrl": {
2276 "description": "URL of the service that handled this request .",
2277 "type": "string"
2278 }
2279 },
2280 "type": "object"
2281 },
2282 "ListUserStatesResponse": {
2283 "description": "Response message for\nListUserStates.",
2284 "id": "ListUserStatesResponse",
2285 "properties": { 2056 "properties": {
2286 "responseMetadata": { 2057 "responseMetadata": {
2287 "$ref": "ResponseMetadata", 2058 "$ref": "ResponseMetadata",
2288 "description": "Current response metadata." 2059 "description": "Current response metadata."
2289 }, 2060 }
2290 "userStates": { 2061 },
2291 "description": "User's states.", 2062 "type": "object"
2063 },
2064 "ListOffersHistoryResponse": {
2065 "description": "Response for ListOfferHistory.",
2066 "id": "ListOffersHistoryResponse",
2067 "properties": {
2068 "responseMetadata": {
2069 "$ref": "ResponseMetadata",
2070 "description": "Current response metadata."
2071 },
2072 "canShowEntireCompany": {
2073 "description": "True if the user has the option to show enti re company history.",
2074 "type": "boolean"
2075 },
2076 "totalResults": {
2077 "description": "Number of results across all pages.",
2078 "format": "int32",
2079 "type": "integer"
2080 },
2081 "showingEntireCompany": {
2082 "description": "True if this response is showing entire comp any history.",
2083 "type": "boolean"
2084 },
2085 "offers": {
2086 "description": "Historical offers meeting request.",
2087 "items": {
2088 "$ref": "HistoricalOffer"
2089 },
2090 "type": "array"
2091 },
2092 "nextPageToken": {
2093 "description": "Supply this token in a ListOffersHistoryRequ est to retrieve the next page.",
2094 "type": "string"
2095 }
2096 },
2097 "type": "object"
2098 },
2099 "LogMessageResponse": {
2100 "description": "Response message for\nLogClientMessage.",
2101 "id": "LogMessageResponse",
2102 "properties": {
2103 "responseMetadata": {
2104 "$ref": "ResponseMetadata",
2105 "description": "Current response metadata."
2106 }
2107 },
2108 "type": "object"
2109 },
2110 "SpecializationStatus": {
2111 "description": "Agency specialization status",
2112 "id": "SpecializationStatus",
2113 "properties": {
2114 "badgeSpecialization": {
2115 "description": "The specialization this status is for.",
2116 "enum": [
2117 "BADGE_SPECIALIZATION_UNKNOWN",
2118 "BADGE_SPECIALIZATION_ADWORDS_SEARCH",
2119 "BADGE_SPECIALIZATION_ADWORDS_DISPLAY",
2120 "BADGE_SPECIALIZATION_ADWORDS_MOBILE",
2121 "BADGE_SPECIALIZATION_ADWORDS_VIDEO",
2122 "BADGE_SPECIALIZATION_ADWORDS_SHOPPING"
2123 ],
2124 "enumDescriptions": [
2125 "Unknown specialization",
2126 "AdWords Search specialization",
2127 "AdWords Display specialization",
2128 "AdWords Mobile specialization",
2129 "AdWords Video specialization",
2130 "AdWords Shopping specialization"
2131 ],
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"
2149 }
2150 },
2151 "type": "object"
2152 },
2153 "Certification": {
2154 "description": "A user's information on a specific certification.",
2155 "id": "Certification",
2156 "properties": {
2157 "achieved": {
2158 "description": "Whether this certification has been achieved .",
2159 "type": "boolean"
2160 },
2161 "expiration": {
2162 "description": "Date this certification is due to expire.",
2163 "format": "google-datetime",
2164 "type": "string"
2165 },
2166 "warning": {
2167 "description": "Whether this certification is in the state o f warning.",
2168 "type": "boolean"
2169 },
2170 "certificationType": {
2171 "description": "The type of certification, the area of exper tise.",
2172 "enum": [
2173 "CERTIFICATION_TYPE_UNSPECIFIED",
2174 "CT_ADWORDS",
2175 "CT_YOUTUBE",
2176 "CT_VIDEOADS",
2177 "CT_ANALYTICS",
2178 "CT_DOUBLECLICK",
2179 "CT_SHOPPING",
2180 "CT_MOBILE",
2181 "CT_DIGITAL_SALES",
2182 "CT_ADWORDS_SEARCH",
2183 "CT_ADWORDS_DISPLAY",
2184 "CT_MOBILE_SITES"
2185 ],
2292 "enumDescriptions": [ 2186 "enumDescriptions": [
2293 "Unchosen.", 2187 "Unchosen.",
2294 "User must pass <a href=\"https://www.google.com/recaptc ha/\">reCaptcha</a> to\ncontact a Partner via Google Partner Search." 2188 "AdWords certified.",
2189 "YouTube certified.",
2190 "VideoAds certified.",
2191 "Analytics certified.",
2192 "DoubleClick certified.",
2193 "Shopping certified.",
2194 "Mobile certified.",
2195 "Digital sales certified.",
2196 "AdWords Search certified.",
2197 "AdWords Display certified.",
2198 "Mobile Sites certified."
2199 ],
2200 "type": "string"
2201 },
2202 "lastAchieved": {
2203 "description": "The date the user last achieved certificatio n.",
2204 "format": "google-datetime",
2205 "type": "string"
2206 }
2207 },
2208 "type": "object"
2209 },
2210 "User": {
2211 "description": "A resource representing a user of the Partners platf orm.",
2212 "id": "User",
2213 "properties": {
2214 "profile": {
2215 "$ref": "UserProfile",
2216 "description": "The profile information of a Partners user, contains all the directly\neditable user information."
2217 },
2218 "company": {
2219 "$ref": "CompanyRelation",
2220 "description": "The company that the user is associated with .\nIf not present, the user is not associated with any company."
2221 },
2222 "lastAccessTime": {
2223 "description": "The most recent time the user interacted wit h the Partners site.\n@OutputOnly",
2224 "format": "google-datetime",
2225 "type": "string"
2226 },
2227 "primaryEmails": {
2228 "description": "The list of emails the user has access to/ca n select as primary.\n@OutputOnly",
2229 "items": {
2230 "type": "string"
2231 },
2232 "type": "array"
2233 },
2234 "availableAdwordsManagerAccounts": {
2235 "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",
2236 "items": {
2237 "$ref": "AdWordsManagerAccountInfo"
2238 },
2239 "type": "array"
2240 },
2241 "internalId": {
2242 "description": "The internal user ID.\nOnly available for a whitelisted set of api clients.",
2243 "type": "string"
2244 },
2245 "examStatus": {
2246 "description": "The list of exams the user ever taken. For e ach type of exam, only one\nentry is listed.",
2247 "items": {
2248 "$ref": "ExamStatus"
2249 },
2250 "type": "array"
2251 },
2252 "id": {
2253 "description": "The ID of the user.",
2254 "type": "string"
2255 },
2256 "publicProfile": {
2257 "$ref": "PublicProfile",
2258 "description": "Information about a user's external public p rofile outside Google Partners."
2259 },
2260 "certificationStatus": {
2261 "description": "The list of achieved certifications. These a re calculated based on exam\nresults and other requirements.\n@OutputOnly",
2262 "items": {
2263 "$ref": "Certification"
2264 },
2265 "type": "array"
2266 },
2267 "companyVerificationEmail": {
2268 "description": "The email address used by the user used for company verification.\n@OutputOnly",
2269 "type": "string"
2270 }
2271 },
2272 "type": "object"
2273 },
2274 "ListAnalyticsResponse": {
2275 "description": "Response message for\nListAnalytics.",
2276 "id": "ListAnalyticsResponse",
2277 "properties": {
2278 "analytics": {
2279 "description": "The list of analytics.\nSorted in ascending order of\nAnalytics.event_date.",
2280 "items": {
2281 "$ref": "Analytics"
2282 },
2283 "type": "array"
2284 },
2285 "nextPageToken": {
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.",
2287 "type": "string"
2288 },
2289 "responseMetadata": {
2290 "$ref": "ResponseMetadata",
2291 "description": "Current response metadata."
2292 },
2293 "analyticsSummary": {
2294 "$ref": "AnalyticsSummary",
2295 "description": "Aggregated information across the response's \nanalytics."
2296 }
2297 },
2298 "type": "object"
2299 },
2300 "Company": {
2301 "description": "A company resource in the Google Partners API. Once certified, it qualifies\nfor being searched by advertisers.",
2302 "id": "Company",
2303 "properties": {
2304 "primaryLocation": {
2305 "$ref": "Location",
2306 "description": "The primary location of the company."
2307 },
2308 "services": {
2309 "description": "Services the company can help with.",
2310 "enumDescriptions": [
2311 "Unchosen.",
2312 "Help with advanced AdWords support.",
2313 "Help with advertising on Google.",
2314 "Help with an enhanced website.",
2315 "Help with an online marketing plan.",
2316 "Help with mobile and video ads.",
2317 "Help with mobile websites."
2295 ], 2318 ],
2296 "items": { 2319 "items": {
2297 "enum": [ 2320 "enum": [
2298 "USER_STATE_UNSPECIFIED", 2321 "SERVICE_UNSPECIFIED",
2299 "US_REQUIRES_RECAPTCHA_FOR_GPS_CONTACT" 2322 "S_ADVANCED_ADWORDS_SUPPORT",
2323 "S_ADVERTISING_ON_GOOGLE",
2324 "S_AN_ENHANCED_WEBSITE",
2325 "S_AN_ONLINE_MARKETING_PLAN",
2326 "S_MOBILE_AND_VIDEO_ADS",
2327 "S_MOBILE_WEBSITE_SERVICES"
2300 ], 2328 ],
2301 "type": "string" 2329 "type": "string"
2302 }, 2330 },
2303 "type": "array" 2331 "type": "array"
2304 } 2332 },
2305 }, 2333 "originalMinMonthlyBudget": {
2306 "type": "object" 2334 "$ref": "Money",
2307 }, 2335 "description": "The unconverted minimum monthly budget that the company accepts for partner\nbusiness."
2308 "CompanyRelation": { 2336 },
2309 "description": "A CompanyRelation resource representing information about a user's\naffiliation and standing with a company in Partners.", 2337 "publicProfile": {
2310 "id": "CompanyRelation", 2338 "$ref": "PublicProfile",
2311 "properties": { 2339 "description": "Basic information from the company's public profile."
2340 },
2341 "ranks": {
2342 "description": "Information related to the ranking of the co mpany within the list of\ncompanies.",
2343 "items": {
2344 "$ref": "Rank"
2345 },
2346 "type": "array"
2347 },
2348 "specializationStatus": {
2349 "description": "The list of Google Partners specialization s tatuses for the company.",
2350 "items": {
2351 "$ref": "SpecializationStatus"
2352 },
2353 "type": "array"
2354 },
2312 "badgeTier": { 2355 "badgeTier": {
2313 "description": "Whether the company is a Partner.", 2356 "description": "Partner badge tier",
2314 "enum": [ 2357 "enum": [
2315 "BADGE_TIER_NONE", 2358 "BADGE_TIER_NONE",
2316 "BADGE_TIER_REGULAR", 2359 "BADGE_TIER_REGULAR",
2317 "BADGE_TIER_PREMIER" 2360 "BADGE_TIER_PREMIER"
2318 ], 2361 ],
2319 "enumDescriptions": [ 2362 "enumDescriptions": [
2320 "Tier badge is not set.", 2363 "Tier badge is not set.",
2321 "Agency has regular partner badge.", 2364 "Agency has regular partner badge.",
2322 "Agency has premier badge." 2365 "Agency has premier badge."
2323 ], 2366 ],
2324 "type": "string" 2367 "type": "string"
2325 }, 2368 },
2326 "specializationStatus": { 2369 "companyTypes": {
2327 "description": "The list of Google Partners specialization s tatuses for the company.", 2370 "description": "Company type labels listed on the company's profile.",
2328 "items": { 2371 "enumDescriptions": [
2329 "$ref": "SpecializationStatus" 2372 "Unchosen.",
2330 }, 2373 "Handles all aspects of the advertising process.",
2331 "type": "array" 2374 "Focuses solely on an advertiser's media placement.",
2332 }, 2375 "Plans/executes advertising campaigns.",
2333 "phoneNumber": { 2376 "Like a\nFULL_SERVICE_AGENCY,\nbut specializing in digit al.",
2334 "description": "The phone number for the company's primary a ddress.", 2377 "Increases visibility in search engine result pages.",
2335 "type": "string" 2378 "Drives promotional efforts for immediate impact.",
2336 }, 2379 "Focuses on bid management, conversion, reporting.",
2337 "website": { 2380 "Establishes favorable relationship with public through low/no-cost\ncommunications.",
2338 "description": "The website URL for this company.", 2381 "Does not manage other company's accounts, manages own m arketing programs.",
2339 "type": "string" 2382 "Full-service AdWords account management for local busin esses."
2340 }, 2383 ],
2341 "companyId": { 2384 "items": {
2342 "description": "The ID of the company. There may be no id if this is a\npending company.5", 2385 "enum": [
2343 "type": "string" 2386 "COMPANY_TYPE_UNSPECIFIED",
2344 }, 2387 "FULL_SERVICE_AGENCY",
2345 "logoUrl": { 2388 "MEDIA_AGENCY",
2346 "description": "A URL to a profile photo, e.g. a G+ profile photo.", 2389 "CREATIVE_AGENCY",
2347 "type": "string" 2390 "CDIGITAL_AGENCY",
2348 }, 2391 "SEM_SEO",
2349 "resolvedTimestamp": { 2392 "PERFORMANCE_MARKETING",
2350 "description": "The timestamp when the user was approved.\n@ OutputOnly", 2393 "ADVERTISING_TOOL_DEVELOPMENT",
2351 "format": "google-datetime", 2394 "PR",
2352 "type": "string" 2395 "SELF_MANAGED",
2353 }, 2396 "RESELLER"
2354 "companyAdmin": { 2397 ],
2355 "description": "Indicates if the user is an admin for this c ompany.", 2398 "type": "string"
2356 "type": "boolean" 2399 },
2357 }, 2400 "type": "array"
2358 "isPending": { 2401 },
2359 "description": "The flag that indicates if the company is pe nding verification.", 2402 "autoApprovalEmailDomains": {
2360 "type": "boolean" 2403 "description": "Email domains that allow users with a matchi ng email address to get\nauto-approved for associating with this company.",
2361 }, 2404 "items": {
2362 "address": { 2405 "type": "string"
2363 "description": "The primary address for this company.", 2406 },
2364 "type": "string" 2407 "type": "array"
2365 }, 2408 },
2366 "creationTime": { 2409 "primaryLanguageCode": {
2367 "description": "The timestamp of when affiliation was reques ted.\n@OutputOnly", 2410 "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\").",
2368 "format": "google-datetime", 2411 "type": "string"
2369 "type": "string" 2412 },
2370 }, 2413 "profileStatus": {
2371 "state": { 2414 "description": "The public viewability status of the company 's profile.",
2372 "description": "The state of relationship, in terms of appro vals.",
2373 "enum": [ 2415 "enum": [
2374 "USER_COMPANY_REATION_STATE_NONE_SPECIFIED", 2416 "COMPANY_PROFILE_STATUS_UNSPECIFIED",
2375 "USER_COMPANY_RELATION_STATE_AWAIT_EMAIL", 2417 "HIDDEN",
2376 "USER_COMPANY_RELATION_STATE_AWAIT_ADMIN", 2418 "PUBLISHED",
2377 "USER_COMPANY_RELATION_STATE_APPROVED" 2419 "SEARCHABLE"
2378 ], 2420 ],
2379 "enumDescriptions": [ 2421 "enumDescriptions": [
2380 "Default unspecified value.", 2422 "Unchosen.",
2381 "User has filled in a request to be associated with an c ompany.\nNow waiting email confirmation.", 2423 "Company profile does not show up publicly.",
2382 "Pending approval from company.\nEmail confirmation will not approve this one.", 2424 "Company profile can only be viewed by the profile's URL \nand not by Google Partner Search.",
2383 "Approved by company." 2425 "Company profile can be viewed by the profile's URL\nand by Google Partner Search."
2384 ], 2426 ],
2385 "type": "string" 2427 "type": "string"
2386 }, 2428 },
2387 "managerAccount": { 2429 "locations": {
2388 "description": "The AdWords manager account # associated thi s company.", 2430 "description": "The list of all company locations.\nIf set, must include the\nprimary_location\nin the list.",
2431 "items": {
2432 "$ref": "Location"
2433 },
2434 "type": "array"
2435 },
2436 "convertedMinMonthlyBudget": {
2437 "$ref": "Money",
2438 "description": "The minimum monthly budget that the company accepts for partner business,\nconverted to the requested currency code."
2439 },
2440 "industries": {
2441 "description": "Industries the company can help with.",
2442 "enumDescriptions": [
2443 "Unchosen.",
2444 "The automotive industry.",
2445 "The business-to-business industry.",
2446 "The consumer packaged goods industry.",
2447 "The education industry.",
2448 "The finance industry.",
2449 "The healthcare industry.",
2450 "The media and entertainment industry.",
2451 "The retail industry.",
2452 "The technology industry.",
2453 "The travel industry."
2454 ],
2455 "items": {
2456 "enum": [
2457 "INDUSTRY_UNSPECIFIED",
2458 "I_AUTOMOTIVE",
2459 "I_BUSINESS_TO_BUSINESS",
2460 "I_CONSUMER_PACKAGED_GOODS",
2461 "I_EDUCATION",
2462 "I_FINANCE",
2463 "I_HEALTHCARE",
2464 "I_MEDIA_AND_ENTERTAINMENT",
2465 "I_RETAIL",
2466 "I_TECHNOLOGY",
2467 "I_TRAVEL"
2468 ],
2469 "type": "string"
2470 },
2471 "type": "array"
2472 },
2473 "additionalWebsites": {
2474 "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.",
2475 "items": {
2476 "type": "string"
2477 },
2478 "type": "array"
2479 },
2480 "websiteUrl": {
2481 "description": "URL of the company's website.",
2482 "type": "string"
2483 },
2484 "primaryAdwordsManagerAccountId": {
2485 "description": "The Primary AdWords Manager Account id.",
2389 "format": "int64", 2486 "format": "int64",
2390 "type": "string" 2487 "type": "string"
2391 }, 2488 },
2392 "name": { 2489 "name": {
2393 "description": "The name (in the company's primary language) for the company.", 2490 "description": "The name of the company.",
2394 "type": "string" 2491 "type": "string"
2395 }, 2492 },
2396 "segment": { 2493 "localizedInfos": {
2397 "description": "The segment the company is classified as.", 2494 "description": "The list of localized info for the company." ,
2398 "enumDescriptions": [ 2495 "items": {
2399 "Default segment indicates an unknown.", 2496 "$ref": "LocalizedCompanyInfo"
2400 "Segment representing a selected group of Partners", 2497 },
2401 "Segment representing Premier SMB Partners, an AdWords p artnership program.", 2498 "type": "array"
2402 "A segment of Premier SMB Partners that have relationshi p with Google." 2499 },
2403 ], 2500 "id": {
2404 "items": { 2501 "description": "The ID of the company.",
2405 "enum": [ 2502 "type": "string"
2406 "COMPANY_SEGMENT_UNKNOWN", 2503 },
2407 "COMPANY_SEGMENT_NAL", 2504 "certificationStatuses": {
2408 "COMPANY_SEGMENT_PSP", 2505 "description": "The list of Google Partners certification st atuses for the company.",
2409 "COMPANY_SEGMENT_PPSP" 2506 "items": {
2410 ], 2507 "$ref": "CertificationStatus"
2411 "type": "string" 2508 },
2412 }, 2509 "type": "array"
2413 "type": "array" 2510 }
2414 } 2511 },
2415 }, 2512 "type": "object"
2416 "type": "object" 2513 },
2417 }, 2514 "ListLeadsResponse": {
2418 "Date": { 2515 "description": "Response message for ListLeads.",
2419 "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`.", 2516 "id": "ListLeadsResponse",
2420 "id": "Date", 2517 "properties": {
2421 "properties": { 2518 "responseMetadata": {
2422 "year": { 2519 "$ref": "ResponseMetadata",
2423 "description": "Year of date. Must be from 1 to 9999, or 0 i f specifying a date without\na year.", 2520 "description": "Current response metadata."
2521 },
2522 "totalSize": {
2523 "description": "The total count of leads for the given compa ny.",
2424 "format": "int32", 2524 "format": "int32",
2425 "type": "integer" 2525 "type": "integer"
2426 }, 2526 },
2427 "day": { 2527 "leads": {
2428 "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not s ignificant.", 2528 "description": "The list of leads.",
2429 "format": "int32", 2529 "items": {
2430 "type": "integer" 2530 "$ref": "Lead"
2431 }, 2531 },
2432 "month": { 2532 "type": "array"
2433 "description": "Month of year. Must be from 1 to 12.", 2533 },
2434 "format": "int32", 2534 "nextPageToken": {
2435 "type": "integer" 2535 "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.",
2436 } 2536 "type": "string"
2437 }, 2537 }
2438 "type": "object" 2538 },
2439 }, 2539 "type": "object"
2440 "Empty": { 2540 },
2441 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", 2541 "CreateLeadResponse": {
2442 "id": "Empty", 2542 "description": "Response message for CreateLead.",
2443 "properties": {}, 2543 "id": "CreateLeadResponse",
2444 "type": "object" 2544 "properties": {
2445 }, 2545 "responseMetadata": {
2446 "TrafficSource": { 2546 "$ref": "ResponseMetadata",
2447 "description": "Source of traffic for the current request.", 2547 "description": "Current response metadata."
2448 "id": "TrafficSource",
2449 "properties": {
2450 "trafficSourceId": {
2451 "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.",
2452 "type": "string"
2453 },
2454 "trafficSubId": {
2455 "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.",
2456 "type": "string"
2457 }
2458 },
2459 "type": "object"
2460 },
2461 "CreateLeadRequest": {
2462 "description": "Request message for CreateLead.",
2463 "id": "CreateLeadRequest",
2464 "properties": {
2465 "requestMetadata": {
2466 "$ref": "RequestMetadata",
2467 "description": "Current request metadata."
2468 }, 2548 },
2469 "lead": { 2549 "lead": {
2470 "$ref": "Lead", 2550 "$ref": "Lead",
2471 "description": "The lead resource. The `LeadType` must not b e `LEAD_TYPE_UNSPECIFIED`\nand either `email` or `phone_number` must be provided ." 2551 "description": "Lead that was created depending on the outco me of\n<a href=\"https://www.google.com/recaptcha/\">reCaptcha</a> validation."
2472 }, 2552 },
2473 "recaptchaChallenge": { 2553 "recaptchaStatus": {
2474 "$ref": "RecaptchaChallenge", 2554 "description": "The outcome of <a href=\"https://www.google. com/recaptcha/\">reCaptcha</a>\nvalidation.",
2475 "description": "<a href=\"https://www.google.com/recaptcha/\ ">reCaptcha</a> challenge info."
2476 }
2477 },
2478 "type": "object"
2479 },
2480 "RequestMetadata": {
2481 "description": "Common data that is in each API request.",
2482 "id": "RequestMetadata",
2483 "properties": {
2484 "experimentIds": {
2485 "description": "Experiment IDs the current request belongs t o.",
2486 "items": {
2487 "type": "string"
2488 },
2489 "type": "array"
2490 },
2491 "trafficSource": {
2492 "$ref": "TrafficSource",
2493 "description": "Source of traffic for the current request."
2494 },
2495 "locale": {
2496 "description": "Locale to use for the current request.",
2497 "type": "string"
2498 },
2499 "userOverrides": {
2500 "$ref": "UserOverrides",
2501 "description": "Values to use instead of the user's respecti ve defaults for the current\nrequest. These are only honored by whitelisted prod ucts."
2502 },
2503 "partnersSessionId": {
2504 "description": "Google Partners session ID.",
2505 "type": "string"
2506 }
2507 },
2508 "type": "object"
2509 },
2510 "EventData": {
2511 "description": "Key value data pair for an event.",
2512 "id": "EventData",
2513 "properties": {
2514 "key": {
2515 "description": "Data type.",
2516 "enum": [ 2555 "enum": [
2517 "EVENT_DATA_TYPE_UNSPECIFIED", 2556 "RECAPTCHA_STATUS_UNSPECIFIED",
2518 "ACTION", 2557 "RS_NOT_NEEDED",
2519 "AGENCY_ID", 2558 "RS_PASSED",
2520 "AGENCY_NAME", 2559 "RS_FAILED"
2521 "AGENCY_PHONE_NUMBER", 2560 ],
2522 "AGENCY_WEBSITE", 2561 "enumDescriptions": [
2523 "BUDGET", 2562 "Unchosen.",
2524 "CENTER_POINT", 2563 "No reCaptcha validation needed.",
2525 "CERTIFICATION", 2564 "reCaptcha challenge passed.",
2526 "COMMENT", 2565 "reCaptcha challenge failed."
2527 "COUNTRY", 2566 ],
2528 "CURRENCY", 2567 "type": "string"
2529 "CURRENTLY_VIEWED_AGENCY_ID", 2568 }
2530 "DISTANCE", 2569 },
2531 "DISTANCE_TYPE", 2570 "type": "object"
2532 "EXAM", 2571 },
2533 "HISTORY_TOKEN", 2572 "GetCompanyResponse": {
2534 "ID", 2573 "description": "Response message for GetCompany.",
2535 "INDUSTRY", 2574 "id": "GetCompanyResponse",
2536 "INSIGHT_TAG", 2575 "properties": {
2537 "LANGUAGE", 2576 "company": {
2538 "LOCATION", 2577 "$ref": "Company",
2539 "MARKETING_OPT_IN", 2578 "description": "The company."
2540 "QUERY", 2579 },
2541 "SEARCH_START_INDEX", 2580 "responseMetadata": {
2542 "SERVICE", 2581 "$ref": "ResponseMetadata",
2543 "SHOW_VOW", 2582 "description": "Current response metadata."
2544 "SOLUTION", 2583 }
2545 "TRAFFIC_SOURCE_ID", 2584 },
2546 "TRAFFIC_SUB_ID", 2585 "type": "object"
2547 "VIEW_PORT", 2586 },
2548 "WEBSITE", 2587 "Location": {
2549 "DETAILS", 2588 "description": "A location with address and geographic coordinates. May optionally contain a\ndetailed (multi-field) version of the address.",
2550 "EXPERIMENT_ID", 2589 "id": "Location",
2551 "GPS_MOTIVATION", 2590 "properties": {
2552 "URL", 2591 "administrativeArea": {
2553 "ELEMENT_FOCUS", 2592 "description": "Top-level administrative subdivision of this country.",
2554 "PROGRESS" 2593 "type": "string"
2555 ], 2594 },
2556 "enumDescriptions": [ 2595 "locality": {
2557 "Unchosen.", 2596 "description": "Generally refers to the city/town portion of an address.",
2558 "Action data.", 2597 "type": "string"
2559 "Agency ID data.", 2598 },
2560 "Agency name data.", 2599 "latLng": {
2561 "Agency phone number data.", 2600 "$ref": "LatLng",
2562 "Agency website data.", 2601 "description": "The latitude and longitude of the location, in degrees."
2563 "Budget data.", 2602 },
2564 "Center-point data.", 2603 "dependentLocality": {
2565 "Certification data.", 2604 "description": "Dependent locality or sublocality. Used for UK dependent localities, or\nneighborhoods or boroughs in other locations.",
2566 "Comment data.", 2605 "type": "string"
2567 "Country data.", 2606 },
2568 "Currency data.", 2607 "regionCode": {
2569 "Currently viewed agency ID data.", 2608 "description": "CLDR (Common Locale Data Repository) region code .",
2570 "Distance data.", 2609 "type": "string"
2571 "Distance type data.", 2610 },
2572 "Exam data.", 2611 "address": {
2573 "History token data.", 2612 "description": "The single string version of the address.",
2574 "Identifier data.", 2613 "type": "string"
2575 "Industry data.", 2614 },
2576 "Insight tag data.", 2615 "postalCode": {
2577 "Language data.", 2616 "description": "Values are frequently alphanumeric.",
2578 "Location data.", 2617 "type": "string"
2579 "Marketing opt-in data.", 2618 },
2580 "Query data.", 2619 "languageCode": {
2581 "Search start index data.", 2620 "description": "Language code of the address. Should be in B CP 47 format.",
2582 "Service data.", 2621 "type": "string"
2583 "Show vow data.", 2622 },
2584 "Solution data.", 2623 "sortingCode": {
2585 "Traffic source ID data.", 2624 "description": "Use of this code is very country-specific, b ut will refer to a secondary\nclassification code for sorting mail.",
2586 "Traffic sub ID data.", 2625 "type": "string"
2587 "Viewport data.", 2626 },
2588 "Website data.", 2627 "addressLine": {
2589 "Details data.", 2628 "description": "The following address lines represent the mo st specific part of any\naddress.",
2590 "Experiment ID data.", 2629 "items": {
2591 "Google Partner Search motivation data.", 2630 "type": "string"
2592 "URL data.", 2631 },
2593 "Element we wanted user to focus on.",
2594 "Progress when viewing an item \\[0-100\\]."
2595 ],
2596 "type": "string"
2597 },
2598 "values": {
2599 "description": "Data values.",
2600 "items": {
2601 "type": "string"
2602 },
2603 "type": "array" 2632 "type": "array"
2604 } 2633 }
2605 }, 2634 },
2606 "type": "object" 2635 "type": "object"
2607 }, 2636 },
2608 "ExamStatus": { 2637 "ExamToken": {
2609 "description": "A user's information on a specific exam.", 2638 "description": "A token that allows a user to take an exam.",
2610 "id": "ExamStatus", 2639 "id": "ExamToken",
2611 "properties": { 2640 "properties": {
2612 "expiration": { 2641 "examId": {
2613 "description": "Date this exam is due to expire.", 2642 "description": "The id of the exam the token is for.",
2614 "format": "google-datetime", 2643 "format": "int64",
2615 "type": "string" 2644 "type": "string"
2616 }, 2645 },
2617 "warning": { 2646 "token": {
2618 "description": "Whether this exam is in the state of warning .", 2647 "description": "The token, only present if the user has acce ss to the exam.",
2619 "type": "boolean"
2620 },
2621 "lastPassed": {
2622 "description": "The date the user last passed this exam.",
2623 "format": "google-datetime",
2624 "type": "string" 2648 "type": "string"
2625 }, 2649 },
2626 "examType": { 2650 "examType": {
2627 "description": "The type of the exam.", 2651 "description": "The type of the exam the token belongs to.",
2628 "enum": [ 2652 "enum": [
2629 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED", 2653 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
2630 "CET_ADWORDS_FUNDAMENTALS", 2654 "CET_ADWORDS_FUNDAMENTALS",
2631 "CET_ADWORDS_ADVANCED_SEARCH", 2655 "CET_ADWORDS_ADVANCED_SEARCH",
2632 "CET_ADWORDS_ADVANCED_DISPLAY", 2656 "CET_ADWORDS_ADVANCED_DISPLAY",
2633 "CET_VIDEO_ADS", 2657 "CET_VIDEO_ADS",
2634 "CET_DOUBLECLICK", 2658 "CET_DOUBLECLICK",
2635 "CET_ANALYTICS", 2659 "CET_ANALYTICS",
2636 "CET_SHOPPING", 2660 "CET_SHOPPING",
2637 "CET_MOBILE", 2661 "CET_MOBILE",
2638 "CET_DIGITAL_SALES", 2662 "CET_DIGITAL_SALES",
2639 "CET_MOBILE_SITES" 2663 "CET_MOBILE_SITES"
2640 ], 2664 ],
2641 "enumDescriptions": [ 2665 "enumDescriptions": [
2642 "Unchosen.", 2666 "Unchosen.",
2643 "Adwords Fundamentals exam.", 2667 "Adwords Fundamentals exam.",
2644 "AdWords advanced search exam.", 2668 "AdWords advanced search exam.",
2645 "AdWords advanced display exam.", 2669 "AdWords advanced display exam.",
2646 "VideoAds exam.", 2670 "VideoAds exam.",
2647 "DoubleClick exam.", 2671 "DoubleClick exam.",
2648 "Analytics exam.", 2672 "Analytics exam.",
2649 "Shopping exam.", 2673 "Shopping exam.",
2650 "Mobile exam.", 2674 "Mobile exam.",
2651 "Digital Sales exam.", 2675 "Digital Sales exam.",
2652 "Mobile Sites exam." 2676 "Mobile Sites exam."
2653 ], 2677 ],
2654 "type": "string" 2678 "type": "string"
2655 },
2656 "passed": {
2657 "description": "Whether this exam has been passed and not ex pired.",
2658 "type": "boolean"
2659 },
2660 "taken": {
2661 "description": "The date the user last taken this exam.",
2662 "format": "google-datetime",
2663 "type": "string"
2664 } 2679 }
2665 }, 2680 },
2666 "type": "object" 2681 "type": "object"
2667 }, 2682 },
2668 "ListOffersResponse": { 2683 "CertificationExamStatus": {
2669 "description": "Response for ListOffer.", 2684 "description": "Status for a Google Partners certification exam.",
2670 "id": "ListOffersResponse", 2685 "id": "CertificationExamStatus",
2671 "properties": { 2686 "properties": {
2672 "noOfferReason": { 2687 "numberUsersPass": {
2673 "description": "Reason why no Offers are available.", 2688 "description": "The number of people who have passed the cer tification exam.",
2689 "format": "int32",
2690 "type": "integer"
2691 },
2692 "type": {
2693 "description": "The type of certification exam.",
2674 "enum": [ 2694 "enum": [
2675 "NO_OFFER_REASON_UNSPECIFIED", 2695 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
2676 "NO_OFFER_REASON_NO_MCC", 2696 "CET_ADWORDS_FUNDAMENTALS",
2677 "NO_OFFER_REASON_LIMIT_REACHED", 2697 "CET_ADWORDS_ADVANCED_SEARCH",
2678 "NO_OFFER_REASON_INELIGIBLE" 2698 "CET_ADWORDS_ADVANCED_DISPLAY",
2699 "CET_VIDEO_ADS",
2700 "CET_DOUBLECLICK",
2701 "CET_ANALYTICS",
2702 "CET_SHOPPING",
2703 "CET_MOBILE",
2704 "CET_DIGITAL_SALES",
2705 "CET_MOBILE_SITES"
2679 ], 2706 ],
2680 "enumDescriptions": [ 2707 "enumDescriptions": [
2681 "Unset.", 2708 "Unchosen.",
2682 "Not an MCC.", 2709 "Adwords Fundamentals exam.",
2683 "Offer limit has been reached.", 2710 "AdWords advanced search exam.",
2684 "Ineligible for offers." 2711 "AdWords advanced display exam.",
2712 "VideoAds exam.",
2713 "DoubleClick exam.",
2714 "Analytics exam.",
2715 "Shopping exam.",
2716 "Mobile exam.",
2717 "Digital Sales exam.",
2718 "Mobile Sites exam."
2685 ], 2719 ],
2686 "type": "string" 2720 "type": "string"
2687 },
2688 "availableOffers": {
2689 "description": "Available Offers to be distributed.",
2690 "items": {
2691 "$ref": "AvailableOffer"
2692 },
2693 "type": "array"
2694 },
2695 "responseMetadata": {
2696 "$ref": "ResponseMetadata",
2697 "description": "Current response metadata."
2698 }
2699 },
2700 "type": "object"
2701 },
2702 "CountryOfferInfo": {
2703 "description": "Offer info by country.",
2704 "id": "CountryOfferInfo",
2705 "properties": {
2706 "offerCountryCode": {
2707 "description": "Country code for which offer codes may be re quested.",
2708 "type": "string"
2709 },
2710 "spendXAmount": {
2711 "description": "(localized) Spend X amount for that country' s offer.",
2712 "type": "string"
2713 },
2714 "offerType": {
2715 "description": "Type of offer country is eligible for.",
2716 "enum": [
2717 "OFFER_TYPE_UNSPECIFIED",
2718 "OFFER_TYPE_SPEND_X_GET_Y",
2719 "OFFER_TYPE_VIDEO",
2720 "OFFER_TYPE_SPEND_MATCH"
2721 ],
2722 "enumDescriptions": [
2723 "Unset.",
2724 "AdWords spend X get Y.",
2725 "Youtube video.",
2726 "Spend Match up to Y."
2727 ],
2728 "type": "string"
2729 },
2730 "getYAmount": {
2731 "description": "(localized) Get Y amount for that country's offer.",
2732 "type": "string"
2733 } 2721 }
2734 }, 2722 },
2735 "type": "object" 2723 "type": "object"
2736 }, 2724 },
2737 "ListCompaniesResponse": { 2725 "OptIns": {
2738 "description": "Response message for\nListCompanies.", 2726 "description": "A set of opt-ins for a user.",
2739 "id": "ListCompaniesResponse", 2727 "id": "OptIns",
2740 "properties": { 2728 "properties": {
2741 "nextPageToken": { 2729 "marketComm": {
2742 "description": "A token to retrieve next page of results.\nP ass this value in the `ListCompaniesRequest.page_token` field in the\nsubsequent call to\nListCompanies to retrieve the\nnext page of results.", 2730 "description": "An opt-in about receiving email from Partner s marketing teams. Includes\nmember-only events and special promotional offers f or Google products.",
2731 "type": "boolean"
2732 },
2733 "specialOffers": {
2734 "description": "An opt-in about receiving email regarding ne w features and products.",
2735 "type": "boolean"
2736 },
2737 "performanceSuggestions": {
2738 "description": "An opt-in about receiving email with customi zed AdWords campaign management\ntips.",
2739 "type": "boolean"
2740 },
2741 "physicalMail": {
2742 "description": "An opt-in to receive special promotional gif ts and material in the mail.",
2743 "type": "boolean"
2744 },
2745 "phoneContact": {
2746 "description": "An opt-in to allow recieivng phone calls abo ut their Partners account.",
2747 "type": "boolean"
2748 }
2749 },
2750 "type": "object"
2751 },
2752 "Rank": {
2753 "description": "Information related to ranking of results.",
2754 "id": "Rank",
2755 "properties": {
2756 "value": {
2757 "description": "The numerical value of the rank.",
2758 "format": "double",
2759 "type": "number"
2760 },
2761 "type": {
2762 "description": "The type of rank.",
2763 "enum": [
2764 "RANK_TYPE_UNSPECIFIED",
2765 "RT_FINAL_SCORE"
2766 ],
2767 "enumDescriptions": [
2768 "Unchosen.",
2769 "Total final score."
2770 ],
2771 "type": "string"
2772 }
2773 },
2774 "type": "object"
2775 },
2776 "UserProfile": {
2777 "description": "The profile information of a Partners user.",
2778 "id": "UserProfile",
2779 "properties": {
2780 "adwordsManagerAccount": {
2781 "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.",
2782 "format": "int64",
2743 "type": "string" 2783 "type": "string"
2744 }, 2784 },
2745 "responseMetadata": { 2785 "phoneNumber": {
2746 "$ref": "ResponseMetadata", 2786 "description": "The user's phone number.",
2747 "description": "Current response metadata." 2787 "type": "string"
2748 }, 2788 },
2749 "companies": { 2789 "primaryCountryCode": {
2750 "description": "The list of companies.", 2790 "description": "The user's primary country, an ISO 2-charact er code.",
2791 "type": "string"
2792 },
2793 "emailAddress": {
2794 "description": "The email address the user has selected on t he Partners site as primary.",
2795 "type": "string"
2796 },
2797 "channels": {
2798 "description": "A list of ids representing which channels th e user selected they were in.",
2751 "items": { 2799 "items": {
2752 "$ref": "Company" 2800 "type": "string"
2801 },
2802 "type": "array"
2803 },
2804 "profilePublic": {
2805 "description": "Whether the user's public profile is visible to anyone with the URL.",
2806 "type": "boolean"
2807 },
2808 "jobFunctions": {
2809 "description": "A list of ids represnting which job categori es the user selected.",
2810 "items": {
2811 "type": "string"
2812 },
2813 "type": "array"
2814 },
2815 "givenName": {
2816 "description": "The user's given name.",
2817 "type": "string"
2818 },
2819 "address": {
2820 "$ref": "Location",
2821 "description": "The user's mailing address, contains multipl e fields."
2822 },
2823 "industries": {
2824 "description": "A list of ids representing which industries the user selected.",
2825 "items": {
2826 "type": "string"
2827 },
2828 "type": "array"
2829 },
2830 "languages": {
2831 "description": "The list of languages this user understands. ",
2832 "items": {
2833 "type": "string"
2834 },
2835 "type": "array"
2836 },
2837 "emailOptIns": {
2838 "$ref": "OptIns",
2839 "description": "The list of opt-ins for the user, related to communication preferences."
2840 },
2841 "familyName": {
2842 "description": "The user's family name.",
2843 "type": "string"
2844 },
2845 "markets": {
2846 "description": "A list of ids representing which markets the user was interested in.",
2847 "items": {
2848 "type": "string"
2753 }, 2849 },
2754 "type": "array" 2850 "type": "array"
2755 } 2851 }
2756 }, 2852 },
2757 "type": "object" 2853 "type": "object"
2758 }, 2854 },
2759 "OfferCustomer": { 2855 "GetPartnersStatusResponse": {
2760 "description": "Customers qualified for an offer.", 2856 "description": "Response message for\nGetPartnersStatus.",
2761 "id": "OfferCustomer", 2857 "id": "GetPartnersStatusResponse",
2762 "properties": {
2763 "adwordsUrl": {
2764 "description": "URL to the customer's AdWords page.",
2765 "type": "string"
2766 },
2767 "offerType": {
2768 "description": "Type of the offer",
2769 "enum": [
2770 "OFFER_TYPE_UNSPECIFIED",
2771 "OFFER_TYPE_SPEND_X_GET_Y",
2772 "OFFER_TYPE_VIDEO",
2773 "OFFER_TYPE_SPEND_MATCH"
2774 ],
2775 "enumDescriptions": [
2776 "Unset.",
2777 "AdWords spend X get Y.",
2778 "Youtube video.",
2779 "Spend Match up to Y."
2780 ],
2781 "type": "string"
2782 },
2783 "externalCid": {
2784 "description": "External CID for the customer.",
2785 "format": "int64",
2786 "type": "string"
2787 },
2788 "eligibilityDaysLeft": {
2789 "description": "Days the customer is still eligible.",
2790 "format": "int32",
2791 "type": "integer"
2792 },
2793 "creationTime": {
2794 "description": "Time the customer was created.",
2795 "format": "google-datetime",
2796 "type": "string"
2797 },
2798 "countryCode": {
2799 "description": "Country code of the customer.",
2800 "type": "string"
2801 },
2802 "getYAmount": {
2803 "description": "Formatted Get Y amount with currency code.",
2804 "type": "string"
2805 },
2806 "name": {
2807 "description": "Name of the customer.",
2808 "type": "string"
2809 },
2810 "spendXAmount": {
2811 "description": "Formatted Spend X amount with currency code. ",
2812 "type": "string"
2813 }
2814 },
2815 "type": "object"
2816 },
2817 "CertificationStatus": {
2818 "description": "Google Partners certification status.",
2819 "id": "CertificationStatus",
2820 "properties": {
2821 "type": {
2822 "description": "The type of the certification.",
2823 "enum": [
2824 "CERTIFICATION_TYPE_UNSPECIFIED",
2825 "CT_ADWORDS",
2826 "CT_YOUTUBE",
2827 "CT_VIDEOADS",
2828 "CT_ANALYTICS",
2829 "CT_DOUBLECLICK",
2830 "CT_SHOPPING",
2831 "CT_MOBILE",
2832 "CT_DIGITAL_SALES",
2833 "CT_ADWORDS_SEARCH",
2834 "CT_ADWORDS_DISPLAY",
2835 "CT_MOBILE_SITES"
2836 ],
2837 "enumDescriptions": [
2838 "Unchosen.",
2839 "AdWords certified.",
2840 "YouTube certified.",
2841 "VideoAds certified.",
2842 "Analytics certified.",
2843 "DoubleClick certified.",
2844 "Shopping certified.",
2845 "Mobile certified.",
2846 "Digital sales certified.",
2847 "AdWords Search certified.",
2848 "AdWords Display certified.",
2849 "Mobile Sites certified."
2850 ],
2851 "type": "string"
2852 },
2853 "userCount": {
2854 "description": "Number of people who are certified,",
2855 "format": "int32",
2856 "type": "integer"
2857 },
2858 "isCertified": {
2859 "description": "Whether certification is passing.",
2860 "type": "boolean"
2861 },
2862 "examStatuses": {
2863 "description": "List of certification exam statuses.",
2864 "items": {
2865 "$ref": "CertificationExamStatus"
2866 },
2867 "type": "array"
2868 }
2869 },
2870 "type": "object"
2871 },
2872 "LocalizedCompanyInfo": {
2873 "description": "The localized company information.",
2874 "id": "LocalizedCompanyInfo",
2875 "properties": {
2876 "languageCode": {
2877 "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\").",
2878 "type": "string"
2879 },
2880 "countryCodes": {
2881 "description": "List of country codes for the localized comp any info.",
2882 "items": {
2883 "type": "string"
2884 },
2885 "type": "array"
2886 },
2887 "overview": {
2888 "description": "Localized brief description that the company uses to advertise themselves.",
2889 "type": "string"
2890 },
2891 "displayName": {
2892 "description": "Localized display name.",
2893 "type": "string"
2894 }
2895 },
2896 "type": "object"
2897 },
2898 "LogUserEventResponse": {
2899 "description": "Response message for\nLogUserEvent.",
2900 "id": "LogUserEventResponse",
2901 "properties": { 2858 "properties": {
2902 "responseMetadata": { 2859 "responseMetadata": {
2903 "$ref": "ResponseMetadata", 2860 "$ref": "ResponseMetadata",
2904 "description": "Current response metadata."
2905 }
2906 },
2907 "type": "object"
2908 },
2909 "ListOffersHistoryResponse": {
2910 "description": "Response for ListOfferHistory.",
2911 "id": "ListOffersHistoryResponse",
2912 "properties": {
2913 "canShowEntireCompany": {
2914 "description": "True if the user has the option to show enti re company history.",
2915 "type": "boolean"
2916 },
2917 "totalResults": {
2918 "description": "Number of results across all pages.",
2919 "format": "int32",
2920 "type": "integer"
2921 },
2922 "showingEntireCompany": {
2923 "description": "True if this response is showing entire comp any history.",
2924 "type": "boolean"
2925 },
2926 "offers": {
2927 "description": "Historical offers meeting request.",
2928 "items": {
2929 "$ref": "HistoricalOffer"
2930 },
2931 "type": "array"
2932 },
2933 "nextPageToken": {
2934 "description": "Supply this token in a ListOffersHistoryRequ est to retrieve the next page.",
2935 "type": "string"
2936 },
2937 "responseMetadata": {
2938 "$ref": "ResponseMetadata",
2939 "description": "Current response metadata."
2940 }
2941 },
2942 "type": "object"
2943 },
2944 "LogMessageResponse": {
2945 "description": "Response message for\nLogClientMessage.",
2946 "id": "LogMessageResponse",
2947 "properties": {
2948 "responseMetadata": {
2949 "$ref": "ResponseMetadata",
2950 "description": "Current response metadata." 2861 "description": "Current response metadata."
2951 } 2862 }
2952 }, 2863 },
2953 "type": "object" 2864 "type": "object"
2954 }, 2865 },
2955 "SpecializationStatus": { 2866 "HistoricalOffer": {
2956 "description": "Agency specialization status", 2867 "description": "Historical information about a Google Partners Offer .",
2957 "id": "SpecializationStatus", 2868 "id": "HistoricalOffer",
2958 "properties": { 2869 "properties": {
2959 "badgeSpecializationState": { 2870 "senderName": {
2960 "description": "State of agency specialization.", 2871 "description": "Name (First + Last) of the partners user to whom the incentive is allocated.",
2872 "type": "string"
2873 },
2874 "offerCountryCode": {
2875 "description": "Country Code for the offer country.",
2876 "type": "string"
2877 },
2878 "expirationTime": {
2879 "description": "Time this offer expires.",
2880 "format": "google-datetime",
2881 "type": "string"
2882 },
2883 "offerCode": {
2884 "description": "Offer code.",
2885 "type": "string"
2886 },
2887 "creationTime": {
2888 "description": "Time offer was first created.",
2889 "format": "google-datetime",
2890 "type": "string"
2891 },
2892 "status": {
2893 "description": "Status of the offer.",
2961 "enum": [ 2894 "enum": [
2962 "BADGE_SPECIALIZATION_STATE_UNKNOWN", 2895 "OFFER_STATUS_UNSPECIFIED",
2963 "BADGE_SPECIALIZATION_STATE_PASSED", 2896 "OFFER_STATUS_DISTRIBUTED",
2964 "BADGE_SPECIALIZATION_STATE_NOT_PASSED", 2897 "OFFER_STATUS_REDEEMED",
2965 "BADGE_SPECIALIZATION_STATE_IN_GRACE" 2898 "OFFER_STATUS_AWARDED",
2899 "OFFER_STATUS_EXPIRED"
2966 ], 2900 ],
2967 "enumDescriptions": [ 2901 "enumDescriptions": [
2968 "Unknown state", 2902 "Unset.",
2969 "Specialization passed", 2903 "Offer distributed.",
2970 "Specialization not passed", 2904 "Offer redeemed.",
2971 "Specialization in grace" 2905 "Offer awarded.",
2972 ], 2906 "Offer expired."
2973 "type": "string" 2907 ],
2974 }, 2908 "type": "string"
2975 "badgeSpecialization": { 2909 },
2976 "description": "The specialization this status is for.", 2910 "clientEmail": {
2911 "description": "Email address for client.",
2912 "type": "string"
2913 },
2914 "clientId": {
2915 "description": "ID of client.",
2916 "format": "int64",
2917 "type": "string"
2918 },
2919 "clientName": {
2920 "description": "Name of the client.",
2921 "type": "string"
2922 },
2923 "lastModifiedTime": {
2924 "description": "Time last action was taken.",
2925 "format": "google-datetime",
2926 "type": "string"
2927 },
2928 "adwordsUrl": {
2929 "description": "Client's AdWords page URL.",
2930 "type": "string"
2931 },
2932 "offerType": {
2933 "description": "Type of offer.",
2977 "enum": [ 2934 "enum": [
2978 "BADGE_SPECIALIZATION_UNKNOWN", 2935 "OFFER_TYPE_UNSPECIFIED",
2979 "BADGE_SPECIALIZATION_ADWORDS_SEARCH", 2936 "OFFER_TYPE_SPEND_X_GET_Y",
2980 "BADGE_SPECIALIZATION_ADWORDS_DISPLAY", 2937 "OFFER_TYPE_VIDEO",
2981 "BADGE_SPECIALIZATION_ADWORDS_MOBILE", 2938 "OFFER_TYPE_SPEND_MATCH"
2982 "BADGE_SPECIALIZATION_ADWORDS_VIDEO",
2983 "BADGE_SPECIALIZATION_ADWORDS_SHOPPING"
2984 ], 2939 ],
2985 "enumDescriptions": [ 2940 "enumDescriptions": [
2986 "Unknown specialization", 2941 "Unset.",
2987 "AdWords Search specialization", 2942 "AdWords spend X get Y.",
2988 "AdWords Display specialization", 2943 "Youtube video.",
2989 "AdWords Mobile specialization", 2944 "Spend Match up to Y."
2990 "AdWords Video specialization", 2945 ],
2991 "AdWords Shopping specialization" 2946 "type": "string"
2992 ], 2947 }
2993 "type": "string" 2948 },
2994 } 2949 "type": "object"
2995 }, 2950 },
2996 "type": "object" 2951 "LogUserEventRequest": {
2997 }, 2952 "description": "Request message for\nLogUserEvent.",
2998 "Certification": { 2953 "id": "LogUserEventRequest",
2999 "description": "A user's information on a specific certification.", 2954 "properties": {
3000 "id": "Certification", 2955 "eventCategory": {
3001 "properties": { 2956 "description": "The category the action belongs to.",
3002 "lastAchieved": {
3003 "description": "The date the user last achieved certificatio n.",
3004 "format": "google-datetime",
3005 "type": "string"
3006 },
3007 "achieved": {
3008 "description": "Whether this certification has been achieved .",
3009 "type": "boolean"
3010 },
3011 "expiration": {
3012 "description": "Date this certification is due to expire.",
3013 "format": "google-datetime",
3014 "type": "string"
3015 },
3016 "warning": {
3017 "description": "Whether this certification is in the state o f warning.",
3018 "type": "boolean"
3019 },
3020 "certificationType": {
3021 "description": "The type of certification, the area of exper tise.",
3022 "enum": [ 2957 "enum": [
3023 "CERTIFICATION_TYPE_UNSPECIFIED", 2958 "EVENT_CATEGORY_UNSPECIFIED",
3024 "CT_ADWORDS", 2959 "GOOGLE_PARTNER_SEARCH",
3025 "CT_YOUTUBE", 2960 "GOOGLE_PARTNER_SIGNUP_FLOW",
3026 "CT_VIDEOADS", 2961 "GOOGLE_PARTNER_PORTAL",
3027 "CT_ANALYTICS", 2962 "GOOGLE_PARTNER_PORTAL_MY_PROFILE",
3028 "CT_DOUBLECLICK", 2963 "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS",
3029 "CT_SHOPPING", 2964 "GOOGLE_PARTNER_PORTAL_COMMUNITY",
3030 "CT_MOBILE", 2965 "GOOGLE_PARTNER_PORTAL_INSIGHTS",
3031 "CT_DIGITAL_SALES", 2966 "GOOGLE_PARTNER_PORTAL_CLIENTS",
3032 "CT_ADWORDS_SEARCH", 2967 "GOOGLE_PARTNER_PUBLIC_USER_PROFILE",
3033 "CT_ADWORDS_DISPLAY", 2968 "GOOGLE_PARTNER_PANEL",
3034 "CT_MOBILE_SITES" 2969 "GOOGLE_PARTNER_PORTAL_LAST_ADMIN_DIALOG",
2970 "GOOGLE_PARTNER_CLIENT",
2971 "GOOGLE_PARTNER_PORTAL_COMPANY_PROFILE",
2972 "EXTERNAL_LINKS",
2973 "GOOGLE_PARTNER_LANDING"
3035 ], 2974 ],
3036 "enumDescriptions": [ 2975 "enumDescriptions": [
3037 "Unchosen.", 2976 "Unchosen.",
3038 "AdWords certified.", 2977 "Google Partner Search category.",
3039 "YouTube certified.", 2978 "Google Partner sign-up flow category.",
3040 "VideoAds certified.", 2979 "Google Partner portal category.",
3041 "Analytics certified.", 2980 "Google Partner portal my-profile category.",
3042 "DoubleClick certified.", 2981 "Google Partner portal certifications category.",
3043 "Shopping certified.", 2982 "Google Partner portal community category.",
3044 "Mobile certified.", 2983 "Google Partner portal insights category.",
3045 "Digital sales certified.", 2984 "Google Partner portal clients category.",
3046 "AdWords Search certified.", 2985 "Google Partner portal public user profile category.",
3047 "AdWords Display certified.", 2986 "Google Partner panel category.",
3048 "Mobile Sites certified." 2987 "Google Partner portal last admin dialog category.",
3049 ], 2988 "Google Partner client category.",
3050 "type": "string" 2989 "Google Partner portal company profile category.",
3051 } 2990 "External links category.",
3052 }, 2991 "Google Partner landing category."
3053 "type": "object" 2992 ],
3054 }, 2993 "type": "string"
3055 "User": { 2994 },
3056 "description": "A resource representing a user of the Partners platf orm.", 2995 "lead": {
3057 "id": "User", 2996 "$ref": "Lead",
3058 "properties": { 2997 "description": "Advertiser lead information."
3059 "primaryEmails": { 2998 },
3060 "description": "The list of emails the user has access to/ca n select as primary.\n@OutputOnly", 2999 "eventAction": {
3000 "description": "The action that occurred.",
3001 "enum": [
3002 "EVENT_ACTION_UNSPECIFIED",
3003 "SMB_CLICKED_FIND_A_PARTNER_BUTTON_BOTTOM",
3004 "SMB_CLICKED_FIND_A_PARTNER_BUTTON_TOP",
3005 "AGENCY_CLICKED_JOIN_NOW_BUTTON_BOTTOM",
3006 "AGENCY_CLICKED_JOIN_NOW_BUTTON_TOP",
3007 "SMB_CANCELED_PARTNER_CONTACT_FORM",
3008 "SMB_CLICKED_CONTACT_A_PARTNER",
3009 "SMB_COMPLETED_PARTNER_CONTACT_FORM",
3010 "SMB_ENTERED_EMAIL_IN_CONTACT_PARTNER_FORM",
3011 "SMB_ENTERED_NAME_IN_CONTACT_PARTNER_FORM",
3012 "SMB_ENTERED_PHONE_IN_CONTACT_PARTNER_FORM",
3013 "SMB_FAILED_RECAPTCHA_IN_CONTACT_PARTNER_FORM",
3014 "PARTNER_VIEWED_BY_SMB",
3015 "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_GPS",
3016 "SMB_CHANGED_A_SEARCH_PARAMETER_TOP",
3017 "SMB_CLICKED_CONTACT_A_PARTNER_ON_GPS",
3018 "SMB_CLICKED_SHOW_MORE_PARTNERS_BUTTON_BOTTOM",
3019 "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_GPS",
3020 "SMB_NO_PARTNERS_AVAILABLE_WITH_SEARCH_CRITERIA",
3021 "SMB_PERFORMED_SEARCH_ON_GPS",
3022 "SMB_VIEWED_A_PARTNER_ON_GPS",
3023 "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE",
3024 "SMB_CLICKED_CONTACT_A_PARTNER_ON_PROFILE_PAGE",
3025 "SMB_CLICKED_PARTNER_WEBSITE",
3026 "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE",
3027 "SMB_VIEWED_A_PARTNER_PROFILE",
3028 "AGENCY_CLICKED_ACCEPT_TOS_BUTTON",
3029 "AGENCY_CHANGED_TOS_COUNTRY",
3030 "AGENCY_ADDED_ADDRESS_IN_MY_PROFILE_PORTAL",
3031 "AGENCY_ADDED_PHONE_NUMBER_IN_MY_PROFILE_PORTAL",
3032 "AGENCY_CHANGED_PRIMARY_ACCOUNT_ASSOCIATION",
3033 "AGENCY_CHANGED_PRIMARY_COUNTRY_ASSOCIATION",
3034 "AGENCY_CLICKED_AFFILIATE_BUTTON_IN_MY_PROFILE_IN_PORTAL ",
3035 "AGENCY_CLICKED_GIVE_EDIT_ACCESS_IN_MY_PROFILE_PORTAL",
3036 "AGENCY_CLICKED_LOG_OUT_IN_MY_PROFILE_PORTAL",
3037 "AGENCY_CLICKED_MY_PROFILE_LEFT_NAV_IN_PORTAL",
3038 "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_COMPLETE_PRO FILE",
3039 "AGENCY_CLICKED_UNAFFILIATE_IN_MY_PROFILE_PORTAL",
3040 "AGENCY_FILLED_OUT_COMP_AFFILIATION_IN_MY_PROFILE_PORTAL ",
3041 "AGENCY_SUCCESSFULLY_CONNECTED_WITH_COMPANY_IN_MY_PROFIL E",
3042 "AGENCY_CLICKED_CREATE_MCC_IN_MY_PROFILE_PORTAL",
3043 "AGENCY_DIDNT_HAVE_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE ",
3044 "AGENCY_HAD_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE",
3045 "AGENCY_ADDED_JOB_FUNCTION_IN_MY_PROFILE_PORTAL",
3046 "AGENCY_LOOKED_AT_JOB_FUNCTION_DROP_DOWN",
3047 "AGENCY_SELECTED_ACCOUNT_MANAGER_AS_JOB_FUNCTION",
3048 "AGENCY_SELECTED_ACCOUNT_PLANNER_AS_JOB_FUNCTION",
3049 "AGENCY_SELECTED_ANALYTICS_AS_JOB_FUNCTION",
3050 "AGENCY_SELECTED_CREATIVE_AS_JOB_FUNCTION",
3051 "AGENCY_SELECTED_MEDIA_BUYER_AS_JOB_FUNCTION",
3052 "AGENCY_SELECTED_MEDIA_PLANNER_AS_JOB_FUNCTION",
3053 "AGENCY_SELECTED_OTHER_AS_JOB_FUNCTION",
3054 "AGENCY_SELECTED_PRODUCTION_AS_JOB_FUNCTION",
3055 "AGENCY_SELECTED_SEO_AS_JOB_FUNCTION",
3056 "AGENCY_SELECTED_SALES_REP_AS_JOB_FUNCTION",
3057 "AGENCY_SELECTED_SEARCH_SPECIALIST_AS_JOB_FUNCTION",
3058 "AGENCY_ADDED_CHANNELS_IN_MY_PROFILE_PORTAL",
3059 "AGENCY_LOOKED_AT_ADD_CHANNEL_DROP_DOWN",
3060 "AGENCY_SELECTED_CROSS_CHANNEL_FROM_ADD_CHANNEL",
3061 "AGENCY_SELECTED_DISPLAY_FROM_ADD_CHANNEL",
3062 "AGENCY_SELECTED_MOBILE_FROM_ADD_CHANNEL",
3063 "AGENCY_SELECTED_SEARCH_FROM_ADD_CHANNEL",
3064 "AGENCY_SELECTED_SOCIAL_FROM_ADD_CHANNEL",
3065 "AGENCY_SELECTED_TOOLS_FROM_ADD_CHANNEL",
3066 "AGENCY_SELECTED_YOUTUBE_FROM_ADD_CHANNEL",
3067 "AGENCY_ADDED_INDUSTRIES_IN_MY_PROFILE_PORTAL",
3068 "AGENCY_CHANGED_ADD_INDUSTRIES_DROP_DOWN",
3069 "AGENCY_ADDED_MARKETS_IN_MY_PROFILE_PORTAL",
3070 "AGENCY_CHANGED_ADD_MARKETS_DROP_DOWN",
3071 "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_MYPROFILE",
3072 "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_SIGNUP",
3073 "AGENCY_SELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH",
3074 "AGENCY_SELECTED_OPT_IN_BETA_TESTS_IN_MY_PROFILE_PORTAL" ,
3075 "AGENCY_SELECTED_OPT_IN_NEWS_IN_MY_PROFILE_PORTAL",
3076 "AGENCY_SELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS",
3077 "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUG_IN_MY_PROFILE_PO RTAL",
3078 "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS",
3079 "AGENCY_SELECTED_OPT_IN_SELECT_ALL_EMAIL_NOTIFICATIONS",
3080 "AGENCY_SELECTED_SELECT_ALL_OPT_INS_IN_MY_PROFILE_PORTAL ",
3081 "AGENCY_CLICKED_BACK_BUTTON_ON_CONNECT_WITH_COMPANY",
3082 "AGENCY_CLICKED_CONTINUE_TO_OVERVIEW_ON_CONNECT_WITH_COM PANY",
3083 "AGECNY_CLICKED_CREATE_MCC_CONNECT_WITH_COMPANY_NOT_FOUN D",
3084 "AGECNY_CLICKED_GIVE_EDIT_ACCESS_CONNECT_WITH_COMPANY_NO T_FOUND",
3085 "AGECNY_CLICKED_LOG_OUT_CONNECT_WITH_COMPANY_NOT_FOUND",
3086 "AGENCY_CLICKED_SKIP_FOR_NOW_ON_CONNECT_WITH_COMPANY_PAG E",
3087 "AGENCY_CLOSED_CONNECTED_TO_COMPANY_X_BUTTON_WRONG_COMPA NY",
3088 "AGENCY_COMPLETED_FIELD_CONNECT_WITH_COMPANY",
3089 "AGECNY_FOUND_COMPANY_TO_CONNECT_WITH",
3090 "AGENCY_SUCCESSFULLY_CREATED_COMPANY",
3091 "AGENCY_ADDED_NEW_COMPANY_LOCATION",
3092 "AGENCY_CLICKED_COMMUNITY_JOIN_NOW_LINK_IN_PORTAL_NOTIFI CATIONS",
3093 "AGENCY_CLICKED_CONNECT_TO_COMPANY_LINK_IN_PORTAL_NOTIFI CATIONS",
3094 "AGENCY_CLICKED_GET_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIO NS",
3095 "AGENCY_CLICKED_GET_VIDEO_ADS_CERTIFIED_LINK_IN_PORTAL_N OTIFICATIONS",
3096 "AGENCY_CLICKED_LINK_TO_MCC_LINK_IN_PORTAL_NOTIFICATIONS ",
3097 "AGENCY_CLICKED_INSIGHT_CONTENT_IN_PORTAL",
3098 "AGENCY_CLICKED_INSIGHTS_VIEW_NOW_PITCH_DECKS_IN_PORTAL" ,
3099 "AGENCY_CLICKED_INSIGHTS_LEFT_NAV_IN_PORTAL",
3100 "AGENCY_CLICKED_INSIGHTS_UPLOAD_CONTENT",
3101 "AGENCY_CLICKED_INSIGHTS_VIEWED_DEPRECATED",
3102 "AGENCY_CLICKED_COMMUNITY_LEFT_NAV_IN_PORTAL",
3103 "AGENCY_CLICKED_JOIN_COMMUNITY_BUTTON_COMMUNITY_PORTAL",
3104 "AGENCY_CLICKED_CERTIFICATIONS_LEFT_NAV_IN_PORTAL",
3105 "AGENCY_CLICKED_CERTIFICATIONS_PRODUCT_LEFT_NAV_IN_PORTA L",
3106 "AGENCY_CLICKED_PARTNER_STATUS_LEFT_NAV_IN_PORTAL",
3107 "AGENCY_CLICKED_PARTNER_STATUS_PRODUCT_LEFT_NAV_IN_PORTA L",
3108 "AGENCY_CLICKED_OFFERS_LEFT_NAV_IN_PORTAL",
3109 "AGENCY_CLICKED_SEND_BUTTON_ON_OFFERS_PAGE",
3110 "AGENCY_CLICKED_EXAM_DETAILS_ON_CERT_ADWORDS_PAGE",
3111 "AGENCY_CLICKED_SEE_EXAMS_CERTIFICATION_MAIN_PAGE",
3112 "AGENCY_CLICKED_TAKE_EXAM_ON_CERT_EXAM_PAGE",
3113 "AGENCY_OPENED_LAST_ADMIN_DIALOG",
3114 "AGENCY_OPENED_DIALOG_WITH_NO_USERS",
3115 "AGENCY_PROMOTED_USER_TO_ADMIN",
3116 "AGENCY_UNAFFILIATED",
3117 "AGENCY_CHANGED_ROLES",
3118 "SMB_CLICKED_COMPANY_NAME_LINK_TO_PROFILE",
3119 "SMB_VIEWED_ADWORDS_CERTIFICATE",
3120 "SMB_VIEWED_ADWORDS_SEARCH_CERTIFICATE",
3121 "SMB_VIEWED_ADWORDS_DISPLAY_CERTIFICATE",
3122 "SMB_CLICKED_ADWORDS_CERTIFICATE_HELP_ICON",
3123 "SMB_VIEWED_ANALYTICS_CERTIFICATE",
3124 "SMB_VIEWED_DOUBLECLICK_CERTIFICATE",
3125 "SMB_VIEWED_MOBILE_SITES_CERTIFICATE",
3126 "SMB_VIEWED_VIDEO_ADS_CERTIFICATE",
3127 "SMB_VIEWED_SHOPPING_CERTIFICATE",
3128 "SMB_CLICKED_VIDEO_ADS_CERTIFICATE_HELP_ICON",
3129 "CLICKED_HELP_AT_BOTTOM",
3130 "CLICKED_HELP_AT_TOP",
3131 "CLIENT_ERROR",
3132 "AGENCY_CLICKED_LEFT_NAV_STORIES",
3133 "CLICKED",
3134 "SMB_VIEWED_MOBILE_CERTIFICATE",
3135 "AGENCY_FAILED_COMPANY_VERIFICATION",
3136 "VISITED_LANDING",
3137 "VISITED_GPS",
3138 "VISITED_AGENCY_PORTAL",
3139 "CANCELLED_INDIVIDUAL_SIGN_UP",
3140 "CANCELLED_COMPANY_SIGN_UP",
3141 "AGENCY_CLICKED_SIGN_IN_BUTTON_TOP",
3142 "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_INCOMPLETE_P ROFILE",
3143 "AGENCY_UNSELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS",
3144 "AGENCY_UNSELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH",
3145 "AGENCY_UNSELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS",
3146 "AGENCY_SELECTED_OPT_OUT_UNSELECT_ALL_EMAIL_NOTIFICATION S",
3147 "AGENCY_LINKED_INDIVIDUAL_MCC",
3148 "AGENCY_SUGGESTED_TO_USER",
3149 "AGENCY_IGNORED_SUGGESTED_AGENCIES_AND_SEARCHED",
3150 "AGENCY_PICKED_SUGGESTED_AGENCY",
3151 "AGENCY_SEARCHED_FOR_AGENCIES",
3152 "AGENCY_PICKED_SEARCHED_AGENCY",
3153 "AGENCY_DISMISSED_AFFILIATION_WIDGET",
3154 "AGENCY_CLICKED_INSIGHTS_DOWNLOAD_CONTENT",
3155 "AGENCY_PROGRESS_INSIGHTS_VIEW_CONTENT",
3156 "AGENCY_CLICKED_CANCEL_ACCEPT_TOS_BUTTON",
3157 "SMB_ENTERED_WEBSITE_IN_CONTACT_PARTNER_FORM"
3158 ],
3159 "enumDescriptions": [
3160 "Unchosen.",
3161 "Advertiser clicked `Find a partner` bottom button.",
3162 "Advertiser clicked `Find a partner` top button.",
3163 "Agency clicked `Join now` bottom button.",
3164 "Agency clicked `Join now` top button.",
3165 "Advertiser canceled partner contact form.",
3166 "Advertiser started partner contact form.",
3167 "Advertiser completed partner contact form.",
3168 "Advertiser entered email in contact form.",
3169 "Advertiser entered name in contact form.",
3170 "Advertiser entered phone in contact form.",
3171 "Advertiser failed <a href=\"https://www.google.com/reca ptcha/\">reCaptcha</a>\nin contact form.",
3172 "Company viewed by advertiser.",
3173 "Advertiser canceled partner contact form on Google Part ner Search.",
3174 "Advertiser changed a top search parameter.",
3175 "Advertiser started partner contact form on Google Partn er Search.",
3176 "Advertiser clicked `Show more partners` bottom button." ,
3177 "Advertiser completed partner contact form on Google Par tner Search.",
3178 "Advertiser saw no partners available with search criter ia.",
3179 "Advertiser performed search on Google Partner Search.",
3180 "Advertiser viewed a partner on Google Partner Search.",
3181 "Advertiser canceled partner contact form on profile pag e.",
3182 "Advertiser started partner contact form on profile page .",
3183 "Advertiser clicked partner website.",
3184 "Advertiser completed contact form on profile page.",
3185 "Advertiser viewed a partner profile.",
3186 "Agency clicked `accept Terms Of Service` button.",
3187 "Agency changed Terms Of Service country.",
3188 "Agency added address in profile portal.",
3189 "Agency added phone number in profile portal.",
3190 "Agency changed primary account association.",
3191 "Agency changed primary country association.",
3192 "Agency clicked `affiliate` button in profile portal.",
3193 "Agency clicked `give edit access` in profile portal.",
3194 "Agency clicked `log out` in profile portal.",
3195 "Agency clicked profile portal left nav.",
3196 "Agency clicked `save and continue` at bottom of complet e profile.",
3197 "Agency clicked `unaffiliate` in profile portal.",
3198 "Agency filled out company affiliation in profile portal .",
3199 "Agency successfully connected with company in profile p ortal.",
3200 "Agency clicked create MCC in profile portal.",
3201 "Agency did not have an MCC associated on profile portal .",
3202 "Agency had an MCC associated on profile portal.",
3203 "Agency added job function in profile portal.",
3204 "Agency looked at job function drop-down.",
3205 "Agency selected `account manage` as job function.",
3206 "Agency selected `account planner` as job function.",
3207 "Agency selected `Analytics` as job function.",
3208 "Agency selected `creative` as job function.",
3209 "Agency selected `media buyer` as job function.",
3210 "Agency selected `media planner` as job function.",
3211 "Agency selected `other` as job function.",
3212 "Agency selected `production` as job function.",
3213 "Agency selected `SEO` as job function.",
3214 "Agency selected `sales rep` as job function.",
3215 "Agency selected `search specialist` as job function.",
3216 "Agency added channels in profile portal.",
3217 "Agency looked at `add channel` drop-down.",
3218 "Agency selected `cross channel` from add channel drop-d own.",
3219 "Agency selected `display` from add channel drop-down.",
3220 "Agency selected `mobile` from add channel drop-down.",
3221 "Agency selected `search` from add channel drop-down.",
3222 "Agency selected `social` from add channel drop-down.",
3223 "Agency selected `tools` from add channel drop-down.",
3224 "Agency selected `YouTube` from add channel drop-down.",
3225 "Agency added industries in profile portal.",
3226 "Agency changed `add industries` drop-down.",
3227 "Agency added markets in profile portal.",
3228 "Agency changed `add markets` drop-down.",
3229 "Agency checked `recieve mail promotions` in profile por tal.",
3230 "Agency checked `recieve mail promotions` in sign-up.",
3231 "Agency selected `opt-in beta tests and market research` .",
3232 "Agency selected `opt-in beta tests` in profile portal." ,
3233 "Agency selected `opt-in news` in profile portal.",
3234 "Agency selected `opt-in news invitations and promotions `.",
3235 "Agency selected `opt-in performance SUG` in profile por tal.",
3236 "Agency selected `opt-in performance suggestions`.",
3237 "Agency selected `opt-in select all email notifications` .",
3238 "Agency selected `select all opt-ins` in profile portal. ",
3239 "Agency clicked back button on `connect with company`.",
3240 "Agency clicked continue to overview on `connect with co mpany`.",
3241 "Agency clicked `create MCC connect with company not fou nd`.",
3242 "Agency clicked `give edit access connect with company n ot found`.",
3243 "Agency clicked `log out connect with company not found` .",
3244 "Agency clicked `skip for now on connect with company pa ge`.",
3245 "Agency closed connection to company.",
3246 "Agency completed field connect with company.",
3247 "Agency found company to connect with.",
3248 "Agency successfully created company.",
3249 "Agency added new company location.",
3250 "Agency clicked community `join now link` in portal noti fications.",
3251 "Agency clicked `connect to company` link in portal noti fications.",
3252 "Agency cliecked `get certified` link in portal notifica tions.",
3253 "Agency clicked `get VideoAds certified` link in portal notifications.",
3254 "Agency clicked `link to MCC` link in portal notificatio ns.",
3255 "Agency clicked `insight content` in portal.",
3256 "Agency clicked `insights view now pitch decks` in porta l.",
3257 "Agency clicked `insights` left nav in portal.",
3258 "Agency clicked `insights upload content`.",
3259 "Agency clicked `insights viewed deprecated`.",
3260 "Agency clicked `community` left nav in portal.",
3261 "Agency clicked `join community` button in community por tal.",
3262 "Agency clicked `certifications` left nav in portal.",
3263 "Agency clicked `certifications product` left nav in por tal.",
3264 "Agency clicked `partner status` left nav in portal.",
3265 "Agency clicked `partner status product` left nav in por tal.",
3266 "Agency clicked `offers` left nav in portal.",
3267 "Agency clicked `send` button on offers page.",
3268 "Agency clicked `exam details` on certifications AdWords page.",
3269 "Agency clicked `see exams` certifications main page.",
3270 "Agency clicked `take exam` on certifications exam page. ",
3271 "Agency opened `last admin` dialog.",
3272 "Agency opened dialog with no users.",
3273 "Agency promoted user to admin.",
3274 "Agency unaffiliated.",
3275 "Agency changed roles.",
3276 "Advertiser clicked `company name` link to profile.",
3277 "Advertiser viewed AdWords certificate.",
3278 "Advertiser viewed AdWords Search certificate.",
3279 "Advertiser viewed AdWords Display certificate.",
3280 "Advertiser clicked AdWords certificate help icon.",
3281 "Advertiser viewed Analytics certificate.",
3282 "Advertiser viewed DoubleClick certificate.",
3283 "Advertiser viewed Mobile Sites certificate.",
3284 "Advertiser viewed VideoAds certificate.",
3285 "Advertiser clicked Shopping certificate help icon.",
3286 "Advertiser clicked VideoAds certificate help icon.",
3287 "Clicked `help` at bottom.",
3288 "Clicked `help` at top.",
3289 "Client error occurred.",
3290 "Agency clicked left nav `stories`.",
3291 "Click occured.",
3292 "Advertiser clicked Mobile certificate help icon.",
3293 "Agency failed the company verification.",
3294 "User visited the landing portion of Google Partners.",
3295 "User visited the Google Partner Search portion of Googl e Partners.",
3296 "User visited the agency portal portion of Google Partne rs.",
3297 "User cancelled signing up.",
3298 "User cancelled signing up their company.",
3299 "Agency clicked `Sign in` top button.",
3300 "Agency clicked `save and continue` at bottom of incompl ete profile.",
3301 "Agency unselected `opt-in news invitations and promotio ns`.",
3302 "Agency unselected `opt-in beta tests and market researc h`.",
3303 "Agency unselected `opt-in performance suggestions`.",
3304 "Agency selected `opt-out unselect all email notificatio ns`.",
3305 "Agency linked their individual MCC.",
3306 "Agency was suggested to user for affiliation.",
3307 "Agency ignored suggested agencies and begin searching." ,
3308 "Agency picked a suggested agency.",
3309 "Agency searched for agencies.",
3310 "Agency picked a searched agency.",
3311 "Agency dismissed affiliation widget.",
3312 "Agency clicked on the download link for downloading con tent.",
3313 "Agency user is maklingg progress viewing a content item .",
3314 "Agency clicked `cancel Terms Of Service` button.",
3315 "Advertiser entered website in contact form."
3316 ],
3317 "type": "string"
3318 },
3319 "url": {
3320 "description": "The URL where the event occurred.",
3321 "type": "string"
3322 },
3323 "requestMetadata": {
3324 "$ref": "RequestMetadata",
3325 "description": "Current request metadata."
3326 },
3327 "eventDatas": {
3328 "description": "List of event data for the event.",
3061 "items": { 3329 "items": {
3062 "type": "string" 3330 "$ref": "EventData"
3063 }, 3331 },
3064 "type": "array" 3332 "type": "array"
3065 }, 3333 },
3066 "availableAdwordsManagerAccounts": { 3334 "eventScope": {
3067 "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", 3335 "description": "The scope of the event.",
3336 "enum": [
3337 "EVENT_SCOPE_UNSPECIFIED",
3338 "VISITOR",
3339 "SESSION",
3340 "PAGE"
3341 ],
3342 "enumDescriptions": [
3343 "Unchosen.",
3344 "Based on visitor.",
3345 "Based on session.",
3346 "Based on page visit."
3347 ],
3348 "type": "string"
3349 }
3350 },
3351 "type": "object"
3352 },
3353 "UserOverrides": {
3354 "description": "Values to use instead of the user's respective defau lts. These are only\nhonored by whitelisted products.",
3355 "id": "UserOverrides",
3356 "properties": {
3357 "userId": {
3358 "description": "Logged-in user ID to impersonate instead of the user's ID.",
3359 "type": "string"
3360 },
3361 "ipAddress": {
3362 "description": "IP address to use instead of the user's geo- located IP address.",
3363 "type": "string"
3364 }
3365 },
3366 "type": "object"
3367 },
3368 "AnalyticsDataPoint": {
3369 "description": "Details of the analytics events for a `Company` with in a single day.",
3370 "id": "AnalyticsDataPoint",
3371 "properties": {
3372 "eventCount": {
3373 "description": "Number of times the type of event occurred.\ nMeaning depends on context (e.g. profile views, contacts, etc.).",
3374 "format": "int32",
3375 "type": "integer"
3376 },
3377 "eventLocations": {
3378 "description": "Location information of where these events o ccurred.",
3068 "items": { 3379 "items": {
3069 "$ref": "AdWordsManagerAccountInfo" 3380 "$ref": "LatLng"
3070 }, 3381 },
3071 "type": "array" 3382 "type": "array"
3072 }, 3383 }
3073 "examStatus": { 3384 },
3074 "description": "The list of exams the user ever taken. For e ach type of exam, only one\nentry is listed.", 3385 "type": "object"
3386 },
3387 "Analytics": {
3388 "description": "Analytics data for a `Company` within a single day." ,
3389 "id": "Analytics",
3390 "properties": {
3391 "eventDate": {
3392 "$ref": "Date",
3393 "description": "Date on which these events occurred."
3394 },
3395 "profileViews": {
3396 "$ref": "AnalyticsDataPoint",
3397 "description": "Instances of users viewing the `Company` pro file\non the specified date."
3398 },
3399 "searchViews": {
3400 "$ref": "AnalyticsDataPoint",
3401 "description": "Instances of users seeing the `Company` in G oogle Partners Search results\non the specified date."
3402 },
3403 "contacts": {
3404 "$ref": "AnalyticsDataPoint",
3405 "description": "Instances of users contacting the `Company`\ non the specified date."
3406 }
3407 },
3408 "type": "object"
3409 },
3410 "AdWordsManagerAccountInfo": {
3411 "description": "Information about a particular AdWords Manager Accou nt.\nRead more at https://support.google.com/adwords/answer/6139186",
3412 "id": "AdWordsManagerAccountInfo",
3413 "properties": {
3414 "id": {
3415 "description": "The AdWords Manager Account id.",
3416 "format": "int64",
3417 "type": "string"
3418 },
3419 "customerName": {
3420 "description": "Name of the customer this account represents .",
3421 "type": "string"
3422 }
3423 },
3424 "type": "object"
3425 },
3426 "PublicProfile": {
3427 "description": "Basic information from a public profile.",
3428 "id": "PublicProfile",
3429 "properties": {
3430 "id": {
3431 "description": "The ID which can be used to retrieve more de tails about the public profile.",
3432 "type": "string"
3433 },
3434 "url": {
3435 "description": "The URL of the public profile.",
3436 "type": "string"
3437 },
3438 "profileImage": {
3439 "description": "The URL to the main profile image of the pub lic profile.",
3440 "type": "string"
3441 },
3442 "displayName": {
3443 "description": "The display name of the public profile.",
3444 "type": "string"
3445 },
3446 "displayImageUrl": {
3447 "description": "The URL to the main display image of the pub lic profile. Being deprecated.",
3448 "type": "string"
3449 }
3450 },
3451 "type": "object"
3452 },
3453 "ResponseMetadata": {
3454 "description": "Common data that is in each API response.",
3455 "id": "ResponseMetadata",
3456 "properties": {
3457 "debugInfo": {
3458 "$ref": "DebugInfo",
3459 "description": "Debug information about this request."
3460 }
3461 },
3462 "type": "object"
3463 },
3464 "RecaptchaChallenge": {
3465 "description": "<a href=\"https://www.google.com/recaptcha/\">reCapt cha</a> challenge info.",
3466 "id": "RecaptchaChallenge",
3467 "properties": {
3468 "id": {
3469 "description": "The ID of the reCaptcha challenge.",
3470 "type": "string"
3471 },
3472 "response": {
3473 "description": "The response to the reCaptcha challenge.",
3474 "type": "string"
3475 }
3476 },
3477 "type": "object"
3478 },
3479 "AvailableOffer": {
3480 "description": "Available Offers to be distributed.",
3481 "id": "AvailableOffer",
3482 "properties": {
3483 "qualifiedCustomersComplete": {
3484 "description": "Whether or not the list of qualified custome rs is definitely complete.",
3485 "type": "boolean"
3486 },
3487 "id": {
3488 "description": "ID of this offer.",
3489 "format": "int64",
3490 "type": "string"
3491 },
3492 "countryOfferInfos": {
3493 "description": "Offer info by country.",
3075 "items": { 3494 "items": {
3076 "$ref": "ExamStatus" 3495 "$ref": "CountryOfferInfo"
3077 }, 3496 },
3078 "type": "array" 3497 "type": "array"
3079 }, 3498 },
3080 "id": { 3499 "offerType": {
3081 "description": "The ID of the user.", 3500 "description": "Type of offer.",
3082 "type": "string" 3501 "enum": [
3083 }, 3502 "OFFER_TYPE_UNSPECIFIED",
3084 "publicProfile": { 3503 "OFFER_TYPE_SPEND_X_GET_Y",
3085 "$ref": "PublicProfile", 3504 "OFFER_TYPE_VIDEO",
3086 "description": "Information about a user's external public p rofile outside Google Partners." 3505 "OFFER_TYPE_SPEND_MATCH"
3087 }, 3506 ],
3088 "certificationStatus": { 3507 "enumDescriptions": [
3089 "description": "The list of achieved certifications. These a re calculated based on exam\nresults and other requirements.\n@OutputOnly", 3508 "Unset.",
3509 "AdWords spend X get Y.",
3510 "Youtube video.",
3511 "Spend Match up to Y."
3512 ],
3513 "type": "string"
3514 },
3515 "maxAccountAge": {
3516 "description": "The maximum age of an account [in days] to b e eligible.",
3517 "format": "int32",
3518 "type": "integer"
3519 },
3520 "qualifiedCustomer": {
3521 "description": "Customers who qualify for this offer.",
3090 "items": { 3522 "items": {
3091 "$ref": "Certification" 3523 "$ref": "OfferCustomer"
3092 }, 3524 },
3093 "type": "array" 3525 "type": "array"
3094 }, 3526 },
3095 "companyVerificationEmail": { 3527 "terms": {
3096 "description": "The email address used by the user used for company verification.\n@OutputOnly", 3528 "description": "Terms of the offer.",
3097 "type": "string" 3529 "type": "string"
3098 }, 3530 },
3099 "company": { 3531 "showSpecialOfferCopy": {
3100 "$ref": "CompanyRelation", 3532 "description": "Should special text be shown on the offers p age.",
3101 "description": "The company that the user is associated with .\nIf not present, the user is not associated with any company." 3533 "type": "boolean"
3102 }, 3534 },
3103 "profile": { 3535 "available": {
3104 "$ref": "UserProfile", 3536 "description": "The number of codes for this offer that are available for distribution.",
3105 "description": "The profile information of a Partners user, contains all the directly\neditable user information."
3106 },
3107 "lastAccessTime": {
3108 "description": "The most recent time the user interacted wit h the Partners site.\n@OutputOnly",
3109 "format": "google-datetime",
3110 "type": "string"
3111 }
3112 },
3113 "type": "object"
3114 },
3115 "ListAnalyticsResponse": {
3116 "description": "Response message for\nListAnalytics.",
3117 "id": "ListAnalyticsResponse",
3118 "properties": {
3119 "analytics": {
3120 "description": "The list of analytics.\nSorted in ascending order of\nAnalytics.event_date.",
3121 "items": {
3122 "$ref": "Analytics"
3123 },
3124 "type": "array"
3125 },
3126 "nextPageToken": {
3127 "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.",
3128 "type": "string"
3129 },
3130 "responseMetadata": {
3131 "$ref": "ResponseMetadata",
3132 "description": "Current response metadata."
3133 },
3134 "analyticsSummary": {
3135 "$ref": "AnalyticsSummary",
3136 "description": "Aggregated information across the response's \nanalytics."
3137 }
3138 },
3139 "type": "object"
3140 },
3141 "ListLeadsResponse": {
3142 "description": "Response message for ListLeads.",
3143 "id": "ListLeadsResponse",
3144 "properties": {
3145 "nextPageToken": {
3146 "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.",
3147 "type": "string"
3148 },
3149 "responseMetadata": {
3150 "$ref": "ResponseMetadata",
3151 "description": "Current response metadata."
3152 },
3153 "totalSize": {
3154 "description": "The total count of leads for the given compa ny.",
3155 "format": "int32", 3537 "format": "int32",
3156 "type": "integer" 3538 "type": "integer"
3157 }, 3539 },
3158 "leads": { 3540 "description": {
3159 "description": "The list of leads.", 3541 "description": "Description of the offer.",
3160 "items": { 3542 "type": "string"
3161 "$ref": "Lead" 3543 },
3162 }, 3544 "offerLevel": {
3163 "type": "array" 3545 "description": "Level of this offer.",
3164 } 3546 "enum": [
3165 }, 3547 "OFFER_LEVEL_UNSPECIFIED",
3166 "type": "object" 3548 "OFFER_LEVEL_DENY_PROBLEM",
3167 }, 3549 "OFFER_LEVEL_DENY_CONTRACT",
3168 "Company": { 3550 "OFFER_LEVEL_MANUAL",
3169 "description": "A company resource in the Google Partners API. Once certified, it qualifies\nfor being searched by advertisers.", 3551 "OFFER_LEVEL_LIMIT_0",
3170 "id": "Company", 3552 "OFFER_LEVEL_LIMIT_5",
3171 "properties": { 3553 "OFFER_LEVEL_LIMIT_15",
3172 "industries": { 3554 "OFFER_LEVEL_LIMIT_50"
3173 "description": "Industries the company can help with.", 3555 ],
3174 "enumDescriptions": [ 3556 "enumDescriptions": [
3175 "Unchosen.", 3557 "Unset.",
3176 "The automotive industry.", 3558 "Users/Agencies that have no offers because of a problem .",
3177 "The business-to-business industry.", 3559 "Users/Agencies that have no offers due to contractural agreements.",
3178 "The consumer packaged goods industry.", 3560 "Users/Agencies that have a manually-configured limit.",
3179 "The education industry.", 3561 "Some Agencies don't get any offers.",
3180 "The finance industry.", 3562 "Basic level gets 5 per month.",
3181 "The healthcare industry.", 3563 "Agencies with adequate AHI and spend get 15/month.",
3182 "The media and entertainment industry.", 3564 "Badged partners (even in grace) get 50 per month."
3183 "The retail industry.", 3565 ],
3184 "The technology industry.", 3566 "type": "string"
3185 "The travel industry." 3567 },
3186 ], 3568 "name": {
3187 "items": { 3569 "description": "Name of the offer.",
3188 "enum": [ 3570 "type": "string"
3189 "INDUSTRY_UNSPECIFIED", 3571 }
3190 "I_AUTOMOTIVE", 3572 },
3191 "I_BUSINESS_TO_BUSINESS", 3573 "type": "object"
3192 "I_CONSUMER_PACKAGED_GOODS", 3574 },
3193 "I_EDUCATION", 3575 "LatLng": {
3194 "I_FINANCE", 3576 "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)",
3195 "I_HEALTHCARE", 3577 "id": "LatLng",
3196 "I_MEDIA_AND_ENTERTAINMENT", 3578 "properties": {
3197 "I_RETAIL", 3579 "latitude": {
3198 "I_TECHNOLOGY", 3580 "description": "The latitude in degrees. It must be in the r ange [-90.0, +90.0].",
3199 "I_TRAVEL" 3581 "format": "double",
3200 ], 3582 "type": "number"
3201 "type": "string" 3583 },
3202 }, 3584 "longitude": {
3203 "type": "array" 3585 "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
3204 }, 3586 "format": "double",
3205 "websiteUrl": { 3587 "type": "number"
3206 "description": "URL of the company's website.", 3588 }
3207 "type": "string" 3589 },
3208 }, 3590 "type": "object"
3209 "additionalWebsites": { 3591 },
3210 "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.", 3592 "Money": {
3211 "items": { 3593 "description": "Represents an amount of money with its currency type .",
3212 "type": "string" 3594 "id": "Money",
3213 }, 3595 "properties": {
3214 "type": "array" 3596 "units": {
3215 }, 3597 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
3216 "primaryAdwordsManagerAccountId": {
3217 "description": "The Primary AdWords Manager Account id.",
3218 "format": "int64", 3598 "format": "int64",
3219 "type": "string" 3599 "type": "string"
3220 }, 3600 },
3221 "name": { 3601 "currencyCode": {
3222 "description": "The name of the company.", 3602 "description": "The 3-letter currency code defined in ISO 42 17.",
3223 "type": "string" 3603 "type": "string"
3224 }, 3604 },
3225 "localizedInfos": { 3605 "nanos": {
3226 "description": "The list of localized info for the company." , 3606 "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.",
3227 "items": {
3228 "$ref": "LocalizedCompanyInfo"
3229 },
3230 "type": "array"
3231 },
3232 "certificationStatuses": {
3233 "description": "The list of Google Partners certification st atuses for the company.",
3234 "items": {
3235 "$ref": "CertificationStatus"
3236 },
3237 "type": "array"
3238 },
3239 "id": {
3240 "description": "The ID of the company.",
3241 "type": "string"
3242 },
3243 "primaryLocation": {
3244 "$ref": "Location",
3245 "description": "The primary location of the company."
3246 },
3247 "services": {
3248 "description": "Services the company can help with.",
3249 "enumDescriptions": [
3250 "Unchosen.",
3251 "Help with advanced AdWords support.",
3252 "Help with advertising on Google.",
3253 "Help with an enhanced website.",
3254 "Help with an online marketing plan.",
3255 "Help with mobile and video ads.",
3256 "Help with mobile websites."
3257 ],
3258 "items": {
3259 "enum": [
3260 "SERVICE_UNSPECIFIED",
3261 "S_ADVANCED_ADWORDS_SUPPORT",
3262 "S_ADVERTISING_ON_GOOGLE",
3263 "S_AN_ENHANCED_WEBSITE",
3264 "S_AN_ONLINE_MARKETING_PLAN",
3265 "S_MOBILE_AND_VIDEO_ADS",
3266 "S_MOBILE_WEBSITE_SERVICES"
3267 ],
3268 "type": "string"
3269 },
3270 "type": "array"
3271 },
3272 "originalMinMonthlyBudget": {
3273 "$ref": "Money",
3274 "description": "The unconverted minimum monthly budget that the company accepts for partner\nbusiness."
3275 },
3276 "publicProfile": {
3277 "$ref": "PublicProfile",
3278 "description": "Basic information from the company's public profile."
3279 },
3280 "ranks": {
3281 "description": "Information related to the ranking of the co mpany within the list of\ncompanies.",
3282 "items": {
3283 "$ref": "Rank"
3284 },
3285 "type": "array"
3286 },
3287 "badgeTier": {
3288 "description": "Partner badge tier",
3289 "enum": [
3290 "BADGE_TIER_NONE",
3291 "BADGE_TIER_REGULAR",
3292 "BADGE_TIER_PREMIER"
3293 ],
3294 "enumDescriptions": [
3295 "Tier badge is not set.",
3296 "Agency has regular partner badge.",
3297 "Agency has premier badge."
3298 ],
3299 "type": "string"
3300 },
3301 "specializationStatus": {
3302 "description": "The list of Google Partners specialization s tatuses for the company.",
3303 "items": {
3304 "$ref": "SpecializationStatus"
3305 },
3306 "type": "array"
3307 },
3308 "companyTypes": {
3309 "description": "Company type labels listed on the company's profile.",
3310 "enumDescriptions": [
3311 "Unchosen.",
3312 "Handles all aspects of the advertising process.",
3313 "Focuses solely on an advertiser's media placement.",
3314 "Plans/executes advertising campaigns.",
3315 "Like a\nFULL_SERVICE_AGENCY,\nbut specializing in digit al.",
3316 "Increases visibility in search engine result pages.",
3317 "Drives promotional efforts for immediate impact.",
3318 "Focuses on bid management, conversion, reporting.",
3319 "Establishes favorable relationship with public through low/no-cost\ncommunications.",
3320 "Does not manage other company's accounts, manages own m arketing programs.",
3321 "Full-service AdWords account management for local busin esses."
3322 ],
3323 "items": {
3324 "enum": [
3325 "COMPANY_TYPE_UNSPECIFIED",
3326 "FULL_SERVICE_AGENCY",
3327 "MEDIA_AGENCY",
3328 "CREATIVE_AGENCY",
3329 "CDIGITAL_AGENCY",
3330 "SEM_SEO",
3331 "PERFORMANCE_MARKETING",
3332 "ADVERTISING_TOOL_DEVELOPMENT",
3333 "PR",
3334 "SELF_MANAGED",
3335 "RESELLER"
3336 ],
3337 "type": "string"
3338 },
3339 "type": "array"
3340 },
3341 "autoApprovalEmailDomains": {
3342 "description": "Email domains that allow users with a matchi ng email address to get\nauto-approved for associating with this company.",
3343 "items": {
3344 "type": "string"
3345 },
3346 "type": "array"
3347 },
3348 "profileStatus": {
3349 "description": "The public viewability status of the company 's profile.",
3350 "enum": [
3351 "COMPANY_PROFILE_STATUS_UNSPECIFIED",
3352 "HIDDEN",
3353 "PUBLISHED",
3354 "SEARCHABLE"
3355 ],
3356 "enumDescriptions": [
3357 "Unchosen.",
3358 "Company profile does not show up publicly.",
3359 "Company profile can only be viewed by the profile's URL \nand not by Google Partner Search.",
3360 "Company profile can be viewed by the profile's URL\nand by Google Partner Search."
3361 ],
3362 "type": "string"
3363 },
3364 "primaryLanguageCode": {
3365 "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\").",
3366 "type": "string"
3367 },
3368 "locations": {
3369 "description": "The list of all company locations.\nIf set, must include the\nprimary_location\nin the list.",
3370 "items": {
3371 "$ref": "Location"
3372 },
3373 "type": "array"
3374 },
3375 "convertedMinMonthlyBudget": {
3376 "$ref": "Money",
3377 "description": "The minimum monthly budget that the company accepts for partner business,\nconverted to the requested currency code."
3378 }
3379 },
3380 "type": "object"
3381 },
3382 "CreateLeadResponse": {
3383 "description": "Response message for CreateLead.",
3384 "id": "CreateLeadResponse",
3385 "properties": {
3386 "lead": {
3387 "$ref": "Lead",
3388 "description": "Lead that was created depending on the outco me of\n<a href=\"https://www.google.com/recaptcha/\">reCaptcha</a> validation."
3389 },
3390 "recaptchaStatus": {
3391 "description": "The outcome of <a href=\"https://www.google. com/recaptcha/\">reCaptcha</a>\nvalidation.",
3392 "enum": [
3393 "RECAPTCHA_STATUS_UNSPECIFIED",
3394 "RS_NOT_NEEDED",
3395 "RS_PASSED",
3396 "RS_FAILED"
3397 ],
3398 "enumDescriptions": [
3399 "Unchosen.",
3400 "No reCaptcha validation needed.",
3401 "reCaptcha challenge passed.",
3402 "reCaptcha challenge failed."
3403 ],
3404 "type": "string"
3405 },
3406 "responseMetadata": {
3407 "$ref": "ResponseMetadata",
3408 "description": "Current response metadata."
3409 }
3410 },
3411 "type": "object"
3412 },
3413 "GetCompanyResponse": {
3414 "description": "Response message for GetCompany.",
3415 "id": "GetCompanyResponse",
3416 "properties": {
3417 "company": {
3418 "$ref": "Company",
3419 "description": "The company."
3420 },
3421 "responseMetadata": {
3422 "$ref": "ResponseMetadata",
3423 "description": "Current response metadata."
3424 }
3425 },
3426 "type": "object"
3427 },
3428 "Location": {
3429 "description": "A location with address and geographic coordinates. May optionally contain a\ndetailed (multi-field) version of the address.",
3430 "id": "Location",
3431 "properties": {
3432 "locality": {
3433 "description": "Generally refers to the city/town portion of an address.",
3434 "type": "string"
3435 },
3436 "administrativeArea": {
3437 "description": "Top-level administrative subdivision of this country.",
3438 "type": "string"
3439 },
3440 "latLng": {
3441 "$ref": "LatLng",
3442 "description": "The latitude and longitude of the location, in degrees."
3443 },
3444 "address": {
3445 "description": "The single string version of the address.",
3446 "type": "string"
3447 },
3448 "regionCode": {
3449 "description": "CLDR (Common Locale Data Repository) region code .",
3450 "type": "string"
3451 },
3452 "dependentLocality": {
3453 "description": "Dependent locality or sublocality. Used for UK dependent localities, or\nneighborhoods or boroughs in other locations.",
3454 "type": "string"
3455 },
3456 "postalCode": {
3457 "description": "Values are frequently alphanumeric.",
3458 "type": "string"
3459 },
3460 "sortingCode": {
3461 "description": "Use of this code is very country-specific, b ut will refer to a secondary\nclassification code for sorting mail.",
3462 "type": "string"
3463 },
3464 "languageCode": {
3465 "description": "Language code of the address. Should be in B CP 47 format.",
3466 "type": "string"
3467 },
3468 "addressLine": {
3469 "description": "The following address lines represent the mo st specific part of any\naddress.",
3470 "items": {
3471 "type": "string"
3472 },
3473 "type": "array"
3474 }
3475 },
3476 "type": "object"
3477 },
3478 "CertificationExamStatus": {
3479 "description": "Status for a Google Partners certification exam.",
3480 "id": "CertificationExamStatus",
3481 "properties": {
3482 "numberUsersPass": {
3483 "description": "The number of people who have passed the cer tification exam.",
3484 "format": "int32", 3607 "format": "int32",
3485 "type": "integer" 3608 "type": "integer"
3486 }, 3609 }
3487 "type": { 3610 },
3488 "description": "The type of certification exam.", 3611 "type": "object"
3489 "enum": [
3490 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
3491 "CET_ADWORDS_FUNDAMENTALS",
3492 "CET_ADWORDS_ADVANCED_SEARCH",
3493 "CET_ADWORDS_ADVANCED_DISPLAY",
3494 "CET_VIDEO_ADS",
3495 "CET_DOUBLECLICK",
3496 "CET_ANALYTICS",
3497 "CET_SHOPPING",
3498 "CET_MOBILE",
3499 "CET_DIGITAL_SALES",
3500 "CET_MOBILE_SITES"
3501 ],
3502 "enumDescriptions": [
3503 "Unchosen.",
3504 "Adwords Fundamentals exam.",
3505 "AdWords advanced search exam.",
3506 "AdWords advanced display exam.",
3507 "VideoAds exam.",
3508 "DoubleClick exam.",
3509 "Analytics exam.",
3510 "Shopping exam.",
3511 "Mobile exam.",
3512 "Digital Sales exam.",
3513 "Mobile Sites exam."
3514 ],
3515 "type": "string"
3516 }
3517 },
3518 "type": "object"
3519 },
3520 "ExamToken": {
3521 "description": "A token that allows a user to take an exam.",
3522 "id": "ExamToken",
3523 "properties": {
3524 "examId": {
3525 "description": "The id of the exam the token is for.",
3526 "format": "int64",
3527 "type": "string"
3528 },
3529 "token": {
3530 "description": "The token, only present if the user has acce ss to the exam.",
3531 "type": "string"
3532 },
3533 "examType": {
3534 "description": "The type of the exam the token belongs to.",
3535 "enum": [
3536 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
3537 "CET_ADWORDS_FUNDAMENTALS",
3538 "CET_ADWORDS_ADVANCED_SEARCH",
3539 "CET_ADWORDS_ADVANCED_DISPLAY",
3540 "CET_VIDEO_ADS",
3541 "CET_DOUBLECLICK",
3542 "CET_ANALYTICS",
3543 "CET_SHOPPING",
3544 "CET_MOBILE",
3545 "CET_DIGITAL_SALES",
3546 "CET_MOBILE_SITES"
3547 ],
3548 "enumDescriptions": [
3549 "Unchosen.",
3550 "Adwords Fundamentals exam.",
3551 "AdWords advanced search exam.",
3552 "AdWords advanced display exam.",
3553 "VideoAds exam.",
3554 "DoubleClick exam.",
3555 "Analytics exam.",
3556 "Shopping exam.",
3557 "Mobile exam.",
3558 "Digital Sales exam.",
3559 "Mobile Sites exam."
3560 ],
3561 "type": "string"
3562 }
3563 },
3564 "type": "object"
3565 },
3566 "OptIns": {
3567 "description": "A set of opt-ins for a user.",
3568 "id": "OptIns",
3569 "properties": {
3570 "specialOffers": {
3571 "description": "An opt-in about receiving email regarding ne w features and products.",
3572 "type": "boolean"
3573 },
3574 "performanceSuggestions": {
3575 "description": "An opt-in about receiving email with customi zed AdWords campaign management\ntips.",
3576 "type": "boolean"
3577 },
3578 "physicalMail": {
3579 "description": "An opt-in to receive special promotional gif ts and material in the mail.",
3580 "type": "boolean"
3581 },
3582 "phoneContact": {
3583 "description": "An opt-in to allow recieivng phone calls abo ut their Partners account.",
3584 "type": "boolean"
3585 },
3586 "marketComm": {
3587 "description": "An opt-in about receiving email from Partner s marketing teams. Includes\nmember-only events and special promotional offers f or Google products.",
3588 "type": "boolean"
3589 }
3590 },
3591 "type": "object"
3592 } 3612 }
3593 }, 3613 },
3594 "servicePath": "", 3614 "servicePath": "",
3595 "title": "Google Partners API", 3615 "title": "Google Partners API",
3596 "version": "v2" 3616 "version": "v2"
3597 } 3617 }
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