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

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

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