OLD | NEW |
(Empty) | |
| 1 { |
| 2 "basePath": "", |
| 3 "baseUrl": "https://partners.googleapis.com/", |
| 4 "batchPath": "batch", |
| 5 "description": "Lets advertisers search certified companies and create conta
ct leads with them, and also audits the usage of clients.", |
| 6 "discoveryVersion": "v1", |
| 7 "documentationLink": "https://developers.google.com/partners/", |
| 8 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/lczkLDh3ed-tSuwkw_ZSMQB2afs\"", |
| 9 "icons": { |
| 10 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 11 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 12 }, |
| 13 "id": "partners:v2", |
| 14 "kind": "discovery#restDescription", |
| 15 "name": "partners", |
| 16 "ownerDomain": "google.com", |
| 17 "ownerName": "Google", |
| 18 "parameters": { |
| 19 "access_token": { |
| 20 "description": "OAuth access token.", |
| 21 "location": "query", |
| 22 "type": "string" |
| 23 }, |
| 24 "alt": { |
| 25 "default": "json", |
| 26 "description": "Data format for response.", |
| 27 "enumDescriptions": [ |
| 28 "Responses with Content-Type of application/json", |
| 29 "Media download with context-dependent Content-Type", |
| 30 "Responses with Content-Type of application/x-protobuf" |
| 31 ], |
| 32 "location": "query", |
| 33 "type": "string" |
| 34 }, |
| 35 "bearer_token": { |
| 36 "description": "OAuth bearer token.", |
| 37 "location": "query", |
| 38 "type": "string" |
| 39 }, |
| 40 "callback": { |
| 41 "description": "JSONP", |
| 42 "location": "query", |
| 43 "type": "string" |
| 44 }, |
| 45 "fields": { |
| 46 "description": "Selector specifying which fields to include in a par
tial response.", |
| 47 "location": "query", |
| 48 "type": "string" |
| 49 }, |
| 50 "key": { |
| 51 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 52 "location": "query", |
| 53 "type": "string" |
| 54 }, |
| 55 "oauth_token": { |
| 56 "description": "OAuth 2.0 token for the current user.", |
| 57 "location": "query", |
| 58 "type": "string" |
| 59 }, |
| 60 "pp": { |
| 61 "default": "true", |
| 62 "description": "Pretty-print response.", |
| 63 "location": "query", |
| 64 "type": "boolean" |
| 65 }, |
| 66 "prettyPrint": { |
| 67 "default": "true", |
| 68 "description": "Returns response with indentations and line breaks."
, |
| 69 "location": "query", |
| 70 "type": "boolean" |
| 71 }, |
| 72 "quotaUser": { |
| 73 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 74 "location": "query", |
| 75 "type": "string" |
| 76 }, |
| 77 "upload_protocol": { |
| 78 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 79 "location": "query", |
| 80 "type": "string" |
| 81 }, |
| 82 "uploadType": { |
| 83 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 84 "location": "query", |
| 85 "type": "string" |
| 86 }, |
| 87 "$.xgafv": { |
| 88 "description": "V1 error format.", |
| 89 "enumDescriptions": [ |
| 90 "v1 error format", |
| 91 "v2 error format" |
| 92 ], |
| 93 "location": "query", |
| 94 "type": "string" |
| 95 } |
| 96 }, |
| 97 "protocol": "rest", |
| 98 "resources": { |
| 99 "userEvents": { |
| 100 "methods": { |
| 101 "log": { |
| 102 "description": "Logs a user event.", |
| 103 "httpMethod": "POST", |
| 104 "id": "partners.userEvents.log", |
| 105 "path": "v2/userEvents:log", |
| 106 "request": { |
| 107 "$ref": "LogUserEventRequest" |
| 108 }, |
| 109 "response": { |
| 110 "$ref": "LogUserEventResponse" |
| 111 } |
| 112 } |
| 113 } |
| 114 }, |
| 115 "clientMessages": { |
| 116 "methods": { |
| 117 "log": { |
| 118 "description": "Logs a generic message from the client, such
as `Failed to render component`, `Profile page is running slow`, `More than 500
users have accessed this result.`, etc.", |
| 119 "httpMethod": "POST", |
| 120 "id": "partners.clientMessages.log", |
| 121 "path": "v2/clientMessages:log", |
| 122 "request": { |
| 123 "$ref": "LogMessageRequest" |
| 124 }, |
| 125 "response": { |
| 126 "$ref": "LogMessageResponse" |
| 127 } |
| 128 } |
| 129 } |
| 130 }, |
| 131 "userStates": { |
| 132 "methods": { |
| 133 "list": { |
| 134 "description": "Lists states for current user.", |
| 135 "httpMethod": "GET", |
| 136 "id": "partners.userStates.list", |
| 137 "parameters": { |
| 138 "requestMetadata.locale": { |
| 139 "description": "Locale to use for the current reques
t.", |
| 140 "location": "query", |
| 141 "type": "string" |
| 142 }, |
| 143 "requestMetadata.partnersSessionId": { |
| 144 "description": "Google Partners session ID.", |
| 145 "location": "query", |
| 146 "type": "string" |
| 147 }, |
| 148 "requestMetadata.experimentIds": { |
| 149 "description": "Experiment IDs the current request b
elongs to.", |
| 150 "location": "query", |
| 151 "repeated": true, |
| 152 "type": "string" |
| 153 } |
| 154 }, |
| 155 "path": "v2/userStates", |
| 156 "response": { |
| 157 "$ref": "ListUserStatesResponse" |
| 158 } |
| 159 } |
| 160 } |
| 161 }, |
| 162 "companies": { |
| 163 "methods": { |
| 164 "get": { |
| 165 "description": "Gets a company.", |
| 166 "httpMethod": "GET", |
| 167 "id": "partners.companies.get", |
| 168 "parameterOrder": [ |
| 169 "companyId" |
| 170 ], |
| 171 "parameters": { |
| 172 "companyId": { |
| 173 "description": "The ID of the company to retrieve.", |
| 174 "location": "path", |
| 175 "required": true, |
| 176 "type": "string" |
| 177 }, |
| 178 "requestMetadata.locale": { |
| 179 "description": "Locale to use for the current reques
t.", |
| 180 "location": "query", |
| 181 "type": "string" |
| 182 }, |
| 183 "requestMetadata.partnersSessionId": { |
| 184 "description": "Google Partners session ID.", |
| 185 "location": "query", |
| 186 "type": "string" |
| 187 }, |
| 188 "requestMetadata.experimentIds": { |
| 189 "description": "Experiment IDs the current request b
elongs to.", |
| 190 "location": "query", |
| 191 "repeated": true, |
| 192 "type": "string" |
| 193 }, |
| 194 "view": { |
| 195 "description": "The view of `Company` resource to be
returned. This must not be `COMPANY_VIEW_UNSPECIFIED`.", |
| 196 "enum": [ |
| 197 "COMPANY_VIEW_UNSPECIFIED", |
| 198 "CV_GOOGLE_PARTNER_SEARCH" |
| 199 ], |
| 200 "location": "query", |
| 201 "type": "string" |
| 202 }, |
| 203 "orderBy": { |
| 204 "description": "How to order addresses within the re
turned company. Currently, only `address` and `address desc` is supported which
will sorted by closest to farthest in distance from given address and farthest t
o closest distance from given address respectively.", |
| 205 "location": "query", |
| 206 "type": "string" |
| 207 }, |
| 208 "currencyCode": { |
| 209 "description": "If the company's budget is in a diff
erent currency code than this one, then the converted budget is converted to thi
s currency code.", |
| 210 "location": "query", |
| 211 "type": "string" |
| 212 }, |
| 213 "address": { |
| 214 "description": "The address to use for sorting the c
ompany's addresses by proximity. If not given, the geo-located address of the re
quest is used. Used when order_by is set.", |
| 215 "location": "query", |
| 216 "type": "string" |
| 217 } |
| 218 }, |
| 219 "path": "v2/companies/{companyId}", |
| 220 "response": { |
| 221 "$ref": "GetCompanyResponse" |
| 222 } |
| 223 }, |
| 224 "list": { |
| 225 "description": "Lists companies.", |
| 226 "httpMethod": "GET", |
| 227 "id": "partners.companies.list", |
| 228 "parameters": { |
| 229 "requestMetadata.locale": { |
| 230 "description": "Locale to use for the current reques
t.", |
| 231 "location": "query", |
| 232 "type": "string" |
| 233 }, |
| 234 "requestMetadata.partnersSessionId": { |
| 235 "description": "Google Partners session ID.", |
| 236 "location": "query", |
| 237 "type": "string" |
| 238 }, |
| 239 "requestMetadata.experimentIds": { |
| 240 "description": "Experiment IDs the current request b
elongs to.", |
| 241 "location": "query", |
| 242 "repeated": true, |
| 243 "type": "string" |
| 244 }, |
| 245 "pageSize": { |
| 246 "description": "Requested page size. Server may retu
rn fewer companies than requested. If unspecified, server picks an appropriate d
efault.", |
| 247 "format": "int32", |
| 248 "location": "query", |
| 249 "type": "integer" |
| 250 }, |
| 251 "pageToken": { |
| 252 "description": "A token identifying a page of result
s that the server returns. Typically, this is the value of `ListCompaniesRespons
e.next_page_token` returned from the previous call to [ListCompanies][google.par
tners.v2.Partner.ListCompanies].", |
| 253 "location": "query", |
| 254 "type": "string" |
| 255 }, |
| 256 "companyName": { |
| 257 "description": "Company name to search for.", |
| 258 "location": "query", |
| 259 "type": "string" |
| 260 }, |
| 261 "view": { |
| 262 "description": "The view of the `Company` resource t
o be returned. This must not be `COMPANY_VIEW_UNSPECIFIED`.", |
| 263 "enum": [ |
| 264 "COMPANY_VIEW_UNSPECIFIED", |
| 265 "CV_GOOGLE_PARTNER_SEARCH" |
| 266 ], |
| 267 "location": "query", |
| 268 "type": "string" |
| 269 }, |
| 270 "minMonthlyBudget.currencyCode": { |
| 271 "description": "The 3-letter currency code defined i
n ISO 4217.", |
| 272 "location": "query", |
| 273 "type": "string" |
| 274 }, |
| 275 "minMonthlyBudget.units": { |
| 276 "description": "The whole units of the amount. For e
xample if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", |
| 277 "format": "int64", |
| 278 "location": "query", |
| 279 "type": "string" |
| 280 }, |
| 281 "minMonthlyBudget.nanos": { |
| 282 "description": "Number of nano (10^-9) units of the
amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `u
nits` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos`
can be positive, zero, or negative. If `units` is negative, `nanos` must be neg
ative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,
000,000.", |
| 283 "format": "int32", |
| 284 "location": "query", |
| 285 "type": "integer" |
| 286 }, |
| 287 "maxMonthlyBudget.currencyCode": { |
| 288 "description": "The 3-letter currency code defined i
n ISO 4217.", |
| 289 "location": "query", |
| 290 "type": "string" |
| 291 }, |
| 292 "maxMonthlyBudget.units": { |
| 293 "description": "The whole units of the amount. For e
xample if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", |
| 294 "format": "int64", |
| 295 "location": "query", |
| 296 "type": "string" |
| 297 }, |
| 298 "maxMonthlyBudget.nanos": { |
| 299 "description": "Number of nano (10^-9) units of the
amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `u
nits` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos`
can be positive, zero, or negative. If `units` is negative, `nanos` must be neg
ative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,
000,000.", |
| 300 "format": "int32", |
| 301 "location": "query", |
| 302 "type": "integer" |
| 303 }, |
| 304 "industries": { |
| 305 "description": "List of industries the company can h
elp with.", |
| 306 "enum": [ |
| 307 "INDUSTRY_UNSPECIFIED", |
| 308 "I_AUTOMOTIVE", |
| 309 "I_BUSINESS_TO_BUSINESS", |
| 310 "I_CONSUMER_PACKAGED_GOODS", |
| 311 "I_EDUCATION", |
| 312 "I_FINANCE", |
| 313 "I_HEALTHCARE", |
| 314 "I_MEDIA_AND_ENTERTAINMENT", |
| 315 "I_RETAIL", |
| 316 "I_TECHNOLOGY", |
| 317 "I_TRAVEL" |
| 318 ], |
| 319 "location": "query", |
| 320 "repeated": true, |
| 321 "type": "string" |
| 322 }, |
| 323 "services": { |
| 324 "description": "List of services the company can hel
p with.", |
| 325 "enum": [ |
| 326 "SERVICE_UNSPECIFIED", |
| 327 "S_ADVANCED_ADWORDS_SUPPORT", |
| 328 "S_ADVERTISING_ON_GOOGLE", |
| 329 "S_AN_ENHANCED_WEBSITE", |
| 330 "S_AN_ONLINE_MARKETING_PLAN", |
| 331 "S_MOBILE_AND_VIDEO_ADS" |
| 332 ], |
| 333 "location": "query", |
| 334 "repeated": true, |
| 335 "type": "string" |
| 336 }, |
| 337 "languageCodes": { |
| 338 "description": "List of language codes that company
can support. Only primary language subtags are accepted as defined by BCP 47 (IE
TF BCP 47, \"Tags for Identifying Languages\").", |
| 339 "location": "query", |
| 340 "repeated": true, |
| 341 "type": "string" |
| 342 }, |
| 343 "address": { |
| 344 "description": "The address to use when searching fo
r companies. If not given, the geo-located address of the request is used.", |
| 345 "location": "query", |
| 346 "type": "string" |
| 347 }, |
| 348 "orderBy": { |
| 349 "description": "How to order addresses within the re
turned companies. Currently, only `address` and `address desc` is supported whic
h will sorted by closest to farthest in distance from given address and farthest
to closest distance from given address respectively.", |
| 350 "location": "query", |
| 351 "type": "string" |
| 352 }, |
| 353 "gpsMotivations": { |
| 354 "description": "List of reasons for using Google Par
tner Search to get companies.", |
| 355 "enum": [ |
| 356 "GPS_MOTIVATION_UNSPECIFIED", |
| 357 "GPSM_HELP_WITH_ADVERTISING", |
| 358 "GPSM_HELP_WITH_WEBSITE", |
| 359 "GPSM_NO_WEBSITE" |
| 360 ], |
| 361 "location": "query", |
| 362 "repeated": true, |
| 363 "type": "string" |
| 364 }, |
| 365 "websiteUrl": { |
| 366 "description": "Website URL that will help to find a
better matched company. .", |
| 367 "location": "query", |
| 368 "type": "string" |
| 369 } |
| 370 }, |
| 371 "path": "v2/companies", |
| 372 "response": { |
| 373 "$ref": "ListCompaniesResponse" |
| 374 } |
| 375 } |
| 376 }, |
| 377 "resources": { |
| 378 "leads": { |
| 379 "methods": { |
| 380 "create": { |
| 381 "description": "Creates an advertiser lead for the g
iven company ID.", |
| 382 "httpMethod": "POST", |
| 383 "id": "partners.companies.leads.create", |
| 384 "parameterOrder": [ |
| 385 "companyId" |
| 386 ], |
| 387 "parameters": { |
| 388 "companyId": { |
| 389 "description": "The ID of the company to con
tact.", |
| 390 "location": "path", |
| 391 "required": true, |
| 392 "type": "string" |
| 393 } |
| 394 }, |
| 395 "path": "v2/companies/{companyId}/leads", |
| 396 "request": { |
| 397 "$ref": "CreateLeadRequest" |
| 398 }, |
| 399 "response": { |
| 400 "$ref": "CreateLeadResponse" |
| 401 } |
| 402 } |
| 403 } |
| 404 } |
| 405 } |
| 406 } |
| 407 }, |
| 408 "revision": "20150723", |
| 409 "rootUrl": "https://partners.googleapis.com/", |
| 410 "schemas": { |
| 411 "LogUserEventRequest": { |
| 412 "description": "Request message for [LogUserEvent][google.partners.v
2.ClientAuditor.LogUserEvent].", |
| 413 "id": "LogUserEventRequest", |
| 414 "properties": { |
| 415 "requestMetadata": { |
| 416 "$ref": "RequestMetadata", |
| 417 "description": "Current request metadata." |
| 418 }, |
| 419 "eventAction": { |
| 420 "description": "The action that occurred.", |
| 421 "enum": [ |
| 422 "EVENT_ACTION_UNSPECIFIED", |
| 423 "SMB_CLICKED_FIND_A_PARTNER_BUTTON_BOTTOM", |
| 424 "SMB_CLICKED_FIND_A_PARTNER_BUTTON_TOP", |
| 425 "AGENCY_CLICKED_JOIN_NOW_BUTTON_BOTTOM", |
| 426 "AGENCY_CLICKED_JOIN_NOW_BUTTON_TOP", |
| 427 "SMB_CANCELED_PARTNER_CONTACT_FORM", |
| 428 "SMB_CLICKED_CONTACT_A_PARTNER", |
| 429 "SMB_COMPLETED_PARTNER_CONTACT_FORM", |
| 430 "SMB_ENTERED_EMAIL_IN_CONTACT_PARTNER_FORM", |
| 431 "SMB_ENTERED_NAME_IN_CONTACT_PARTNER_FORM", |
| 432 "SMB_ENTERED_PHONE_IN_CONTACT_PARTNER_FORM", |
| 433 "SMB_FAILED_RECAPTCHA_IN_CONTACT_PARTNER_FORM", |
| 434 "PARTNER_VIEWED_BY_SMB", |
| 435 "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_GPS", |
| 436 "SMB_CHANGED_A_SEARCH_PARAMETER_TOP", |
| 437 "SMB_CLICKED_CONTACT_A_PARTNER_ON_GPS", |
| 438 "SMB_CLICKED_SHOW_MORE_PARTNERS_BUTTON_BOTTOM", |
| 439 "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_GPS", |
| 440 "SMB_NO_PARTNERS_AVAILABLE_WITH_SEARCH_CRITERIA", |
| 441 "SMB_PERFORMED_SEARCH_ON_GPS", |
| 442 "SMB_VIEWED_A_PARTNER_ON_GPS", |
| 443 "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE", |
| 444 "SMB_CLICKED_CONTACT_A_PARTNER_ON_PROFILE_PAGE", |
| 445 "SMB_CLICKED_PARTNER_WEBSITE", |
| 446 "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE", |
| 447 "SMB_VIEWED_A_PARTNER_PROFILE", |
| 448 "AGENCY_CLICKED_ACCEPT_TOS_BUTTON", |
| 449 "AGENCY_CHANGED_TOS_COUNTRY", |
| 450 "AGENCY_ADDED_ADDRESS_IN_MY_PROFILE_PORTAL", |
| 451 "AGENCY_ADDED_PHONE_NUMBER_IN_MY_PROFILE_PORTAL", |
| 452 "AGENCY_CHANGED_PRIMARY_ACCOUNT_ASSOCIATION", |
| 453 "AGENCY_CHANGED_PRIMARY_COUNTRY_ASSOCIATION", |
| 454 "AGENCY_CLICKED_AFFILIATE_BUTTON_IN_MY_PROFILE_IN_PORTAL
", |
| 455 "AGENCY_CLICKED_GIVE_EDIT_ACCESS_IN_MY_PROFILE_PORTAL", |
| 456 "AGENCY_CLICKED_LOG_OUT_IN_MY_PROFILE_PORTAL", |
| 457 "AGENCY_CLICKED_MY_PROFILE_LEFT_NAV_IN_PORTAL", |
| 458 "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_COMPLETE_PRO
FILE", |
| 459 "AGENCY_CLICKED_UNAFFILIATE_IN_MY_PROFILE_PORTAL", |
| 460 "AGENCY_FILLED_OUT_COMP_AFFILIATION_IN_MY_PROFILE_PORTAL
", |
| 461 "AGENCY_SUCCESSFULLY_CONNECTED_WITH_COMPANY_IN_MY_PROFIL
E", |
| 462 "AGENCY_CLICKED_CREATE_MCC_IN_MY_PROFILE_PORTAL", |
| 463 "AGENCY_DIDNT_HAVE_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE
", |
| 464 "AGENCY_HAD_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE", |
| 465 "AGENCY_ADDED_JOB_FUNCTION_IN_MY_PROFILE_PORTAL", |
| 466 "AGENCY_LOOKED_AT_JOB_FUNCTION_DROP_DOWN", |
| 467 "AGENCY_SELECTED_ACCOUNT_MANAGER_AS_JOB_FUNCTION", |
| 468 "AGENCY_SELECTED_ACCOUNT_PLANNER_AS_JOB_FUNCTION", |
| 469 "AGENCY_SELECTED_ANALYTICS_AS_JOB_FUNCTION", |
| 470 "AGENCY_SELECTED_CREATIVE_AS_JOB_FUNCTION", |
| 471 "AGENCY_SELECTED_MEDIA_BUYER_AS_JOB_FUNCTION", |
| 472 "AGENCY_SELECTED_MEDIA_PLANNER_AS_JOB_FUNCTION", |
| 473 "AGENCY_SELECTED_OTHER_AS_JOB_FUNCTION", |
| 474 "AGENCY_SELECTED_PRODUCTION_AS_JOB_FUNCTION", |
| 475 "AGENCY_SELECTED_SEO_AS_JOB_FUNCTION", |
| 476 "AGENCY_SELECTED_SALES_REP_AS_JOB_FUNCTION", |
| 477 "AGENCY_SELECTED_SEARCH_SPECIALIST_AS_JOB_FUNCTION", |
| 478 "AGENCY_ADDED_CHANNELS_IN_MY_PROFILE_PORTAL", |
| 479 "AGENCY_LOOKED_AT_ADD_CHANNEL_DROP_DOWN", |
| 480 "AGENCY_SELECTED_CROSS_CHANNEL_FROM_ADD_CHANNEL", |
| 481 "AGENCY_SELECTED_DISPLAY_FROM_ADD_CHANNEL", |
| 482 "AGENCY_SELECTED_MOBILE_FROM_ADD_CHANNEL", |
| 483 "AGENCY_SELECTED_SEARCH_FROM_ADD_CHANNEL", |
| 484 "AGENCY_SELECTED_SOCIAL_FROM_ADD_CHANNEL", |
| 485 "AGENCY_SELECTED_TOOLS_FROM_ADD_CHANNEL", |
| 486 "AGENCY_SELECTED_YOUTUBE_FROM_ADD_CHANNEL", |
| 487 "AGENCY_ADDED_INDUSTRIES_IN_MY_PROFILE_PORTAL", |
| 488 "AGENCY_CHANGED_ADD_INDUSTRIES_DROP_DOWN", |
| 489 "AGENCY_ADDED_MARKETS_IN_MY_PROFILE_PORTAL", |
| 490 "AGENCY_CHANGED_ADD_MARKETS_DROP_DOWN", |
| 491 "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_MYPROFILE", |
| 492 "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_SIGNUP", |
| 493 "AGENCY_SELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH", |
| 494 "AGENCY_SELECTED_OPT_IN_BETA_TESTS_IN_MY_PROFILE_PORTAL"
, |
| 495 "AGENCY_SELECTED_OPT_IN_NEWS_IN_MY_PROFILE_PORTAL", |
| 496 "AGENCY_SELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS", |
| 497 "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUG_IN_MY_PROFILE_PO
RTAL", |
| 498 "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS", |
| 499 "AGENCY_SELECTED_OPT_IN_SELECT_ALL_EMAIL_NOTIFICATIONS", |
| 500 "AGENCY_SELECTED_SELECT_ALL_OPT_INS_IN_MY_PROFILE_PORTAL
", |
| 501 "AGENCY_CLICKED_BACK_BUTTON_ON_CONNECT_WITH_COMPANY", |
| 502 "AGENCY_CLICKED_CONTINUE_TO_OVERVIEW_ON_CONNECT_WITH_COM
PANY", |
| 503 "AGECNY_CLICKED_CREATE_MCC_CONNECT_WITH_COMPANY_NOT_FOUN
D", |
| 504 "AGECNY_CLICKED_GIVE_EDIT_ACCESS_CONNECT_WITH_COMPANY_NO
T_FOUND", |
| 505 "AGECNY_CLICKED_LOG_OUT_CONNECT_WITH_COMPANY_NOT_FOUND", |
| 506 "AGENCY_CLICKED_SKIP_FOR_NOW_ON_CONNECT_WITH_COMPANY_PAG
E", |
| 507 "AGENCY_CLOSED_CONNECTED_TO_COMPANY_X_BUTTON_WRONG_COMPA
NY", |
| 508 "AGENCY_COMPLETED_FIELD_CONNECT_WITH_COMPANY", |
| 509 "AGECNY_FOUND_COMPANY_TO_CONNECT_WITH", |
| 510 "AGENCY_SUCCESSFULLY_CREATED_COMPANY", |
| 511 "AGENCY_ADDED_NEW_COMPANY_LOCATION", |
| 512 "AGENCY_CLICKED_COMMUNITY_JOIN_NOW_LINK_IN_PORTAL_NOTIFI
CATIONS", |
| 513 "AGENCY_CLICKED_CONNECT_TO_COMPANY_LINK_IN_PORTAL_NOTIFI
CATIONS", |
| 514 "AGENCY_CLICKED_GET_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIO
NS", |
| 515 "AGENCY_CLICKED_GET_VIDEO_ADS_CERTIFIED_LINK_IN_PORTAL_N
OTIFICATIONS", |
| 516 "AGENCY_CLICKED_LINK_TO_MCC_LINK_IN_PORTAL_NOTIFICATIONS
", |
| 517 "AGENCY_CLICKED_INSIGHT_CONTENT_IN_PORTAL", |
| 518 "AGENCY_CLICKED_INSIGHTS_VIEW_NOW_PITCH_DECKS_IN_PORTAL"
, |
| 519 "AGENCY_CLICKED_INSIGHTS_LEFT_NAV_IN_PORTAL", |
| 520 "AGENCY_CLICKED_INSIGHTS_UPLOAD_CONTENT", |
| 521 "AGENCY_CLICKED_INSIGHTS_VIEWED_DEPRECATED", |
| 522 "AGENCY_CLICKED_COMMUNITY_LEFT_NAV_IN_PORTAL", |
| 523 "AGENCY_CLICKED_JOIN_COMMUNITY_BUTTON_COMMUNITY_PORTAL", |
| 524 "AGENCY_CLICKED_CERTIFICATIONS_LEFT_NAV_IN_PORTAL", |
| 525 "AGENCY_CLICKED_CERTIFICATIONS_PRODUCT_LEFT_NAV_IN_PORTA
L", |
| 526 "AGENCY_CLICKED_PARTNER_STATUS_LEFT_NAV_IN_PORTAL", |
| 527 "AGENCY_CLICKED_PARTNER_STATUS_PRODUCT_LEFT_NAV_IN_PORTA
L", |
| 528 "AGENCY_CLICKED_OFFERS_LEFT_NAV_IN_PORTAL", |
| 529 "AGENCY_CLICKED_SEND_BUTTON_ON_OFFERS_PAGE", |
| 530 "AGENCY_CLICKED_EXAM_DETAILS_ON_CERT_ADWORDS_PAGE", |
| 531 "AGENCY_CLICKED_SEE_EXAMS_CERTIFICATION_MAIN_PAGE", |
| 532 "AGENCY_CLICKED_TAKE_EXAM_ON_CERT_EXAM_PAGE", |
| 533 "AGENCY_OPENED_LAST_ADMIN_DIALOG", |
| 534 "AGENCY_OPENED_DIALOG_WITH_NO_USERS", |
| 535 "AGENCY_PROMOTED_USER_TO_ADMIN", |
| 536 "AGENCY_UNAFFILIATED", |
| 537 "AGENCY_CHANGED_ROLES", |
| 538 "SMB_CLICKED_COMPANY_NAME_LINK_TO_PROFILE", |
| 539 "SMB_VIEWED_ADWORDS_CERTIFICATE", |
| 540 "SMB_CLICKED_ADWORDS_CERTIFICATE_HELP_ICON", |
| 541 "SMB_VIEWED_ANALYTICS_CERTIFICATE", |
| 542 "SMB_VIEWED_DOUBLECLICK_CERTIFICATE", |
| 543 "SMB_VIEWED_VIDEO_ADS_CERTIFICATE", |
| 544 "SMB_VIEWED_SHOPPING_CERTIFICATE", |
| 545 "SMB_CLICKED_VIDEO_ADS_CERTIFICATE_HELP_ICON", |
| 546 "CLICKED_HELP_AT_BOTTOM", |
| 547 "CLICKED_HELP_AT_TOP", |
| 548 "CLIENT_ERROR", |
| 549 "AGENCY_CLICKED_LEFT_NAV_STORIES", |
| 550 "CLICKED", |
| 551 "SMB_VIEWED_MOBILE_CERTIFICATE", |
| 552 "AGENCY_FAILED_COMPANY_VERIFICATION", |
| 553 "VISITED_LANDING", |
| 554 "VISITED_GPS", |
| 555 "VISITED_AGENCY_PORTAL", |
| 556 "CANCELLED_INDIVIDUAL_SIGN_UP", |
| 557 "CANCELLED_COMPANY_SIGN_UP", |
| 558 "AGENCY_CLICKED_SIGN_IN_BUTTON_TOP", |
| 559 "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_INCOMPLETE_P
ROFILE", |
| 560 "AGENCY_UNSELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS", |
| 561 "AGENCY_UNSELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH", |
| 562 "AGENCY_UNSELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS", |
| 563 "AGENCY_SELECTED_OPT_OUT_UNSELECT_ALL_EMAIL_NOTIFICATION
S", |
| 564 "AGENCY_LINKED_INDIVIDUAL_MCC", |
| 565 "AGENCY_SUGGESTED_TO_USER", |
| 566 "AGENCY_IGNORED_SUGGESTED_AGENCIES_AND_SEARCHED", |
| 567 "AGENCY_PICKED_SUGGESTED_AGENCY", |
| 568 "AGENCY_SEARCHED_FOR_AGENCIES", |
| 569 "AGENCY_PICKED_SEARCHED_AGENCY", |
| 570 "AGENCY_DISMISSED_AFFILIATION_WIDGET", |
| 571 "AGENCY_CLICKED_INSIGHTS_DOWNLOAD_CONTENT" |
| 572 ], |
| 573 "type": "string" |
| 574 }, |
| 575 "eventCategory": { |
| 576 "description": "The category the action belongs to.", |
| 577 "enum": [ |
| 578 "EVENT_CATEGORY_UNSPECIFIED", |
| 579 "GOOGLE_PARTNER_SEARCH", |
| 580 "GOOGLE_PARTNER_SIGNUP_FLOW", |
| 581 "GOOGLE_PARTNER_PORTAL", |
| 582 "GOOGLE_PARTNER_PORTAL_MY_PROFILE", |
| 583 "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS", |
| 584 "GOOGLE_PARTNER_PORTAL_COMMUNITY", |
| 585 "GOOGLE_PARTNER_PORTAL_INSIGHTS", |
| 586 "GOOGLE_PARTNER_PORTAL_CLIENTS", |
| 587 "GOOGLE_PARTNER_PUBLIC_USER_PROFILE", |
| 588 "GOOGLE_PARTNER_PANEL", |
| 589 "GOOGLE_PARTNER_PORTAL_LAST_ADMIN_DIALOG", |
| 590 "GOOGLE_PARTNER_CLIENT", |
| 591 "GOOGLE_PARTNER_PORTAL_COMPANY_PROFILE", |
| 592 "EXTERNAL_LINKS", |
| 593 "GOOGLE_PARTNER_LANDING" |
| 594 ], |
| 595 "type": "string" |
| 596 }, |
| 597 "eventScope": { |
| 598 "description": "The scope of the event.", |
| 599 "enum": [ |
| 600 "EVENT_SCOPE_UNSPECIFIED", |
| 601 "VISITOR", |
| 602 "SESSION", |
| 603 "PAGE" |
| 604 ], |
| 605 "type": "string" |
| 606 }, |
| 607 "eventDatas": { |
| 608 "description": "List of event data for the event.", |
| 609 "items": { |
| 610 "$ref": "EventData" |
| 611 }, |
| 612 "type": "array" |
| 613 }, |
| 614 "url": { |
| 615 "description": "The URL where the event occurred.", |
| 616 "type": "string" |
| 617 }, |
| 618 "lead": { |
| 619 "$ref": "Lead", |
| 620 "description": "Advertiser lead information." |
| 621 } |
| 622 }, |
| 623 "type": "object" |
| 624 }, |
| 625 "RequestMetadata": { |
| 626 "description": "Common data that is in each API request.", |
| 627 "id": "RequestMetadata", |
| 628 "properties": { |
| 629 "locale": { |
| 630 "description": "Locale to use for the current request.", |
| 631 "type": "string" |
| 632 }, |
| 633 "partnersSessionId": { |
| 634 "description": "Google Partners session ID.", |
| 635 "type": "string" |
| 636 }, |
| 637 "experimentIds": { |
| 638 "description": "Experiment IDs the current request belongs t
o.", |
| 639 "items": { |
| 640 "type": "string" |
| 641 }, |
| 642 "type": "array" |
| 643 } |
| 644 }, |
| 645 "type": "object" |
| 646 }, |
| 647 "EventData": { |
| 648 "description": "Key value data pair for an event.", |
| 649 "id": "EventData", |
| 650 "properties": { |
| 651 "key": { |
| 652 "description": "Data type.", |
| 653 "enum": [ |
| 654 "EVENT_DATA_TYPE_UNSPECIFIED", |
| 655 "ACTION", |
| 656 "AGENCY_ID", |
| 657 "AGENCY_NAME", |
| 658 "AGENCY_PHONE_NUMBER", |
| 659 "AGENCY_WEBSITE", |
| 660 "BUDGET", |
| 661 "CENTER_POINT", |
| 662 "CERTIFICATION", |
| 663 "COMMENT", |
| 664 "COUNTRY", |
| 665 "CURRENCY", |
| 666 "CURRENTLY_VIEWED_AGENCY_ID", |
| 667 "DISTANCE", |
| 668 "DISTANCE_TYPE", |
| 669 "EXAM", |
| 670 "HISTORY_TOKEN", |
| 671 "IDENTIFIER", |
| 672 "INDUSTRY", |
| 673 "INSIGHT_TAG", |
| 674 "LANGUAGE", |
| 675 "LOCATION", |
| 676 "MARKETING_OPT_IN", |
| 677 "QUERY", |
| 678 "SEARCH_START_INDEX", |
| 679 "SERVICE", |
| 680 "SHOW_VOW", |
| 681 "SOLUTION", |
| 682 "TRAFFIC_SOURCE_ID", |
| 683 "TRAFFIC_SUB_ID", |
| 684 "VIEW_PORT", |
| 685 "WEBSITE", |
| 686 "DETAILS", |
| 687 "EXPERIMENT_ID", |
| 688 "GPS_MOTIVATION", |
| 689 "URL", |
| 690 "ELEMENT_FOCUS" |
| 691 ], |
| 692 "type": "string" |
| 693 }, |
| 694 "values": { |
| 695 "description": "Data values.", |
| 696 "items": { |
| 697 "type": "string" |
| 698 }, |
| 699 "type": "array" |
| 700 } |
| 701 }, |
| 702 "type": "object" |
| 703 }, |
| 704 "Lead": { |
| 705 "description": "A lead resource that represents an advertiser contac
t for a `Company`. These are usually generated via Google Partner Search (the ad
vertiser portal).", |
| 706 "id": "Lead", |
| 707 "properties": { |
| 708 "id": { |
| 709 "description": "ID of the lead.", |
| 710 "type": "string" |
| 711 }, |
| 712 "type": { |
| 713 "description": "Type of lead.", |
| 714 "enum": [ |
| 715 "LEAD_TYPE_UNSPECIFIED", |
| 716 "LT_GPS" |
| 717 ], |
| 718 "type": "string" |
| 719 }, |
| 720 "email": { |
| 721 "description": "Email address of lead source.", |
| 722 "type": "string" |
| 723 }, |
| 724 "givenName": { |
| 725 "description": "First name of lead source.", |
| 726 "type": "string" |
| 727 }, |
| 728 "familyName": { |
| 729 "description": "Last name of lead source.", |
| 730 "type": "string" |
| 731 }, |
| 732 "websiteUrl": { |
| 733 "description": "Website URL of lead source.", |
| 734 "type": "string" |
| 735 }, |
| 736 "phoneNumber": { |
| 737 "description": "Phone number of lead source.", |
| 738 "type": "string" |
| 739 }, |
| 740 "comments": { |
| 741 "description": "Comments lead source gave.", |
| 742 "type": "string" |
| 743 }, |
| 744 "gpsMotivations": { |
| 745 "description": "List of reasons for using Google Partner Sea
rch and creating a lead.", |
| 746 "enumDescriptions": [ |
| 747 "Unchosen.", |
| 748 "Advertiser needs help with their advertising.", |
| 749 "Advertiser needs help with their website.", |
| 750 "Advertiser does not have a website." |
| 751 ], |
| 752 "items": { |
| 753 "enum": [ |
| 754 "GPS_MOTIVATION_UNSPECIFIED", |
| 755 "GPSM_HELP_WITH_ADVERTISING", |
| 756 "GPSM_HELP_WITH_WEBSITE", |
| 757 "GPSM_NO_WEBSITE" |
| 758 ], |
| 759 "type": "string" |
| 760 }, |
| 761 "type": "array" |
| 762 }, |
| 763 "minMonthlyBudget": { |
| 764 "$ref": "Money", |
| 765 "description": "The minimum monthly budget lead source is wi
lling to spend." |
| 766 } |
| 767 }, |
| 768 "type": "object" |
| 769 }, |
| 770 "Money": { |
| 771 "description": "Represents an amount of money with its currency type
.", |
| 772 "id": "Money", |
| 773 "properties": { |
| 774 "currencyCode": { |
| 775 "description": "The 3-letter currency code defined in ISO 42
17.", |
| 776 "type": "string" |
| 777 }, |
| 778 "units": { |
| 779 "description": "The whole units of the amount. For example i
f `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", |
| 780 "format": "int64", |
| 781 "type": "string" |
| 782 }, |
| 783 "nanos": { |
| 784 "description": "Number of nano (10^-9) units of the amount.
The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is
positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be
positive, zero, or negative. If `units` is negative, `nanos` must be negative or
zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
", |
| 785 "format": "int32", |
| 786 "type": "integer" |
| 787 } |
| 788 }, |
| 789 "type": "object" |
| 790 }, |
| 791 "LogUserEventResponse": { |
| 792 "description": "Response message for [LogUserEvent][google.partners.
v2.ClientAuditor.LogUserEvent].", |
| 793 "id": "LogUserEventResponse", |
| 794 "properties": { |
| 795 "responseMetadata": { |
| 796 "$ref": "ResponseMetadata", |
| 797 "description": "Current response metadata." |
| 798 } |
| 799 }, |
| 800 "type": "object" |
| 801 }, |
| 802 "ResponseMetadata": { |
| 803 "description": "Common data that is in each API response.", |
| 804 "id": "ResponseMetadata", |
| 805 "properties": { |
| 806 "debugInfo": { |
| 807 "$ref": "DebugInfo", |
| 808 "description": "Debug information about this request." |
| 809 } |
| 810 }, |
| 811 "type": "object" |
| 812 }, |
| 813 "DebugInfo": { |
| 814 "description": "Debug information about this request.", |
| 815 "id": "DebugInfo", |
| 816 "type": "object" |
| 817 }, |
| 818 "LogMessageRequest": { |
| 819 "description": "Request message for [LogClientMessage][google.partne
rs.v2.ClientAuditor.LogClientMessage].", |
| 820 "id": "LogMessageRequest", |
| 821 "properties": { |
| 822 "requestMetadata": { |
| 823 "$ref": "RequestMetadata", |
| 824 "description": "Current request metadata." |
| 825 }, |
| 826 "level": { |
| 827 "description": "Message level of client message.", |
| 828 "enum": [ |
| 829 "MESSAGE_LEVEL_UNSPECIFIED", |
| 830 "ML_FINE", |
| 831 "ML_INFO", |
| 832 "ML_WARNING", |
| 833 "ML_SEVERE" |
| 834 ], |
| 835 "type": "string" |
| 836 }, |
| 837 "details": { |
| 838 "description": "Details about the client message.", |
| 839 "type": "string" |
| 840 }, |
| 841 "clientInfo": { |
| 842 "additionalProperties": { |
| 843 "type": "string" |
| 844 }, |
| 845 "description": "Map of client info, such as URL, browser nav
igator, browser platform, etc.", |
| 846 "type": "object" |
| 847 } |
| 848 }, |
| 849 "type": "object" |
| 850 }, |
| 851 "LogMessageResponse": { |
| 852 "description": "Response message for [LogClientMessage][google.partn
ers.v2.ClientAuditor.LogClientMessage].", |
| 853 "id": "LogMessageResponse", |
| 854 "properties": { |
| 855 "responseMetadata": { |
| 856 "$ref": "ResponseMetadata", |
| 857 "description": "Current response metadata." |
| 858 } |
| 859 }, |
| 860 "type": "object" |
| 861 }, |
| 862 "ListUserStatesResponse": { |
| 863 "description": "Response message for [ListUserStates][google.partner
s.v2.ClientAuditor.ListUserStates].", |
| 864 "id": "ListUserStatesResponse", |
| 865 "properties": { |
| 866 "responseMetadata": { |
| 867 "$ref": "ResponseMetadata", |
| 868 "description": "Current response metadata." |
| 869 }, |
| 870 "userStates": { |
| 871 "description": "User's states.", |
| 872 "enumDescriptions": [ |
| 873 "Unchosen.", |
| 874 "User must pass reCaptcha to contact a Partner via Googl
e Partner Search." |
| 875 ], |
| 876 "items": { |
| 877 "enum": [ |
| 878 "USER_STATE_UNSPECIFIED", |
| 879 "US_REQUIRES_RECAPTCHA_FOR_GPS_CONTACT" |
| 880 ], |
| 881 "type": "string" |
| 882 }, |
| 883 "type": "array" |
| 884 } |
| 885 }, |
| 886 "type": "object" |
| 887 }, |
| 888 "GetCompanyResponse": { |
| 889 "description": "Response message for [GetCompany][google.partners.v2
.Partner.GetCompany].", |
| 890 "id": "GetCompanyResponse", |
| 891 "properties": { |
| 892 "responseMetadata": { |
| 893 "$ref": "ResponseMetadata", |
| 894 "description": "Current response metadata." |
| 895 }, |
| 896 "company": { |
| 897 "$ref": "Company", |
| 898 "description": "The company." |
| 899 } |
| 900 }, |
| 901 "type": "object" |
| 902 }, |
| 903 "Company": { |
| 904 "description": "A company resource in the Google Partners API. Once
certified, it qualifies for being searched by advertisers.", |
| 905 "id": "Company", |
| 906 "properties": { |
| 907 "id": { |
| 908 "description": "The ID of the company.", |
| 909 "type": "string" |
| 910 }, |
| 911 "name": { |
| 912 "description": "The name of the company.", |
| 913 "type": "string" |
| 914 }, |
| 915 "localizedInfos": { |
| 916 "description": "The list of localized info for the company."
, |
| 917 "items": { |
| 918 "$ref": "LocalizedCompanyInfo" |
| 919 }, |
| 920 "type": "array" |
| 921 }, |
| 922 "locations": { |
| 923 "description": "The list of company locations.", |
| 924 "items": { |
| 925 "$ref": "Location" |
| 926 }, |
| 927 "type": "array" |
| 928 }, |
| 929 "convertedMinMonthlyBudget": { |
| 930 "$ref": "Money", |
| 931 "description": "The minimum monthly budget that the company
accepts for partner business, converted to the requested currency code." |
| 932 }, |
| 933 "originalMinMonthlyBudget": { |
| 934 "$ref": "Money", |
| 935 "description": "The unconverted minimum monthly budget that
the company accepts for partner business." |
| 936 }, |
| 937 "publicProfile": { |
| 938 "$ref": "PublicProfile", |
| 939 "description": "Basic information from the company's public
profile." |
| 940 }, |
| 941 "certificationStatuses": { |
| 942 "description": "The list of Google Partners certification st
atuses for the company.", |
| 943 "items": { |
| 944 "$ref": "CertificationStatus" |
| 945 }, |
| 946 "type": "array" |
| 947 }, |
| 948 "ranks": { |
| 949 "description": "Information related to the ranking of the co
mpany within the list of companies.", |
| 950 "items": { |
| 951 "$ref": "Rank" |
| 952 }, |
| 953 "type": "array" |
| 954 }, |
| 955 "websiteUrl": { |
| 956 "description": "URL of the company's website.", |
| 957 "type": "string" |
| 958 }, |
| 959 "industries": { |
| 960 "description": "Industries the company can help with.", |
| 961 "enumDescriptions": [ |
| 962 "Unchosen.", |
| 963 "The automotive industry.", |
| 964 "The business-to-business industry.", |
| 965 "The consumer packaged goods industry.", |
| 966 "The education industry.", |
| 967 "The finance industry.", |
| 968 "The healthcare industry.", |
| 969 "The media and entertainment industry.", |
| 970 "The retail industry.", |
| 971 "The technology industry.", |
| 972 "The travel industry." |
| 973 ], |
| 974 "items": { |
| 975 "enum": [ |
| 976 "INDUSTRY_UNSPECIFIED", |
| 977 "I_AUTOMOTIVE", |
| 978 "I_BUSINESS_TO_BUSINESS", |
| 979 "I_CONSUMER_PACKAGED_GOODS", |
| 980 "I_EDUCATION", |
| 981 "I_FINANCE", |
| 982 "I_HEALTHCARE", |
| 983 "I_MEDIA_AND_ENTERTAINMENT", |
| 984 "I_RETAIL", |
| 985 "I_TECHNOLOGY", |
| 986 "I_TRAVEL" |
| 987 ], |
| 988 "type": "string" |
| 989 }, |
| 990 "type": "array" |
| 991 }, |
| 992 "services": { |
| 993 "description": "Services the company can help with.", |
| 994 "enumDescriptions": [ |
| 995 "Unchosen.", |
| 996 "Help with advanced AdWords support.", |
| 997 "Help with advertising on Google.", |
| 998 "Help with an enhanced website.", |
| 999 "Help with an online marketing plan.", |
| 1000 "Help with mobile and video ads." |
| 1001 ], |
| 1002 "items": { |
| 1003 "enum": [ |
| 1004 "SERVICE_UNSPECIFIED", |
| 1005 "S_ADVANCED_ADWORDS_SUPPORT", |
| 1006 "S_ADVERTISING_ON_GOOGLE", |
| 1007 "S_AN_ENHANCED_WEBSITE", |
| 1008 "S_AN_ONLINE_MARKETING_PLAN", |
| 1009 "S_MOBILE_AND_VIDEO_ADS" |
| 1010 ], |
| 1011 "type": "string" |
| 1012 }, |
| 1013 "type": "array" |
| 1014 } |
| 1015 }, |
| 1016 "type": "object" |
| 1017 }, |
| 1018 "LocalizedCompanyInfo": { |
| 1019 "description": "The localized company information.", |
| 1020 "id": "LocalizedCompanyInfo", |
| 1021 "properties": { |
| 1022 "languageCode": { |
| 1023 "description": "Language code of the localized company info,
as defined by BCP 47 (IETF BCP 47, \"Tags for Identifying Languages\").", |
| 1024 "type": "string" |
| 1025 }, |
| 1026 "displayName": { |
| 1027 "description": "Localized display name.", |
| 1028 "type": "string" |
| 1029 }, |
| 1030 "overview": { |
| 1031 "description": "Localized brief description that the company
uses to advertise themselves.", |
| 1032 "type": "string" |
| 1033 }, |
| 1034 "countryCodes": { |
| 1035 "description": "List of country codes for the localized comp
any info.", |
| 1036 "items": { |
| 1037 "type": "string" |
| 1038 }, |
| 1039 "type": "array" |
| 1040 } |
| 1041 }, |
| 1042 "type": "object" |
| 1043 }, |
| 1044 "Location": { |
| 1045 "description": "A location with address and geographic coordinates."
, |
| 1046 "id": "Location", |
| 1047 "properties": { |
| 1048 "address": { |
| 1049 "description": "The complete address of the location.", |
| 1050 "type": "string" |
| 1051 }, |
| 1052 "latLng": { |
| 1053 "$ref": "LatLng", |
| 1054 "description": "The latitude and longitude of the location,
in degrees." |
| 1055 } |
| 1056 }, |
| 1057 "type": "object" |
| 1058 }, |
| 1059 "LatLng": { |
| 1060 "description": "An object representing a latitude/longitude pair. Th
is is expressed as a pair of doubles representing degrees latitude and degrees l
ongitude. Unless specified otherwise, this must conform to the WGS84 standard. V
alues must be within normalized ranges.", |
| 1061 "id": "LatLng", |
| 1062 "properties": { |
| 1063 "latitude": { |
| 1064 "description": "The latitude in degrees. It must be in the r
ange [-90.0, +90.0].", |
| 1065 "format": "double", |
| 1066 "type": "number" |
| 1067 }, |
| 1068 "longitude": { |
| 1069 "description": "The longitude in degrees. It must be in the
range [-180.0, +180.0].", |
| 1070 "format": "double", |
| 1071 "type": "number" |
| 1072 } |
| 1073 }, |
| 1074 "type": "object" |
| 1075 }, |
| 1076 "PublicProfile": { |
| 1077 "description": "Basic information from a public profile.", |
| 1078 "id": "PublicProfile", |
| 1079 "properties": { |
| 1080 "id": { |
| 1081 "description": "The ID which can be used to retrieve more de
tails about the public profile.", |
| 1082 "type": "string" |
| 1083 }, |
| 1084 "displayName": { |
| 1085 "description": "The display name of the public profile.", |
| 1086 "type": "string" |
| 1087 }, |
| 1088 "url": { |
| 1089 "description": "The URL of the public profile.", |
| 1090 "type": "string" |
| 1091 }, |
| 1092 "displayImageUrl": { |
| 1093 "description": "The URL to the main display image of the pub
lic profile.", |
| 1094 "type": "string" |
| 1095 } |
| 1096 }, |
| 1097 "type": "object" |
| 1098 }, |
| 1099 "CertificationStatus": { |
| 1100 "description": "Google Partners certification status.", |
| 1101 "id": "CertificationStatus", |
| 1102 "properties": { |
| 1103 "type": { |
| 1104 "description": "The type of the certification.", |
| 1105 "enum": [ |
| 1106 "CERTIFICATION_TYPE_UNSPECIFIED", |
| 1107 "CT_ADWORDS", |
| 1108 "CT_YOUTUBE", |
| 1109 "CT_VIDEOADS", |
| 1110 "CT_ANALYTICS", |
| 1111 "CT_DOUBLECLICK", |
| 1112 "CT_SHOPPING", |
| 1113 "CT_MOBILE" |
| 1114 ], |
| 1115 "type": "string" |
| 1116 }, |
| 1117 "examStatuses": { |
| 1118 "description": "List of certification exam statuses.", |
| 1119 "items": { |
| 1120 "$ref": "CertificationExamStatus" |
| 1121 }, |
| 1122 "type": "array" |
| 1123 }, |
| 1124 "isCertified": { |
| 1125 "description": "Whether certification is passing.", |
| 1126 "type": "boolean" |
| 1127 } |
| 1128 }, |
| 1129 "type": "object" |
| 1130 }, |
| 1131 "CertificationExamStatus": { |
| 1132 "description": "Status for a Google Partners certification exam.", |
| 1133 "id": "CertificationExamStatus", |
| 1134 "properties": { |
| 1135 "type": { |
| 1136 "description": "The type of certification exam.", |
| 1137 "enum": [ |
| 1138 "CERTIFICATION_EXAM_TYPE_UNSPECIFIED", |
| 1139 "CET_ADWORDS_ADVANCED_SEARCH", |
| 1140 "CET_ADWORDS_ADVANCED_DISPLAY", |
| 1141 "CET_VIDEO_ADS", |
| 1142 "CET_ANALYTICS", |
| 1143 "CET_DOUBLECLICK", |
| 1144 "CET_SHOPPING", |
| 1145 "CET_MOBILE" |
| 1146 ], |
| 1147 "type": "string" |
| 1148 }, |
| 1149 "numberUsersPass": { |
| 1150 "description": "The number of people who have passed the cer
tification exam.", |
| 1151 "format": "int32", |
| 1152 "type": "integer" |
| 1153 } |
| 1154 }, |
| 1155 "type": "object" |
| 1156 }, |
| 1157 "Rank": { |
| 1158 "description": "Information related to ranking of results.", |
| 1159 "id": "Rank", |
| 1160 "properties": { |
| 1161 "type": { |
| 1162 "description": "The type of rank.", |
| 1163 "enum": [ |
| 1164 "RANK_TYPE_UNSPECIFIED", |
| 1165 "RT_FINAL_SCORE" |
| 1166 ], |
| 1167 "type": "string" |
| 1168 }, |
| 1169 "value": { |
| 1170 "description": "The numerical value of the rank.", |
| 1171 "format": "double", |
| 1172 "type": "number" |
| 1173 } |
| 1174 }, |
| 1175 "type": "object" |
| 1176 }, |
| 1177 "ListCompaniesResponse": { |
| 1178 "description": "Response message for [ListCompanies][google.partners
.v2.Partner.ListCompanies].", |
| 1179 "id": "ListCompaniesResponse", |
| 1180 "properties": { |
| 1181 "responseMetadata": { |
| 1182 "$ref": "ResponseMetadata", |
| 1183 "description": "Current response metadata." |
| 1184 }, |
| 1185 "companies": { |
| 1186 "description": "The list of companies.", |
| 1187 "items": { |
| 1188 "$ref": "Company" |
| 1189 }, |
| 1190 "type": "array" |
| 1191 }, |
| 1192 "nextPageToken": { |
| 1193 "description": "A token to retrieve next page of results. Pa
ss this value in the `ListCompaniesRequest.page_token` field in the subsequent c
all to [ListCompanies][google.partners.v2.Partner.ListCompanies] to retrieve the
next page of results.", |
| 1194 "type": "string" |
| 1195 } |
| 1196 }, |
| 1197 "type": "object" |
| 1198 }, |
| 1199 "CreateLeadRequest": { |
| 1200 "description": "Request message for [CreateLead][google.partners.v2.
Partner.CreateLead].", |
| 1201 "id": "CreateLeadRequest", |
| 1202 "properties": { |
| 1203 "requestMetadata": { |
| 1204 "$ref": "RequestMetadata", |
| 1205 "description": "Current request metadata." |
| 1206 }, |
| 1207 "lead": { |
| 1208 "$ref": "Lead", |
| 1209 "description": "The lead resource. The `LeadType` must not b
e `LEAD_TYPE_UNSPECIFIED` and either `email` or `phone_number` must be provided.
" |
| 1210 }, |
| 1211 "recaptchaChallenge": { |
| 1212 "$ref": "RecaptchaChallenge", |
| 1213 "description": "reCaptcha challenge info." |
| 1214 } |
| 1215 }, |
| 1216 "type": "object" |
| 1217 }, |
| 1218 "RecaptchaChallenge": { |
| 1219 "description": "reCaptcha challenge info.", |
| 1220 "id": "RecaptchaChallenge", |
| 1221 "properties": { |
| 1222 "id": { |
| 1223 "description": "The ID of the reCaptcha challenge.", |
| 1224 "type": "string" |
| 1225 }, |
| 1226 "response": { |
| 1227 "description": "The response to the reCaptcha challenge.", |
| 1228 "type": "string" |
| 1229 } |
| 1230 }, |
| 1231 "type": "object" |
| 1232 }, |
| 1233 "CreateLeadResponse": { |
| 1234 "description": "Response message for [CreateLead][google.partners.v2
.Partner.CreateLead]. Debug information about this request.", |
| 1235 "id": "CreateLeadResponse", |
| 1236 "properties": { |
| 1237 "responseMetadata": { |
| 1238 "$ref": "ResponseMetadata", |
| 1239 "description": "Current response metadata." |
| 1240 }, |
| 1241 "lead": { |
| 1242 "$ref": "Lead", |
| 1243 "description": "Lead that was created depending on the outco
me of reCaptcha validation." |
| 1244 }, |
| 1245 "recaptchaStatus": { |
| 1246 "description": "The outcome of reCaptcha validation.", |
| 1247 "enum": [ |
| 1248 "RECAPTCHA_STATUS_UNSPECIFIED", |
| 1249 "RS_NOT_NEEDED", |
| 1250 "RS_PASSED", |
| 1251 "RS_FAILED" |
| 1252 ], |
| 1253 "type": "string" |
| 1254 } |
| 1255 }, |
| 1256 "type": "object" |
| 1257 } |
| 1258 }, |
| 1259 "servicePath": "", |
| 1260 "title": "Google Partners API", |
| 1261 "version": "v2" |
| 1262 } |
OLD | NEW |