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