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