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

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

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 years, 3 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/pagespeedonline__v2.json ('k') | discovery/googleapis/people__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "basePath": "", 2 "basePath": "",
3 "baseUrl": "https://partners.googleapis.com/", 3 "baseUrl": "https://partners.googleapis.com/",
4 "batchPath": "batch", 4 "batchPath": "batch",
5 "canonicalName": "Partners", 5 "canonicalName": "Partners",
6 "description": "Searches certified companies and creates contact leads with them, and also audits the usage of clients.", 6 "description": "Searches certified companies and creates contact leads with them, and also audits the usage of clients.",
7 "discoveryVersion": "v1", 7 "discoveryVersion": "v1",
8 "documentationLink": "https://developers.google.com/partners/", 8 "documentationLink": "https://developers.google.com/partners/",
9 "icons": { 9 "icons": {
10 "x16": "http://www.google.com/images/icons/product/search-16.gif", 10 "x16": "http://www.google.com/images/icons/product/search-16.gif",
11 "x32": "http://www.google.com/images/icons/product/search-32.gif" 11 "x32": "http://www.google.com/images/icons/product/search-32.gif"
12 }, 12 },
13 "id": "partners:v2", 13 "id": "partners:v2",
14 "kind": "discovery#restDescription", 14 "kind": "discovery#restDescription",
15 "name": "partners", 15 "name": "partners",
16 "ownerDomain": "google.com", 16 "ownerDomain": "google.com",
17 "ownerName": "Google", 17 "ownerName": "Google",
18 "parameters": { 18 "parameters": {
19 "pp": {
20 "default": "true",
21 "description": "Pretty-print response.",
22 "location": "query",
23 "type": "boolean"
24 },
25 "bearer_token": {
26 "description": "OAuth bearer token.",
27 "location": "query",
28 "type": "string"
29 },
30 "oauth_token": {
31 "description": "OAuth 2.0 token for the current user.",
32 "location": "query",
33 "type": "string"
34 },
19 "upload_protocol": { 35 "upload_protocol": {
20 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 36 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
21 "location": "query", 37 "location": "query",
22 "type": "string" 38 "type": "string"
23 }, 39 },
24 "prettyPrint": { 40 "prettyPrint": {
25 "default": "true", 41 "default": "true",
26 "description": "Returns response with indentations and line breaks." , 42 "description": "Returns response with indentations and line breaks." ,
27 "location": "query", 43 "location": "query",
28 "type": "boolean" 44 "type": "boolean"
29 }, 45 },
30 "uploadType": { 46 "uploadType": {
31 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 47 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
32 "location": "query", 48 "location": "query",
33 "type": "string" 49 "type": "string"
34 }, 50 },
35 "fields": { 51 "fields": {
36 "description": "Selector specifying which fields to include in a par tial response.", 52 "description": "Selector specifying which fields to include in a par tial response.",
37 "location": "query", 53 "location": "query",
38 "type": "string" 54 "type": "string"
39 }, 55 },
40 "callback": {
41 "description": "JSONP",
42 "location": "query",
43 "type": "string"
44 },
45 "$.xgafv": { 56 "$.xgafv": {
46 "description": "V1 error format.", 57 "description": "V1 error format.",
47 "enum": [ 58 "enum": [
48 "1", 59 "1",
49 "2" 60 "2"
50 ], 61 ],
51 "enumDescriptions": [ 62 "enumDescriptions": [
52 "v1 error format", 63 "v1 error format",
53 "v2 error format" 64 "v2 error format"
54 ], 65 ],
55 "location": "query", 66 "location": "query",
56 "type": "string" 67 "type": "string"
57 }, 68 },
69 "callback": {
70 "description": "JSONP",
71 "location": "query",
72 "type": "string"
73 },
58 "alt": { 74 "alt": {
59 "default": "json", 75 "default": "json",
60 "description": "Data format for response.", 76 "description": "Data format for response.",
61 "enum": [ 77 "enum": [
62 "json", 78 "json",
63 "media", 79 "media",
64 "proto" 80 "proto"
65 ], 81 ],
66 "enumDescriptions": [ 82 "enumDescriptions": [
67 "Responses with Content-Type of application/json", 83 "Responses with Content-Type of application/json",
(...skipping 10 matching lines...) Expand all
78 }, 94 },
79 "key": { 95 "key": {
80 "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.", 96 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
81 "location": "query", 97 "location": "query",
82 "type": "string" 98 "type": "string"
83 }, 99 },
84 "quotaUser": { 100 "quotaUser": {
85 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.", 101 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
86 "location": "query", 102 "location": "query",
87 "type": "string" 103 "type": "string"
88 },
89 "pp": {
90 "default": "true",
91 "description": "Pretty-print response.",
92 "location": "query",
93 "type": "boolean"
94 },
95 "oauth_token": {
96 "description": "OAuth 2.0 token for the current user.",
97 "location": "query",
98 "type": "string"
99 },
100 "bearer_token": {
101 "description": "OAuth bearer token.",
102 "location": "query",
103 "type": "string"
104 } 104 }
105 }, 105 },
106 "protocol": "rest", 106 "protocol": "rest",
107 "resources": { 107 "resources": {
108 "leads": { 108 "companies": {
109 "methods": { 109 "methods": {
110 "list": { 110 "list": {
111 "description": "Lists advertiser leads for a user's associat ed company.\nShould only be called within the context of an authorized logged in user.", 111 "description": "Lists companies.",
112 "httpMethod": "GET", 112 "httpMethod": "GET",
113 "id": "partners.leads.list", 113 "id": "partners.companies.list",
114 "parameterOrder": [], 114 "parameterOrder": [],
115 "parameters": { 115 "parameters": {
116 "requestMetadata.locale": { 116 "requestMetadata.trafficSource.trafficSourceId": {
117 "description": "Locale to use for the current reques t.", 117 "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.",
118 "location": "query", 118 "location": "query",
119 "type": "string" 119 "type": "string"
120 }, 120 },
121 "maxMonthlyBudget.units": {
122 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
123 "format": "int64",
124 "location": "query",
125 "type": "string"
126 },
127 "requestMetadata.trafficSource.trafficSubId": {
128 "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.",
129 "location": "query",
130 "type": "string"
131 },
132 "minMonthlyBudget.nanos": {
133 "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.",
134 "format": "int32",
135 "location": "query",
136 "type": "integer"
137 },
138 "requestMetadata.partnersSessionId": {
139 "description": "Google Partners session ID.",
140 "location": "query",
141 "type": "string"
142 },
143 "companyName": {
144 "description": "Company name to search for.",
145 "location": "query",
146 "type": "string"
147 },
148 "pageToken": {
149 "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.",
150 "location": "query",
151 "type": "string"
152 },
153 "industries": {
154 "description": "List of industries the company can h elp with.",
155 "enum": [
156 "INDUSTRY_UNSPECIFIED",
157 "I_AUTOMOTIVE",
158 "I_BUSINESS_TO_BUSINESS",
159 "I_CONSUMER_PACKAGED_GOODS",
160 "I_EDUCATION",
161 "I_FINANCE",
162 "I_HEALTHCARE",
163 "I_MEDIA_AND_ENTERTAINMENT",
164 "I_RETAIL",
165 "I_TECHNOLOGY",
166 "I_TRAVEL"
167 ],
168 "location": "query",
169 "repeated": true,
170 "type": "string"
171 },
172 "websiteUrl": {
173 "description": "Website URL that will help to find a better matched company.\n.",
174 "location": "query",
175 "type": "string"
176 },
177 "gpsMotivations": {
178 "description": "List of reasons for using Google Par tner Search to get companies.",
179 "enum": [
180 "GPS_MOTIVATION_UNSPECIFIED",
181 "GPSM_HELP_WITH_ADVERTISING",
182 "GPSM_HELP_WITH_WEBSITE",
183 "GPSM_NO_WEBSITE"
184 ],
185 "location": "query",
186 "repeated": true,
187 "type": "string"
188 },
189 "languageCodes": {
190 "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\").",
191 "location": "query",
192 "repeated": true,
193 "type": "string"
194 },
195 "pageSize": {
196 "description": "Requested page size. Server may retu rn fewer companies than requested.\nIf unspecified, server picks an appropriate default.",
197 "format": "int32",
198 "location": "query",
199 "type": "integer"
200 },
121 "requestMetadata.userOverrides.ipAddress": { 201 "requestMetadata.userOverrides.ipAddress": {
122 "description": "IP address to use instead of the use r's geo-located IP address.", 202 "description": "IP address to use instead of the use r's geo-located IP address.",
123 "location": "query", 203 "location": "query",
124 "type": "string" 204 "type": "string"
125 }, 205 },
126 "requestMetadata.experimentIds": { 206 "requestMetadata.experimentIds": {
127 "description": "Experiment IDs the current request b elongs to.", 207 "description": "Experiment IDs the current request b elongs to.",
128 "location": "query", 208 "location": "query",
129 "repeated": true, 209 "repeated": true,
130 "type": "string" 210 "type": "string"
131 }, 211 },
132 "requestMetadata.trafficSource.trafficSubId": { 212 "orderBy": {
133 "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.", 213 "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.",
134 "location": "query", 214 "location": "query",
135 "type": "string" 215 "type": "string"
136 }, 216 },
137 "orderBy": { 217 "specializations": {
138 "description": "How to order Leads. Currently, only `create_time`\nand `create_time desc` are supported", 218 "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.",
219 "enum": [
220 "BADGE_SPECIALIZATION_UNKNOWN",
221 "BADGE_SPECIALIZATION_ADWORDS_SEARCH",
222 "BADGE_SPECIALIZATION_ADWORDS_DISPLAY",
223 "BADGE_SPECIALIZATION_ADWORDS_MOBILE",
224 "BADGE_SPECIALIZATION_ADWORDS_VIDEO",
225 "BADGE_SPECIALIZATION_ADWORDS_SHOPPING"
226 ],
227 "location": "query",
228 "repeated": true,
229 "type": "string"
230 },
231 "maxMonthlyBudget.currencyCode": {
232 "description": "The 3-letter currency code defined i n ISO 4217.",
139 "location": "query", 233 "location": "query",
140 "type": "string" 234 "type": "string"
141 }, 235 },
142 "requestMetadata.partnersSessionId": {
143 "description": "Google Partners session ID.",
144 "location": "query",
145 "type": "string"
146 },
147 "requestMetadata.userOverrides.userId": { 236 "requestMetadata.userOverrides.userId": {
148 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 237 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
149 "location": "query", 238 "location": "query",
150 "type": "string" 239 "type": "string"
151 }, 240 },
152 "pageToken": { 241 "minMonthlyBudget.currencyCode": {
153 "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.", 242 "description": "The 3-letter currency code defined i n ISO 4217.",
154 "location": "query", 243 "location": "query",
155 "type": "string" 244 "type": "string"
156 }, 245 },
157 "pageSize": { 246 "view": {
158 "description": "Requested page size. Server may retu rn fewer leads than requested.\nIf unspecified, server picks an appropriate defa ult.", 247 "description": "The view of the `Company` resource t o be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.",
248 "enum": [
249 "COMPANY_VIEW_UNSPECIFIED",
250 "CV_GOOGLE_PARTNER_SEARCH"
251 ],
252 "location": "query",
253 "type": "string"
254 },
255 "requestMetadata.locale": {
256 "description": "Locale to use for the current reques t.",
257 "location": "query",
258 "type": "string"
259 },
260 "address": {
261 "description": "The address to use when searching fo r companies.\nIf not given, the geo-located address of the request is used.",
262 "location": "query",
263 "type": "string"
264 },
265 "minMonthlyBudget.units": {
266 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
267 "format": "int64",
268 "location": "query",
269 "type": "string"
270 },
271 "maxMonthlyBudget.nanos": {
272 "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.",
159 "format": "int32", 273 "format": "int32",
160 "location": "query", 274 "location": "query",
161 "type": "integer" 275 "type": "integer"
162 }, 276 },
277 "services": {
278 "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.",
279 "enum": [
280 "SERVICE_UNSPECIFIED",
281 "S_ADVANCED_ADWORDS_SUPPORT",
282 "S_ADVERTISING_ON_GOOGLE",
283 "S_AN_ENHANCED_WEBSITE",
284 "S_AN_ONLINE_MARKETING_PLAN",
285 "S_MOBILE_AND_VIDEO_ADS",
286 "S_MOBILE_WEBSITE_SERVICES"
287 ],
288 "location": "query",
289 "repeated": true,
290 "type": "string"
291 }
292 },
293 "path": "v2/companies",
294 "response": {
295 "$ref": "ListCompaniesResponse"
296 }
297 },
298 "get": {
299 "description": "Gets a company.",
300 "httpMethod": "GET",
301 "id": "partners.companies.get",
302 "parameterOrder": [
303 "companyId"
304 ],
305 "parameters": {
163 "requestMetadata.trafficSource.trafficSourceId": { 306 "requestMetadata.trafficSource.trafficSourceId": {
164 "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.", 307 "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.",
165 "location": "query", 308 "location": "query",
166 "type": "string" 309 "type": "string"
167 } 310 },
168 }, 311 "requestMetadata.userOverrides.ipAddress": {
169 "path": "v2/leads", 312 "description": "IP address to use instead of the use r's geo-located IP address.",
170 "response": { 313 "location": "query",
171 "$ref": "ListLeadsResponse" 314 "type": "string"
172 } 315 },
173 } 316 "companyId": {
174 } 317 "description": "The ID of the company to retrieve.",
175 }, 318 "location": "path",
176 "offers": { 319 "required": true,
177 "methods": { 320 "type": "string"
178 "list": { 321 },
179 "description": "Lists the Offers available for the current u ser", 322 "requestMetadata.experimentIds": {
180 "httpMethod": "GET", 323 "description": "Experiment IDs the current request b elongs to.",
181 "id": "partners.offers.list", 324 "location": "query",
182 "parameterOrder": [], 325 "repeated": true,
183 "parameters": { 326 "type": "string"
184 "requestMetadata.partnersSessionId": { 327 },
185 "description": "Google Partners session ID.", 328 "currencyCode": {
329 "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.",
330 "location": "query",
331 "type": "string"
332 },
333 "orderBy": {
334 "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.",
335 "location": "query",
336 "type": "string"
337 },
338 "requestMetadata.trafficSource.trafficSubId": {
339 "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.",
186 "location": "query", 340 "location": "query",
187 "type": "string" 341 "type": "string"
188 }, 342 },
189 "requestMetadata.userOverrides.userId": { 343 "requestMetadata.userOverrides.userId": {
190 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 344 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
191 "location": "query", 345 "location": "query",
192 "type": "string" 346 "type": "string"
193 }, 347 },
194 "requestMetadata.trafficSource.trafficSourceId": { 348 "requestMetadata.partnersSessionId": {
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.", 349 "description": "Google Partners session ID.",
350 "location": "query",
351 "type": "string"
352 },
353 "view": {
354 "description": "The view of `Company` resource to be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.",
355 "enum": [
356 "COMPANY_VIEW_UNSPECIFIED",
357 "CV_GOOGLE_PARTNER_SEARCH"
358 ],
359 "location": "query",
360 "type": "string"
361 },
362 "address": {
363 "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.",
196 "location": "query", 364 "location": "query",
197 "type": "string" 365 "type": "string"
198 }, 366 },
199 "requestMetadata.locale": { 367 "requestMetadata.locale": {
200 "description": "Locale to use for the current reques t.", 368 "description": "Locale to use for the current reques t.",
201 "location": "query", 369 "location": "query",
202 "type": "string" 370 "type": "string"
203 },
204 "requestMetadata.userOverrides.ipAddress": {
205 "description": "IP address to use instead of the use r's geo-located IP address.",
206 "location": "query",
207 "type": "string"
208 },
209 "requestMetadata.experimentIds": {
210 "description": "Experiment IDs the current request b elongs to.",
211 "location": "query",
212 "repeated": true,
213 "type": "string"
214 },
215 "requestMetadata.trafficSource.trafficSubId": {
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.",
217 "location": "query",
218 "type": "string"
219 } 371 }
220 }, 372 },
221 "path": "v2/offers", 373 "path": "v2/companies/{companyId}",
222 "response": { 374 "response": {
223 "$ref": "ListOffersResponse" 375 "$ref": "GetCompanyResponse"
224 } 376 }
225 } 377 }
226 }, 378 },
227 "resources": { 379 "resources": {
228 "history": { 380 "leads": {
229 "methods": { 381 "methods": {
230 "list": { 382 "create": {
231 "description": "Lists the Historical Offers for the current user (or user's entire company)", 383 "description": "Creates an advertiser lead for the g iven company ID.",
232 "httpMethod": "GET", 384 "httpMethod": "POST",
233 "id": "partners.offers.history.list", 385 "id": "partners.companies.leads.create",
234 "parameterOrder": [], 386 "parameterOrder": [
387 "companyId"
388 ],
235 "parameters": { 389 "parameters": {
236 "requestMetadata.experimentIds": { 390 "companyId": {
237 "description": "Experiment IDs the current r equest belongs to.", 391 "description": "The ID of the company to con tact.",
238 "location": "query", 392 "location": "path",
239 "repeated": true, 393 "required": 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 "requestMetadata.trafficSource.trafficSubId": {
248 "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.",
249 "location": "query",
250 "type": "string"
251 },
252 "orderBy": {
253 "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.",
254 "location": "query",
255 "type": "string"
256 },
257 "requestMetadata.partnersSessionId": {
258 "description": "Google Partners session ID." ,
259 "location": "query",
260 "type": "string"
261 },
262 "requestMetadata.userOverrides.userId": {
263 "description": "Logged-in user ID to imperso nate instead of the user's 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" 394 "type": "string"
292 } 395 }
293 }, 396 },
294 "path": "v2/offers/history", 397 "path": "v2/companies/{companyId}/leads",
398 "request": {
399 "$ref": "CreateLeadRequest"
400 },
295 "response": { 401 "response": {
296 "$ref": "ListOffersHistoryResponse" 402 "$ref": "CreateLeadResponse"
297 } 403 }
298 } 404 }
299 } 405 }
300 } 406 }
301 } 407 }
302 }, 408 },
303 "userStates": { 409 "users": {
304 "methods": { 410 "methods": {
305 "list": { 411 "deleteCompanyRelation": {
306 "description": "Lists states for current user.", 412 "description": "Deletes a user's company relation. Unaffilia ites the user from a company.",
307 "httpMethod": "GET", 413 "httpMethod": "DELETE",
308 "id": "partners.userStates.list", 414 "id": "partners.users.deleteCompanyRelation",
309 "parameterOrder": [], 415 "parameterOrder": [
416 "userId"
417 ],
310 "parameters": { 418 "parameters": {
311 "requestMetadata.userOverrides.userId": { 419 "requestMetadata.userOverrides.userId": {
312 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 420 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
313 "location": "query", 421 "location": "query",
314 "type": "string" 422 "type": "string"
315 }, 423 },
316 "requestMetadata.partnersSessionId": { 424 "requestMetadata.partnersSessionId": {
317 "description": "Google Partners session ID.", 425 "description": "Google Partners session ID.",
318 "location": "query", 426 "location": "query",
319 "type": "string" 427 "type": "string"
(...skipping 16 matching lines...) Expand all
336 "requestMetadata.experimentIds": { 444 "requestMetadata.experimentIds": {
337 "description": "Experiment IDs the current request b elongs to.", 445 "description": "Experiment IDs the current request b elongs to.",
338 "location": "query", 446 "location": "query",
339 "repeated": true, 447 "repeated": true,
340 "type": "string" 448 "type": "string"
341 }, 449 },
342 "requestMetadata.trafficSource.trafficSubId": { 450 "requestMetadata.trafficSource.trafficSubId": {
343 "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.", 451 "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.",
344 "location": "query", 452 "location": "query",
345 "type": "string" 453 "type": "string"
454 },
455 "userId": {
456 "description": "The ID of the user. Can be set to <c ode>me</code> to mean\nthe currently authenticated user.",
457 "location": "path",
458 "required": true,
459 "type": "string"
346 } 460 }
347 }, 461 },
348 "path": "v2/userStates", 462 "path": "v2/users/{userId}/companyRelation",
349 "response": { 463 "response": {
350 "$ref": "ListUserStatesResponse" 464 "$ref": "Empty"
351 } 465 }
352 } 466 },
353 } 467 "createCompanyRelation": {
354 }, 468 "description": "Creates a user's company relation. Affiliate s the user to a company.",
355 "analytics": { 469 "httpMethod": "PUT",
356 "methods": { 470 "id": "partners.users.createCompanyRelation",
357 "list": { 471 "parameterOrder": [
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.", 472 "userId"
359 "httpMethod": "GET", 473 ],
360 "id": "partners.analytics.list",
361 "parameterOrder": [],
362 "parameters": { 474 "parameters": {
363 "requestMetadata.userOverrides.userId": {
364 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
365 "location": "query",
366 "type": "string"
367 },
368 "requestMetadata.partnersSessionId": {
369 "description": "Google Partners session ID.",
370 "location": "query",
371 "type": "string"
372 },
373 "pageToken": {
374 "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.",
375 "location": "query",
376 "type": "string"
377 },
378 "pageSize": {
379 "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.",
380 "format": "int32",
381 "location": "query",
382 "type": "integer"
383 },
384 "requestMetadata.trafficSource.trafficSourceId": { 475 "requestMetadata.trafficSource.trafficSourceId": {
385 "description": "Identifier to indicate where the tra ffic comes from.\nAn identifier has multiple letters created by a team which red irected the\ntraffic to us.", 476 "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.",
386 "location": "query", 477 "location": "query",
387 "type": "string" 478 "type": "string"
388 }, 479 },
389 "requestMetadata.locale": { 480 "requestMetadata.locale": {
390 "description": "Locale to use for the current reques t.", 481 "description": "Locale to use for the current reques t.",
391 "location": "query", 482 "location": "query",
392 "type": "string" 483 "type": "string"
393 }, 484 },
394 "requestMetadata.userOverrides.ipAddress": { 485 "requestMetadata.userOverrides.ipAddress": {
395 "description": "IP address to use instead of the use r's geo-located IP address.", 486 "description": "IP address to use instead of the use r's geo-located IP address.",
396 "location": "query", 487 "location": "query",
397 "type": "string" 488 "type": "string"
398 }, 489 },
399 "requestMetadata.experimentIds": { 490 "requestMetadata.experimentIds": {
400 "description": "Experiment IDs the current request b elongs to.", 491 "description": "Experiment IDs the current request b elongs to.",
401 "location": "query", 492 "location": "query",
402 "repeated": true, 493 "repeated": true,
403 "type": "string" 494 "type": "string"
404 }, 495 },
496 "userId": {
497 "description": "The ID of the user. Can be set to <c ode>me</code> to mean\nthe currently authenticated user.",
498 "location": "path",
499 "required": true,
500 "type": "string"
501 },
405 "requestMetadata.trafficSource.trafficSubId": { 502 "requestMetadata.trafficSource.trafficSubId": {
406 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.", 503 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
407 "location": "query", 504 "location": "query",
408 "type": "string" 505 "type": "string"
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": {
426 "requestMetadata.partnersSessionId": {
427 "description": "Google Partners session ID.",
428 "location": "query",
429 "type": "string"
430 }, 506 },
431 "requestMetadata.userOverrides.userId": { 507 "requestMetadata.userOverrides.userId": {
432 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 508 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
433 "location": "query", 509 "location": "query",
434 "type": "string" 510 "type": "string"
435 }, 511 },
512 "requestMetadata.partnersSessionId": {
513 "description": "Google Partners session ID.",
514 "location": "query",
515 "type": "string"
516 }
517 },
518 "path": "v2/users/{userId}/companyRelation",
519 "request": {
520 "$ref": "CompanyRelation"
521 },
522 "response": {
523 "$ref": "CompanyRelation"
524 }
525 },
526 "get": {
527 "description": "Gets a user.",
528 "httpMethod": "GET",
529 "id": "partners.users.get",
530 "parameterOrder": [
531 "userId"
532 ],
533 "parameters": {
534 "requestMetadata.userOverrides.userId": {
535 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
536 "location": "query",
537 "type": "string"
538 },
539 "requestMetadata.partnersSessionId": {
540 "description": "Google Partners session ID.",
541 "location": "query",
542 "type": "string"
543 },
544 "userView": {
545 "description": "Specifies what parts of the user inf ormation to return.",
546 "enum": [
547 "BASIC",
548 "PROFILE",
549 "PUBLIC_PROFILE"
550 ],
551 "location": "query",
552 "type": "string"
553 },
436 "requestMetadata.trafficSource.trafficSourceId": { 554 "requestMetadata.trafficSource.trafficSourceId": {
437 "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.", 555 "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.",
438 "location": "query", 556 "location": "query",
439 "type": "string" 557 "type": "string"
440 }, 558 },
441 "requestMetadata.locale": { 559 "requestMetadata.locale": {
442 "description": "Locale to use for the current reques t.", 560 "description": "Locale to use for the current reques t.",
443 "location": "query", 561 "location": "query",
444 "type": "string" 562 "type": "string"
445 }, 563 },
446 "requestMetadata.userOverrides.ipAddress": { 564 "requestMetadata.userOverrides.ipAddress": {
447 "description": "IP address to use instead of the use r's geo-located IP address.", 565 "description": "IP address to use instead of the use r's geo-located IP address.",
448 "location": "query", 566 "location": "query",
449 "type": "string" 567 "type": "string"
450 }, 568 },
451 "requestMetadata.experimentIds": { 569 "requestMetadata.experimentIds": {
452 "description": "Experiment IDs the current request b elongs to.", 570 "description": "Experiment IDs the current request b elongs to.",
453 "location": "query", 571 "location": "query",
454 "repeated": true, 572 "repeated": true,
455 "type": "string" 573 "type": "string"
456 }, 574 },
457 "requestMetadata.trafficSource.trafficSubId": { 575 "requestMetadata.trafficSource.trafficSubId": {
458 "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.", 576 "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.",
459 "location": "query", 577 "location": "query",
460 "type": "string" 578 "type": "string"
579 },
580 "userId": {
581 "description": "Identifier of the user. Can be set t o <code>me</code> to mean the currently\nauthenticated user.",
582 "location": "path",
583 "required": true,
584 "type": "string"
461 } 585 }
462 }, 586 },
463 "path": "v2/partnersstatus", 587 "path": "v2/users/{userId}",
464 "response": { 588 "response": {
465 "$ref": "GetPartnersStatusResponse" 589 "$ref": "User"
466 } 590 }
467 }, 591 },
468 "updateLeads": { 592 "updateProfile": {
469 "description": "Updates the specified lead.", 593 "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.",
470 "httpMethod": "PATCH", 594 "httpMethod": "PATCH",
471 "id": "partners.updateLeads", 595 "id": "partners.users.updateProfile",
472 "parameterOrder": [], 596 "parameterOrder": [],
473 "parameters": { 597 "parameters": {
474 "requestMetadata.partnersSessionId": { 598 "requestMetadata.partnersSessionId": {
475 "description": "Google Partners session ID.", 599 "description": "Google Partners session ID.",
476 "location": "query", 600 "location": "query",
477 "type": "string" 601 "type": "string"
478 }, 602 },
479 "requestMetadata.userOverrides.userId": { 603 "requestMetadata.userOverrides.userId": {
480 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 604 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
481 "location": "query", 605 "location": "query",
482 "type": "string" 606 "type": "string"
483 }, 607 },
484 "requestMetadata.trafficSource.trafficSourceId": { 608 "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.", 609 "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", 610 "location": "query",
487 "type": "string" 611 "type": "string"
488 }, 612 },
489 "requestMetadata.locale": { 613 "requestMetadata.locale": {
490 "description": "Locale to use for the current reques t.", 614 "description": "Locale to use for the current reques t.",
491 "location": "query", 615 "location": "query",
492 "type": "string" 616 "type": "string"
493 }, 617 },
494 "requestMetadata.userOverrides.ipAddress": { 618 "requestMetadata.userOverrides.ipAddress": {
495 "description": "IP address to use instead of the use r's geo-located IP address.", 619 "description": "IP address to use instead of the use r's geo-located IP address.",
496 "location": "query", 620 "location": "query",
497 "type": "string" 621 "type": "string"
498 }, 622 },
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": { 623 "requestMetadata.experimentIds": {
506 "description": "Experiment IDs the current request b elongs to.", 624 "description": "Experiment IDs the current request b elongs to.",
507 "location": "query", 625 "location": "query",
508 "repeated": true, 626 "repeated": true,
509 "type": "string" 627 "type": "string"
510 }, 628 },
511 "requestMetadata.trafficSource.trafficSubId": { 629 "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.", 630 "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", 631 "location": "query",
514 "type": "string" 632 "type": "string"
515 } 633 }
516 }, 634 },
517 "path": "v2/leads", 635 "path": "v2/users/profile",
518 "request": { 636 "request": {
519 "$ref": "Lead" 637 "$ref": "UserProfile"
520 }, 638 },
521 "response": { 639 "response": {
522 "$ref": "Lead" 640 "$ref": "UserProfile"
523 } 641 }
524 }, 642 }
525 "updateCompanies": { 643 }
526 "description": "Update company.\nShould only be called withi n the context of an authorized logged in user.", 644 },
527 "httpMethod": "PATCH", 645 "userEvents": {
528 "id": "partners.updateCompanies", 646 "methods": {
647 "log": {
648 "description": "Logs a user event.",
649 "httpMethod": "POST",
650 "id": "partners.userEvents.log",
529 "parameterOrder": [], 651 "parameterOrder": [],
652 "parameters": {},
653 "path": "v2/userEvents:log",
654 "request": {
655 "$ref": "LogUserEventRequest"
656 },
657 "response": {
658 "$ref": "LogUserEventResponse"
659 }
660 }
661 }
662 },
663 "clientMessages": {
664 "methods": {
665 "log": {
666 "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.",
667 "httpMethod": "POST",
668 "id": "partners.clientMessages.log",
669 "parameterOrder": [],
670 "parameters": {},
671 "path": "v2/clientMessages:log",
672 "request": {
673 "$ref": "LogMessageRequest"
674 },
675 "response": {
676 "$ref": "LogMessageResponse"
677 }
678 }
679 }
680 },
681 "exams": {
682 "methods": {
683 "getToken": {
684 "description": "Gets an Exam Token for a Partner's user to t ake an exam in the Exams System",
685 "httpMethod": "GET",
686 "id": "partners.exams.getToken",
687 "parameterOrder": [
688 "examType"
689 ],
530 "parameters": { 690 "parameters": {
531 "requestMetadata.partnersSessionId": {
532 "description": "Google Partners session ID.",
533 "location": "query",
534 "type": "string"
535 },
536 "requestMetadata.userOverrides.userId": {
537 "description": "Logged-in user ID to impersonate ins tead of the user's 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": { 691 "requestMetadata.experimentIds": {
563 "description": "Experiment IDs the current request b elongs to.", 692 "description": "Experiment IDs the current request b elongs to.",
564 "location": "query", 693 "location": "query",
565 "repeated": true, 694 "repeated": true,
566 "type": "string" 695 "type": "string"
567 }, 696 },
568 "requestMetadata.trafficSource.trafficSubId": { 697 "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.", 698 "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", 699 "location": "query",
571 "type": "string" 700 "type": "string"
572 }
573 },
574 "path": "v2/companies",
575 "request": {
576 "$ref": "Company"
577 },
578 "response": {
579 "$ref": "Company"
580 }
581 }
582 }
583 },
584 "companies": {
585 "methods": {
586 "list": {
587 "description": "Lists companies.",
588 "httpMethod": "GET",
589 "id": "partners.companies.list",
590 "parameterOrder": [],
591 "parameters": {
592 "languageCodes": {
593 "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\").",
594 "location": "query",
595 "repeated": true,
596 "type": "string"
597 }, 701 },
598 "pageSize": { 702 "examType": {
599 "description": "Requested page size. Server may retu rn fewer companies than requested.\nIf unspecified, server picks an appropriate default.", 703 "description": "The exam type we are requesting a to ken for.",
600 "format": "int32",
601 "location": "query",
602 "type": "integer"
603 },
604 "requestMetadata.userOverrides.ipAddress": {
605 "description": "IP address to use instead of the use r's geo-located IP address.",
606 "location": "query",
607 "type": "string"
608 },
609 "requestMetadata.experimentIds": {
610 "description": "Experiment IDs the current request b elongs to.",
611 "location": "query",
612 "repeated": true,
613 "type": "string"
614 },
615 "orderBy": {
616 "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.",
617 "location": "query",
618 "type": "string"
619 },
620 "specializations": {
621 "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.",
622 "enum": [ 704 "enum": [
623 "BADGE_SPECIALIZATION_UNKNOWN", 705 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
624 "BADGE_SPECIALIZATION_ADWORDS_SEARCH", 706 "CET_ADWORDS_FUNDAMENTALS",
625 "BADGE_SPECIALIZATION_ADWORDS_DISPLAY", 707 "CET_ADWORDS_ADVANCED_SEARCH",
626 "BADGE_SPECIALIZATION_ADWORDS_MOBILE", 708 "CET_ADWORDS_ADVANCED_DISPLAY",
627 "BADGE_SPECIALIZATION_ADWORDS_VIDEO", 709 "CET_VIDEO_ADS",
628 "BADGE_SPECIALIZATION_ADWORDS_SHOPPING" 710 "CET_DOUBLECLICK",
711 "CET_ANALYTICS",
712 "CET_SHOPPING",
713 "CET_MOBILE",
714 "CET_DIGITAL_SALES",
715 "CET_MOBILE_SITES"
629 ], 716 ],
630 "location": "query", 717 "location": "path",
631 "repeated": true, 718 "required": true,
632 "type": "string"
633 },
634 "maxMonthlyBudget.currencyCode": {
635 "description": "The 3-letter currency code defined i n ISO 4217.",
636 "location": "query",
637 "type": "string"
638 },
639 "minMonthlyBudget.currencyCode": {
640 "description": "The 3-letter currency code defined i n ISO 4217.",
641 "location": "query",
642 "type": "string" 719 "type": "string"
643 }, 720 },
644 "requestMetadata.userOverrides.userId": { 721 "requestMetadata.userOverrides.userId": {
645 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 722 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
646 "location": "query", 723 "location": "query",
647 "type": "string" 724 "type": "string"
648 }, 725 },
649 "view": { 726 "requestMetadata.partnersSessionId": {
650 "description": "The view of the `Company` resource t o be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.", 727 "description": "Google Partners session ID.",
651 "enum": [
652 "COMPANY_VIEW_UNSPECIFIED",
653 "CV_GOOGLE_PARTNER_SEARCH"
654 ],
655 "location": "query", 728 "location": "query",
656 "type": "string" 729 "type": "string"
657 }, 730 },
658 "address": { 731 "requestMetadata.trafficSource.trafficSourceId": {
659 "description": "The address to use when searching fo r companies.\nIf not given, the geo-located address of the request is used.", 732 "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.",
660 "location": "query", 733 "location": "query",
661 "type": "string" 734 "type": "string"
662 }, 735 },
663 "requestMetadata.locale": { 736 "requestMetadata.locale": {
664 "description": "Locale to use for the current reques t.", 737 "description": "Locale to use for the current reques t.",
665 "location": "query", 738 "location": "query",
666 "type": "string" 739 "type": "string"
667 }, 740 },
668 "minMonthlyBudget.units": { 741 "requestMetadata.userOverrides.ipAddress": {
669 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", 742 "description": "IP address to use instead of the use r's geo-located IP address.",
670 "format": "int64", 743 "location": "query",
744 "type": "string"
745 }
746 },
747 "path": "v2/exams/{examType}/token",
748 "response": {
749 "$ref": "ExamToken"
750 }
751 }
752 }
753 },
754 "leads": {
755 "methods": {
756 "list": {
757 "description": "Lists advertiser leads for a user's associat ed company.\nShould only be called within the context of an authorized logged in user.",
758 "httpMethod": "GET",
759 "id": "partners.leads.list",
760 "parameterOrder": [],
761 "parameters": {
762 "pageToken": {
763 "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.",
671 "location": "query", 764 "location": "query",
672 "type": "string" 765 "type": "string"
673 }, 766 },
674 "maxMonthlyBudget.nanos": { 767 "pageSize": {
675 "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.", 768 "description": "Requested page size. Server may retu rn fewer leads than requested.\nIf unspecified, server picks an appropriate defa ult.",
676 "format": "int32", 769 "format": "int32",
677 "location": "query", 770 "location": "query",
678 "type": "integer" 771 "type": "integer"
679 }, 772 },
680 "services": {
681 "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.",
682 "enum": [
683 "SERVICE_UNSPECIFIED",
684 "S_ADVANCED_ADWORDS_SUPPORT",
685 "S_ADVERTISING_ON_GOOGLE",
686 "S_AN_ENHANCED_WEBSITE",
687 "S_AN_ONLINE_MARKETING_PLAN",
688 "S_MOBILE_AND_VIDEO_ADS",
689 "S_MOBILE_WEBSITE_SERVICES"
690 ],
691 "location": "query",
692 "repeated": true,
693 "type": "string"
694 },
695 "requestMetadata.trafficSource.trafficSourceId": { 773 "requestMetadata.trafficSource.trafficSourceId": {
696 "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.", 774 "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.",
697 "location": "query", 775 "location": "query",
698 "type": "string" 776 "type": "string"
699 }, 777 },
700 "maxMonthlyBudget.units": { 778 "requestMetadata.locale": {
701 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", 779 "description": "Locale to use for the current reques t.",
702 "format": "int64",
703 "location": "query", 780 "location": "query",
704 "type": "string" 781 "type": "string"
705 }, 782 },
706 "minMonthlyBudget.nanos": { 783 "requestMetadata.userOverrides.ipAddress": {
707 "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.", 784 "description": "IP address to use instead of the use r's geo-located IP address.",
708 "format": "int32",
709 "location": "query",
710 "type": "integer"
711 },
712 "requestMetadata.trafficSource.trafficSubId": {
713 "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.",
714 "location": "query", 785 "location": "query",
715 "type": "string" 786 "type": "string"
716 }, 787 },
717 "requestMetadata.partnersSessionId": { 788 "requestMetadata.experimentIds": {
718 "description": "Google Partners session ID.", 789 "description": "Experiment IDs the current request b elongs to.",
719 "location": "query",
720 "type": "string"
721 },
722 "companyName": {
723 "description": "Company name to search for.",
724 "location": "query",
725 "type": "string"
726 },
727 "pageToken": {
728 "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.",
729 "location": "query",
730 "type": "string"
731 },
732 "industries": {
733 "description": "List of industries the company can h elp with.",
734 "enum": [
735 "INDUSTRY_UNSPECIFIED",
736 "I_AUTOMOTIVE",
737 "I_BUSINESS_TO_BUSINESS",
738 "I_CONSUMER_PACKAGED_GOODS",
739 "I_EDUCATION",
740 "I_FINANCE",
741 "I_HEALTHCARE",
742 "I_MEDIA_AND_ENTERTAINMENT",
743 "I_RETAIL",
744 "I_TECHNOLOGY",
745 "I_TRAVEL"
746 ],
747 "location": "query", 790 "location": "query",
748 "repeated": true, 791 "repeated": true,
749 "type": "string" 792 "type": "string"
750 }, 793 },
751 "websiteUrl": {
752 "description": "Website URL that will help to find a better matched company.\n.",
753 "location": "query",
754 "type": "string"
755 },
756 "gpsMotivations": {
757 "description": "List of reasons for using Google Par tner Search to get companies.",
758 "enum": [
759 "GPS_MOTIVATION_UNSPECIFIED",
760 "GPSM_HELP_WITH_ADVERTISING",
761 "GPSM_HELP_WITH_WEBSITE",
762 "GPSM_NO_WEBSITE"
763 ],
764 "location": "query",
765 "repeated": true,
766 "type": "string"
767 }
768 },
769 "path": "v2/companies",
770 "response": {
771 "$ref": "ListCompaniesResponse"
772 }
773 },
774 "get": {
775 "description": "Gets a company.",
776 "httpMethod": "GET",
777 "id": "partners.companies.get",
778 "parameterOrder": [
779 "companyId"
780 ],
781 "parameters": {
782 "orderBy": {
783 "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.",
784 "location": "query",
785 "type": "string"
786 },
787 "requestMetadata.trafficSource.trafficSubId": { 794 "requestMetadata.trafficSource.trafficSubId": {
788 "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.", 795 "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.",
789 "location": "query", 796 "location": "query",
790 "type": "string" 797 "type": "string"
791 }, 798 },
799 "orderBy": {
800 "description": "How to order Leads. Currently, only `create_time`\nand `create_time desc` are supported",
801 "location": "query",
802 "type": "string"
803 },
792 "requestMetadata.partnersSessionId": { 804 "requestMetadata.partnersSessionId": {
793 "description": "Google Partners session ID.", 805 "description": "Google Partners session ID.",
794 "location": "query", 806 "location": "query",
795 "type": "string" 807 "type": "string"
796 }, 808 },
797 "requestMetadata.userOverrides.userId": { 809 "requestMetadata.userOverrides.userId": {
798 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 810 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
799 "location": "query", 811 "location": "query",
800 "type": "string" 812 "type": "string"
801 }, 813 }
802 "view": { 814 },
803 "description": "The view of `Company` resource to be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.", 815 "path": "v2/leads",
804 "enum": [ 816 "response": {
805 "COMPANY_VIEW_UNSPECIFIED", 817 "$ref": "ListLeadsResponse"
806 "CV_GOOGLE_PARTNER_SEARCH" 818 }
807 ], 819 }
820 }
821 },
822 "offers": {
823 "methods": {
824 "list": {
825 "description": "Lists the Offers available for the current u ser",
826 "httpMethod": "GET",
827 "id": "partners.offers.list",
828 "parameterOrder": [],
829 "parameters": {
830 "requestMetadata.trafficSource.trafficSourceId": {
831 "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.",
808 "location": "query", 832 "location": "query",
809 "type": "string" 833 "type": "string"
810 }, 834 },
811 "requestMetadata.locale": { 835 "requestMetadata.locale": {
812 "description": "Locale to use for the current reques t.", 836 "description": "Locale to use for the current reques t.",
813 "location": "query", 837 "location": "query",
814 "type": "string" 838 "type": "string"
815 }, 839 },
816 "address": { 840 "requestMetadata.userOverrides.ipAddress": {
817 "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.", 841 "description": "IP address to use instead of the use r's geo-located IP address.",
842 "location": "query",
843 "type": "string"
844 },
845 "requestMetadata.experimentIds": {
846 "description": "Experiment IDs the current request b elongs to.",
847 "location": "query",
848 "repeated": true,
849 "type": "string"
850 },
851 "requestMetadata.trafficSource.trafficSubId": {
852 "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.",
853 "location": "query",
854 "type": "string"
855 },
856 "requestMetadata.userOverrides.userId": {
857 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
858 "location": "query",
859 "type": "string"
860 },
861 "requestMetadata.partnersSessionId": {
862 "description": "Google Partners session ID.",
863 "location": "query",
864 "type": "string"
865 }
866 },
867 "path": "v2/offers",
868 "response": {
869 "$ref": "ListOffersResponse"
870 }
871 }
872 },
873 "resources": {
874 "history": {
875 "methods": {
876 "list": {
877 "description": "Lists the Historical Offers for the current user (or user's entire company)",
878 "httpMethod": "GET",
879 "id": "partners.offers.history.list",
880 "parameterOrder": [],
881 "parameters": {
882 "requestMetadata.userOverrides.userId": {
883 "description": "Logged-in user ID to imperso nate instead of the user's ID.",
884 "location": "query",
885 "type": "string"
886 },
887 "requestMetadata.partnersSessionId": {
888 "description": "Google Partners session ID." ,
889 "location": "query",
890 "type": "string"
891 },
892 "pageToken": {
893 "description": "Token to retrieve a specific page.",
894 "location": "query",
895 "type": "string"
896 },
897 "pageSize": {
898 "description": "Maximum number of rows to re turn per page.",
899 "format": "int32",
900 "location": "query",
901 "type": "integer"
902 },
903 "requestMetadata.trafficSource.trafficSourceId": {
904 "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.",
905 "location": "query",
906 "type": "string"
907 },
908 "requestMetadata.locale": {
909 "description": "Locale to use for the curren t request.",
910 "location": "query",
911 "type": "string"
912 },
913 "requestMetadata.userOverrides.ipAddress": {
914 "description": "IP address to use instead of the user's geo-located IP address.",
915 "location": "query",
916 "type": "string"
917 },
918 "entireCompany": {
919 "description": "if true, show history for th e entire company. Requires user to be admin.",
920 "location": "query",
921 "type": "boolean"
922 },
923 "requestMetadata.experimentIds": {
924 "description": "Experiment IDs the current r equest belongs to.",
925 "location": "query",
926 "repeated": true,
927 "type": "string"
928 },
929 "requestMetadata.trafficSource.trafficSubId": {
930 "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.",
931 "location": "query",
932 "type": "string"
933 },
934 "orderBy": {
935 "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.",
936 "location": "query",
937 "type": "string"
938 }
939 },
940 "path": "v2/offers/history",
941 "response": {
942 "$ref": "ListOffersHistoryResponse"
943 }
944 }
945 }
946 }
947 }
948 },
949 "userStates": {
950 "methods": {
951 "list": {
952 "description": "Lists states for current user.",
953 "httpMethod": "GET",
954 "id": "partners.userStates.list",
955 "parameterOrder": [],
956 "parameters": {
957 "requestMetadata.userOverrides.userId": {
958 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
959 "location": "query",
960 "type": "string"
961 },
962 "requestMetadata.partnersSessionId": {
963 "description": "Google Partners session ID.",
818 "location": "query", 964 "location": "query",
819 "type": "string" 965 "type": "string"
820 }, 966 },
821 "requestMetadata.trafficSource.trafficSourceId": { 967 "requestMetadata.trafficSource.trafficSourceId": {
822 "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.", 968 "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.",
823 "location": "query", 969 "location": "query",
824 "type": "string" 970 "type": "string"
825 }, 971 },
972 "requestMetadata.locale": {
973 "description": "Locale to use for the current reques t.",
974 "location": "query",
975 "type": "string"
976 },
826 "requestMetadata.userOverrides.ipAddress": { 977 "requestMetadata.userOverrides.ipAddress": {
827 "description": "IP address to use instead of the use r's geo-located IP address.", 978 "description": "IP address to use instead of the use r's geo-located IP address.",
828 "location": "query", 979 "location": "query",
829 "type": "string" 980 "type": "string"
830 }, 981 },
831 "companyId": {
832 "description": "The ID of the company to retrieve.",
833 "location": "path",
834 "required": true,
835 "type": "string"
836 },
837 "requestMetadata.experimentIds": { 982 "requestMetadata.experimentIds": {
838 "description": "Experiment IDs the current request b elongs to.", 983 "description": "Experiment IDs the current request b elongs to.",
839 "location": "query", 984 "location": "query",
840 "repeated": true,
841 "type": "string"
842 },
843 "currencyCode": {
844 "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.",
845 "location": "query",
846 "type": "string"
847 }
848 },
849 "path": "v2/companies/{companyId}",
850 "response": {
851 "$ref": "GetCompanyResponse"
852 }
853 }
854 },
855 "resources": {
856 "leads": {
857 "methods": {
858 "create": {
859 "description": "Creates an advertiser lead for the g iven company ID.",
860 "httpMethod": "POST",
861 "id": "partners.companies.leads.create",
862 "parameterOrder": [
863 "companyId"
864 ],
865 "parameters": {
866 "companyId": {
867 "description": "The ID of the company to con tact.",
868 "location": "path",
869 "required": true,
870 "type": "string"
871 }
872 },
873 "path": "v2/companies/{companyId}/leads",
874 "request": {
875 "$ref": "CreateLeadRequest"
876 },
877 "response": {
878 "$ref": "CreateLeadResponse"
879 }
880 }
881 }
882 }
883 }
884 },
885 "users": {
886 "methods": {
887 "deleteCompanyRelation": {
888 "description": "Deletes a user's company relation. Unaffilia ites the user from a company.",
889 "httpMethod": "DELETE",
890 "id": "partners.users.deleteCompanyRelation",
891 "parameterOrder": [
892 "userId"
893 ],
894 "parameters": {
895 "requestMetadata.experimentIds": {
896 "description": "Experiment IDs the current request b elongs to.",
897 "location": "query",
898 "repeated": true, 985 "repeated": true,
899 "type": "string" 986 "type": "string"
900 }, 987 },
901 "requestMetadata.trafficSource.trafficSubId": { 988 "requestMetadata.trafficSource.trafficSubId": {
902 "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.", 989 "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a t eam which redirected the\ntraffic to us.",
903 "location": "query", 990 "location": "query",
904 "type": "string" 991 "type": "string"
905 }, 992 }
906 "userId": { 993 },
907 "description": "The ID of the user. Can be set to <c ode>me</code> to mean\nthe currently authenticated user.", 994 "path": "v2/userStates",
908 "location": "path", 995 "response": {
909 "required": true, 996 "$ref": "ListUserStatesResponse"
997 }
998 }
999 }
1000 },
1001 "analytics": {
1002 "methods": {
1003 "list": {
1004 "description": "Lists analytics data for a user's associated company.\nShould only be called within the context of an authorized logged in u ser.",
1005 "httpMethod": "GET",
1006 "id": "partners.analytics.list",
1007 "parameterOrder": [],
1008 "parameters": {
1009 "requestMetadata.userOverrides.userId": {
1010 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
1011 "location": "query",
910 "type": "string" 1012 "type": "string"
911 }, 1013 },
912 "requestMetadata.partnersSessionId": { 1014 "requestMetadata.partnersSessionId": {
913 "description": "Google Partners session ID.", 1015 "description": "Google Partners session ID.",
914 "location": "query", 1016 "location": "query",
915 "type": "string" 1017 "type": "string"
916 }, 1018 },
917 "requestMetadata.userOverrides.userId": { 1019 "pageToken": {
918 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 1020 "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.",
919 "location": "query", 1021 "location": "query",
920 "type": "string" 1022 "type": "string"
921 }, 1023 },
1024 "pageSize": {
1025 "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.",
1026 "format": "int32",
1027 "location": "query",
1028 "type": "integer"
1029 },
922 "requestMetadata.trafficSource.trafficSourceId": { 1030 "requestMetadata.trafficSource.trafficSourceId": {
923 "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.", 1031 "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.",
924 "location": "query", 1032 "location": "query",
925 "type": "string" 1033 "type": "string"
926 }, 1034 },
927 "requestMetadata.locale": { 1035 "requestMetadata.locale": {
928 "description": "Locale to use for the current reques t.", 1036 "description": "Locale to use for the current reques t.",
929 "location": "query", 1037 "location": "query",
930 "type": "string" 1038 "type": "string"
931 }, 1039 },
932 "requestMetadata.userOverrides.ipAddress": { 1040 "requestMetadata.userOverrides.ipAddress": {
933 "description": "IP address to use instead of the use r's geo-located IP address.", 1041 "description": "IP address to use instead of the use r's geo-located IP address.",
934 "location": "query", 1042 "location": "query",
935 "type": "string" 1043 "type": "string"
1044 },
1045 "requestMetadata.experimentIds": {
1046 "description": "Experiment IDs the current request b elongs to.",
1047 "location": "query",
1048 "repeated": true,
1049 "type": "string"
1050 },
1051 "requestMetadata.trafficSource.trafficSubId": {
1052 "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.",
1053 "location": "query",
1054 "type": "string"
936 } 1055 }
937 }, 1056 },
938 "path": "v2/users/{userId}/companyRelation", 1057 "path": "v2/analytics",
939 "response": { 1058 "response": {
940 "$ref": "Empty" 1059 "$ref": "ListAnalyticsResponse"
941 } 1060 }
942 }, 1061 }
943 "createCompanyRelation": { 1062 }
944 "description": "Creates a user's company relation. Affiliate s the user to a company.", 1063 },
945 "httpMethod": "PUT", 1064 "v2": {
946 "id": "partners.users.createCompanyRelation", 1065 "methods": {
947 "parameterOrder": [ 1066 "updateLeads": {
948 "userId" 1067 "description": "Updates the specified lead.",
949 ], 1068 "httpMethod": "PATCH",
1069 "id": "partners.updateLeads",
1070 "parameterOrder": [],
950 "parameters": { 1071 "parameters": {
1072 "requestMetadata.partnersSessionId": {
1073 "description": "Google Partners session ID.",
1074 "location": "query",
1075 "type": "string"
1076 },
951 "requestMetadata.userOverrides.userId": { 1077 "requestMetadata.userOverrides.userId": {
952 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 1078 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
953 "location": "query", 1079 "location": "query",
954 "type": "string" 1080 "type": "string"
955 }, 1081 },
956 "requestMetadata.partnersSessionId": {
957 "description": "Google Partners session ID.",
958 "location": "query",
959 "type": "string"
960 },
961 "requestMetadata.trafficSource.trafficSourceId": { 1082 "requestMetadata.trafficSource.trafficSourceId": {
962 "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.", 1083 "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.",
963 "location": "query", 1084 "location": "query",
964 "type": "string" 1085 "type": "string"
965 }, 1086 },
966 "requestMetadata.locale": { 1087 "requestMetadata.locale": {
967 "description": "Locale to use for the current reques t.", 1088 "description": "Locale to use for the current reques t.",
968 "location": "query", 1089 "location": "query",
969 "type": "string" 1090 "type": "string"
970 }, 1091 },
971 "requestMetadata.userOverrides.ipAddress": { 1092 "requestMetadata.userOverrides.ipAddress": {
972 "description": "IP address to use instead of the use r's geo-located IP address.", 1093 "description": "IP address to use instead of the use r's geo-located IP address.",
973 "location": "query", 1094 "location": "query",
974 "type": "string" 1095 "type": "string"
975 }, 1096 },
1097 "updateMask": {
1098 "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.",
1099 "format": "google-fieldmask",
1100 "location": "query",
1101 "type": "string"
1102 },
976 "requestMetadata.experimentIds": { 1103 "requestMetadata.experimentIds": {
977 "description": "Experiment IDs the current request b elongs to.", 1104 "description": "Experiment IDs the current request b elongs to.",
978 "location": "query", 1105 "location": "query",
979 "repeated": true, 1106 "repeated": true,
980 "type": "string" 1107 "type": "string"
981 }, 1108 },
982 "requestMetadata.trafficSource.trafficSubId": { 1109 "requestMetadata.trafficSource.trafficSubId": {
983 "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.", 1110 "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.",
984 "location": "query", 1111 "location": "query",
985 "type": "string" 1112 "type": "string"
986 },
987 "userId": {
988 "description": "The ID of the user. Can be set to <c ode>me</code> to mean\nthe currently authenticated user.",
989 "location": "path",
990 "required": true,
991 "type": "string"
992 } 1113 }
993 }, 1114 },
994 "path": "v2/users/{userId}/companyRelation", 1115 "path": "v2/leads",
995 "request": { 1116 "request": {
996 "$ref": "CompanyRelation" 1117 "$ref": "Lead"
997 }, 1118 },
998 "response": { 1119 "response": {
999 "$ref": "CompanyRelation" 1120 "$ref": "Lead"
1000 } 1121 }
1001 }, 1122 },
1002 "get": { 1123 "updateCompanies": {
1003 "description": "Gets a user.", 1124 "description": "Update company.\nShould only be called withi n the context of an authorized logged in user.",
1004 "httpMethod": "GET", 1125 "httpMethod": "PATCH",
1005 "id": "partners.users.get", 1126 "id": "partners.updateCompanies",
1006 "parameterOrder": [ 1127 "parameterOrder": [],
1007 "userId"
1008 ],
1009 "parameters": { 1128 "parameters": {
1010 "requestMetadata.experimentIds": { 1129 "requestMetadata.experimentIds": {
1011 "description": "Experiment IDs the current request b elongs to.", 1130 "description": "Experiment IDs the current request b elongs to.",
1012 "location": "query", 1131 "location": "query",
1013 "repeated": true, 1132 "repeated": true,
1014 "type": "string" 1133 "type": "string"
1015 }, 1134 },
1016 "userId": {
1017 "description": "Identifier of the user. Can be set t o <code>me</code> to mean the currently\nauthenticated user.",
1018 "location": "path",
1019 "required": true,
1020 "type": "string"
1021 },
1022 "requestMetadata.trafficSource.trafficSubId": { 1135 "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.", 1136 "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", 1137 "location": "query",
1025 "type": "string" 1138 "type": "string"
1026 }, 1139 },
1140 "requestMetadata.userOverrides.userId": {
1141 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
1142 "location": "query",
1143 "type": "string"
1144 },
1027 "requestMetadata.partnersSessionId": { 1145 "requestMetadata.partnersSessionId": {
1028 "description": "Google Partners session ID.", 1146 "description": "Google Partners session ID.",
1029 "location": "query", 1147 "location": "query",
1030 "type": "string" 1148 "type": "string"
1031 }, 1149 },
1032 "requestMetadata.userOverrides.userId": {
1033 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
1034 "location": "query",
1035 "type": "string"
1036 },
1037 "userView": {
1038 "description": "Specifies what parts of the user inf ormation to return.",
1039 "enum": [
1040 "BASIC",
1041 "PROFILE",
1042 "PUBLIC_PROFILE"
1043 ],
1044 "location": "query",
1045 "type": "string"
1046 },
1047 "requestMetadata.trafficSource.trafficSourceId": { 1150 "requestMetadata.trafficSource.trafficSourceId": {
1048 "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.", 1151 "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.",
1049 "location": "query", 1152 "location": "query",
1050 "type": "string" 1153 "type": "string"
1051 }, 1154 },
1052 "requestMetadata.locale": { 1155 "requestMetadata.locale": {
1053 "description": "Locale to use for the current reques t.", 1156 "description": "Locale to use for the current reques t.",
1054 "location": "query", 1157 "location": "query",
1055 "type": "string" 1158 "type": "string"
1056 }, 1159 },
1057 "requestMetadata.userOverrides.ipAddress": { 1160 "requestMetadata.userOverrides.ipAddress": {
1058 "description": "IP address to use instead of the use r's geo-located IP address.", 1161 "description": "IP address to use instead of the use r's geo-located IP address.",
1059 "location": "query", 1162 "location": "query",
1060 "type": "string" 1163 "type": "string"
1164 },
1165 "updateMask": {
1166 "description": "Standard field mask for the set of f ields to be updated.\nRequired with at least 1 value in FieldMask's paths.",
1167 "format": "google-fieldmask",
1168 "location": "query",
1169 "type": "string"
1061 } 1170 }
1062 }, 1171 },
1063 "path": "v2/users/{userId}", 1172 "path": "v2/companies",
1173 "request": {
1174 "$ref": "Company"
1175 },
1064 "response": { 1176 "response": {
1065 "$ref": "User" 1177 "$ref": "Company"
1066 } 1178 }
1067 }, 1179 },
1068 "updateProfile": { 1180 "getPartnersstatus": {
1069 "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.", 1181 "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 .",
1070 "httpMethod": "PATCH", 1182 "httpMethod": "GET",
1071 "id": "partners.users.updateProfile", 1183 "id": "partners.getPartnersstatus",
1072 "parameterOrder": [], 1184 "parameterOrder": [],
1073 "parameters": { 1185 "parameters": {
1074 "requestMetadata.partnersSessionId": { 1186 "requestMetadata.partnersSessionId": {
1075 "description": "Google Partners session ID.", 1187 "description": "Google Partners session ID.",
1076 "location": "query", 1188 "location": "query",
1077 "type": "string" 1189 "type": "string"
1078 }, 1190 },
1079 "requestMetadata.userOverrides.userId": { 1191 "requestMetadata.userOverrides.userId": {
1080 "description": "Logged-in user ID to impersonate ins tead of the user's ID.", 1192 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
1081 "location": "query", 1193 "location": "query",
(...skipping 19 matching lines...) Expand all
1101 "location": "query", 1213 "location": "query",
1102 "repeated": true, 1214 "repeated": true,
1103 "type": "string" 1215 "type": "string"
1104 }, 1216 },
1105 "requestMetadata.trafficSource.trafficSubId": { 1217 "requestMetadata.trafficSource.trafficSubId": {
1106 "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.", 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.",
1107 "location": "query", 1219 "location": "query",
1108 "type": "string" 1220 "type": "string"
1109 } 1221 }
1110 }, 1222 },
1111 "path": "v2/users/profile", 1223 "path": "v2/partnersstatus",
1112 "request": {
1113 "$ref": "UserProfile"
1114 },
1115 "response": { 1224 "response": {
1116 "$ref": "UserProfile" 1225 "$ref": "GetPartnersStatusResponse"
1117 }
1118 }
1119 }
1120 },
1121 "userEvents": {
1122 "methods": {
1123 "log": {
1124 "description": "Logs a user event.",
1125 "httpMethod": "POST",
1126 "id": "partners.userEvents.log",
1127 "parameterOrder": [],
1128 "parameters": {},
1129 "path": "v2/userEvents:log",
1130 "request": {
1131 "$ref": "LogUserEventRequest"
1132 },
1133 "response": {
1134 "$ref": "LogUserEventResponse"
1135 }
1136 }
1137 }
1138 },
1139 "clientMessages": {
1140 "methods": {
1141 "log": {
1142 "description": "Logs a generic message from the client, such as\n`Failed to render component`, `Profile page is running slow`,\n`More than 5 00 users have accessed this result.`, etc.",
1143 "httpMethod": "POST",
1144 "id": "partners.clientMessages.log",
1145 "parameterOrder": [],
1146 "parameters": {},
1147 "path": "v2/clientMessages:log",
1148 "request": {
1149 "$ref": "LogMessageRequest"
1150 },
1151 "response": {
1152 "$ref": "LogMessageResponse"
1153 }
1154 }
1155 }
1156 },
1157 "exams": {
1158 "methods": {
1159 "getToken": {
1160 "description": "Gets an Exam Token for a Partner's user to t ake an exam in the Exams System",
1161 "httpMethod": "GET",
1162 "id": "partners.exams.getToken",
1163 "parameterOrder": [
1164 "examType"
1165 ],
1166 "parameters": {
1167 "requestMetadata.partnersSessionId": {
1168 "description": "Google Partners session ID.",
1169 "location": "query",
1170 "type": "string"
1171 },
1172 "requestMetadata.userOverrides.userId": {
1173 "description": "Logged-in user ID to impersonate ins tead of the user's ID.",
1174 "location": "query",
1175 "type": "string"
1176 },
1177 "requestMetadata.trafficSource.trafficSourceId": {
1178 "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.",
1179 "location": "query",
1180 "type": "string"
1181 },
1182 "requestMetadata.locale": {
1183 "description": "Locale to use for the current reques t.",
1184 "location": "query",
1185 "type": "string"
1186 },
1187 "requestMetadata.userOverrides.ipAddress": {
1188 "description": "IP address to use instead of the use r's geo-located IP address.",
1189 "location": "query",
1190 "type": "string"
1191 },
1192 "requestMetadata.experimentIds": {
1193 "description": "Experiment IDs the current request b elongs to.",
1194 "location": "query",
1195 "repeated": true,
1196 "type": "string"
1197 },
1198 "requestMetadata.trafficSource.trafficSubId": {
1199 "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.",
1200 "location": "query",
1201 "type": "string"
1202 },
1203 "examType": {
1204 "description": "The exam type we are requesting a to ken for.",
1205 "enum": [
1206 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
1207 "CET_ADWORDS_FUNDAMENTALS",
1208 "CET_ADWORDS_ADVANCED_SEARCH",
1209 "CET_ADWORDS_ADVANCED_DISPLAY",
1210 "CET_VIDEO_ADS",
1211 "CET_DOUBLECLICK",
1212 "CET_ANALYTICS",
1213 "CET_SHOPPING",
1214 "CET_MOBILE",
1215 "CET_DIGITAL_SALES",
1216 "CET_MOBILE_SITES"
1217 ],
1218 "location": "path",
1219 "required": true,
1220 "type": "string"
1221 }
1222 },
1223 "path": "v2/exams/{examType}/token",
1224 "response": {
1225 "$ref": "ExamToken"
1226 } 1226 }
1227 } 1227 }
1228 } 1228 }
1229 } 1229 }
1230 }, 1230 },
1231 "revision": "20170812", 1231 "revision": "20170829",
1232 "rootUrl": "https://partners.googleapis.com/", 1232 "rootUrl": "https://partners.googleapis.com/",
1233 "schemas": { 1233 "schemas": {
1234 "ListCompaniesResponse": {
1235 "description": "Response message for\nListCompanies.",
1236 "id": "ListCompaniesResponse",
1237 "properties": {
1238 "nextPageToken": {
1239 "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.",
1240 "type": "string"
1241 },
1242 "responseMetadata": {
1243 "$ref": "ResponseMetadata",
1244 "description": "Current response metadata."
1245 },
1246 "companies": {
1247 "description": "The list of companies.",
1248 "items": {
1249 "$ref": "Company"
1250 },
1251 "type": "array"
1252 }
1253 },
1254 "type": "object"
1255 },
1256 "OfferCustomer": {
1257 "description": "Customers qualified for an offer.",
1258 "id": "OfferCustomer",
1259 "properties": {
1260 "name": {
1261 "description": "Name of the customer.",
1262 "type": "string"
1263 },
1264 "spendXAmount": {
1265 "description": "Formatted Spend X amount with currency code. ",
1266 "type": "string"
1267 },
1268 "adwordsUrl": {
1269 "description": "URL to the customer's AdWords page.",
1270 "type": "string"
1271 },
1272 "creationTime": {
1273 "description": "Time the customer was created.",
1274 "format": "google-datetime",
1275 "type": "string"
1276 },
1277 "countryCode": {
1278 "description": "Country code of the customer.",
1279 "type": "string"
1280 },
1281 "externalCid": {
1282 "description": "External CID for the customer.",
1283 "format": "int64",
1284 "type": "string"
1285 },
1286 "eligibilityDaysLeft": {
1287 "description": "Days the customer is still eligible.",
1288 "format": "int32",
1289 "type": "integer"
1290 },
1291 "offerType": {
1292 "description": "Type of the offer",
1293 "enum": [
1294 "OFFER_TYPE_UNSPECIFIED",
1295 "OFFER_TYPE_SPEND_X_GET_Y",
1296 "OFFER_TYPE_VIDEO",
1297 "OFFER_TYPE_SPEND_MATCH"
1298 ],
1299 "enumDescriptions": [
1300 "Unset.",
1301 "AdWords spend X get Y.",
1302 "Youtube video.",
1303 "Spend Match up to Y."
1304 ],
1305 "type": "string"
1306 },
1307 "getYAmount": {
1308 "description": "Formatted Get Y amount with currency code.",
1309 "type": "string"
1310 }
1311 },
1312 "type": "object"
1313 },
1314 "CertificationStatus": {
1315 "description": "Google Partners certification status.",
1316 "id": "CertificationStatus",
1317 "properties": {
1318 "userCount": {
1319 "description": "Number of people who are certified,",
1320 "format": "int32",
1321 "type": "integer"
1322 },
1323 "isCertified": {
1324 "description": "Whether certification is passing.",
1325 "type": "boolean"
1326 },
1327 "examStatuses": {
1328 "description": "List of certification exam statuses.",
1329 "items": {
1330 "$ref": "CertificationExamStatus"
1331 },
1332 "type": "array"
1333 },
1334 "type": {
1335 "description": "The type of the certification.",
1336 "enum": [
1337 "CERTIFICATION_TYPE_UNSPECIFIED",
1338 "CT_ADWORDS",
1339 "CT_YOUTUBE",
1340 "CT_VIDEOADS",
1341 "CT_ANALYTICS",
1342 "CT_DOUBLECLICK",
1343 "CT_SHOPPING",
1344 "CT_MOBILE",
1345 "CT_DIGITAL_SALES",
1346 "CT_ADWORDS_SEARCH",
1347 "CT_ADWORDS_DISPLAY",
1348 "CT_MOBILE_SITES"
1349 ],
1350 "enumDescriptions": [
1351 "Unchosen.",
1352 "AdWords certified.",
1353 "YouTube certified.",
1354 "VideoAds certified.",
1355 "Analytics certified.",
1356 "DoubleClick certified.",
1357 "Shopping certified.",
1358 "Mobile certified.",
1359 "Digital sales certified.",
1360 "AdWords Search certified.",
1361 "AdWords Display certified.",
1362 "Mobile Sites certified."
1363 ],
1364 "type": "string"
1365 }
1366 },
1367 "type": "object"
1368 },
1234 "LocalizedCompanyInfo": { 1369 "LocalizedCompanyInfo": {
1235 "description": "The localized company information.", 1370 "description": "The localized company information.",
1236 "id": "LocalizedCompanyInfo", 1371 "id": "LocalizedCompanyInfo",
1237 "properties": { 1372 "properties": {
1238 "countryCodes": { 1373 "countryCodes": {
1239 "description": "List of country codes for the localized comp any info.", 1374 "description": "List of country codes for the localized comp any info.",
1240 "items": { 1375 "items": {
1241 "type": "string" 1376 "type": "string"
1242 }, 1377 },
1243 "type": "array" 1378 "type": "array"
(...skipping 21 matching lines...) Expand all
1265 "$ref": "ResponseMetadata", 1400 "$ref": "ResponseMetadata",
1266 "description": "Current response metadata." 1401 "description": "Current response metadata."
1267 } 1402 }
1268 }, 1403 },
1269 "type": "object" 1404 "type": "object"
1270 }, 1405 },
1271 "ListOffersHistoryResponse": { 1406 "ListOffersHistoryResponse": {
1272 "description": "Response for ListOfferHistory.", 1407 "description": "Response for ListOfferHistory.",
1273 "id": "ListOffersHistoryResponse", 1408 "id": "ListOffersHistoryResponse",
1274 "properties": { 1409 "properties": {
1410 "nextPageToken": {
1411 "description": "Supply this token in a ListOffersHistoryRequ est to retrieve the next page.",
1412 "type": "string"
1413 },
1414 "responseMetadata": {
1415 "$ref": "ResponseMetadata",
1416 "description": "Current response metadata."
1417 },
1275 "canShowEntireCompany": { 1418 "canShowEntireCompany": {
1276 "description": "True if the user has the option to show enti re company history.", 1419 "description": "True if the user has the option to show enti re company history.",
1277 "type": "boolean" 1420 "type": "boolean"
1278 }, 1421 },
1279 "totalResults": { 1422 "totalResults": {
1280 "description": "Number of results across all pages.", 1423 "description": "Number of results across all pages.",
1281 "format": "int32", 1424 "format": "int32",
1282 "type": "integer" 1425 "type": "integer"
1283 }, 1426 },
1284 "showingEntireCompany": { 1427 "showingEntireCompany": {
1285 "description": "True if this response is showing entire comp any history.", 1428 "description": "True if this response is showing entire comp any history.",
1286 "type": "boolean" 1429 "type": "boolean"
1287 }, 1430 },
1288 "offers": { 1431 "offers": {
1289 "description": "Historical offers meeting request.", 1432 "description": "Historical offers meeting request.",
1290 "items": { 1433 "items": {
1291 "$ref": "HistoricalOffer" 1434 "$ref": "HistoricalOffer"
1292 }, 1435 },
1293 "type": "array" 1436 "type": "array"
1294 },
1295 "nextPageToken": {
1296 "description": "Supply this token in a ListOffersHistoryRequ est to retrieve the next page.",
1297 "type": "string"
1298 },
1299 "responseMetadata": {
1300 "$ref": "ResponseMetadata",
1301 "description": "Current response metadata."
1302 } 1437 }
1303 }, 1438 },
1304 "type": "object" 1439 "type": "object"
1305 }, 1440 },
1306 "LogMessageResponse": { 1441 "LogMessageResponse": {
1307 "description": "Response message for\nLogClientMessage.", 1442 "description": "Response message for\nLogClientMessage.",
1308 "id": "LogMessageResponse", 1443 "id": "LogMessageResponse",
1309 "properties": { 1444 "properties": {
1310 "responseMetadata": { 1445 "responseMetadata": {
1311 "$ref": "ResponseMetadata", 1446 "$ref": "ResponseMetadata",
1312 "description": "Current response metadata." 1447 "description": "Current response metadata."
1313 } 1448 }
1314 }, 1449 },
1315 "type": "object" 1450 "type": "object"
1316 }, 1451 },
1317 "SpecializationStatus": { 1452 "SpecializationStatus": {
1318 "description": "Agency specialization status", 1453 "description": "Agency specialization status",
1319 "id": "SpecializationStatus", 1454 "id": "SpecializationStatus",
1320 "properties": { 1455 "properties": {
1321 "badgeSpecializationState": {
1322 "description": "State of agency specialization.",
1323 "enum": [
1324 "BADGE_SPECIALIZATION_STATE_UNKNOWN",
1325 "BADGE_SPECIALIZATION_STATE_PASSED",
1326 "BADGE_SPECIALIZATION_STATE_NOT_PASSED",
1327 "BADGE_SPECIALIZATION_STATE_IN_GRACE"
1328 ],
1329 "enumDescriptions": [
1330 "Unknown state",
1331 "Specialization passed",
1332 "Specialization not passed",
1333 "Specialization in grace"
1334 ],
1335 "type": "string"
1336 },
1337 "badgeSpecialization": { 1456 "badgeSpecialization": {
1338 "description": "The specialization this status is for.", 1457 "description": "The specialization this status is for.",
1339 "enum": [ 1458 "enum": [
1340 "BADGE_SPECIALIZATION_UNKNOWN", 1459 "BADGE_SPECIALIZATION_UNKNOWN",
1341 "BADGE_SPECIALIZATION_ADWORDS_SEARCH", 1460 "BADGE_SPECIALIZATION_ADWORDS_SEARCH",
1342 "BADGE_SPECIALIZATION_ADWORDS_DISPLAY", 1461 "BADGE_SPECIALIZATION_ADWORDS_DISPLAY",
1343 "BADGE_SPECIALIZATION_ADWORDS_MOBILE", 1462 "BADGE_SPECIALIZATION_ADWORDS_MOBILE",
1344 "BADGE_SPECIALIZATION_ADWORDS_VIDEO", 1463 "BADGE_SPECIALIZATION_ADWORDS_VIDEO",
1345 "BADGE_SPECIALIZATION_ADWORDS_SHOPPING" 1464 "BADGE_SPECIALIZATION_ADWORDS_SHOPPING"
1346 ], 1465 ],
1347 "enumDescriptions": [ 1466 "enumDescriptions": [
1348 "Unknown specialization", 1467 "Unknown specialization",
1349 "AdWords Search specialization", 1468 "AdWords Search specialization",
1350 "AdWords Display specialization", 1469 "AdWords Display specialization",
1351 "AdWords Mobile specialization", 1470 "AdWords Mobile specialization",
1352 "AdWords Video specialization", 1471 "AdWords Video specialization",
1353 "AdWords Shopping specialization" 1472 "AdWords Shopping specialization"
1354 ], 1473 ],
1355 "type": "string" 1474 "type": "string"
1475 },
1476 "badgeSpecializationState": {
1477 "description": "State of agency specialization.",
1478 "enum": [
1479 "BADGE_SPECIALIZATION_STATE_UNKNOWN",
1480 "BADGE_SPECIALIZATION_STATE_PASSED",
1481 "BADGE_SPECIALIZATION_STATE_NOT_PASSED",
1482 "BADGE_SPECIALIZATION_STATE_IN_GRACE"
1483 ],
1484 "enumDescriptions": [
1485 "Unknown state",
1486 "Specialization passed",
1487 "Specialization not passed",
1488 "Specialization in grace"
1489 ],
1490 "type": "string"
1356 } 1491 }
1357 }, 1492 },
1358 "type": "object" 1493 "type": "object"
1359 }, 1494 },
1360 "Certification": { 1495 "Certification": {
1361 "description": "A user's information on a specific certification.", 1496 "description": "A user's information on a specific certification.",
1362 "id": "Certification", 1497 "id": "Certification",
1363 "properties": { 1498 "properties": {
1364 "warning": { 1499 "warning": {
1365 "description": "Whether this certification is in the state o f warning.", 1500 "description": "Whether this certification is in the state o f warning.",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1411 "format": "google-datetime", 1546 "format": "google-datetime",
1412 "type": "string" 1547 "type": "string"
1413 } 1548 }
1414 }, 1549 },
1415 "type": "object" 1550 "type": "object"
1416 }, 1551 },
1417 "User": { 1552 "User": {
1418 "description": "A resource representing a user of the Partners platf orm.", 1553 "description": "A resource representing a user of the Partners platf orm.",
1419 "id": "User", 1554 "id": "User",
1420 "properties": { 1555 "properties": {
1556 "profile": {
1557 "$ref": "UserProfile",
1558 "description": "The profile information of a Partners user, contains all the directly\neditable user information."
1559 },
1560 "company": {
1561 "$ref": "CompanyRelation",
1562 "description": "The company that the user is associated with .\nIf not present, the user is not associated with any company."
1563 },
1564 "lastAccessTime": {
1565 "description": "The most recent time the user interacted wit h the Partners site.\n@OutputOnly",
1566 "format": "google-datetime",
1567 "type": "string"
1568 },
1569 "availableAdwordsManagerAccounts": {
1570 "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",
1571 "items": {
1572 "$ref": "AdWordsManagerAccountInfo"
1573 },
1574 "type": "array"
1575 },
1576 "primaryEmails": {
1577 "description": "The list of emails the user has access to/ca n select as primary.\n@OutputOnly",
1578 "items": {
1579 "type": "string"
1580 },
1581 "type": "array"
1582 },
1583 "internalId": {
1584 "description": "The internal user ID.\nOnly available for a whitelisted set of api clients.",
1585 "type": "string"
1586 },
1421 "examStatus": { 1587 "examStatus": {
1422 "description": "The list of exams the user ever taken. For e ach type of exam, only one\nentry is listed.", 1588 "description": "The list of exams the user ever taken. For e ach type of exam, only one\nentry is listed.",
1423 "items": { 1589 "items": {
1424 "$ref": "ExamStatus" 1590 "$ref": "ExamStatus"
1425 }, 1591 },
1426 "type": "array" 1592 "type": "array"
1427 }, 1593 },
1428 "id": { 1594 "id": {
1429 "description": "The ID of the user.", 1595 "description": "The ID of the user.",
1430 "type": "string" 1596 "type": "string"
1431 }, 1597 },
1432 "publicProfile": { 1598 "publicProfile": {
1433 "$ref": "PublicProfile", 1599 "$ref": "PublicProfile",
1434 "description": "Information about a user's external public p rofile outside Google Partners." 1600 "description": "Information about a user's external public p rofile outside Google Partners."
1435 }, 1601 },
1436 "companyVerificationEmail": {
1437 "description": "The email address used by the user used for company verification.\n@OutputOnly",
1438 "type": "string"
1439 },
1440 "certificationStatus": { 1602 "certificationStatus": {
1441 "description": "The list of achieved certifications. These a re calculated based on exam\nresults and other requirements.\n@OutputOnly", 1603 "description": "The list of achieved certifications. These a re calculated based on exam\nresults and other requirements.\n@OutputOnly",
1442 "items": { 1604 "items": {
1443 "$ref": "Certification" 1605 "$ref": "Certification"
1444 }, 1606 },
1445 "type": "array" 1607 "type": "array"
1446 }, 1608 },
1447 "company": { 1609 "companyVerificationEmail": {
1448 "$ref": "CompanyRelation", 1610 "description": "The email address used by the user used for company verification.\n@OutputOnly",
1449 "description": "The company that the user is associated with .\nIf not present, the user is not associated with any company."
1450 },
1451 "profile": {
1452 "$ref": "UserProfile",
1453 "description": "The profile information of a Partners user, contains all the directly\neditable user information."
1454 },
1455 "lastAccessTime": {
1456 "description": "The most recent time the user interacted wit h the Partners site.\n@OutputOnly",
1457 "format": "google-datetime",
1458 "type": "string"
1459 },
1460 "primaryEmails": {
1461 "description": "The list of emails the user has access to/ca n select as primary.\n@OutputOnly",
1462 "items": {
1463 "type": "string"
1464 },
1465 "type": "array"
1466 },
1467 "availableAdwordsManagerAccounts": {
1468 "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",
1469 "items": {
1470 "$ref": "AdWordsManagerAccountInfo"
1471 },
1472 "type": "array"
1473 },
1474 "internalId": {
1475 "description": "The internal user ID.\nOnly available for a whitelisted set of api clients.",
1476 "type": "string" 1611 "type": "string"
1477 } 1612 }
1478 }, 1613 },
1479 "type": "object" 1614 "type": "object"
1480 }, 1615 },
1481 "ListAnalyticsResponse": { 1616 "ListAnalyticsResponse": {
1482 "description": "Response message for\nListAnalytics.", 1617 "description": "Response message for\nListAnalytics.",
1483 "id": "ListAnalyticsResponse", 1618 "id": "ListAnalyticsResponse",
1484 "properties": { 1619 "properties": {
1485 "nextPageToken": { 1620 "nextPageToken": {
(...skipping 11 matching lines...) Expand all
1497 "analytics": { 1632 "analytics": {
1498 "description": "The list of analytics.\nSorted in ascending order of\nAnalytics.event_date.", 1633 "description": "The list of analytics.\nSorted in ascending order of\nAnalytics.event_date.",
1499 "items": { 1634 "items": {
1500 "$ref": "Analytics" 1635 "$ref": "Analytics"
1501 }, 1636 },
1502 "type": "array" 1637 "type": "array"
1503 } 1638 }
1504 }, 1639 },
1505 "type": "object" 1640 "type": "object"
1506 }, 1641 },
1507 "ListLeadsResponse": {
1508 "description": "Response message for ListLeads.",
1509 "id": "ListLeadsResponse",
1510 "properties": {
1511 "nextPageToken": {
1512 "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.",
1513 "type": "string"
1514 },
1515 "totalSize": {
1516 "description": "The total count of leads for the given compa ny.",
1517 "format": "int32",
1518 "type": "integer"
1519 },
1520 "responseMetadata": {
1521 "$ref": "ResponseMetadata",
1522 "description": "Current response metadata."
1523 },
1524 "leads": {
1525 "description": "The list of leads.",
1526 "items": {
1527 "$ref": "Lead"
1528 },
1529 "type": "array"
1530 }
1531 },
1532 "type": "object"
1533 },
1534 "Company": { 1642 "Company": {
1535 "description": "A company resource in the Google Partners API. Once certified, it qualifies\nfor being searched by advertisers.", 1643 "description": "A company resource in the Google Partners API. Once certified, it qualifies\nfor being searched by advertisers.",
1536 "id": "Company", 1644 "id": "Company",
1537 "properties": { 1645 "properties": {
1538 "convertedMinMonthlyBudget": { 1646 "convertedMinMonthlyBudget": {
1539 "$ref": "Money", 1647 "$ref": "Money",
1540 "description": "The minimum monthly budget that the company accepts for partner business,\nconverted to the requested currency code." 1648 "description": "The minimum monthly budget that the company accepts for partner business,\nconverted to the requested currency code."
1541 }, 1649 },
1542 "industries": { 1650 "industries": {
1543 "description": "Industries the company can help with.", 1651 "description": "Industries the company can help with.",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 "description": "The name of the company.", 1700 "description": "The name of the company.",
1593 "type": "string" 1701 "type": "string"
1594 }, 1702 },
1595 "localizedInfos": { 1703 "localizedInfos": {
1596 "description": "The list of localized info for the company." , 1704 "description": "The list of localized info for the company." ,
1597 "items": { 1705 "items": {
1598 "$ref": "LocalizedCompanyInfo" 1706 "$ref": "LocalizedCompanyInfo"
1599 }, 1707 },
1600 "type": "array" 1708 "type": "array"
1601 }, 1709 },
1710 "id": {
1711 "description": "The ID of the company.",
1712 "type": "string"
1713 },
1602 "certificationStatuses": { 1714 "certificationStatuses": {
1603 "description": "The list of Google Partners certification st atuses for the company.", 1715 "description": "The list of Google Partners certification st atuses for the company.",
1604 "items": { 1716 "items": {
1605 "$ref": "CertificationStatus" 1717 "$ref": "CertificationStatus"
1606 }, 1718 },
1607 "type": "array" 1719 "type": "array"
1608 }, 1720 },
1609 "id": {
1610 "description": "The ID of the company.",
1611 "type": "string"
1612 },
1613 "publicProfile": {
1614 "$ref": "PublicProfile",
1615 "description": "Basic information from the company's public profile."
1616 },
1617 "primaryLocation": { 1721 "primaryLocation": {
1618 "$ref": "Location", 1722 "$ref": "Location",
1619 "description": "The primary location of the company." 1723 "description": "The primary location of the company."
1620 }, 1724 },
1621 "services": { 1725 "services": {
1622 "description": "Services the company can help with.", 1726 "description": "Services the company can help with.",
1623 "enumDescriptions": [ 1727 "enumDescriptions": [
1624 "Unchosen.", 1728 "Unchosen.",
1625 "Help with advanced AdWords support.", 1729 "Help with advanced AdWords support.",
1626 "Help with advertising on Google.", 1730 "Help with advertising on Google.",
(...skipping 13 matching lines...) Expand all
1640 "S_MOBILE_WEBSITE_SERVICES" 1744 "S_MOBILE_WEBSITE_SERVICES"
1641 ], 1745 ],
1642 "type": "string" 1746 "type": "string"
1643 }, 1747 },
1644 "type": "array" 1748 "type": "array"
1645 }, 1749 },
1646 "originalMinMonthlyBudget": { 1750 "originalMinMonthlyBudget": {
1647 "$ref": "Money", 1751 "$ref": "Money",
1648 "description": "The unconverted minimum monthly budget that the company accepts for partner\nbusiness." 1752 "description": "The unconverted minimum monthly budget that the company accepts for partner\nbusiness."
1649 }, 1753 },
1754 "publicProfile": {
1755 "$ref": "PublicProfile",
1756 "description": "Basic information from the company's public profile."
1757 },
1650 "ranks": { 1758 "ranks": {
1651 "description": "Information related to the ranking of the co mpany within the list of\ncompanies.", 1759 "description": "Information related to the ranking of the co mpany within the list of\ncompanies.",
1652 "items": { 1760 "items": {
1653 "$ref": "Rank" 1761 "$ref": "Rank"
1654 }, 1762 },
1655 "type": "array" 1763 "type": "array"
1656 }, 1764 },
1657 "specializationStatus": {
1658 "description": "The list of Google Partners specialization s tatuses for the company.",
1659 "items": {
1660 "$ref": "SpecializationStatus"
1661 },
1662 "type": "array"
1663 },
1664 "badgeTier": { 1765 "badgeTier": {
1665 "description": "Partner badge tier", 1766 "description": "Partner badge tier",
1666 "enum": [ 1767 "enum": [
1667 "BADGE_TIER_NONE", 1768 "BADGE_TIER_NONE",
1668 "BADGE_TIER_REGULAR", 1769 "BADGE_TIER_REGULAR",
1669 "BADGE_TIER_PREMIER" 1770 "BADGE_TIER_PREMIER"
1670 ], 1771 ],
1671 "enumDescriptions": [ 1772 "enumDescriptions": [
1672 "Tier badge is not set.", 1773 "Tier badge is not set.",
1673 "Agency has regular partner badge.", 1774 "Agency has regular partner badge.",
1674 "Agency has premier badge." 1775 "Agency has premier badge."
1675 ], 1776 ],
1676 "type": "string" 1777 "type": "string"
1677 }, 1778 },
1678 "autoApprovalEmailDomains": { 1779 "specializationStatus": {
1679 "description": "Email domains that allow users with a matchi ng email address to get\nauto-approved for associating with this company.", 1780 "description": "The list of Google Partners specialization s tatuses for the company.",
1680 "items": { 1781 "items": {
1681 "type": "string" 1782 "$ref": "SpecializationStatus"
1682 }, 1783 },
1683 "type": "array" 1784 "type": "array"
1684 }, 1785 },
1685 "companyTypes": { 1786 "companyTypes": {
1686 "description": "Company type labels listed on the company's profile.", 1787 "description": "Company type labels listed on the company's profile.",
1687 "enumDescriptions": [ 1788 "enumDescriptions": [
1688 "Unchosen.", 1789 "Unchosen.",
1689 "Handles all aspects of the advertising process.", 1790 "Handles all aspects of the advertising process.",
1690 "Focuses solely on an advertiser's media placement.", 1791 "Focuses solely on an advertiser's media placement.",
1691 "Plans/executes advertising campaigns.", 1792 "Plans/executes advertising campaigns.",
(...skipping 16 matching lines...) Expand all
1708 "PERFORMANCE_MARKETING", 1809 "PERFORMANCE_MARKETING",
1709 "ADVERTISING_TOOL_DEVELOPMENT", 1810 "ADVERTISING_TOOL_DEVELOPMENT",
1710 "PR", 1811 "PR",
1711 "SELF_MANAGED", 1812 "SELF_MANAGED",
1712 "RESELLER" 1813 "RESELLER"
1713 ], 1814 ],
1714 "type": "string" 1815 "type": "string"
1715 }, 1816 },
1716 "type": "array" 1817 "type": "array"
1717 }, 1818 },
1819 "autoApprovalEmailDomains": {
1820 "description": "Email domains that allow users with a matchi ng email address to get\nauto-approved for associating with this company.",
1821 "items": {
1822 "type": "string"
1823 },
1824 "type": "array"
1825 },
1718 "profileStatus": { 1826 "profileStatus": {
1719 "description": "The public viewability status of the company 's profile.", 1827 "description": "The public viewability status of the company 's profile.",
1720 "enum": [ 1828 "enum": [
1721 "COMPANY_PROFILE_STATUS_UNSPECIFIED", 1829 "COMPANY_PROFILE_STATUS_UNSPECIFIED",
1722 "HIDDEN", 1830 "HIDDEN",
1723 "PUBLISHED", 1831 "PUBLISHED",
1724 "SEARCHABLE" 1832 "SEARCHABLE"
1725 ], 1833 ],
1726 "enumDescriptions": [ 1834 "enumDescriptions": [
1727 "Unchosen.", 1835 "Unchosen.",
1728 "Company profile does not show up publicly.", 1836 "Company profile does not show up publicly.",
1729 "Company profile can only be viewed by the profile's URL \nand not by Google Partner Search.", 1837 "Company profile can only be viewed by the profile's URL \nand not by Google Partner Search.",
1730 "Company profile can be viewed by the profile's URL\nand by Google Partner Search." 1838 "Company profile can be viewed by the profile's URL\nand by Google Partner Search."
1731 ], 1839 ],
1732 "type": "string" 1840 "type": "string"
1733 }, 1841 },
1734 "primaryLanguageCode": { 1842 "primaryLanguageCode": {
1735 "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\").", 1843 "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\").",
1736 "type": "string" 1844 "type": "string"
1737 }, 1845 },
1738 "locations": { 1846 "locations": {
1739 "description": "The list of all company locations.\nIf set, must include the\nprimary_location\nin the list.", 1847 "description": "The list of all company locations.\nIf set, must include the\nprimary_location\nin the list.",
1740 "items": { 1848 "items": {
1741 "$ref": "Location" 1849 "$ref": "Location"
1742 }, 1850 },
1743 "type": "array" 1851 "type": "array"
1744 } 1852 }
1853 },
1854 "type": "object"
1855 },
1856 "ListLeadsResponse": {
1857 "description": "Response message for ListLeads.",
1858 "id": "ListLeadsResponse",
1859 "properties": {
1860 "nextPageToken": {
1861 "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.",
1862 "type": "string"
1863 },
1864 "totalSize": {
1865 "description": "The total count of leads for the given compa ny.",
1866 "format": "int32",
1867 "type": "integer"
1868 },
1869 "responseMetadata": {
1870 "$ref": "ResponseMetadata",
1871 "description": "Current response metadata."
1872 },
1873 "leads": {
1874 "description": "The list of leads.",
1875 "items": {
1876 "$ref": "Lead"
1877 },
1878 "type": "array"
1879 }
1745 }, 1880 },
1746 "type": "object" 1881 "type": "object"
1747 }, 1882 },
1748 "CreateLeadResponse": { 1883 "CreateLeadResponse": {
1749 "description": "Response message for CreateLead.", 1884 "description": "Response message for CreateLead.",
1750 "id": "CreateLeadResponse", 1885 "id": "CreateLeadResponse",
1751 "properties": { 1886 "properties": {
1887 "responseMetadata": {
1888 "$ref": "ResponseMetadata",
1889 "description": "Current response metadata."
1890 },
1752 "recaptchaStatus": { 1891 "recaptchaStatus": {
1753 "description": "The outcome of <a href=\"https://www.google. com/recaptcha/\">reCaptcha</a>\nvalidation.", 1892 "description": "The outcome of <a href=\"https://www.google. com/recaptcha/\">reCaptcha</a>\nvalidation.",
1754 "enum": [ 1893 "enum": [
1755 "RECAPTCHA_STATUS_UNSPECIFIED", 1894 "RECAPTCHA_STATUS_UNSPECIFIED",
1756 "RS_NOT_NEEDED", 1895 "RS_NOT_NEEDED",
1757 "RS_PASSED", 1896 "RS_PASSED",
1758 "RS_FAILED" 1897 "RS_FAILED"
1759 ], 1898 ],
1760 "enumDescriptions": [ 1899 "enumDescriptions": [
1761 "Unchosen.", 1900 "Unchosen.",
1762 "No reCaptcha validation needed.", 1901 "No reCaptcha validation needed.",
1763 "reCaptcha challenge passed.", 1902 "reCaptcha challenge passed.",
1764 "reCaptcha challenge failed." 1903 "reCaptcha challenge failed."
1765 ], 1904 ],
1766 "type": "string" 1905 "type": "string"
1767 }, 1906 },
1768 "lead": { 1907 "lead": {
1769 "$ref": "Lead", 1908 "$ref": "Lead",
1770 "description": "Lead that was created depending on the outco me of\n<a href=\"https://www.google.com/recaptcha/\">reCaptcha</a> validation." 1909 "description": "Lead that was created depending on the outco me of\n<a href=\"https://www.google.com/recaptcha/\">reCaptcha</a> validation."
1771 },
1772 "responseMetadata": {
1773 "$ref": "ResponseMetadata",
1774 "description": "Current response metadata."
1775 } 1910 }
1776 }, 1911 },
1777 "type": "object" 1912 "type": "object"
1778 }, 1913 },
1779 "GetCompanyResponse": { 1914 "GetCompanyResponse": {
1780 "description": "Response message for GetCompany.", 1915 "description": "Response message for GetCompany.",
1781 "id": "GetCompanyResponse", 1916 "id": "GetCompanyResponse",
1782 "properties": { 1917 "properties": {
1918 "responseMetadata": {
1919 "$ref": "ResponseMetadata",
1920 "description": "Current response metadata."
1921 },
1783 "company": { 1922 "company": {
1784 "$ref": "Company", 1923 "$ref": "Company",
1785 "description": "The company." 1924 "description": "The company."
1786 },
1787 "responseMetadata": {
1788 "$ref": "ResponseMetadata",
1789 "description": "Current response metadata."
1790 } 1925 }
1791 }, 1926 },
1792 "type": "object" 1927 "type": "object"
1793 }, 1928 },
1794 "Location": { 1929 "Location": {
1795 "description": "A location with address and geographic coordinates. May optionally contain a\ndetailed (multi-field) version of the address.", 1930 "description": "A location with address and geographic coordinates. May optionally contain a\ndetailed (multi-field) version of the address.",
1796 "id": "Location", 1931 "id": "Location",
1797 "properties": { 1932 "properties": {
1933 "locality": {
1934 "description": "Generally refers to the city/town portion of an address.",
1935 "type": "string"
1936 },
1798 "administrativeArea": { 1937 "administrativeArea": {
1799 "description": "Top-level administrative subdivision of this country.", 1938 "description": "Top-level administrative subdivision of this country.",
1800 "type": "string" 1939 "type": "string"
1801 }, 1940 },
1802 "locality": {
1803 "description": "Generally refers to the city/town portion of an address.",
1804 "type": "string"
1805 },
1806 "latLng": { 1941 "latLng": {
1807 "$ref": "LatLng", 1942 "$ref": "LatLng",
1808 "description": "The latitude and longitude of the location, in degrees." 1943 "description": "The latitude and longitude of the location, in degrees."
1809 }, 1944 },
1810 "address": { 1945 "regionCode": {
1811 "description": "The single string version of the address.", 1946 "description": "CLDR (Common Locale Data Repository) region code .",
1812 "type": "string" 1947 "type": "string"
1813 }, 1948 },
1814 "dependentLocality": { 1949 "dependentLocality": {
1815 "description": "Dependent locality or sublocality. Used for UK dependent localities, or\nneighborhoods or boroughs in other locations.", 1950 "description": "Dependent locality or sublocality. Used for UK dependent localities, or\nneighborhoods or boroughs in other locations.",
1816 "type": "string" 1951 "type": "string"
1817 }, 1952 },
1818 "regionCode": { 1953 "address": {
1819 "description": "CLDR (Common Locale Data Repository) region code .", 1954 "description": "The single string version of the address.",
1820 "type": "string" 1955 "type": "string"
1821 }, 1956 },
1822 "postalCode": { 1957 "postalCode": {
1823 "description": "Values are frequently alphanumeric.", 1958 "description": "Values are frequently alphanumeric.",
1824 "type": "string" 1959 "type": "string"
1825 }, 1960 },
1826 "languageCode": { 1961 "languageCode": {
1827 "description": "Language code of the address. Should be in B CP 47 format.", 1962 "description": "Language code of the address. Should be in B CP 47 format.",
1828 "type": "string" 1963 "type": "string"
1829 }, 1964 },
1830 "sortingCode": { 1965 "sortingCode": {
1831 "description": "Use of this code is very country-specific, b ut will refer to a secondary\nclassification code for sorting mail.", 1966 "description": "Use of this code is very country-specific, b ut will refer to a secondary\nclassification code for sorting mail.",
1832 "type": "string" 1967 "type": "string"
1833 }, 1968 },
1834 "addressLine": { 1969 "addressLine": {
1835 "description": "The following address lines represent the mo st specific part of any\naddress.", 1970 "description": "The following address lines represent the mo st specific part of any\naddress.",
1836 "items": { 1971 "items": {
1837 "type": "string" 1972 "type": "string"
1838 }, 1973 },
1839 "type": "array" 1974 "type": "array"
1840 } 1975 }
1841 }, 1976 },
1842 "type": "object" 1977 "type": "object"
1843 }, 1978 },
1844 "CertificationExamStatus": { 1979 "CertificationExamStatus": {
1845 "description": "Status for a Google Partners certification exam.", 1980 "description": "Status for a Google Partners certification exam.",
1846 "id": "CertificationExamStatus", 1981 "id": "CertificationExamStatus",
1847 "properties": { 1982 "properties": {
1983 "numberUsersPass": {
1984 "description": "The number of people who have passed the cer tification exam.",
1985 "format": "int32",
1986 "type": "integer"
1987 },
1848 "type": { 1988 "type": {
1849 "description": "The type of certification exam.", 1989 "description": "The type of certification exam.",
1850 "enum": [ 1990 "enum": [
1851 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED", 1991 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
1852 "CET_ADWORDS_FUNDAMENTALS", 1992 "CET_ADWORDS_FUNDAMENTALS",
1853 "CET_ADWORDS_ADVANCED_SEARCH", 1993 "CET_ADWORDS_ADVANCED_SEARCH",
1854 "CET_ADWORDS_ADVANCED_DISPLAY", 1994 "CET_ADWORDS_ADVANCED_DISPLAY",
1855 "CET_VIDEO_ADS", 1995 "CET_VIDEO_ADS",
1856 "CET_DOUBLECLICK", 1996 "CET_DOUBLECLICK",
1857 "CET_ANALYTICS", 1997 "CET_ANALYTICS",
1858 "CET_SHOPPING", 1998 "CET_SHOPPING",
1859 "CET_MOBILE", 1999 "CET_MOBILE",
1860 "CET_DIGITAL_SALES", 2000 "CET_DIGITAL_SALES",
1861 "CET_MOBILE_SITES" 2001 "CET_MOBILE_SITES"
1862 ], 2002 ],
1863 "enumDescriptions": [ 2003 "enumDescriptions": [
1864 "Unchosen.", 2004 "Unchosen.",
1865 "Adwords Fundamentals exam.", 2005 "Adwords Fundamentals exam.",
1866 "AdWords advanced search exam.", 2006 "AdWords advanced search exam.",
1867 "AdWords advanced display exam.", 2007 "AdWords advanced display exam.",
1868 "VideoAds exam.", 2008 "VideoAds exam.",
1869 "DoubleClick exam.", 2009 "DoubleClick exam.",
1870 "Analytics exam.", 2010 "Analytics exam.",
1871 "Shopping exam.", 2011 "Shopping exam.",
1872 "Mobile exam.", 2012 "Mobile exam.",
1873 "Digital Sales exam.", 2013 "Digital Sales exam.",
1874 "Mobile Sites exam." 2014 "Mobile Sites exam."
1875 ], 2015 ],
1876 "type": "string" 2016 "type": "string"
1877 },
1878 "numberUsersPass": {
1879 "description": "The number of people who have passed the cer tification exam.",
1880 "format": "int32",
1881 "type": "integer"
1882 } 2017 }
1883 }, 2018 },
1884 "type": "object" 2019 "type": "object"
1885 }, 2020 },
1886 "ExamToken": { 2021 "ExamToken": {
1887 "description": "A token that allows a user to take an exam.", 2022 "description": "A token that allows a user to take an exam.",
1888 "id": "ExamToken", 2023 "id": "ExamToken",
1889 "properties": { 2024 "properties": {
2025 "examId": {
2026 "description": "The id of the exam the token is for.",
2027 "format": "int64",
2028 "type": "string"
2029 },
2030 "token": {
2031 "description": "The token, only present if the user has acce ss to the exam.",
2032 "type": "string"
2033 },
1890 "examType": { 2034 "examType": {
1891 "description": "The type of the exam the token belongs to.", 2035 "description": "The type of the exam the token belongs to.",
1892 "enum": [ 2036 "enum": [
1893 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED", 2037 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
1894 "CET_ADWORDS_FUNDAMENTALS", 2038 "CET_ADWORDS_FUNDAMENTALS",
1895 "CET_ADWORDS_ADVANCED_SEARCH", 2039 "CET_ADWORDS_ADVANCED_SEARCH",
1896 "CET_ADWORDS_ADVANCED_DISPLAY", 2040 "CET_ADWORDS_ADVANCED_DISPLAY",
1897 "CET_VIDEO_ADS", 2041 "CET_VIDEO_ADS",
1898 "CET_DOUBLECLICK", 2042 "CET_DOUBLECLICK",
1899 "CET_ANALYTICS", 2043 "CET_ANALYTICS",
1900 "CET_SHOPPING", 2044 "CET_SHOPPING",
1901 "CET_MOBILE", 2045 "CET_MOBILE",
1902 "CET_DIGITAL_SALES", 2046 "CET_DIGITAL_SALES",
1903 "CET_MOBILE_SITES" 2047 "CET_MOBILE_SITES"
1904 ], 2048 ],
1905 "enumDescriptions": [ 2049 "enumDescriptions": [
1906 "Unchosen.", 2050 "Unchosen.",
1907 "Adwords Fundamentals exam.", 2051 "Adwords Fundamentals exam.",
1908 "AdWords advanced search exam.", 2052 "AdWords advanced search exam.",
1909 "AdWords advanced display exam.", 2053 "AdWords advanced display exam.",
1910 "VideoAds exam.", 2054 "VideoAds exam.",
1911 "DoubleClick exam.", 2055 "DoubleClick exam.",
1912 "Analytics exam.", 2056 "Analytics exam.",
1913 "Shopping exam.", 2057 "Shopping exam.",
1914 "Mobile exam.", 2058 "Mobile exam.",
1915 "Digital Sales exam.", 2059 "Digital Sales exam.",
1916 "Mobile Sites exam." 2060 "Mobile Sites exam."
1917 ], 2061 ],
1918 "type": "string" 2062 "type": "string"
1919 },
1920 "examId": {
1921 "description": "The id of the exam the token is for.",
1922 "format": "int64",
1923 "type": "string"
1924 },
1925 "token": {
1926 "description": "The token, only present if the user has acce ss to the exam.",
1927 "type": "string"
1928 } 2063 }
1929 }, 2064 },
1930 "type": "object" 2065 "type": "object"
1931 }, 2066 },
1932 "OptIns": { 2067 "OptIns": {
1933 "description": "A set of opt-ins for a user.", 2068 "description": "A set of opt-ins for a user.",
1934 "id": "OptIns", 2069 "id": "OptIns",
1935 "properties": { 2070 "properties": {
2071 "specialOffers": {
2072 "description": "An opt-in about receiving email regarding ne w features and products.",
2073 "type": "boolean"
2074 },
2075 "performanceSuggestions": {
2076 "description": "An opt-in about receiving email with customi zed AdWords campaign management\ntips.",
2077 "type": "boolean"
2078 },
1936 "phoneContact": { 2079 "phoneContact": {
1937 "description": "An opt-in to allow recieivng phone calls abo ut their Partners account.", 2080 "description": "An opt-in to allow recieivng phone calls abo ut their Partners account.",
1938 "type": "boolean" 2081 "type": "boolean"
1939 }, 2082 },
1940 "physicalMail": { 2083 "physicalMail": {
1941 "description": "An opt-in to receive special promotional gif ts and material in the mail.", 2084 "description": "An opt-in to receive special promotional gif ts and material in the mail.",
1942 "type": "boolean" 2085 "type": "boolean"
1943 }, 2086 },
1944 "marketComm": { 2087 "marketComm": {
1945 "description": "An opt-in about receiving email from Partner s marketing teams. Includes\nmember-only events and special promotional offers f or Google products.", 2088 "description": "An opt-in about receiving email from Partner s marketing teams. Includes\nmember-only events and special promotional offers f or Google products.",
1946 "type": "boolean" 2089 "type": "boolean"
1947 },
1948 "specialOffers": {
1949 "description": "An opt-in about receiving email regarding ne w features and products.",
1950 "type": "boolean"
1951 },
1952 "performanceSuggestions": {
1953 "description": "An opt-in about receiving email with customi zed AdWords campaign management\ntips.",
1954 "type": "boolean"
1955 } 2090 }
1956 }, 2091 },
1957 "type": "object" 2092 "type": "object"
1958 }, 2093 },
1959 "Rank": { 2094 "Rank": {
1960 "description": "Information related to ranking of results.", 2095 "description": "Information related to ranking of results.",
1961 "id": "Rank", 2096 "id": "Rank",
1962 "properties": { 2097 "properties": {
1963 "value": {
1964 "description": "The numerical value of the rank.",
1965 "format": "double",
1966 "type": "number"
1967 },
1968 "type": { 2098 "type": {
1969 "description": "The type of rank.", 2099 "description": "The type of rank.",
1970 "enum": [ 2100 "enum": [
1971 "RANK_TYPE_UNSPECIFIED", 2101 "RANK_TYPE_UNSPECIFIED",
1972 "RT_FINAL_SCORE" 2102 "RT_FINAL_SCORE"
1973 ], 2103 ],
1974 "enumDescriptions": [ 2104 "enumDescriptions": [
1975 "Unchosen.", 2105 "Unchosen.",
1976 "Total final score." 2106 "Total final score."
1977 ], 2107 ],
1978 "type": "string" 2108 "type": "string"
2109 },
2110 "value": {
2111 "description": "The numerical value of the rank.",
2112 "format": "double",
2113 "type": "number"
1979 } 2114 }
1980 }, 2115 },
1981 "type": "object" 2116 "type": "object"
1982 },
1983 "GetPartnersStatusResponse": {
1984 "description": "Response message for\nGetPartnersStatus.",
1985 "id": "GetPartnersStatusResponse",
1986 "properties": {
1987 "responseMetadata": {
1988 "$ref": "ResponseMetadata",
1989 "description": "Current response metadata."
1990 }
1991 },
1992 "type": "object"
1993 }, 2117 },
1994 "UserProfile": { 2118 "UserProfile": {
1995 "description": "The profile information of a Partners user.", 2119 "description": "The profile information of a Partners user.",
1996 "id": "UserProfile", 2120 "id": "UserProfile",
1997 "properties": { 2121 "properties": {
1998 "phoneNumber": {
1999 "description": "The user's phone number.",
2000 "type": "string"
2001 },
2002 "adwordsManagerAccount": { 2122 "adwordsManagerAccount": {
2003 "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.", 2123 "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.",
2004 "format": "int64", 2124 "format": "int64",
2005 "type": "string" 2125 "type": "string"
2006 }, 2126 },
2127 "phoneNumber": {
2128 "description": "The user's phone number.",
2129 "type": "string"
2130 },
2007 "primaryCountryCode": { 2131 "primaryCountryCode": {
2008 "description": "The user's primary country, an ISO 2-charact er code.", 2132 "description": "The user's primary country, an ISO 2-charact er code.",
2009 "type": "string" 2133 "type": "string"
2010 }, 2134 },
2011 "emailAddress": { 2135 "emailAddress": {
2012 "description": "The email address the user has selected on t he Partners site as primary.", 2136 "description": "The email address the user has selected on t he Partners site as primary.",
2013 "type": "string" 2137 "type": "string"
2014 }, 2138 },
2015 "profilePublic": {
2016 "description": "Whether the user's public profile is visible to anyone with the URL.",
2017 "type": "boolean"
2018 },
2019 "channels": { 2139 "channels": {
2020 "description": "A list of ids representing which channels th e user selected they were in.", 2140 "description": "A list of ids representing which channels th e user selected they were in.",
2021 "items": { 2141 "items": {
2022 "type": "string" 2142 "type": "string"
2023 }, 2143 },
2024 "type": "array" 2144 "type": "array"
2025 }, 2145 },
2146 "profilePublic": {
2147 "description": "Whether the user's public profile is visible to anyone with the URL.",
2148 "type": "boolean"
2149 },
2026 "jobFunctions": { 2150 "jobFunctions": {
2027 "description": "A list of ids represnting which job categori es the user selected.", 2151 "description": "A list of ids represnting which job categori es the user selected.",
2028 "items": { 2152 "items": {
2029 "type": "string" 2153 "type": "string"
2030 }, 2154 },
2031 "type": "array" 2155 "type": "array"
2032 }, 2156 },
2033 "givenName": { 2157 "givenName": {
2034 "description": "The user's given name.", 2158 "description": "The user's given name.",
2035 "type": "string" 2159 "type": "string"
2036 }, 2160 },
2037 "address": { 2161 "address": {
2038 "$ref": "Location", 2162 "$ref": "Location",
2039 "description": "The user's mailing address, contains multipl e fields." 2163 "description": "The user's mailing address, contains multipl e fields."
2040 }, 2164 },
2041 "industries": { 2165 "industries": {
2042 "description": "A list of ids representing which industries the user selected.", 2166 "description": "A list of ids representing which industries the user selected.",
2043 "items": { 2167 "items": {
2044 "type": "string" 2168 "type": "string"
2045 }, 2169 },
2046 "type": "array" 2170 "type": "array"
2047 }, 2171 },
2048 "emailOptIns": {
2049 "$ref": "OptIns",
2050 "description": "The list of opt-ins for the user, related to communication preferences."
2051 },
2052 "languages": { 2172 "languages": {
2053 "description": "The list of languages this user understands. ", 2173 "description": "The list of languages this user understands. ",
2054 "items": { 2174 "items": {
2055 "type": "string" 2175 "type": "string"
2056 }, 2176 },
2057 "type": "array" 2177 "type": "array"
2058 }, 2178 },
2059 "familyName": { 2179 "familyName": {
2060 "description": "The user's family name.", 2180 "description": "The user's family name.",
2061 "type": "string" 2181 "type": "string"
2062 }, 2182 },
2183 "emailOptIns": {
2184 "$ref": "OptIns",
2185 "description": "The list of opt-ins for the user, related to communication preferences."
2186 },
2063 "markets": { 2187 "markets": {
2064 "description": "A list of ids representing which markets the user was interested in.", 2188 "description": "A list of ids representing which markets the user was interested in.",
2065 "items": { 2189 "items": {
2066 "type": "string" 2190 "type": "string"
2067 }, 2191 },
2068 "type": "array" 2192 "type": "array"
2069 } 2193 }
2070 }, 2194 },
2071 "type": "object" 2195 "type": "object"
2072 }, 2196 },
2197 "GetPartnersStatusResponse": {
2198 "description": "Response message for\nGetPartnersStatus.",
2199 "id": "GetPartnersStatusResponse",
2200 "properties": {
2201 "responseMetadata": {
2202 "$ref": "ResponseMetadata",
2203 "description": "Current response metadata."
2204 }
2205 },
2206 "type": "object"
2207 },
2073 "HistoricalOffer": { 2208 "HistoricalOffer": {
2074 "description": "Historical information about a Google Partners Offer .", 2209 "description": "Historical information about a Google Partners Offer .",
2075 "id": "HistoricalOffer", 2210 "id": "HistoricalOffer",
2076 "properties": { 2211 "properties": {
2077 "offerCode": {
2078 "description": "Offer code.",
2079 "type": "string"
2080 },
2081 "creationTime": { 2212 "creationTime": {
2082 "description": "Time offer was first created.", 2213 "description": "Time offer was first created.",
2083 "format": "google-datetime", 2214 "format": "google-datetime",
2084 "type": "string" 2215 "type": "string"
2085 }, 2216 },
2217 "clientEmail": {
2218 "description": "Email address for client.",
2219 "type": "string"
2220 },
2086 "status": { 2221 "status": {
2087 "description": "Status of the offer.", 2222 "description": "Status of the offer.",
2088 "enum": [ 2223 "enum": [
2089 "OFFER_STATUS_UNSPECIFIED", 2224 "OFFER_STATUS_UNSPECIFIED",
2090 "OFFER_STATUS_DISTRIBUTED", 2225 "OFFER_STATUS_DISTRIBUTED",
2091 "OFFER_STATUS_REDEEMED", 2226 "OFFER_STATUS_REDEEMED",
2092 "OFFER_STATUS_AWARDED", 2227 "OFFER_STATUS_AWARDED",
2093 "OFFER_STATUS_EXPIRED" 2228 "OFFER_STATUS_EXPIRED"
2094 ], 2229 ],
2095 "enumDescriptions": [ 2230 "enumDescriptions": [
2096 "Unset.", 2231 "Unset.",
2097 "Offer distributed.", 2232 "Offer distributed.",
2098 "Offer redeemed.", 2233 "Offer redeemed.",
2099 "Offer awarded.", 2234 "Offer awarded.",
2100 "Offer expired." 2235 "Offer expired."
2101 ], 2236 ],
2102 "type": "string" 2237 "type": "string"
2103 }, 2238 },
2104 "clientEmail": {
2105 "description": "Email address for client.",
2106 "type": "string"
2107 },
2108 "clientId": { 2239 "clientId": {
2109 "description": "ID of client.", 2240 "description": "ID of client.",
2110 "format": "int64", 2241 "format": "int64",
2111 "type": "string" 2242 "type": "string"
2112 }, 2243 },
2113 "clientName": { 2244 "clientName": {
2114 "description": "Name of the client.", 2245 "description": "Name of the client.",
2115 "type": "string" 2246 "type": "string"
2116 }, 2247 },
2117 "lastModifiedTime": { 2248 "lastModifiedTime": {
(...skipping 26 matching lines...) Expand all
2144 "type": "string" 2275 "type": "string"
2145 }, 2276 },
2146 "offerCountryCode": { 2277 "offerCountryCode": {
2147 "description": "Country Code for the offer country.", 2278 "description": "Country Code for the offer country.",
2148 "type": "string" 2279 "type": "string"
2149 }, 2280 },
2150 "expirationTime": { 2281 "expirationTime": {
2151 "description": "Time this offer expires.", 2282 "description": "Time this offer expires.",
2152 "format": "google-datetime", 2283 "format": "google-datetime",
2153 "type": "string" 2284 "type": "string"
2285 },
2286 "offerCode": {
2287 "description": "Offer code.",
2288 "type": "string"
2154 } 2289 }
2155 }, 2290 },
2156 "type": "object" 2291 "type": "object"
2157 }, 2292 },
2158 "LogUserEventRequest": { 2293 "LogUserEventRequest": {
2159 "description": "Request message for\nLogUserEvent.", 2294 "description": "Request message for\nLogUserEvent.",
2160 "id": "LogUserEventRequest", 2295 "id": "LogUserEventRequest",
2161 "properties": { 2296 "properties": {
2297 "requestMetadata": {
2298 "$ref": "RequestMetadata",
2299 "description": "Current request metadata."
2300 },
2301 "url": {
2302 "description": "The URL where the event occurred.",
2303 "type": "string"
2304 },
2305 "eventScope": {
2306 "description": "The scope of the event.",
2307 "enum": [
2308 "EVENT_SCOPE_UNSPECIFIED",
2309 "VISITOR",
2310 "SESSION",
2311 "PAGE"
2312 ],
2313 "enumDescriptions": [
2314 "Unchosen.",
2315 "Based on visitor.",
2316 "Based on session.",
2317 "Based on page visit."
2318 ],
2319 "type": "string"
2320 },
2321 "eventDatas": {
2322 "description": "List of event data for the event.",
2323 "items": {
2324 "$ref": "EventData"
2325 },
2326 "type": "array"
2327 },
2162 "eventCategory": { 2328 "eventCategory": {
2163 "description": "The category the action belongs to.", 2329 "description": "The category the action belongs to.",
2164 "enum": [ 2330 "enum": [
2165 "EVENT_CATEGORY_UNSPECIFIED", 2331 "EVENT_CATEGORY_UNSPECIFIED",
2166 "GOOGLE_PARTNER_SEARCH", 2332 "GOOGLE_PARTNER_SEARCH",
2167 "GOOGLE_PARTNER_SIGNUP_FLOW", 2333 "GOOGLE_PARTNER_SIGNUP_FLOW",
2168 "GOOGLE_PARTNER_PORTAL", 2334 "GOOGLE_PARTNER_PORTAL",
2169 "GOOGLE_PARTNER_PORTAL_MY_PROFILE", 2335 "GOOGLE_PARTNER_PORTAL_MY_PROFILE",
2170 "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS", 2336 "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS",
2171 "GOOGLE_PARTNER_PORTAL_COMMUNITY", 2337 "GOOGLE_PARTNER_PORTAL_COMMUNITY",
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
2517 "Agency picked a suggested agency.", 2683 "Agency picked a suggested agency.",
2518 "Agency searched for agencies.", 2684 "Agency searched for agencies.",
2519 "Agency picked a searched agency.", 2685 "Agency picked a searched agency.",
2520 "Agency dismissed affiliation widget.", 2686 "Agency dismissed affiliation widget.",
2521 "Agency clicked on the download link for downloading con tent.", 2687 "Agency clicked on the download link for downloading con tent.",
2522 "Agency user is maklingg progress viewing a content item .", 2688 "Agency user is maklingg progress viewing a content item .",
2523 "Agency clicked `cancel Terms Of Service` button.", 2689 "Agency clicked `cancel Terms Of Service` button.",
2524 "Advertiser entered website in contact form." 2690 "Advertiser entered website in contact form."
2525 ], 2691 ],
2526 "type": "string" 2692 "type": "string"
2527 },
2528 "url": {
2529 "description": "The URL where the event occurred.",
2530 "type": "string"
2531 },
2532 "requestMetadata": {
2533 "$ref": "RequestMetadata",
2534 "description": "Current request metadata."
2535 },
2536 "eventDatas": {
2537 "description": "List of event data for the event.",
2538 "items": {
2539 "$ref": "EventData"
2540 },
2541 "type": "array"
2542 },
2543 "eventScope": {
2544 "description": "The scope of the event.",
2545 "enum": [
2546 "EVENT_SCOPE_UNSPECIFIED",
2547 "VISITOR",
2548 "SESSION",
2549 "PAGE"
2550 ],
2551 "enumDescriptions": [
2552 "Unchosen.",
2553 "Based on visitor.",
2554 "Based on session.",
2555 "Based on page visit."
2556 ],
2557 "type": "string"
2558 } 2693 }
2559 }, 2694 },
2560 "type": "object" 2695 "type": "object"
2561 }, 2696 },
2562 "UserOverrides": { 2697 "UserOverrides": {
2563 "description": "Values to use instead of the user's respective defau lts. These are only\nhonored by whitelisted products.", 2698 "description": "Values to use instead of the user's respective defau lts. These are only\nhonored by whitelisted products.",
2564 "id": "UserOverrides", 2699 "id": "UserOverrides",
2565 "properties": { 2700 "properties": {
2566 "ipAddress": { 2701 "ipAddress": {
2567 "description": "IP address to use instead of the user's geo- located IP address.", 2702 "description": "IP address to use instead of the user's geo- located IP address.",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2609 "$ref": "AnalyticsDataPoint", 2744 "$ref": "AnalyticsDataPoint",
2610 "description": "Instances of users viewing the `Company` pro file\non the specified date." 2745 "description": "Instances of users viewing the `Company` pro file\non the specified date."
2611 }, 2746 },
2612 "eventDate": { 2747 "eventDate": {
2613 "$ref": "Date", 2748 "$ref": "Date",
2614 "description": "Date on which these events occurred." 2749 "description": "Date on which these events occurred."
2615 } 2750 }
2616 }, 2751 },
2617 "type": "object" 2752 "type": "object"
2618 }, 2753 },
2754 "AdWordsManagerAccountInfo": {
2755 "description": "Information about a particular AdWords Manager Accou nt.\nRead more at https://support.google.com/adwords/answer/6139186",
2756 "id": "AdWordsManagerAccountInfo",
2757 "properties": {
2758 "id": {
2759 "description": "The AdWords Manager Account id.",
2760 "format": "int64",
2761 "type": "string"
2762 },
2763 "customerName": {
2764 "description": "Name of the customer this account represents .",
2765 "type": "string"
2766 }
2767 },
2768 "type": "object"
2769 },
2619 "PublicProfile": { 2770 "PublicProfile": {
2620 "description": "Basic information from a public profile.", 2771 "description": "Basic information from a public profile.",
2621 "id": "PublicProfile", 2772 "id": "PublicProfile",
2622 "properties": { 2773 "properties": {
2623 "url": { 2774 "url": {
2624 "description": "The URL of the public profile.", 2775 "description": "The URL of the public profile.",
2625 "type": "string" 2776 "type": "string"
2626 }, 2777 },
2627 "id": { 2778 "id": {
2628 "description": "The ID which can be used to retrieve more de tails about the public profile.", 2779 "description": "The ID which can be used to retrieve more de tails about the public profile.",
2629 "type": "string" 2780 "type": "string"
2630 }, 2781 },
2631 "profileImage": { 2782 "profileImage": {
2632 "description": "The URL to the main profile image of the pub lic profile.", 2783 "description": "The URL to the main profile image of the pub lic profile.",
2633 "type": "string" 2784 "type": "string"
2634 }, 2785 },
2635 "displayImageUrl": { 2786 "displayImageUrl": {
2636 "description": "The URL to the main display image of the pub lic profile. Being deprecated.", 2787 "description": "The URL to the main display image of the pub lic profile. Being deprecated.",
2637 "type": "string" 2788 "type": "string"
2638 }, 2789 },
2639 "displayName": { 2790 "displayName": {
2640 "description": "The display name of the public profile.", 2791 "description": "The display name of the public profile.",
2641 "type": "string" 2792 "type": "string"
2642 } 2793 }
2643 }, 2794 },
2644 "type": "object" 2795 "type": "object"
2645 }, 2796 },
2646 "AdWordsManagerAccountInfo": {
2647 "description": "Information about a particular AdWords Manager Accou nt.\nRead more at https://support.google.com/adwords/answer/6139186",
2648 "id": "AdWordsManagerAccountInfo",
2649 "properties": {
2650 "customerName": {
2651 "description": "Name of the customer this account represents .",
2652 "type": "string"
2653 },
2654 "id": {
2655 "description": "The AdWords Manager Account id.",
2656 "format": "int64",
2657 "type": "string"
2658 }
2659 },
2660 "type": "object"
2661 },
2662 "ResponseMetadata": { 2797 "ResponseMetadata": {
2663 "description": "Common data that is in each API response.", 2798 "description": "Common data that is in each API response.",
2664 "id": "ResponseMetadata", 2799 "id": "ResponseMetadata",
2665 "properties": { 2800 "properties": {
2666 "debugInfo": { 2801 "debugInfo": {
2667 "$ref": "DebugInfo", 2802 "$ref": "DebugInfo",
2668 "description": "Debug information about this request." 2803 "description": "Debug information about this request."
2669 } 2804 }
2670 }, 2805 },
2671 "type": "object" 2806 "type": "object"
2672 }, 2807 },
2673 "RecaptchaChallenge": { 2808 "RecaptchaChallenge": {
2674 "description": "<a href=\"https://www.google.com/recaptcha/\">reCapt cha</a> challenge info.", 2809 "description": "<a href=\"https://www.google.com/recaptcha/\">reCapt cha</a> challenge info.",
2675 "id": "RecaptchaChallenge", 2810 "id": "RecaptchaChallenge",
2676 "properties": { 2811 "properties": {
2812 "id": {
2813 "description": "The ID of the reCaptcha challenge.",
2814 "type": "string"
2815 },
2677 "response": { 2816 "response": {
2678 "description": "The response to the reCaptcha challenge.", 2817 "description": "The response to the reCaptcha challenge.",
2679 "type": "string" 2818 "type": "string"
2680 },
2681 "id": {
2682 "description": "The ID of the reCaptcha challenge.",
2683 "type": "string"
2684 } 2819 }
2685 }, 2820 },
2686 "type": "object" 2821 "type": "object"
2687 }, 2822 },
2688 "AvailableOffer": { 2823 "AvailableOffer": {
2689 "description": "Available Offers to be distributed.", 2824 "description": "Available Offers to be distributed.",
2690 "id": "AvailableOffer", 2825 "id": "AvailableOffer",
2691 "properties": { 2826 "properties": {
2692 "maxAccountAge": {
2693 "description": "The maximum age of an account [in days] to b e eligible.",
2694 "format": "int32",
2695 "type": "integer"
2696 },
2697 "qualifiedCustomer": {
2698 "description": "Customers who qualify for this offer.",
2699 "items": {
2700 "$ref": "OfferCustomer"
2701 },
2702 "type": "array"
2703 },
2704 "terms": {
2705 "description": "Terms of the offer.",
2706 "type": "string"
2707 },
2708 "showSpecialOfferCopy": {
2709 "description": "Should special text be shown on the offers p age.",
2710 "type": "boolean"
2711 },
2712 "available": {
2713 "description": "The number of codes for this offer that are available for distribution.",
2714 "format": "int32",
2715 "type": "integer"
2716 },
2717 "description": { 2827 "description": {
2718 "description": "Description of the offer.", 2828 "description": "Description of the offer.",
2719 "type": "string" 2829 "type": "string"
2720 }, 2830 },
2721 "offerLevel": { 2831 "offerLevel": {
2722 "description": "Level of this offer.", 2832 "description": "Level of this offer.",
2723 "enum": [ 2833 "enum": [
2724 "OFFER_LEVEL_UNSPECIFIED", 2834 "OFFER_LEVEL_UNSPECIFIED",
2725 "OFFER_LEVEL_DENY_PROBLEM", 2835 "OFFER_LEVEL_DENY_PROBLEM",
2726 "OFFER_LEVEL_DENY_CONTRACT", 2836 "OFFER_LEVEL_DENY_CONTRACT",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
2770 "OFFER_TYPE_VIDEO", 2880 "OFFER_TYPE_VIDEO",
2771 "OFFER_TYPE_SPEND_MATCH" 2881 "OFFER_TYPE_SPEND_MATCH"
2772 ], 2882 ],
2773 "enumDescriptions": [ 2883 "enumDescriptions": [
2774 "Unset.", 2884 "Unset.",
2775 "AdWords spend X get Y.", 2885 "AdWords spend X get Y.",
2776 "Youtube video.", 2886 "Youtube video.",
2777 "Spend Match up to Y." 2887 "Spend Match up to Y."
2778 ], 2888 ],
2779 "type": "string" 2889 "type": "string"
2890 },
2891 "maxAccountAge": {
2892 "description": "The maximum age of an account [in days] to b e eligible.",
2893 "format": "int32",
2894 "type": "integer"
2895 },
2896 "qualifiedCustomer": {
2897 "description": "Customers who qualify for this offer.",
2898 "items": {
2899 "$ref": "OfferCustomer"
2900 },
2901 "type": "array"
2902 },
2903 "terms": {
2904 "description": "Terms of the offer.",
2905 "type": "string"
2906 },
2907 "showSpecialOfferCopy": {
2908 "description": "Should special text be shown on the offers p age.",
2909 "type": "boolean"
2910 },
2911 "available": {
2912 "description": "The number of codes for this offer that are available for distribution.",
2913 "format": "int32",
2914 "type": "integer"
2780 } 2915 }
2781 }, 2916 },
2782 "type": "object" 2917 "type": "object"
2783 }, 2918 },
2784 "LatLng": { 2919 "LatLng": {
2785 "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)", 2920 "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)",
2786 "id": "LatLng", 2921 "id": "LatLng",
2787 "properties": { 2922 "properties": {
2923 "latitude": {
2924 "description": "The latitude in degrees. It must be in the r ange [-90.0, +90.0].",
2925 "format": "double",
2926 "type": "number"
2927 },
2788 "longitude": { 2928 "longitude": {
2789 "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", 2929 "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
2790 "format": "double", 2930 "format": "double",
2791 "type": "number" 2931 "type": "number"
2792 },
2793 "latitude": {
2794 "description": "The latitude in degrees. It must be in the r ange [-90.0, +90.0].",
2795 "format": "double",
2796 "type": "number"
2797 } 2932 }
2798 }, 2933 },
2799 "type": "object" 2934 "type": "object"
2800 }, 2935 },
2801 "Money": { 2936 "Money": {
2802 "description": "Represents an amount of money with its currency type .", 2937 "description": "Represents an amount of money with its currency type .",
2803 "id": "Money", 2938 "id": "Money",
2804 "properties": { 2939 "properties": {
2805 "units": {
2806 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
2807 "format": "int64",
2808 "type": "string"
2809 },
2810 "currencyCode": { 2940 "currencyCode": {
2811 "description": "The 3-letter currency code defined in ISO 42 17.", 2941 "description": "The 3-letter currency code defined in ISO 42 17.",
2812 "type": "string" 2942 "type": "string"
2813 }, 2943 },
2814 "nanos": { 2944 "nanos": {
2815 "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.", 2945 "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.",
2816 "format": "int32", 2946 "format": "int32",
2817 "type": "integer" 2947 "type": "integer"
2948 },
2949 "units": {
2950 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
2951 "format": "int64",
2952 "type": "string"
2818 } 2953 }
2819 }, 2954 },
2820 "type": "object" 2955 "type": "object"
2821 }, 2956 },
2822 "AnalyticsSummary": { 2957 "AnalyticsSummary": {
2823 "description": "Analytics aggregated data for a `Company` for a give n date range.", 2958 "description": "Analytics aggregated data for a `Company` for a give n date range.",
2824 "id": "AnalyticsSummary", 2959 "id": "AnalyticsSummary",
2825 "properties": { 2960 "properties": {
2826 "searchViewsCount": { 2961 "searchViewsCount": {
2827 "description": "Aggregated number of times users saw the `Co mpany`\nin Google Partners Search results for given date range.", 2962 "description": "Aggregated number of times users saw the `Co mpany`\nin Google Partners Search results for given date range.",
(...skipping 10 matching lines...) Expand all
2838 "format": "int32", 2973 "format": "int32",
2839 "type": "integer" 2974 "type": "integer"
2840 } 2975 }
2841 }, 2976 },
2842 "type": "object" 2977 "type": "object"
2843 }, 2978 },
2844 "LogMessageRequest": { 2979 "LogMessageRequest": {
2845 "description": "Request message for\nLogClientMessage.", 2980 "description": "Request message for\nLogClientMessage.",
2846 "id": "LogMessageRequest", 2981 "id": "LogMessageRequest",
2847 "properties": { 2982 "properties": {
2983 "clientInfo": {
2984 "additionalProperties": {
2985 "type": "string"
2986 },
2987 "description": "Map of client info, such as URL, browser nav igator, browser platform, etc.",
2988 "type": "object"
2989 },
2990 "requestMetadata": {
2991 "$ref": "RequestMetadata",
2992 "description": "Current request metadata."
2993 },
2848 "level": { 2994 "level": {
2849 "description": "Message level of client message.", 2995 "description": "Message level of client message.",
2850 "enum": [ 2996 "enum": [
2851 "MESSAGE_LEVEL_UNSPECIFIED", 2997 "MESSAGE_LEVEL_UNSPECIFIED",
2852 "ML_FINE", 2998 "ML_FINE",
2853 "ML_INFO", 2999 "ML_INFO",
2854 "ML_WARNING", 3000 "ML_WARNING",
2855 "ML_SEVERE" 3001 "ML_SEVERE"
2856 ], 3002 ],
2857 "enumDescriptions": [ 3003 "enumDescriptions": [
2858 "Unchosen.", 3004 "Unchosen.",
2859 "Message level for tracing information.", 3005 "Message level for tracing information.",
2860 "Message level for informational messages.", 3006 "Message level for informational messages.",
2861 "Message level for potential problems.", 3007 "Message level for potential problems.",
2862 "Message level for serious failures." 3008 "Message level for serious failures."
2863 ], 3009 ],
2864 "type": "string" 3010 "type": "string"
2865 }, 3011 },
2866 "details": { 3012 "details": {
2867 "description": "Details about the client message.", 3013 "description": "Details about the client message.",
2868 "type": "string" 3014 "type": "string"
2869 },
2870 "clientInfo": {
2871 "additionalProperties": {
2872 "type": "string"
2873 },
2874 "description": "Map of client info, such as URL, browser nav igator, browser platform, etc.",
2875 "type": "object"
2876 },
2877 "requestMetadata": {
2878 "$ref": "RequestMetadata",
2879 "description": "Current request metadata."
2880 } 3015 }
2881 }, 3016 },
2882 "type": "object" 3017 "type": "object"
2883 }, 3018 },
2884 "Lead": { 3019 "Lead": {
2885 "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).", 3020 "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).",
2886 "id": "Lead", 3021 "id": "Lead",
2887 "properties": { 3022 "properties": {
3023 "phoneNumber": {
3024 "description": "Phone number of lead source.",
3025 "type": "string"
3026 },
3027 "adwordsCustomerId": {
3028 "description": "The AdWords Customer ID of the lead.",
3029 "format": "int64",
3030 "type": "string"
3031 },
3032 "createTime": {
3033 "description": "Timestamp of when this lead was created.",
3034 "format": "google-datetime",
3035 "type": "string"
3036 },
3037 "marketingOptIn": {
3038 "description": "Whether or not the lead signed up for market ing emails",
3039 "type": "boolean"
3040 },
2888 "type": { 3041 "type": {
2889 "description": "Type of lead.", 3042 "description": "Type of lead.",
2890 "enum": [ 3043 "enum": [
2891 "LEAD_TYPE_UNSPECIFIED", 3044 "LEAD_TYPE_UNSPECIFIED",
2892 "LT_GPS" 3045 "LT_GPS"
2893 ], 3046 ],
2894 "enumDescriptions": [ 3047 "enumDescriptions": [
2895 "Unchosen.", 3048 "Unchosen.",
2896 "Google Partner Search." 3049 "Google Partner Search."
2897 ], 3050 ],
2898 "type": "string" 3051 "type": "string"
2899 }, 3052 },
3053 "givenName": {
3054 "description": "First name of lead source.",
3055 "type": "string"
3056 },
2900 "minMonthlyBudget": { 3057 "minMonthlyBudget": {
2901 "$ref": "Money", 3058 "$ref": "Money",
2902 "description": "The minimum monthly budget lead source is wi lling to spend." 3059 "description": "The minimum monthly budget lead source is wi lling to spend."
2903 }, 3060 },
2904 "givenName": { 3061 "languageCode": {
2905 "description": "First name of lead source.", 3062 "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\").",
2906 "type": "string" 3063 "type": "string"
2907 }, 3064 },
2908 "websiteUrl": { 3065 "websiteUrl": {
2909 "description": "Website URL of lead source.", 3066 "description": "Website URL of lead source.",
2910 "type": "string" 3067 "type": "string"
2911 }, 3068 },
2912 "languageCode": {
2913 "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\").",
2914 "type": "string"
2915 },
2916 "state": {
2917 "description": "The lead's state in relation to the company. ",
2918 "enum": [
2919 "LEAD_STATE_UNSPECIFIED",
2920 "LEAD",
2921 "CONTACTED",
2922 "CLIENT",
2923 "OTHER"
2924 ],
2925 "enumDescriptions": [
2926 "Unchosen.",
2927 "Lead not yet contacted.",
2928 "Lead has been contacted.",
2929 "Lead has become a client.",
2930 "Lead in a state not covered by other options."
2931 ],
2932 "type": "string"
2933 },
2934 "gpsMotivations": { 3069 "gpsMotivations": {
2935 "description": "List of reasons for using Google Partner Sea rch and creating a lead.", 3070 "description": "List of reasons for using Google Partner Sea rch and creating a lead.",
2936 "enumDescriptions": [ 3071 "enumDescriptions": [
2937 "Unchosen.", 3072 "Unchosen.",
2938 "Advertiser needs help with their advertising.", 3073 "Advertiser needs help with their advertising.",
2939 "Advertiser needs help with their website.", 3074 "Advertiser needs help with their website.",
2940 "Advertiser does not have a website." 3075 "Advertiser does not have a website."
2941 ], 3076 ],
2942 "items": { 3077 "items": {
2943 "enum": [ 3078 "enum": [
2944 "GPS_MOTIVATION_UNSPECIFIED", 3079 "GPS_MOTIVATION_UNSPECIFIED",
2945 "GPSM_HELP_WITH_ADVERTISING", 3080 "GPSM_HELP_WITH_ADVERTISING",
2946 "GPSM_HELP_WITH_WEBSITE", 3081 "GPSM_HELP_WITH_WEBSITE",
2947 "GPSM_NO_WEBSITE" 3082 "GPSM_NO_WEBSITE"
2948 ], 3083 ],
2949 "type": "string" 3084 "type": "string"
2950 }, 3085 },
2951 "type": "array" 3086 "type": "array"
2952 }, 3087 },
3088 "state": {
3089 "description": "The lead's state in relation to the company. ",
3090 "enum": [
3091 "LEAD_STATE_UNSPECIFIED",
3092 "LEAD",
3093 "CONTACTED",
3094 "CLIENT",
3095 "OTHER"
3096 ],
3097 "enumDescriptions": [
3098 "Unchosen.",
3099 "Lead not yet contacted.",
3100 "Lead has been contacted.",
3101 "Lead has become a client.",
3102 "Lead in a state not covered by other options."
3103 ],
3104 "type": "string"
3105 },
2953 "email": { 3106 "email": {
2954 "description": "Email address of lead source.", 3107 "description": "Email address of lead source.",
2955 "type": "string" 3108 "type": "string"
2956 }, 3109 },
2957 "familyName": { 3110 "familyName": {
2958 "description": "Last name of lead source.", 3111 "description": "Last name of lead source.",
2959 "type": "string" 3112 "type": "string"
2960 }, 3113 },
2961 "id": {
2962 "description": "ID of the lead.",
2963 "type": "string"
2964 },
2965 "comments": { 3114 "comments": {
2966 "description": "Comments lead source gave.", 3115 "description": "Comments lead source gave.",
2967 "type": "string" 3116 "type": "string"
2968 }, 3117 },
2969 "adwordsCustomerId": { 3118 "id": {
2970 "description": "The AdWords Customer ID of the lead.", 3119 "description": "ID of the lead.",
2971 "format": "int64",
2972 "type": "string" 3120 "type": "string"
2973 },
2974 "phoneNumber": {
2975 "description": "Phone number of lead source.",
2976 "type": "string"
2977 },
2978 "createTime": {
2979 "description": "Timestamp of when this lead was created.",
2980 "format": "google-datetime",
2981 "type": "string"
2982 },
2983 "marketingOptIn": {
2984 "description": "Whether or not the lead signed up for market ing emails",
2985 "type": "boolean"
2986 } 3121 }
2987 }, 3122 },
2988 "type": "object" 3123 "type": "object"
2989 }, 3124 },
2990 "DebugInfo": { 3125 "DebugInfo": {
2991 "description": "Debug information about this request.", 3126 "description": "Debug information about this request.",
2992 "id": "DebugInfo", 3127 "id": "DebugInfo",
2993 "properties": { 3128 "properties": {
2994 "serverTraceInfo": { 3129 "serverTraceInfo": {
2995 "description": "Server-side debug stack trace.", 3130 "description": "Server-side debug stack trace.",
2996 "type": "string" 3131 "type": "string"
2997 }, 3132 },
2998 "serverInfo": { 3133 "serverInfo": {
2999 "description": "Info about the server that serviced this req uest.", 3134 "description": "Info about the server that serviced this req uest.",
3000 "type": "string" 3135 "type": "string"
3001 }, 3136 },
3002 "serviceUrl": { 3137 "serviceUrl": {
3003 "description": "URL of the service that handled this request .", 3138 "description": "URL of the service that handled this request .",
3004 "type": "string" 3139 "type": "string"
3005 } 3140 }
3006 }, 3141 },
3007 "type": "object" 3142 "type": "object"
3008 }, 3143 },
3009 "ListUserStatesResponse": { 3144 "ListUserStatesResponse": {
3010 "description": "Response message for\nListUserStates.", 3145 "description": "Response message for\nListUserStates.",
3011 "id": "ListUserStatesResponse", 3146 "id": "ListUserStatesResponse",
3012 "properties": { 3147 "properties": {
3148 "responseMetadata": {
3149 "$ref": "ResponseMetadata",
3150 "description": "Current response metadata."
3151 },
3013 "userStates": { 3152 "userStates": {
3014 "description": "User's states.", 3153 "description": "User's states.",
3015 "enumDescriptions": [ 3154 "enumDescriptions": [
3016 "Unchosen.", 3155 "Unchosen.",
3017 "User must pass <a href=\"https://www.google.com/recaptc ha/\">reCaptcha</a> to\ncontact a Partner via Google Partner Search." 3156 "User must pass <a href=\"https://www.google.com/recaptc ha/\">reCaptcha</a> to\ncontact a Partner via Google Partner Search."
3018 ], 3157 ],
3019 "items": { 3158 "items": {
3020 "enum": [ 3159 "enum": [
3021 "USER_STATE_UNSPECIFIED", 3160 "USER_STATE_UNSPECIFIED",
3022 "US_REQUIRES_RECAPTCHA_FOR_GPS_CONTACT" 3161 "US_REQUIRES_RECAPTCHA_FOR_GPS_CONTACT"
3023 ], 3162 ],
3024 "type": "string" 3163 "type": "string"
3025 }, 3164 },
3026 "type": "array" 3165 "type": "array"
3027 },
3028 "responseMetadata": {
3029 "$ref": "ResponseMetadata",
3030 "description": "Current response metadata."
3031 } 3166 }
3032 }, 3167 },
3033 "type": "object" 3168 "type": "object"
3034 }, 3169 },
3035 "CompanyRelation": { 3170 "CompanyRelation": {
3036 "description": "A CompanyRelation resource representing information about a user's\naffiliation and standing with a company in Partners.", 3171 "description": "A CompanyRelation resource representing information about a user's\naffiliation and standing with a company in Partners.",
3037 "id": "CompanyRelation", 3172 "id": "CompanyRelation",
3038 "properties": { 3173 "properties": {
3039 "resolvedTimestamp": { 3174 "resolvedTimestamp": {
3040 "description": "The timestamp when the user was approved.\n@ OutputOnly", 3175 "description": "The timestamp when the user was approved.\n@ OutputOnly",
3041 "format": "google-datetime", 3176 "format": "google-datetime",
3042 "type": "string" 3177 "type": "string"
3043 }, 3178 },
3044 "companyAdmin": { 3179 "companyAdmin": {
3045 "description": "Indicates if the user is an admin for this c ompany.", 3180 "description": "Indicates if the user is an admin for this c ompany.",
3046 "type": "boolean" 3181 "type": "boolean"
3047 }, 3182 },
3183 "address": {
3184 "description": "The primary address for this company.",
3185 "type": "string"
3186 },
3048 "isPending": { 3187 "isPending": {
3049 "description": "The flag that indicates if the company is pe nding verification.", 3188 "description": "The flag that indicates if the company is pe nding verification.",
3050 "type": "boolean" 3189 "type": "boolean"
3051 }, 3190 },
3052 "address": {
3053 "description": "The primary address for this company.",
3054 "type": "string"
3055 },
3056 "creationTime": { 3191 "creationTime": {
3057 "description": "The timestamp of when affiliation was reques ted.\n@OutputOnly", 3192 "description": "The timestamp of when affiliation was reques ted.\n@OutputOnly",
3058 "format": "google-datetime", 3193 "format": "google-datetime",
3059 "type": "string" 3194 "type": "string"
3060 }, 3195 },
3061 "primaryAddress": { 3196 "primaryAddress": {
3062 "$ref": "Location", 3197 "$ref": "Location",
3063 "description": "The primary location of the company." 3198 "description": "The primary location of the company."
3064 }, 3199 },
3065 "state": { 3200 "state": {
3066 "description": "The state of relationship, in terms of appro vals.", 3201 "description": "The state of relationship, in terms of appro vals.",
3067 "enum": [ 3202 "enum": [
3068 "USER_COMPANY_REATION_STATE_NONE_SPECIFIED", 3203 "USER_COMPANY_REATION_STATE_NONE_SPECIFIED",
3069 "USER_COMPANY_RELATION_STATE_AWAIT_EMAIL", 3204 "USER_COMPANY_RELATION_STATE_AWAIT_EMAIL",
3070 "USER_COMPANY_RELATION_STATE_AWAIT_ADMIN", 3205 "USER_COMPANY_RELATION_STATE_AWAIT_ADMIN",
3071 "USER_COMPANY_RELATION_STATE_APPROVED" 3206 "USER_COMPANY_RELATION_STATE_APPROVED"
3072 ], 3207 ],
3073 "enumDescriptions": [ 3208 "enumDescriptions": [
3074 "Default unspecified value.", 3209 "Default unspecified value.",
3075 "User has filled in a request to be associated with an c ompany.\nNow waiting email confirmation.", 3210 "User has filled in a request to be associated with an c ompany.\nNow waiting email confirmation.",
3076 "Pending approval from company.\nEmail confirmation will not approve this one.", 3211 "Pending approval from company.\nEmail confirmation will not approve this one.",
3077 "Approved by company." 3212 "Approved by company."
3078 ], 3213 ],
3079 "type": "string" 3214 "type": "string"
3080 }, 3215 },
3216 "name": {
3217 "description": "The name (in the company's primary language) for the company.",
3218 "type": "string"
3219 },
3081 "managerAccount": { 3220 "managerAccount": {
3082 "description": "The AdWords manager account # associated thi s company.", 3221 "description": "The AdWords manager account # associated thi s company.",
3083 "format": "int64", 3222 "format": "int64",
3084 "type": "string" 3223 "type": "string"
3085 }, 3224 },
3086 "name": {
3087 "description": "The name (in the company's primary language) for the company.",
3088 "type": "string"
3089 },
3090 "segment": { 3225 "segment": {
3091 "description": "The segment the company is classified as.", 3226 "description": "The segment the company is classified as.",
3092 "enumDescriptions": [ 3227 "enumDescriptions": [
3093 "Default segment indicates an unknown.", 3228 "Default segment indicates an unknown.",
3094 "Segment representing a selected group of Partners", 3229 "Segment representing a selected group of Partners",
3095 "Segment representing Premier SMB Partners, an AdWords p artnership program.", 3230 "Segment representing Premier SMB Partners, an AdWords p artnership program.",
3096 "A segment of Premier SMB Partners that have relationshi p with Google." 3231 "A segment of Premier SMB Partners that have relationshi p with Google."
3097 ], 3232 ],
3098 "items": { 3233 "items": {
3099 "enum": [ 3234 "enum": [
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
3194 "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.", 3329 "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.",
3195 "type": "string" 3330 "type": "string"
3196 }, 3331 },
3197 "trafficSubId": { 3332 "trafficSubId": {
3198 "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.", 3333 "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.",
3199 "type": "string" 3334 "type": "string"
3200 } 3335 }
3201 }, 3336 },
3202 "type": "object" 3337 "type": "object"
3203 }, 3338 },
3204 "RequestMetadata": {
3205 "description": "Common data that is in each API request.",
3206 "id": "RequestMetadata",
3207 "properties": {
3208 "locale": {
3209 "description": "Locale to use for the current request.",
3210 "type": "string"
3211 },
3212 "partnersSessionId": {
3213 "description": "Google Partners session ID.",
3214 "type": "string"
3215 },
3216 "userOverrides": {
3217 "$ref": "UserOverrides",
3218 "description": "Values to use instead of the user's respecti ve defaults for the current\nrequest. These are only honored by whitelisted prod ucts."
3219 },
3220 "trafficSource": {
3221 "$ref": "TrafficSource",
3222 "description": "Source of traffic for the current request."
3223 },
3224 "experimentIds": {
3225 "description": "Experiment IDs the current request belongs t o.",
3226 "items": {
3227 "type": "string"
3228 },
3229 "type": "array"
3230 }
3231 },
3232 "type": "object"
3233 },
3234 "CreateLeadRequest": { 3339 "CreateLeadRequest": {
3235 "description": "Request message for CreateLead.", 3340 "description": "Request message for CreateLead.",
3236 "id": "CreateLeadRequest", 3341 "id": "CreateLeadRequest",
3237 "properties": { 3342 "properties": {
3238 "requestMetadata": { 3343 "requestMetadata": {
3239 "$ref": "RequestMetadata", 3344 "$ref": "RequestMetadata",
3240 "description": "Current request metadata." 3345 "description": "Current request metadata."
3241 }, 3346 },
3242 "recaptchaChallenge": { 3347 "recaptchaChallenge": {
3243 "$ref": "RecaptchaChallenge", 3348 "$ref": "RecaptchaChallenge",
3244 "description": "<a href=\"https://www.google.com/recaptcha/\ ">reCaptcha</a> challenge info." 3349 "description": "<a href=\"https://www.google.com/recaptcha/\ ">reCaptcha</a> challenge info."
3245 }, 3350 },
3246 "lead": { 3351 "lead": {
3247 "$ref": "Lead", 3352 "$ref": "Lead",
3248 "description": "The lead resource. The `LeadType` must not b e `LEAD_TYPE_UNSPECIFIED`\nand either `email` or `phone_number` must be provided ." 3353 "description": "The lead resource. The `LeadType` must not b e `LEAD_TYPE_UNSPECIFIED`\nand either `email` or `phone_number` must be provided ."
3249 } 3354 }
3250 }, 3355 },
3251 "type": "object" 3356 "type": "object"
3252 }, 3357 },
3358 "RequestMetadata": {
3359 "description": "Common data that is in each API request.",
3360 "id": "RequestMetadata",
3361 "properties": {
3362 "trafficSource": {
3363 "$ref": "TrafficSource",
3364 "description": "Source of traffic for the current request."
3365 },
3366 "experimentIds": {
3367 "description": "Experiment IDs the current request belongs t o.",
3368 "items": {
3369 "type": "string"
3370 },
3371 "type": "array"
3372 },
3373 "locale": {
3374 "description": "Locale to use for the current request.",
3375 "type": "string"
3376 },
3377 "partnersSessionId": {
3378 "description": "Google Partners session ID.",
3379 "type": "string"
3380 },
3381 "userOverrides": {
3382 "$ref": "UserOverrides",
3383 "description": "Values to use instead of the user's respecti ve defaults for the current\nrequest. These are only honored by whitelisted prod ucts."
3384 }
3385 },
3386 "type": "object"
3387 },
3253 "EventData": { 3388 "EventData": {
3254 "description": "Key value data pair for an event.", 3389 "description": "Key value data pair for an event.",
3255 "id": "EventData", 3390 "id": "EventData",
3256 "properties": { 3391 "properties": {
3257 "values": {
3258 "description": "Data values.",
3259 "items": {
3260 "type": "string"
3261 },
3262 "type": "array"
3263 },
3264 "key": { 3392 "key": {
3265 "description": "Data type.", 3393 "description": "Data type.",
3266 "enum": [ 3394 "enum": [
3267 "EVENT_DATA_TYPE_UNSPECIFIED", 3395 "EVENT_DATA_TYPE_UNSPECIFIED",
3268 "ACTION", 3396 "ACTION",
3269 "AGENCY_ID", 3397 "AGENCY_ID",
3270 "AGENCY_NAME", 3398 "AGENCY_NAME",
3271 "AGENCY_PHONE_NUMBER", 3399 "AGENCY_PHONE_NUMBER",
3272 "AGENCY_WEBSITE", 3400 "AGENCY_WEBSITE",
3273 "BUDGET", 3401 "BUDGET",
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
3337 "Viewport data.", 3465 "Viewport data.",
3338 "Website data.", 3466 "Website data.",
3339 "Details data.", 3467 "Details data.",
3340 "Experiment ID data.", 3468 "Experiment ID data.",
3341 "Google Partner Search motivation data.", 3469 "Google Partner Search motivation data.",
3342 "URL data.", 3470 "URL data.",
3343 "Element we wanted user to focus on.", 3471 "Element we wanted user to focus on.",
3344 "Progress when viewing an item \\[0-100\\]." 3472 "Progress when viewing an item \\[0-100\\]."
3345 ], 3473 ],
3346 "type": "string" 3474 "type": "string"
3475 },
3476 "values": {
3477 "description": "Data values.",
3478 "items": {
3479 "type": "string"
3480 },
3481 "type": "array"
3347 } 3482 }
3348 }, 3483 },
3349 "type": "object" 3484 "type": "object"
3350 }, 3485 },
3351 "ExamStatus": { 3486 "ExamStatus": {
3352 "description": "A user's information on a specific exam.", 3487 "description": "A user's information on a specific exam.",
3353 "id": "ExamStatus", 3488 "id": "ExamStatus",
3354 "properties": { 3489 "properties": {
3355 "warning": {
3356 "description": "Whether this exam is in the state of warning .",
3357 "type": "boolean"
3358 },
3359 "expiration": {
3360 "description": "Date this exam is due to expire.",
3361 "format": "google-datetime",
3362 "type": "string"
3363 },
3364 "lastPassed": {
3365 "description": "The date the user last passed this exam.",
3366 "format": "google-datetime",
3367 "type": "string"
3368 },
3369 "examType": { 3490 "examType": {
3370 "description": "The type of the exam.", 3491 "description": "The type of the exam.",
3371 "enum": [ 3492 "enum": [
3372 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED", 3493 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
3373 "CET_ADWORDS_FUNDAMENTALS", 3494 "CET_ADWORDS_FUNDAMENTALS",
3374 "CET_ADWORDS_ADVANCED_SEARCH", 3495 "CET_ADWORDS_ADVANCED_SEARCH",
3375 "CET_ADWORDS_ADVANCED_DISPLAY", 3496 "CET_ADWORDS_ADVANCED_DISPLAY",
3376 "CET_VIDEO_ADS", 3497 "CET_VIDEO_ADS",
3377 "CET_DOUBLECLICK", 3498 "CET_DOUBLECLICK",
3378 "CET_ANALYTICS", 3499 "CET_ANALYTICS",
(...skipping 18 matching lines...) Expand all
3397 "type": "string" 3518 "type": "string"
3398 }, 3519 },
3399 "passed": { 3520 "passed": {
3400 "description": "Whether this exam has been passed and not ex pired.", 3521 "description": "Whether this exam has been passed and not ex pired.",
3401 "type": "boolean" 3522 "type": "boolean"
3402 }, 3523 },
3403 "taken": { 3524 "taken": {
3404 "description": "The date the user last taken this exam.", 3525 "description": "The date the user last taken this exam.",
3405 "format": "google-datetime", 3526 "format": "google-datetime",
3406 "type": "string" 3527 "type": "string"
3528 },
3529 "warning": {
3530 "description": "Whether this exam is in the state of warning .",
3531 "type": "boolean"
3532 },
3533 "expiration": {
3534 "description": "Date this exam is due to expire.",
3535 "format": "google-datetime",
3536 "type": "string"
3537 },
3538 "lastPassed": {
3539 "description": "The date the user last passed this exam.",
3540 "format": "google-datetime",
3541 "type": "string"
3407 } 3542 }
3408 }, 3543 },
3409 "type": "object" 3544 "type": "object"
3410 }, 3545 },
3411 "ListOffersResponse": { 3546 "ListOffersResponse": {
3412 "description": "Response for ListOffer.", 3547 "description": "Response for ListOffer.",
3413 "id": "ListOffersResponse", 3548 "id": "ListOffersResponse",
3414 "properties": { 3549 "properties": {
3415 "noOfferReason": { 3550 "noOfferReason": {
3416 "description": "Reason why no Offers are available.", 3551 "description": "Reason why no Offers are available.",
(...skipping 22 matching lines...) Expand all
3439 "$ref": "ResponseMetadata", 3574 "$ref": "ResponseMetadata",
3440 "description": "Current response metadata." 3575 "description": "Current response metadata."
3441 } 3576 }
3442 }, 3577 },
3443 "type": "object" 3578 "type": "object"
3444 }, 3579 },
3445 "CountryOfferInfo": { 3580 "CountryOfferInfo": {
3446 "description": "Offer info by country.", 3581 "description": "Offer info by country.",
3447 "id": "CountryOfferInfo", 3582 "id": "CountryOfferInfo",
3448 "properties": { 3583 "properties": {
3449 "getYAmount": {
3450 "description": "(localized) Get Y amount for that country's offer.",
3451 "type": "string"
3452 },
3453 "spendXAmount": {
3454 "description": "(localized) Spend X amount for that country' s offer.",
3455 "type": "string"
3456 },
3457 "offerCountryCode": {
3458 "description": "Country code for which offer codes may be re quested.",
3459 "type": "string"
3460 },
3461 "offerType": { 3584 "offerType": {
3462 "description": "Type of offer country is eligible for.", 3585 "description": "Type of offer country is eligible for.",
3463 "enum": [ 3586 "enum": [
3464 "OFFER_TYPE_UNSPECIFIED", 3587 "OFFER_TYPE_UNSPECIFIED",
3465 "OFFER_TYPE_SPEND_X_GET_Y", 3588 "OFFER_TYPE_SPEND_X_GET_Y",
3466 "OFFER_TYPE_VIDEO", 3589 "OFFER_TYPE_VIDEO",
3467 "OFFER_TYPE_SPEND_MATCH" 3590 "OFFER_TYPE_SPEND_MATCH"
3468 ], 3591 ],
3469 "enumDescriptions": [ 3592 "enumDescriptions": [
3470 "Unset.", 3593 "Unset.",
3471 "AdWords spend X get Y.", 3594 "AdWords spend X get Y.",
3472 "Youtube video.", 3595 "Youtube video.",
3473 "Spend Match up to Y." 3596 "Spend Match up to Y."
3474 ], 3597 ],
3475 "type": "string" 3598 "type": "string"
3599 },
3600 "getYAmount": {
3601 "description": "(localized) Get Y amount for that country's offer.",
3602 "type": "string"
3603 },
3604 "spendXAmount": {
3605 "description": "(localized) Spend X amount for that country' s offer.",
3606 "type": "string"
3607 },
3608 "offerCountryCode": {
3609 "description": "Country code for which offer codes may be re quested.",
3610 "type": "string"
3476 } 3611 }
3477 }, 3612 },
3478 "type": "object" 3613 "type": "object"
3479 },
3480 "ListCompaniesResponse": {
3481 "description": "Response message for\nListCompanies.",
3482 "id": "ListCompaniesResponse",
3483 "properties": {
3484 "nextPageToken": {
3485 "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.",
3486 "type": "string"
3487 },
3488 "responseMetadata": {
3489 "$ref": "ResponseMetadata",
3490 "description": "Current response metadata."
3491 },
3492 "companies": {
3493 "description": "The list of companies.",
3494 "items": {
3495 "$ref": "Company"
3496 },
3497 "type": "array"
3498 }
3499 },
3500 "type": "object"
3501 },
3502 "OfferCustomer": {
3503 "description": "Customers qualified for an offer.",
3504 "id": "OfferCustomer",
3505 "properties": {
3506 "adwordsUrl": {
3507 "description": "URL to the customer's AdWords page.",
3508 "type": "string"
3509 },
3510 "countryCode": {
3511 "description": "Country code of the customer.",
3512 "type": "string"
3513 },
3514 "externalCid": {
3515 "description": "External CID for the customer.",
3516 "format": "int64",
3517 "type": "string"
3518 },
3519 "offerType": {
3520 "description": "Type of the offer",
3521 "enum": [
3522 "OFFER_TYPE_UNSPECIFIED",
3523 "OFFER_TYPE_SPEND_X_GET_Y",
3524 "OFFER_TYPE_VIDEO",
3525 "OFFER_TYPE_SPEND_MATCH"
3526 ],
3527 "enumDescriptions": [
3528 "Unset.",
3529 "AdWords spend X get Y.",
3530 "Youtube video.",
3531 "Spend Match up to Y."
3532 ],
3533 "type": "string"
3534 },
3535 "eligibilityDaysLeft": {
3536 "description": "Days the customer is still eligible.",
3537 "format": "int32",
3538 "type": "integer"
3539 },
3540 "creationTime": {
3541 "description": "Time the customer was created.",
3542 "format": "google-datetime",
3543 "type": "string"
3544 },
3545 "getYAmount": {
3546 "description": "Formatted Get Y amount with currency code.",
3547 "type": "string"
3548 },
3549 "name": {
3550 "description": "Name of the customer.",
3551 "type": "string"
3552 },
3553 "spendXAmount": {
3554 "description": "Formatted Spend X amount with currency code. ",
3555 "type": "string"
3556 }
3557 },
3558 "type": "object"
3559 },
3560 "CertificationStatus": {
3561 "description": "Google Partners certification status.",
3562 "id": "CertificationStatus",
3563 "properties": {
3564 "examStatuses": {
3565 "description": "List of certification exam statuses.",
3566 "items": {
3567 "$ref": "CertificationExamStatus"
3568 },
3569 "type": "array"
3570 },
3571 "type": {
3572 "description": "The type of the certification.",
3573 "enum": [
3574 "CERTIFICATION_TYPE_UNSPECIFIED",
3575 "CT_ADWORDS",
3576 "CT_YOUTUBE",
3577 "CT_VIDEOADS",
3578 "CT_ANALYTICS",
3579 "CT_DOUBLECLICK",
3580 "CT_SHOPPING",
3581 "CT_MOBILE",
3582 "CT_DIGITAL_SALES",
3583 "CT_ADWORDS_SEARCH",
3584 "CT_ADWORDS_DISPLAY",
3585 "CT_MOBILE_SITES"
3586 ],
3587 "enumDescriptions": [
3588 "Unchosen.",
3589 "AdWords certified.",
3590 "YouTube certified.",
3591 "VideoAds certified.",
3592 "Analytics certified.",
3593 "DoubleClick certified.",
3594 "Shopping certified.",
3595 "Mobile certified.",
3596 "Digital sales certified.",
3597 "AdWords Search certified.",
3598 "AdWords Display certified.",
3599 "Mobile Sites certified."
3600 ],
3601 "type": "string"
3602 },
3603 "userCount": {
3604 "description": "Number of people who are certified,",
3605 "format": "int32",
3606 "type": "integer"
3607 },
3608 "isCertified": {
3609 "description": "Whether certification is passing.",
3610 "type": "boolean"
3611 }
3612 },
3613 "type": "object"
3614 } 3614 }
3615 }, 3615 },
3616 "servicePath": "", 3616 "servicePath": "",
3617 "title": "Google Partners API", 3617 "title": "Google Partners API",
3618 "version": "v2" 3618 "version": "v2"
3619 } 3619 }
OLDNEW
« no previous file with comments | « discovery/googleapis/pagespeedonline__v2.json ('k') | discovery/googleapis/people__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698