1{ 2 "auth": { 3 "oauth2": { 4 "scopes": { 5 "https://www.googleapis.com/auth/realtime-bidding": { 6 "description": "See, create, edit, and delete your Authorized Buyers and Open Bidding account entities" 7 } 8 } 9 } 10 }, 11 "basePath": "", 12 "baseUrl": "https://realtimebidding.googleapis.com/", 13 "batchPath": "batch", 14 "canonicalName": "Real-time Bidding", 15 "description": "Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.", 16 "discoveryVersion": "v1", 17 "documentationLink": "https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/", 18 "fullyEncodeReservedExpansion": true, 19 "icons": { 20 "x16": "http://www.google.com/images/icons/product/search-16.gif", 21 "x32": "http://www.google.com/images/icons/product/search-32.gif" 22 }, 23 "id": "realtimebidding:v1", 24 "kind": "discovery#restDescription", 25 "mtlsRootUrl": "https://realtimebidding.mtls.googleapis.com/", 26 "name": "realtimebidding", 27 "ownerDomain": "google.com", 28 "ownerName": "Google", 29 "parameters": { 30 "$.xgafv": { 31 "description": "V1 error format.", 32 "enum": [ 33 "1", 34 "2" 35 ], 36 "enumDescriptions": [ 37 "v1 error format", 38 "v2 error format" 39 ], 40 "location": "query", 41 "type": "string" 42 }, 43 "access_token": { 44 "description": "OAuth access token.", 45 "location": "query", 46 "type": "string" 47 }, 48 "alt": { 49 "default": "json", 50 "description": "Data format for response.", 51 "enum": [ 52 "json", 53 "media", 54 "proto" 55 ], 56 "enumDescriptions": [ 57 "Responses with Content-Type of application/json", 58 "Media download with context-dependent Content-Type", 59 "Responses with Content-Type of application/x-protobuf" 60 ], 61 "location": "query", 62 "type": "string" 63 }, 64 "callback": { 65 "description": "JSONP", 66 "location": "query", 67 "type": "string" 68 }, 69 "fields": { 70 "description": "Selector specifying which fields to include in a partial response.", 71 "location": "query", 72 "type": "string" 73 }, 74 "key": { 75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", 76 "location": "query", 77 "type": "string" 78 }, 79 "oauth_token": { 80 "description": "OAuth 2.0 token for the current user.", 81 "location": "query", 82 "type": "string" 83 }, 84 "prettyPrint": { 85 "default": "true", 86 "description": "Returns response with indentations and line breaks.", 87 "location": "query", 88 "type": "boolean" 89 }, 90 "quotaUser": { 91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", 92 "location": "query", 93 "type": "string" 94 }, 95 "uploadType": { 96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", 97 "location": "query", 98 "type": "string" 99 }, 100 "upload_protocol": { 101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", 102 "location": "query", 103 "type": "string" 104 } 105 }, 106 "protocol": "rest", 107 "resources": { 108 "bidders": { 109 "resources": { 110 "creatives": { 111 "methods": { 112 "list": { 113 "description": "Lists creatives.", 114 "flatPath": "v1/bidders/{biddersId}/creatives", 115 "httpMethod": "GET", 116 "id": "realtimebidding.bidders.creatives.list", 117 "parameterOrder": [ 118 "parent" 119 ], 120 "parameters": { 121 "filter": { 122 "description": "Query string to filter creatives. If no filter is specified, all active creatives will be returned. Example: 'accountId=12345 AND (dealsStatus:DISAPPROVED AND disapprovalReason:UNACCEPTABLE_CONTENT) OR declaredAttributes:IS_COOKIE_TARGETED'", 123 "location": "query", 124 "type": "string" 125 }, 126 "pageSize": { 127 "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", 128 "format": "int32", 129 "location": "query", 130 "type": "integer" 131 }, 132 "pageToken": { 133 "description": "A token identifying a page of results the server should return. Typically, this is the value of ListCreativesResponse.nextPageToken returned from the previous call to the 'ListCreatives' method.", 134 "location": "query", 135 "type": "string" 136 }, 137 "parent": { 138 "description": "Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either `buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`), you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use `bidders/{bidderAccountId}`, e.g., for all creatives pertaining to bidder (`123`), use `bidders/123`.", 139 "location": "path", 140 "pattern": "^bidders/[^/]+$", 141 "required": true, 142 "type": "string" 143 }, 144 "view": { 145 "description": "Controls the amount of information included in the response. By default only creativeServingDecision is included. To retrieve the entire creative resource (including the declared fields and the creative content) specify the view as \"FULL\".", 146 "enum": [ 147 "CREATIVE_VIEW_UNSPECIFIED", 148 "SERVING_DECISION_ONLY", 149 "FULL" 150 ], 151 "enumDescriptions": [ 152 "Not specified, equivalent to SERVING_DECISION_ONLY.", 153 "Only creativeServingDecision is included in the response.", 154 "The entire creative resource (including the declared fields and the creative content) is included in the response." 155 ], 156 "location": "query", 157 "type": "string" 158 } 159 }, 160 "path": "v1/{+parent}/creatives", 161 "response": { 162 "$ref": "ListCreativesResponse" 163 }, 164 "scopes": [ 165 "https://www.googleapis.com/auth/realtime-bidding" 166 ] 167 }, 168 "watch": { 169 "description": "Watches all creatives pertaining to a bidder. It is sufficient to invoke this endpoint once per bidder. A Pub/Sub topic will be created and notifications will be pushed to the topic when any of the bidder's creatives change status. All of the bidder's service accounts will have access to read from the topic. Subsequent invocations of this method will return the existing Pub/Sub configuration.", 170 "flatPath": "v1/bidders/{biddersId}/creatives:watch", 171 "httpMethod": "POST", 172 "id": "realtimebidding.bidders.creatives.watch", 173 "parameterOrder": [ 174 "parent" 175 ], 176 "parameters": { 177 "parent": { 178 "description": "Required. To watch all creatives pertaining to the bidder and all its child seat accounts, the bidder must follow the pattern `bidders/{bidderAccountId}`.", 179 "location": "path", 180 "pattern": "^bidders/[^/]+$", 181 "required": true, 182 "type": "string" 183 } 184 }, 185 "path": "v1/{+parent}/creatives:watch", 186 "request": { 187 "$ref": "WatchCreativesRequest" 188 }, 189 "response": { 190 "$ref": "WatchCreativesResponse" 191 }, 192 "scopes": [ 193 "https://www.googleapis.com/auth/realtime-bidding" 194 ] 195 } 196 } 197 }, 198 "pretargetingConfigs": { 199 "methods": { 200 "activate": { 201 "description": "Activates a pretargeting configuration.", 202 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:activate", 203 "httpMethod": "POST", 204 "id": "realtimebidding.bidders.pretargetingConfigs.activate", 205 "parameterOrder": [ 206 "name" 207 ], 208 "parameters": { 209 "name": { 210 "description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", 211 "location": "path", 212 "pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", 213 "required": true, 214 "type": "string" 215 } 216 }, 217 "path": "v1/{+name}:activate", 218 "request": { 219 "$ref": "ActivatePretargetingConfigRequest" 220 }, 221 "response": { 222 "$ref": "PretargetingConfig" 223 }, 224 "scopes": [ 225 "https://www.googleapis.com/auth/realtime-bidding" 226 ] 227 }, 228 "addTargetedApps": { 229 "description": "Adds targeted apps to the pretargeting configuration.", 230 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:addTargetedApps", 231 "httpMethod": "POST", 232 "id": "realtimebidding.bidders.pretargetingConfigs.addTargetedApps", 233 "parameterOrder": [ 234 "pretargetingConfig" 235 ], 236 "parameters": { 237 "pretargetingConfig": { 238 "description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", 239 "location": "path", 240 "pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", 241 "required": true, 242 "type": "string" 243 } 244 }, 245 "path": "v1/{+pretargetingConfig}:addTargetedApps", 246 "request": { 247 "$ref": "AddTargetedAppsRequest" 248 }, 249 "response": { 250 "$ref": "PretargetingConfig" 251 }, 252 "scopes": [ 253 "https://www.googleapis.com/auth/realtime-bidding" 254 ] 255 }, 256 "addTargetedPublishers": { 257 "description": "Adds targeted publishers to the pretargeting config.", 258 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:addTargetedPublishers", 259 "httpMethod": "POST", 260 "id": "realtimebidding.bidders.pretargetingConfigs.addTargetedPublishers", 261 "parameterOrder": [ 262 "pretargetingConfig" 263 ], 264 "parameters": { 265 "pretargetingConfig": { 266 "description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", 267 "location": "path", 268 "pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", 269 "required": true, 270 "type": "string" 271 } 272 }, 273 "path": "v1/{+pretargetingConfig}:addTargetedPublishers", 274 "request": { 275 "$ref": "AddTargetedPublishersRequest" 276 }, 277 "response": { 278 "$ref": "PretargetingConfig" 279 }, 280 "scopes": [ 281 "https://www.googleapis.com/auth/realtime-bidding" 282 ] 283 }, 284 "addTargetedSites": { 285 "description": "Adds targeted sites to the pretargeting configuration.", 286 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:addTargetedSites", 287 "httpMethod": "POST", 288 "id": "realtimebidding.bidders.pretargetingConfigs.addTargetedSites", 289 "parameterOrder": [ 290 "pretargetingConfig" 291 ], 292 "parameters": { 293 "pretargetingConfig": { 294 "description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", 295 "location": "path", 296 "pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", 297 "required": true, 298 "type": "string" 299 } 300 }, 301 "path": "v1/{+pretargetingConfig}:addTargetedSites", 302 "request": { 303 "$ref": "AddTargetedSitesRequest" 304 }, 305 "response": { 306 "$ref": "PretargetingConfig" 307 }, 308 "scopes": [ 309 "https://www.googleapis.com/auth/realtime-bidding" 310 ] 311 }, 312 "create": { 313 "description": "Creates a pretargeting configuration. A pretargeting configuration's state (PretargetingConfig.state) is active upon creation, and it will start to affect traffic shortly after. A bidder may create a maximum of 10 pretargeting configurations. Attempts to exceed this maximum results in a 400 bad request error.", 314 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs", 315 "httpMethod": "POST", 316 "id": "realtimebidding.bidders.pretargetingConfigs.create", 317 "parameterOrder": [ 318 "parent" 319 ], 320 "parameters": { 321 "parent": { 322 "description": "Required. Name of the bidder to create the pretargeting configuration for. Format: bidders/{bidderAccountId}", 323 "location": "path", 324 "pattern": "^bidders/[^/]+$", 325 "required": true, 326 "type": "string" 327 } 328 }, 329 "path": "v1/{+parent}/pretargetingConfigs", 330 "request": { 331 "$ref": "PretargetingConfig" 332 }, 333 "response": { 334 "$ref": "PretargetingConfig" 335 }, 336 "scopes": [ 337 "https://www.googleapis.com/auth/realtime-bidding" 338 ] 339 }, 340 "delete": { 341 "description": "Deletes a pretargeting configuration.", 342 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}", 343 "httpMethod": "DELETE", 344 "id": "realtimebidding.bidders.pretargetingConfigs.delete", 345 "parameterOrder": [ 346 "name" 347 ], 348 "parameters": { 349 "name": { 350 "description": "Required. The name of the pretargeting configuration to delete. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", 351 "location": "path", 352 "pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", 353 "required": true, 354 "type": "string" 355 } 356 }, 357 "path": "v1/{+name}", 358 "response": { 359 "$ref": "Empty" 360 }, 361 "scopes": [ 362 "https://www.googleapis.com/auth/realtime-bidding" 363 ] 364 }, 365 "get": { 366 "description": "Gets a pretargeting configuration.", 367 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}", 368 "httpMethod": "GET", 369 "id": "realtimebidding.bidders.pretargetingConfigs.get", 370 "parameterOrder": [ 371 "name" 372 ], 373 "parameters": { 374 "name": { 375 "description": "Required. Name of the pretargeting configuration to get. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", 376 "location": "path", 377 "pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", 378 "required": true, 379 "type": "string" 380 } 381 }, 382 "path": "v1/{+name}", 383 "response": { 384 "$ref": "PretargetingConfig" 385 }, 386 "scopes": [ 387 "https://www.googleapis.com/auth/realtime-bidding" 388 ] 389 }, 390 "list": { 391 "description": "Lists all pretargeting configurations for a single bidder.", 392 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs", 393 "httpMethod": "GET", 394 "id": "realtimebidding.bidders.pretargetingConfigs.list", 395 "parameterOrder": [ 396 "parent" 397 ], 398 "parameters": { 399 "pageSize": { 400 "description": "The maximum number of pretargeting configurations to return. If unspecified, at most 10 pretargeting configurations will be returned. The maximum value is 100; values above 100 will be coerced to 100.", 401 "format": "int32", 402 "location": "query", 403 "type": "integer" 404 }, 405 "pageToken": { 406 "description": "A token identifying a page of results the server should return. This value is received from a previous `ListPretargetingConfigs` call in ListPretargetingConfigsResponse.nextPageToken.", 407 "location": "query", 408 "type": "string" 409 }, 410 "parent": { 411 "description": "Required. Name of the bidder whose pretargeting configurations will be listed. Format: bidders/{bidderAccountId}", 412 "location": "path", 413 "pattern": "^bidders/[^/]+$", 414 "required": true, 415 "type": "string" 416 } 417 }, 418 "path": "v1/{+parent}/pretargetingConfigs", 419 "response": { 420 "$ref": "ListPretargetingConfigsResponse" 421 }, 422 "scopes": [ 423 "https://www.googleapis.com/auth/realtime-bidding" 424 ] 425 }, 426 "patch": { 427 "description": "Updates a pretargeting configuration.", 428 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}", 429 "httpMethod": "PATCH", 430 "id": "realtimebidding.bidders.pretargetingConfigs.patch", 431 "parameterOrder": [ 432 "name" 433 ], 434 "parameters": { 435 "name": { 436 "description": "Output only. Name of the pretargeting configuration that must follow the pattern `bidders/{bidder_account_id}/pretargetingConfigs/{config_id}`", 437 "location": "path", 438 "pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", 439 "required": true, 440 "type": "string" 441 }, 442 "updateMask": { 443 "description": "Field mask to use for partial in-place updates.", 444 "format": "google-fieldmask", 445 "location": "query", 446 "type": "string" 447 } 448 }, 449 "path": "v1/{+name}", 450 "request": { 451 "$ref": "PretargetingConfig" 452 }, 453 "response": { 454 "$ref": "PretargetingConfig" 455 }, 456 "scopes": [ 457 "https://www.googleapis.com/auth/realtime-bidding" 458 ] 459 }, 460 "removeTargetedApps": { 461 "description": "Removes targeted apps from the pretargeting configuration.", 462 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:removeTargetedApps", 463 "httpMethod": "POST", 464 "id": "realtimebidding.bidders.pretargetingConfigs.removeTargetedApps", 465 "parameterOrder": [ 466 "pretargetingConfig" 467 ], 468 "parameters": { 469 "pretargetingConfig": { 470 "description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", 471 "location": "path", 472 "pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", 473 "required": true, 474 "type": "string" 475 } 476 }, 477 "path": "v1/{+pretargetingConfig}:removeTargetedApps", 478 "request": { 479 "$ref": "RemoveTargetedAppsRequest" 480 }, 481 "response": { 482 "$ref": "PretargetingConfig" 483 }, 484 "scopes": [ 485 "https://www.googleapis.com/auth/realtime-bidding" 486 ] 487 }, 488 "removeTargetedPublishers": { 489 "description": "Removes targeted publishers from the pretargeting config.", 490 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:removeTargetedPublishers", 491 "httpMethod": "POST", 492 "id": "realtimebidding.bidders.pretargetingConfigs.removeTargetedPublishers", 493 "parameterOrder": [ 494 "pretargetingConfig" 495 ], 496 "parameters": { 497 "pretargetingConfig": { 498 "description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", 499 "location": "path", 500 "pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", 501 "required": true, 502 "type": "string" 503 } 504 }, 505 "path": "v1/{+pretargetingConfig}:removeTargetedPublishers", 506 "request": { 507 "$ref": "RemoveTargetedPublishersRequest" 508 }, 509 "response": { 510 "$ref": "PretargetingConfig" 511 }, 512 "scopes": [ 513 "https://www.googleapis.com/auth/realtime-bidding" 514 ] 515 }, 516 "removeTargetedSites": { 517 "description": "Removes targeted sites from the pretargeting configuration.", 518 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:removeTargetedSites", 519 "httpMethod": "POST", 520 "id": "realtimebidding.bidders.pretargetingConfigs.removeTargetedSites", 521 "parameterOrder": [ 522 "pretargetingConfig" 523 ], 524 "parameters": { 525 "pretargetingConfig": { 526 "description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", 527 "location": "path", 528 "pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", 529 "required": true, 530 "type": "string" 531 } 532 }, 533 "path": "v1/{+pretargetingConfig}:removeTargetedSites", 534 "request": { 535 "$ref": "RemoveTargetedSitesRequest" 536 }, 537 "response": { 538 "$ref": "PretargetingConfig" 539 }, 540 "scopes": [ 541 "https://www.googleapis.com/auth/realtime-bidding" 542 ] 543 }, 544 "suspend": { 545 "description": "Suspends a pretargeting configuration.", 546 "flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:suspend", 547 "httpMethod": "POST", 548 "id": "realtimebidding.bidders.pretargetingConfigs.suspend", 549 "parameterOrder": [ 550 "name" 551 ], 552 "parameters": { 553 "name": { 554 "description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", 555 "location": "path", 556 "pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", 557 "required": true, 558 "type": "string" 559 } 560 }, 561 "path": "v1/{+name}:suspend", 562 "request": { 563 "$ref": "SuspendPretargetingConfigRequest" 564 }, 565 "response": { 566 "$ref": "PretargetingConfig" 567 }, 568 "scopes": [ 569 "https://www.googleapis.com/auth/realtime-bidding" 570 ] 571 } 572 } 573 } 574 } 575 }, 576 "buyers": { 577 "methods": { 578 "getRemarketingTag": { 579 "description": "Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list.", 580 "flatPath": "v1/buyers/{buyersId}:getRemarketingTag", 581 "httpMethod": "GET", 582 "id": "realtimebidding.buyers.getRemarketingTag", 583 "parameterOrder": [ 584 "name" 585 ], 586 "parameters": { 587 "name": { 588 "description": "Required. To fetch remarketing tag for an account, name must follow the pattern `buyers/{accountId}` where `{accountId}` represents ID of a buyer that owns the remarketing tag. For a bidder accessing remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch remarketing tag for a specific user list, name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name.", 589 "location": "path", 590 "pattern": "^buyers/[^/]+$", 591 "required": true, 592 "type": "string" 593 } 594 }, 595 "path": "v1/{+name}:getRemarketingTag", 596 "response": { 597 "$ref": "GetRemarketingTagResponse" 598 }, 599 "scopes": [ 600 "https://www.googleapis.com/auth/realtime-bidding" 601 ] 602 } 603 }, 604 "resources": { 605 "creatives": { 606 "methods": { 607 "create": { 608 "description": "Creates a creative.", 609 "flatPath": "v1/buyers/{buyersId}/creatives", 610 "httpMethod": "POST", 611 "id": "realtimebidding.buyers.creatives.create", 612 "parameterOrder": [ 613 "parent" 614 ], 615 "parameters": { 616 "parent": { 617 "description": "Required. The name of the parent buyer that the new creative belongs to that must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns a creative. For a bidder accessing creatives on behalf of a child seat buyer, `{buyerAccountId}` should represent the account ID of the child seat buyer.", 618 "location": "path", 619 "pattern": "^buyers/[^/]+$", 620 "required": true, 621 "type": "string" 622 } 623 }, 624 "path": "v1/{+parent}/creatives", 625 "request": { 626 "$ref": "Creative" 627 }, 628 "response": { 629 "$ref": "Creative" 630 }, 631 "scopes": [ 632 "https://www.googleapis.com/auth/realtime-bidding" 633 ] 634 }, 635 "get": { 636 "description": "Gets a creative.", 637 "flatPath": "v1/buyers/{buyersId}/creatives/{creativesId}", 638 "httpMethod": "GET", 639 "id": "realtimebidding.buyers.creatives.get", 640 "parameterOrder": [ 641 "name" 642 ], 643 "parameters": { 644 "name": { 645 "description": "Required. Name of the creative to retrieve. See creative.name.", 646 "location": "path", 647 "pattern": "^buyers/[^/]+/creatives/[^/]+$", 648 "required": true, 649 "type": "string" 650 }, 651 "view": { 652 "description": "Controls the amount of information included in the response. By default only creativeServingDecision is included. To retrieve the entire creative resource (including the declared fields and the creative content) specify the view as \"FULL\".", 653 "enum": [ 654 "CREATIVE_VIEW_UNSPECIFIED", 655 "SERVING_DECISION_ONLY", 656 "FULL" 657 ], 658 "enumDescriptions": [ 659 "Not specified, equivalent to SERVING_DECISION_ONLY.", 660 "Only creativeServingDecision is included in the response.", 661 "The entire creative resource (including the declared fields and the creative content) is included in the response." 662 ], 663 "location": "query", 664 "type": "string" 665 } 666 }, 667 "path": "v1/{+name}", 668 "response": { 669 "$ref": "Creative" 670 }, 671 "scopes": [ 672 "https://www.googleapis.com/auth/realtime-bidding" 673 ] 674 }, 675 "list": { 676 "description": "Lists creatives.", 677 "flatPath": "v1/buyers/{buyersId}/creatives", 678 "httpMethod": "GET", 679 "id": "realtimebidding.buyers.creatives.list", 680 "parameterOrder": [ 681 "parent" 682 ], 683 "parameters": { 684 "filter": { 685 "description": "Query string to filter creatives. If no filter is specified, all active creatives will be returned. Example: 'accountId=12345 AND (dealsStatus:DISAPPROVED AND disapprovalReason:UNACCEPTABLE_CONTENT) OR declaredAttributes:IS_COOKIE_TARGETED'", 686 "location": "query", 687 "type": "string" 688 }, 689 "pageSize": { 690 "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", 691 "format": "int32", 692 "location": "query", 693 "type": "integer" 694 }, 695 "pageToken": { 696 "description": "A token identifying a page of results the server should return. Typically, this is the value of ListCreativesResponse.nextPageToken returned from the previous call to the 'ListCreatives' method.", 697 "location": "query", 698 "type": "string" 699 }, 700 "parent": { 701 "description": "Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either `buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`), you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use `bidders/{bidderAccountId}`, e.g., for all creatives pertaining to bidder (`123`), use `bidders/123`.", 702 "location": "path", 703 "pattern": "^buyers/[^/]+$", 704 "required": true, 705 "type": "string" 706 }, 707 "view": { 708 "description": "Controls the amount of information included in the response. By default only creativeServingDecision is included. To retrieve the entire creative resource (including the declared fields and the creative content) specify the view as \"FULL\".", 709 "enum": [ 710 "CREATIVE_VIEW_UNSPECIFIED", 711 "SERVING_DECISION_ONLY", 712 "FULL" 713 ], 714 "enumDescriptions": [ 715 "Not specified, equivalent to SERVING_DECISION_ONLY.", 716 "Only creativeServingDecision is included in the response.", 717 "The entire creative resource (including the declared fields and the creative content) is included in the response." 718 ], 719 "location": "query", 720 "type": "string" 721 } 722 }, 723 "path": "v1/{+parent}/creatives", 724 "response": { 725 "$ref": "ListCreativesResponse" 726 }, 727 "scopes": [ 728 "https://www.googleapis.com/auth/realtime-bidding" 729 ] 730 }, 731 "patch": { 732 "description": "Updates a creative.", 733 "flatPath": "v1/buyers/{buyersId}/creatives/{creativesId}", 734 "httpMethod": "PATCH", 735 "id": "realtimebidding.buyers.creatives.patch", 736 "parameterOrder": [ 737 "name" 738 ], 739 "parameters": { 740 "name": { 741 "description": "Output only. Name of the creative. Follows the pattern `buyers/{buyer}/creatives/{creative}`, where `{buyer}` represents the account ID of the buyer who owns the creative, and `{creative}` is the buyer-specific creative ID that references this creative in the bid response.", 742 "location": "path", 743 "pattern": "^buyers/[^/]+/creatives/[^/]+$", 744 "required": true, 745 "type": "string" 746 }, 747 "updateMask": { 748 "description": "Field mask to use for partial in-place updates.", 749 "format": "google-fieldmask", 750 "location": "query", 751 "type": "string" 752 } 753 }, 754 "path": "v1/{+name}", 755 "request": { 756 "$ref": "Creative" 757 }, 758 "response": { 759 "$ref": "Creative" 760 }, 761 "scopes": [ 762 "https://www.googleapis.com/auth/realtime-bidding" 763 ] 764 } 765 } 766 }, 767 "userLists": { 768 "methods": { 769 "close": { 770 "description": "Change the status of a user list to CLOSED. This prevents new users from being added to the user list.", 771 "flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}:close", 772 "httpMethod": "POST", 773 "id": "realtimebidding.buyers.userLists.close", 774 "parameterOrder": [ 775 "name" 776 ], 777 "parameters": { 778 "name": { 779 "description": "Required. The name of the user list to close. See UserList.name", 780 "location": "path", 781 "pattern": "^buyers/[^/]+/userLists/[^/]+$", 782 "required": true, 783 "type": "string" 784 } 785 }, 786 "path": "v1/{+name}:close", 787 "request": { 788 "$ref": "CloseUserListRequest" 789 }, 790 "response": { 791 "$ref": "UserList" 792 }, 793 "scopes": [ 794 "https://www.googleapis.com/auth/realtime-bidding" 795 ] 796 }, 797 "create": { 798 "description": "Create a new user list.", 799 "flatPath": "v1/buyers/{buyersId}/userLists", 800 "httpMethod": "POST", 801 "id": "realtimebidding.buyers.userLists.create", 802 "parameterOrder": [ 803 "parent" 804 ], 805 "parameters": { 806 "parent": { 807 "description": "Required. The name of the parent buyer of the user list to be retrieved that must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns user lists. For a bidder accessing user lists on behalf of a child seat buyer , `{buyerAccountId}` should represent the account ID of the child seat buyer.", 808 "location": "path", 809 "pattern": "^buyers/[^/]+$", 810 "required": true, 811 "type": "string" 812 } 813 }, 814 "path": "v1/{+parent}/userLists", 815 "request": { 816 "$ref": "UserList" 817 }, 818 "response": { 819 "$ref": "UserList" 820 }, 821 "scopes": [ 822 "https://www.googleapis.com/auth/realtime-bidding" 823 ] 824 }, 825 "get": { 826 "description": "Gets a user list by its name.", 827 "flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}", 828 "httpMethod": "GET", 829 "id": "realtimebidding.buyers.userLists.get", 830 "parameterOrder": [ 831 "name" 832 ], 833 "parameters": { 834 "name": { 835 "description": "Required. The name of the user list to be retrieved. See UserList.name.", 836 "location": "path", 837 "pattern": "^buyers/[^/]+/userLists/[^/]+$", 838 "required": true, 839 "type": "string" 840 } 841 }, 842 "path": "v1/{+name}", 843 "response": { 844 "$ref": "UserList" 845 }, 846 "scopes": [ 847 "https://www.googleapis.com/auth/realtime-bidding" 848 ] 849 }, 850 "getRemarketingTag": { 851 "description": "Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list.", 852 "flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}:getRemarketingTag", 853 "httpMethod": "GET", 854 "id": "realtimebidding.buyers.userLists.getRemarketingTag", 855 "parameterOrder": [ 856 "name" 857 ], 858 "parameters": { 859 "name": { 860 "description": "Required. To fetch remarketing tag for an account, name must follow the pattern `buyers/{accountId}` where `{accountId}` represents ID of a buyer that owns the remarketing tag. For a bidder accessing remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch remarketing tag for a specific user list, name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name.", 861 "location": "path", 862 "pattern": "^buyers/[^/]+/userLists/[^/]+$", 863 "required": true, 864 "type": "string" 865 } 866 }, 867 "path": "v1/{+name}:getRemarketingTag", 868 "response": { 869 "$ref": "GetRemarketingTagResponse" 870 }, 871 "scopes": [ 872 "https://www.googleapis.com/auth/realtime-bidding" 873 ] 874 }, 875 "list": { 876 "description": "Lists the user lists visible to the current user.", 877 "flatPath": "v1/buyers/{buyersId}/userLists", 878 "httpMethod": "GET", 879 "id": "realtimebidding.buyers.userLists.list", 880 "parameterOrder": [ 881 "parent" 882 ], 883 "parameters": { 884 "pageSize": { 885 "description": "The number of results to return per page.", 886 "format": "int32", 887 "location": "query", 888 "type": "integer" 889 }, 890 "pageToken": { 891 "description": "Continuation page token (as received from a previous response).", 892 "location": "query", 893 "type": "string" 894 }, 895 "parent": { 896 "description": "Required. The name of the parent buyer for the user lists to be returned that must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns user lists. For a bidder accessing user lists on behalf of a child seat buyer , `{buyerAccountId}` should represent the account ID of the child seat buyer.", 897 "location": "path", 898 "pattern": "^buyers/[^/]+$", 899 "required": true, 900 "type": "string" 901 } 902 }, 903 "path": "v1/{+parent}/userLists", 904 "response": { 905 "$ref": "ListUserListsResponse" 906 }, 907 "scopes": [ 908 "https://www.googleapis.com/auth/realtime-bidding" 909 ] 910 }, 911 "open": { 912 "description": "Change the status of a user list to OPEN. This allows new users to be added to the user list.", 913 "flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}:open", 914 "httpMethod": "POST", 915 "id": "realtimebidding.buyers.userLists.open", 916 "parameterOrder": [ 917 "name" 918 ], 919 "parameters": { 920 "name": { 921 "description": "Required. The name of the user list to open. See UserList.name", 922 "location": "path", 923 "pattern": "^buyers/[^/]+/userLists/[^/]+$", 924 "required": true, 925 "type": "string" 926 } 927 }, 928 "path": "v1/{+name}:open", 929 "request": { 930 "$ref": "OpenUserListRequest" 931 }, 932 "response": { 933 "$ref": "UserList" 934 }, 935 "scopes": [ 936 "https://www.googleapis.com/auth/realtime-bidding" 937 ] 938 }, 939 "update": { 940 "description": "Update the given user list. Only user lists with URLRestrictions can be updated.", 941 "flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}", 942 "httpMethod": "PUT", 943 "id": "realtimebidding.buyers.userLists.update", 944 "parameterOrder": [ 945 "name" 946 ], 947 "parameters": { 948 "name": { 949 "description": "Output only. Name of the user list that must follow the pattern `buyers/{buyer}/userLists/{user_list}`, where `{buyer}` represents the account ID of the buyer who owns the user list. For a bidder accessing user lists on behalf of a child seat buyer, `{buyer}` represents the account ID of the child seat buyer. `{user_list}` is an int64 identifier assigned by Google to uniquely identify a user list.", 950 "location": "path", 951 "pattern": "^buyers/[^/]+/userLists/[^/]+$", 952 "required": true, 953 "type": "string" 954 } 955 }, 956 "path": "v1/{+name}", 957 "request": { 958 "$ref": "UserList" 959 }, 960 "response": { 961 "$ref": "UserList" 962 }, 963 "scopes": [ 964 "https://www.googleapis.com/auth/realtime-bidding" 965 ] 966 } 967 } 968 } 969 } 970 } 971 }, 972 "revision": "20201109", 973 "rootUrl": "https://realtimebidding.googleapis.com/", 974 "schemas": { 975 "ActivatePretargetingConfigRequest": { 976 "description": "A request to activate a pretargeting configuration. Sets the configuration's state to ACTIVE.", 977 "id": "ActivatePretargetingConfigRequest", 978 "properties": {}, 979 "type": "object" 980 }, 981 "AddTargetedAppsRequest": { 982 "description": "A request to start targeting the provided app IDs in a specific pretargeting configuration. The pretargeting configuration itself specifies how these apps are targeted. in PretargetingConfig.appTargeting.mobileAppTargeting.", 983 "id": "AddTargetedAppsRequest", 984 "properties": { 985 "appIds": { 986 "description": "A list of app IDs to target in the pretargeting configuration. These values will be added to the list of targeted app IDs in PretargetingConfig.appTargeting.mobileAppTargeting.values.", 987 "items": { 988 "type": "string" 989 }, 990 "type": "array" 991 }, 992 "targetingMode": { 993 "description": "Required. The targeting mode that should be applied to the list of app IDs. If there are existing targeted app IDs, must be equal to the existing PretargetingConfig.appTargeting.mobileAppTargeting.targetingMode or a 400 bad request error will be returned.", 994 "enum": [ 995 "TARGETING_MODE_UNSPECIFIED", 996 "INCLUSIVE", 997 "EXCLUSIVE" 998 ], 999 "enumDescriptions": [ 1000 "Placeholder for undefined targeting mode.", 1001 "The inclusive list type. Inventory must match an item in this list to be targeted.", 1002 "The exclusive list type. Inventory must not match any item in this list to be targeted." 1003 ], 1004 "type": "string" 1005 } 1006 }, 1007 "type": "object" 1008 }, 1009 "AddTargetedPublishersRequest": { 1010 "description": "A request to start targeting the provided publishers in a specific pretargeting configuration. The pretargeting configuration itself specifies how these publishers are targeted in PretargetingConfig.publisherTargeting.", 1011 "id": "AddTargetedPublishersRequest", 1012 "properties": { 1013 "publisherIds": { 1014 "description": "A list of publisher IDs to target in the pretargeting configuration. These values will be added to the list of targeted publisher IDs in PretargetingConfig.publisherTargeting.values. Publishers are identified by their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-txt/ and https://iabtechlab.com/app-ads-txt/ for more details.", 1015 "items": { 1016 "type": "string" 1017 }, 1018 "type": "array" 1019 }, 1020 "targetingMode": { 1021 "description": "Required. The targeting mode that should be applied to the list of publisher IDs. If are existing publisher IDs, must be equal to the existing PretargetingConfig.publisherTargeting.targetingMode or a 400 bad request error will be returned.", 1022 "enum": [ 1023 "TARGETING_MODE_UNSPECIFIED", 1024 "INCLUSIVE", 1025 "EXCLUSIVE" 1026 ], 1027 "enumDescriptions": [ 1028 "Placeholder for undefined targeting mode.", 1029 "The inclusive list type. Inventory must match an item in this list to be targeted.", 1030 "The exclusive list type. Inventory must not match any item in this list to be targeted." 1031 ], 1032 "type": "string" 1033 } 1034 }, 1035 "type": "object" 1036 }, 1037 "AddTargetedSitesRequest": { 1038 "description": "A request to start targeting the provided sites in a specific pretargeting configuration. The pretargeting configuration itself specifies how these sites are targeted in PretargetingConfig.webTargeting.", 1039 "id": "AddTargetedSitesRequest", 1040 "properties": { 1041 "sites": { 1042 "description": "A list of site URLs to target in the pretargeting configuration. These values will be added to the list of targeted URLs in PretargetingConfig.webTargeting.values.", 1043 "items": { 1044 "type": "string" 1045 }, 1046 "type": "array" 1047 }, 1048 "targetingMode": { 1049 "description": "Required. The targeting mode that should be applied to the list of site URLs. If there are existing targeted sites, must be equal to the existing PretargetingConfig.webTargeting.targetingMode or a 400 bad request error will be returned.", 1050 "enum": [ 1051 "TARGETING_MODE_UNSPECIFIED", 1052 "INCLUSIVE", 1053 "EXCLUSIVE" 1054 ], 1055 "enumDescriptions": [ 1056 "Placeholder for undefined targeting mode.", 1057 "The inclusive list type. Inventory must match an item in this list to be targeted.", 1058 "The exclusive list type. Inventory must not match any item in this list to be targeted." 1059 ], 1060 "type": "string" 1061 } 1062 }, 1063 "type": "object" 1064 }, 1065 "AdvertiserAndBrand": { 1066 "description": "Detected advertiser and brand information.", 1067 "id": "AdvertiserAndBrand", 1068 "properties": { 1069 "advertiserId": { 1070 "description": "See https://storage.googleapis.com/adx-rtb-dictionaries/advertisers.txt for the list of possible values. Can be used to filter the response of the creatives.list method.", 1071 "format": "int64", 1072 "type": "string" 1073 }, 1074 "advertiserName": { 1075 "description": "Advertiser name. Can be used to filter the response of the creatives.list method.", 1076 "type": "string" 1077 }, 1078 "brandId": { 1079 "description": "Detected brand ID or zero if no brand has been detected. See https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt for the list of possible values. Can be used to filter the response of the creatives.list method.", 1080 "format": "int64", 1081 "type": "string" 1082 }, 1083 "brandName": { 1084 "description": "Brand name. Can be used to filter the response of the creatives.list method.", 1085 "type": "string" 1086 } 1087 }, 1088 "type": "object" 1089 }, 1090 "AppTargeting": { 1091 "description": "A subset of app inventory to target. Bid requests that match criteria in at least one of the specified dimensions will be sent.", 1092 "id": "AppTargeting", 1093 "properties": { 1094 "mobileAppCategoryTargeting": { 1095 "$ref": "NumericTargetingDimension", 1096 "description": "Lists of included and excluded mobile app categories as defined in https://developers.google.com/adwords/api/docs/appendix/mobileappcategories.csv." 1097 }, 1098 "mobileAppTargeting": { 1099 "$ref": "StringTargetingDimension", 1100 "description": "Targeted app IDs. App IDs can refer to those found in an app store or ones that are not published in an app store. A maximum of 30,000 app IDs can be targeted." 1101 } 1102 }, 1103 "type": "object" 1104 }, 1105 "CloseUserListRequest": { 1106 "description": "A request to close a specified user list.", 1107 "id": "CloseUserListRequest", 1108 "properties": {}, 1109 "type": "object" 1110 }, 1111 "Creative": { 1112 "description": "A creative and its classification data.", 1113 "id": "Creative", 1114 "properties": { 1115 "accountId": { 1116 "description": "Output only. ID of the buyer account that this creative is owned by. Can be used to filter the response of the creatives.list method with equality and inequality check.", 1117 "format": "int64", 1118 "readOnly": true, 1119 "type": "string" 1120 }, 1121 "adChoicesDestinationUrl": { 1122 "description": "The link to AdChoices destination page. This is only supported for native ads.", 1123 "type": "string" 1124 }, 1125 "advertiserName": { 1126 "description": "The name of the company being advertised in the creative. Can be used to filter the response of the creatives.list method.", 1127 "type": "string" 1128 }, 1129 "agencyId": { 1130 "description": "The agency ID for this creative.", 1131 "format": "int64", 1132 "type": "string" 1133 }, 1134 "apiUpdateTime": { 1135 "description": "Output only. The last update timestamp of the creative via API.", 1136 "format": "google-datetime", 1137 "readOnly": true, 1138 "type": "string" 1139 }, 1140 "creativeFormat": { 1141 "description": "Output only. The format of this creative. Can be used to filter the response of the creatives.list method.", 1142 "enum": [ 1143 "CREATIVE_FORMAT_UNSPECIFIED", 1144 "HTML", 1145 "VIDEO", 1146 "NATIVE" 1147 ], 1148 "enumDescriptions": [ 1149 "The format is unknown.", 1150 "HTML creative.", 1151 "Video creative.", 1152 "Native creative." 1153 ], 1154 "readOnly": true, 1155 "type": "string" 1156 }, 1157 "creativeId": { 1158 "description": "Buyer-specific creative ID that references this creative in bid responses. This field is Ignored in update operations. Can be used to filter the response of the creatives.list method. The maximum length of the creative ID is 128 bytes.", 1159 "type": "string" 1160 }, 1161 "creativeServingDecision": { 1162 "$ref": "CreativeServingDecision", 1163 "description": "Output only. Top level status and detected attributes of a creative (for example domain, language, advertiser, product category, etc.) that affect whether (status) and where (context) a creative will be allowed to serve.", 1164 "readOnly": true 1165 }, 1166 "dealIds": { 1167 "description": "Output only. IDs of all of the deals with which this creative has been used in bidding. Can be used to filter the response of the creatives.list method.", 1168 "items": { 1169 "type": "string" 1170 }, 1171 "readOnly": true, 1172 "type": "array" 1173 }, 1174 "declaredAttributes": { 1175 "description": "All declared attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method. If the `excluded_attribute` field of a [bid request](https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto\") contains one of the attributes that were declared or detected for a given creative, and a bid is submitted with that creative, the bid will be filtered before the auction.", 1176 "items": { 1177 "enum": [ 1178 "ATTRIBUTE_UNSPECIFIED", 1179 "IMAGE_RICH_MEDIA", 1180 "ADOBE_FLASH_FLV", 1181 "IS_TAGGED", 1182 "IS_COOKIE_TARGETED", 1183 "IS_USER_INTEREST_TARGETED", 1184 "EXPANDING_DIRECTION_NONE", 1185 "EXPANDING_DIRECTION_UP", 1186 "EXPANDING_DIRECTION_DOWN", 1187 "EXPANDING_DIRECTION_LEFT", 1188 "EXPANDING_DIRECTION_RIGHT", 1189 "EXPANDING_DIRECTION_UP_LEFT", 1190 "EXPANDING_DIRECTION_UP_RIGHT", 1191 "EXPANDING_DIRECTION_DOWN_LEFT", 1192 "EXPANDING_DIRECTION_DOWN_RIGHT", 1193 "CREATIVE_TYPE_HTML", 1194 "CREATIVE_TYPE_VAST_VIDEO", 1195 "EXPANDING_DIRECTION_UP_OR_DOWN", 1196 "EXPANDING_DIRECTION_LEFT_OR_RIGHT", 1197 "EXPANDING_DIRECTION_ANY_DIAGONAL", 1198 "EXPANDING_ACTION_ROLLOVER_TO_EXPAND", 1199 "INSTREAM_VAST_VIDEO_TYPE_VPAID_FLASH", 1200 "RICH_MEDIA_CAPABILITY_TYPE_MRAID", 1201 "RICH_MEDIA_CAPABILITY_TYPE_FLASH", 1202 "RICH_MEDIA_CAPABILITY_TYPE_HTML5", 1203 "SKIPPABLE_INSTREAM_VIDEO", 1204 "RICH_MEDIA_CAPABILITY_TYPE_SSL", 1205 "RICH_MEDIA_CAPABILITY_TYPE_NON_SSL", 1206 "RICH_MEDIA_CAPABILITY_TYPE_INTERSTITIAL", 1207 "NON_SKIPPABLE_INSTREAM_VIDEO", 1208 "NATIVE_ELIGIBILITY_ELIGIBLE", 1209 "NON_VPAID", 1210 "NATIVE_ELIGIBILITY_NOT_ELIGIBLE", 1211 "ANY_INTERSTITIAL", 1212 "NON_INTERSTITIAL", 1213 "IN_BANNER_VIDEO", 1214 "RENDERING_SIZELESS_ADX", 1215 "OMSDK_1_0" 1216 ], 1217 "enumDescriptions": [ 1218 "Do not use. This is a placeholder value only.", 1219 "The creative is of type image/rich media. For pretargeting.", 1220 "The creative is of video type Adobe Flash FLV. For pretargeting.", 1221 "The creative is tagged.", 1222 "The creative is cookie targeted.", 1223 "The creative is user interest targeted.", 1224 "The creative does not expand.", 1225 "The creative expands up.", 1226 "The creative expands down.", 1227 "The creative expands left.", 1228 "The creative expands right.", 1229 "The creative expands up and left.", 1230 "The creative expands up and right.", 1231 "The creative expands down and left.", 1232 "The creative expands down and right.", 1233 "The creative type is HTML.", 1234 "The creative type is VAST video.", 1235 "The creative expands up or down.", 1236 "The creative expands left or right.", 1237 "The creative expands on any diagonal.", 1238 "The creative expands when rolled over.", 1239 "The instream vast video type is vpaid flash.", 1240 "The creative is MRAID.", 1241 "The creative is Flash.", 1242 "The creative is HTML5.", 1243 "The creative has an instream VAST video type of skippable instream video. For pretargeting.", 1244 "The creative is SSL.", 1245 "The creative is non-SSL.", 1246 "The creative is an interstitial.", 1247 "The creative has an instream VAST video type of non-skippable instream video. For pretargeting.", 1248 "The creative is eligible for native.", 1249 "The creative has an instream VAST video type of non-VPAID. For pretargeting.", 1250 "The creative is not eligible for native.", 1251 "The creative has an interstitial size of any interstitial. For pretargeting.", 1252 "The creative has an interstitial size of non interstitial. For pretargeting.", 1253 "The video type is in-banner video.", 1254 "The creative can dynamically resize to fill a variety of slot sizes.", 1255 "The open measurement SDK is supported." 1256 ], 1257 "type": "string" 1258 }, 1259 "type": "array" 1260 }, 1261 "declaredClickThroughUrls": { 1262 "description": "The set of declared destination URLs for the creative. Can be used to filter the response of the creatives.list method.", 1263 "items": { 1264 "type": "string" 1265 }, 1266 "type": "array" 1267 }, 1268 "declaredRestrictedCategories": { 1269 "description": "All declared restricted categories for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.", 1270 "items": { 1271 "enum": [ 1272 "RESTRICTED_CATEGORY_UNSPECIFIED", 1273 "ALCOHOL" 1274 ], 1275 "enumDescriptions": [ 1276 "Default value that should never be used.", 1277 "The alcohol restricted category." 1278 ], 1279 "type": "string" 1280 }, 1281 "type": "array" 1282 }, 1283 "declaredVendorIds": { 1284 "description": "IDs for the declared ad technology vendors that may be used by this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values. Can be used to filter the response of the creatives.list method.", 1285 "items": { 1286 "format": "int32", 1287 "type": "integer" 1288 }, 1289 "type": "array" 1290 }, 1291 "html": { 1292 "$ref": "HtmlContent", 1293 "description": "An HTML creative." 1294 }, 1295 "impressionTrackingUrls": { 1296 "description": "The set of URLs to be called to record an impression.", 1297 "items": { 1298 "type": "string" 1299 }, 1300 "type": "array" 1301 }, 1302 "name": { 1303 "description": "Output only. Name of the creative. Follows the pattern `buyers/{buyer}/creatives/{creative}`, where `{buyer}` represents the account ID of the buyer who owns the creative, and `{creative}` is the buyer-specific creative ID that references this creative in the bid response.", 1304 "readOnly": true, 1305 "type": "string" 1306 }, 1307 "native": { 1308 "$ref": "NativeContent", 1309 "description": "A native creative." 1310 }, 1311 "restrictedCategories": { 1312 "description": "All restricted categories for the ads that may be shown from this creative.", 1313 "items": { 1314 "enum": [ 1315 "RESTRICTED_CATEGORY_UNSPECIFIED", 1316 "ALCOHOL" 1317 ], 1318 "enumDescriptions": [ 1319 "Default value that should never be used.", 1320 "The alcohol restricted category." 1321 ], 1322 "type": "string" 1323 }, 1324 "type": "array" 1325 }, 1326 "version": { 1327 "description": "Output only. The version of this creative. Version for a new creative is 1 and it increments during subsequent creative updates.", 1328 "format": "int32", 1329 "readOnly": true, 1330 "type": "integer" 1331 }, 1332 "video": { 1333 "$ref": "VideoContent", 1334 "description": "A video creative." 1335 } 1336 }, 1337 "type": "object" 1338 }, 1339 "CreativeDimensions": { 1340 "description": "The dimensions of a creative. This applies to only HTML and Native creatives.", 1341 "id": "CreativeDimensions", 1342 "properties": { 1343 "height": { 1344 "description": "The height of the creative in pixels.", 1345 "format": "int64", 1346 "type": "string" 1347 }, 1348 "width": { 1349 "description": "The width of the creative in pixels.", 1350 "format": "int64", 1351 "type": "string" 1352 } 1353 }, 1354 "type": "object" 1355 }, 1356 "CreativeServingDecision": { 1357 "description": "Top level status and detected attributes of a creative.", 1358 "id": "CreativeServingDecision", 1359 "properties": { 1360 "chinaPolicyCompliance": { 1361 "$ref": "PolicyCompliance", 1362 "description": "The policy compliance of this creative in China. When approved or disapproved, this applies to both deals and open auction in China. When pending review, this creative is allowed to serve for deals but not for open auction." 1363 }, 1364 "dealsPolicyCompliance": { 1365 "$ref": "PolicyCompliance", 1366 "description": "Policy compliance of this creative when bidding on Programmatic Guaranteed and Preferred Deals (outside of Russia and China)." 1367 }, 1368 "detectedAdvertisers": { 1369 "description": "Detected advertisers and brands.", 1370 "items": { 1371 "$ref": "AdvertiserAndBrand" 1372 }, 1373 "type": "array" 1374 }, 1375 "detectedAttributes": { 1376 "description": "Publisher-excludable attributes that were detected for this creative. Can be used to filter the response of the creatives.list method. If the `excluded_attribute` field of a [bid request](https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto) contains one of the attributes that were declared or detected for a given creative, and a bid is submitted with that creative, the bid will be filtered before the auction.", 1377 "items": { 1378 "enum": [ 1379 "ATTRIBUTE_UNSPECIFIED", 1380 "IMAGE_RICH_MEDIA", 1381 "ADOBE_FLASH_FLV", 1382 "IS_TAGGED", 1383 "IS_COOKIE_TARGETED", 1384 "IS_USER_INTEREST_TARGETED", 1385 "EXPANDING_DIRECTION_NONE", 1386 "EXPANDING_DIRECTION_UP", 1387 "EXPANDING_DIRECTION_DOWN", 1388 "EXPANDING_DIRECTION_LEFT", 1389 "EXPANDING_DIRECTION_RIGHT", 1390 "EXPANDING_DIRECTION_UP_LEFT", 1391 "EXPANDING_DIRECTION_UP_RIGHT", 1392 "EXPANDING_DIRECTION_DOWN_LEFT", 1393 "EXPANDING_DIRECTION_DOWN_RIGHT", 1394 "CREATIVE_TYPE_HTML", 1395 "CREATIVE_TYPE_VAST_VIDEO", 1396 "EXPANDING_DIRECTION_UP_OR_DOWN", 1397 "EXPANDING_DIRECTION_LEFT_OR_RIGHT", 1398 "EXPANDING_DIRECTION_ANY_DIAGONAL", 1399 "EXPANDING_ACTION_ROLLOVER_TO_EXPAND", 1400 "INSTREAM_VAST_VIDEO_TYPE_VPAID_FLASH", 1401 "RICH_MEDIA_CAPABILITY_TYPE_MRAID", 1402 "RICH_MEDIA_CAPABILITY_TYPE_FLASH", 1403 "RICH_MEDIA_CAPABILITY_TYPE_HTML5", 1404 "SKIPPABLE_INSTREAM_VIDEO", 1405 "RICH_MEDIA_CAPABILITY_TYPE_SSL", 1406 "RICH_MEDIA_CAPABILITY_TYPE_NON_SSL", 1407 "RICH_MEDIA_CAPABILITY_TYPE_INTERSTITIAL", 1408 "NON_SKIPPABLE_INSTREAM_VIDEO", 1409 "NATIVE_ELIGIBILITY_ELIGIBLE", 1410 "NON_VPAID", 1411 "NATIVE_ELIGIBILITY_NOT_ELIGIBLE", 1412 "ANY_INTERSTITIAL", 1413 "NON_INTERSTITIAL", 1414 "IN_BANNER_VIDEO", 1415 "RENDERING_SIZELESS_ADX", 1416 "OMSDK_1_0" 1417 ], 1418 "enumDescriptions": [ 1419 "Do not use. This is a placeholder value only.", 1420 "The creative is of type image/rich media. For pretargeting.", 1421 "The creative is of video type Adobe Flash FLV. For pretargeting.", 1422 "The creative is tagged.", 1423 "The creative is cookie targeted.", 1424 "The creative is user interest targeted.", 1425 "The creative does not expand.", 1426 "The creative expands up.", 1427 "The creative expands down.", 1428 "The creative expands left.", 1429 "The creative expands right.", 1430 "The creative expands up and left.", 1431 "The creative expands up and right.", 1432 "The creative expands down and left.", 1433 "The creative expands down and right.", 1434 "The creative type is HTML.", 1435 "The creative type is VAST video.", 1436 "The creative expands up or down.", 1437 "The creative expands left or right.", 1438 "The creative expands on any diagonal.", 1439 "The creative expands when rolled over.", 1440 "The instream vast video type is vpaid flash.", 1441 "The creative is MRAID.", 1442 "The creative is Flash.", 1443 "The creative is HTML5.", 1444 "The creative has an instream VAST video type of skippable instream video. For pretargeting.", 1445 "The creative is SSL.", 1446 "The creative is non-SSL.", 1447 "The creative is an interstitial.", 1448 "The creative has an instream VAST video type of non-skippable instream video. For pretargeting.", 1449 "The creative is eligible for native.", 1450 "The creative has an instream VAST video type of non-VPAID. For pretargeting.", 1451 "The creative is not eligible for native.", 1452 "The creative has an interstitial size of any interstitial. For pretargeting.", 1453 "The creative has an interstitial size of non interstitial. For pretargeting.", 1454 "The video type is in-banner video.", 1455 "The creative can dynamically resize to fill a variety of slot sizes.", 1456 "The open measurement SDK is supported." 1457 ], 1458 "type": "string" 1459 }, 1460 "type": "array" 1461 }, 1462 "detectedClickThroughUrls": { 1463 "description": "The set of detected destination URLs for the creative. Can be used to filter the response of the creatives.list method.", 1464 "items": { 1465 "type": "string" 1466 }, 1467 "type": "array" 1468 }, 1469 "detectedDomains": { 1470 "description": "The detected domains for this creative.", 1471 "items": { 1472 "type": "string" 1473 }, 1474 "type": "array" 1475 }, 1476 "detectedLanguages": { 1477 "description": "The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes. Can be used to filter the response of the creatives.list method.", 1478 "items": { 1479 "type": "string" 1480 }, 1481 "type": "array" 1482 }, 1483 "detectedProductCategories": { 1484 "description": "Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs. Can be used to filter the response of the creatives.list method.", 1485 "items": { 1486 "format": "int32", 1487 "type": "integer" 1488 }, 1489 "type": "array" 1490 }, 1491 "detectedSensitiveCategories": { 1492 "description": "Detected sensitive categories, if any. Can be used to filter the response of the creatives.list method. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.", 1493 "items": { 1494 "format": "int32", 1495 "type": "integer" 1496 }, 1497 "type": "array" 1498 }, 1499 "detectedVendorIds": { 1500 "description": "IDs of the ad technology vendors that were detected to be used by this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values. Can be used to filter the response of the creatives.list method. If the `allowed_vendor_type` field of a [bid request](https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto) does not contain one of the vendor type IDs that were declared or detected for a given creative, and a bid is submitted with that creative, the bid will be filtered before the auction.", 1501 "items": { 1502 "format": "int32", 1503 "type": "integer" 1504 }, 1505 "type": "array" 1506 }, 1507 "lastStatusUpdate": { 1508 "description": "The last time the creative status was updated. Can be used to filter the response of the creatives.list method.", 1509 "format": "google-datetime", 1510 "type": "string" 1511 }, 1512 "networkPolicyCompliance": { 1513 "$ref": "PolicyCompliance", 1514 "description": "Policy compliance of this creative when bidding in open auction, private auction, or auction packages (outside of Russia and China)." 1515 }, 1516 "platformPolicyCompliance": { 1517 "$ref": "PolicyCompliance", 1518 "description": "Policy compliance of this creative when bidding in Open Bidding (outside of Russia and China). For the list of platform policies, see: https://support.google.com/platformspolicy/answer/3013851." 1519 }, 1520 "russiaPolicyCompliance": { 1521 "$ref": "PolicyCompliance", 1522 "description": "The policy compliance of this creative in Russia. When approved or disapproved, this applies to both deals and open auction in Russia. When pending review, this creative is allowed to serve for deals but not for open auction." 1523 } 1524 }, 1525 "type": "object" 1526 }, 1527 "Date": { 1528 "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", 1529 "id": "Date", 1530 "properties": { 1531 "day": { 1532 "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", 1533 "format": "int32", 1534 "type": "integer" 1535 }, 1536 "month": { 1537 "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", 1538 "format": "int32", 1539 "type": "integer" 1540 }, 1541 "year": { 1542 "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", 1543 "format": "int32", 1544 "type": "integer" 1545 } 1546 }, 1547 "type": "object" 1548 }, 1549 "DestinationNotCrawlableEvidence": { 1550 "description": "Evidence that the creative's destination URL was not crawlable by Google.", 1551 "id": "DestinationNotCrawlableEvidence", 1552 "properties": { 1553 "crawlTime": { 1554 "description": "Approximate time of the crawl.", 1555 "format": "google-datetime", 1556 "type": "string" 1557 }, 1558 "crawledUrl": { 1559 "description": "Destination URL that was attempted to be crawled.", 1560 "type": "string" 1561 }, 1562 "reason": { 1563 "description": "Reason of destination not crawlable.", 1564 "enum": [ 1565 "REASON_UNSPECIFIED", 1566 "UNREACHABLE_ROBOTS", 1567 "TIMEOUT_ROBOTS", 1568 "ROBOTED_DENIED", 1569 "UNKNOWN" 1570 ], 1571 "enumDescriptions": [ 1572 "Default value that should never be used.", 1573 "Site's robots exclusion file (e.g., robots.txt) was unreachable.", 1574 "Timed out reading site's robots exclusion file (e.g., robots.txt).", 1575 "Crawler was disallowed by the site's robots exclusion file (e.g., robots.txt).", 1576 "Unknown reason." 1577 ], 1578 "type": "string" 1579 } 1580 }, 1581 "type": "object" 1582 }, 1583 "DestinationNotWorkingEvidence": { 1584 "description": "Evidence of the creative's destination URL not functioning properly or having been incorrectly set up.", 1585 "id": "DestinationNotWorkingEvidence", 1586 "properties": { 1587 "dnsError": { 1588 "description": "DNS lookup errors.", 1589 "enum": [ 1590 "DNS_ERROR_UNSPECIFIED", 1591 "ERROR_DNS", 1592 "GOOGLE_CRAWLER_DNS_ISSUE" 1593 ], 1594 "enumDescriptions": [ 1595 "Default value that should never be used.", 1596 "DNS name was not found.", 1597 "An internal issue occurred when Google's crawler tried to resolve the DNS entry. This is a Google-internal issue and may not be the result of an issue with the landing page." 1598 ], 1599 "type": "string" 1600 }, 1601 "expandedUrl": { 1602 "description": "The full non-working URL.", 1603 "type": "string" 1604 }, 1605 "httpError": { 1606 "description": "HTTP error code (e.g. 404 or 5xx)", 1607 "format": "int32", 1608 "type": "integer" 1609 }, 1610 "invalidPage": { 1611 "description": "Page was crawled successfully, but was detected as either a page with no content or an error page.", 1612 "enum": [ 1613 "INVALID_PAGE_UNSPECIFIED", 1614 "EMPTY_OR_ERROR_PAGE" 1615 ], 1616 "enumDescriptions": [ 1617 "Default value that should never be used.", 1618 "Page was empty or had an error." 1619 ], 1620 "type": "string" 1621 }, 1622 "lastCheckTime": { 1623 "description": "Approximate time when the ad destination was last checked.", 1624 "format": "google-datetime", 1625 "type": "string" 1626 }, 1627 "platform": { 1628 "description": "Platform of the non-working URL.", 1629 "enum": [ 1630 "PLATFORM_UNSPECIFIED", 1631 "PERSONAL_COMPUTER", 1632 "ANDROID", 1633 "IOS" 1634 ], 1635 "enumDescriptions": [ 1636 "Default value that should never be used.", 1637 "The personal computer platform.", 1638 "The Android platform.", 1639 "The iOS platform." 1640 ], 1641 "type": "string" 1642 }, 1643 "redirectionError": { 1644 "description": "HTTP redirect chain error.", 1645 "enum": [ 1646 "REDIRECTION_ERROR_UNSPECIFIED", 1647 "TOO_MANY_REDIRECTS", 1648 "INVALID_REDIRECT", 1649 "EMPTY_REDIRECT", 1650 "REDIRECT_ERROR_UNKNOWN" 1651 ], 1652 "enumDescriptions": [ 1653 "Default value that should never be used.", 1654 "Too many redirect hops.", 1655 "Got a redirect but it was invalid.", 1656 "Got a redirect but it was empty.", 1657 "Unknown redirect error." 1658 ], 1659 "type": "string" 1660 }, 1661 "urlRejected": { 1662 "description": "Rejected because of malformed URLs or invalid requests.", 1663 "enum": [ 1664 "URL_REJECTED_UNSPECIFIED", 1665 "BAD_REQUEST", 1666 "MALFORMED_URL", 1667 "URL_REJECTED_UNKNOWN" 1668 ], 1669 "enumDescriptions": [ 1670 "Default value that should never be used.", 1671 "URL rejected because of a malformed request.", 1672 "URL rejected because of a malformed URL.", 1673 "URL rejected because of unknown reason." 1674 ], 1675 "type": "string" 1676 } 1677 }, 1678 "type": "object" 1679 }, 1680 "DestinationUrlEvidence": { 1681 "description": "The full landing page URL of the destination.", 1682 "id": "DestinationUrlEvidence", 1683 "properties": { 1684 "destinationUrl": { 1685 "description": "The full landing page URL of the destination.", 1686 "type": "string" 1687 } 1688 }, 1689 "type": "object" 1690 }, 1691 "DomainCallEvidence": { 1692 "description": "Number of HTTP calls made by a creative, broken down by domain.", 1693 "id": "DomainCallEvidence", 1694 "properties": { 1695 "topHttpCallDomains": { 1696 "description": "Breakdown of the most frequent domains called via HTTP by the creative.", 1697 "items": { 1698 "$ref": "DomainCalls" 1699 }, 1700 "type": "array" 1701 }, 1702 "totalHttpCallCount": { 1703 "description": "The total number of HTTP calls made by the creative, including but not limited to the number of calls in the top_http_call_domains.", 1704 "format": "int32", 1705 "type": "integer" 1706 } 1707 }, 1708 "type": "object" 1709 }, 1710 "DomainCalls": { 1711 "description": "The number of HTTP calls made to the given domain.", 1712 "id": "DomainCalls", 1713 "properties": { 1714 "domain": { 1715 "description": "The domain name.", 1716 "type": "string" 1717 }, 1718 "httpCallCount": { 1719 "description": "Number of HTTP calls made to the domain.", 1720 "format": "int32", 1721 "type": "integer" 1722 } 1723 }, 1724 "type": "object" 1725 }, 1726 "DownloadSizeEvidence": { 1727 "description": "Total download size and URL-level download size breakdown for resources in a creative.", 1728 "id": "DownloadSizeEvidence", 1729 "properties": { 1730 "topUrlDownloadSizeBreakdowns": { 1731 "description": "Download size broken down by URLs with the top download size.", 1732 "items": { 1733 "$ref": "UrlDownloadSize" 1734 }, 1735 "type": "array" 1736 }, 1737 "totalDownloadSizeKb": { 1738 "description": "Total download size (in kilobytes) for all the resources in the creative.", 1739 "format": "int32", 1740 "type": "integer" 1741 } 1742 }, 1743 "type": "object" 1744 }, 1745 "Empty": { 1746 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", 1747 "id": "Empty", 1748 "properties": {}, 1749 "type": "object" 1750 }, 1751 "GetRemarketingTagResponse": { 1752 "description": "Response for a request to get remarketing tag.", 1753 "id": "GetRemarketingTagResponse", 1754 "properties": { 1755 "snippet": { 1756 "description": "A HTML tag that can be placed on the advertiser's page to add users to a user list. For more information and code samples on using snippet on your website refer to [Tag your site for remarketing]( https://support.google.com/google-ads/answer/2476688).", 1757 "type": "string" 1758 } 1759 }, 1760 "type": "object" 1761 }, 1762 "HtmlContent": { 1763 "description": "HTML content for a creative.", 1764 "id": "HtmlContent", 1765 "properties": { 1766 "height": { 1767 "description": "The height of the HTML snippet in pixels. Can be used to filter the response of the creatives.list method.", 1768 "format": "int32", 1769 "type": "integer" 1770 }, 1771 "snippet": { 1772 "description": "The HTML snippet that displays the ad when inserted in the web page.", 1773 "type": "string" 1774 }, 1775 "width": { 1776 "description": "The width of the HTML snippet in pixels. Can be used to filter the response of the creatives.list method.", 1777 "format": "int32", 1778 "type": "integer" 1779 } 1780 }, 1781 "type": "object" 1782 }, 1783 "HttpCallEvidence": { 1784 "description": "HTTP calls made by a creative that resulted in policy violations.", 1785 "id": "HttpCallEvidence", 1786 "properties": { 1787 "urls": { 1788 "description": "URLs of HTTP calls made by the creative.", 1789 "items": { 1790 "type": "string" 1791 }, 1792 "type": "array" 1793 } 1794 }, 1795 "type": "object" 1796 }, 1797 "HttpCookieEvidence": { 1798 "description": "Evidence for HTTP cookie-related policy violations.", 1799 "id": "HttpCookieEvidence", 1800 "properties": { 1801 "cookieNames": { 1802 "description": "Names of cookies that violate Google policies. For TOO_MANY_COOKIES policy, this will be the cookie names of top domains with the largest number of cookies. For other policies, this will be all the cookie names that violate the policy.", 1803 "items": { 1804 "type": "string" 1805 }, 1806 "type": "array" 1807 }, 1808 "maxCookieCount": { 1809 "description": "The largest number of cookies set by a creative. If this field is set, cookie_names above will be set to the cookie names of top domains with the largest number of cookies. This field will only be set for TOO_MANY_COOKIES policy.", 1810 "format": "int32", 1811 "type": "integer" 1812 } 1813 }, 1814 "type": "object" 1815 }, 1816 "Image": { 1817 "description": "An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved.", 1818 "id": "Image", 1819 "properties": { 1820 "height": { 1821 "description": "Image height in pixels.", 1822 "format": "int32", 1823 "type": "integer" 1824 }, 1825 "url": { 1826 "description": "The URL of the image.", 1827 "type": "string" 1828 }, 1829 "width": { 1830 "description": "Image width in pixels.", 1831 "format": "int32", 1832 "type": "integer" 1833 } 1834 }, 1835 "type": "object" 1836 }, 1837 "ListCreativesResponse": { 1838 "description": "A response for listing creatives.", 1839 "id": "ListCreativesResponse", 1840 "properties": { 1841 "creatives": { 1842 "description": "The list of creatives.", 1843 "items": { 1844 "$ref": "Creative" 1845 }, 1846 "type": "array" 1847 }, 1848 "nextPageToken": { 1849 "description": "A token to retrieve the next page of results. Pass this value in the ListCreativesRequest.pageToken field in the subsequent call to the `ListCreatives` method to retrieve the next page of results.", 1850 "type": "string" 1851 } 1852 }, 1853 "type": "object" 1854 }, 1855 "ListPretargetingConfigsResponse": { 1856 "description": "A response containing pretargeting configurations.", 1857 "id": "ListPretargetingConfigsResponse", 1858 "properties": { 1859 "nextPageToken": { 1860 "description": "A token which can be passed to a subsequent call to the `ListPretargetingConfigs` method to retrieve the next page of results in ListPretargetingConfigsRequest.pageToken.", 1861 "type": "string" 1862 }, 1863 "pretargetingConfigs": { 1864 "description": "List of pretargeting configurations.", 1865 "items": { 1866 "$ref": "PretargetingConfig" 1867 }, 1868 "type": "array" 1869 } 1870 }, 1871 "type": "object" 1872 }, 1873 "ListUserListsResponse": { 1874 "description": "The list user list response.", 1875 "id": "ListUserListsResponse", 1876 "properties": { 1877 "nextPageToken": { 1878 "description": "The continuation page token to send back to the server in a subsequent request. Due to a currently known issue, it is recommended that the caller keep invoking the list method till the time a next page token is not returned (even if the result set is empty).", 1879 "type": "string" 1880 }, 1881 "userLists": { 1882 "description": "List of user lists from the search.", 1883 "items": { 1884 "$ref": "UserList" 1885 }, 1886 "type": "array" 1887 } 1888 }, 1889 "type": "object" 1890 }, 1891 "MediaFile": { 1892 "description": "Information about each media file in the VAST.", 1893 "id": "MediaFile", 1894 "properties": { 1895 "bitrate": { 1896 "description": "Bitrate of the video file, in Kbps. Can be used to filter the response of the creatives.list method.", 1897 "format": "int64", 1898 "type": "string" 1899 }, 1900 "mimeType": { 1901 "description": "The MIME type of this media file. Can be used to filter the response of the creatives.list method.", 1902 "enum": [ 1903 "VIDEO_MIME_TYPE_UNSPECIFIED", 1904 "MIME_VIDEO_XFLV", 1905 "MIME_VIDEO_WEBM", 1906 "MIME_VIDEO_MP4", 1907 "MIME_VIDEO_OGG", 1908 "MIME_VIDEO_YT_HOSTED", 1909 "MIME_VIDEO_X_MS_WMV", 1910 "MIME_VIDEO_3GPP", 1911 "MIME_VIDEO_MOV", 1912 "MIME_APPLICATION_SWF", 1913 "MIME_APPLICATION_SURVEY", 1914 "MIME_APPLICATION_JAVASCRIPT", 1915 "MIME_APPLICATION_SILVERLIGHT", 1916 "MIME_APPLICATION_MPEGURL", 1917 "MIME_APPLICATION_MPEGDASH", 1918 "MIME_AUDIO_MP4A", 1919 "MIME_AUDIO_MP3", 1920 "MIME_AUDIO_OGG" 1921 ], 1922 "enumDescriptions": [ 1923 "Default value that should never be used.", 1924 "Flash container.", 1925 "WebM container assuming VP9 codec.", 1926 "MPEG-4 container typically with H.264 codec.", 1927 "Ogg container assuming Theora codec.", 1928 "Video files hosted on YouTube.", 1929 "Windows Media Video Codec.", 1930 "3GPP container format used on 3G phones.", 1931 "Quicktime container format.", 1932 "Shockwave Flash (used for VPAID ads).", 1933 "Properties of VAST served by consumer survey.", 1934 "JavaScript (used for VPAID ads).", 1935 "Silverlight (used for VPAID ads).", 1936 "HLS/M3U8.", 1937 "DASH.", 1938 "MPEG-4 audio format.", 1939 "MPEG-3 audio format.", 1940 "Ogg audio format" 1941 ], 1942 "type": "string" 1943 } 1944 }, 1945 "type": "object" 1946 }, 1947 "NativeContent": { 1948 "description": "Native content for a creative.", 1949 "id": "NativeContent", 1950 "properties": { 1951 "advertiserName": { 1952 "description": "The name of the advertiser or sponsor, to be displayed in the ad creative.", 1953 "type": "string" 1954 }, 1955 "appIcon": { 1956 "$ref": "Image", 1957 "description": "The app icon, for app download ads." 1958 }, 1959 "body": { 1960 "description": "A long description of the ad.", 1961 "type": "string" 1962 }, 1963 "callToAction": { 1964 "description": "A label for the button that the user is supposed to click.", 1965 "type": "string" 1966 }, 1967 "clickLinkUrl": { 1968 "description": "The URL that the browser/SDK will load when the user clicks the ad.", 1969 "type": "string" 1970 }, 1971 "clickTrackingUrl": { 1972 "description": "The URL to use for click tracking.", 1973 "type": "string" 1974 }, 1975 "headline": { 1976 "description": "A short title for the ad.", 1977 "type": "string" 1978 }, 1979 "image": { 1980 "$ref": "Image", 1981 "description": "A large image." 1982 }, 1983 "logo": { 1984 "$ref": "Image", 1985 "description": "A smaller image, for the advertiser's logo." 1986 }, 1987 "priceDisplayText": { 1988 "description": "The price of the promoted app including currency info.", 1989 "type": "string" 1990 }, 1991 "starRating": { 1992 "description": "The app rating in the app store. Must be in the range [0-5].", 1993 "format": "double", 1994 "type": "number" 1995 }, 1996 "videoUrl": { 1997 "description": "The URL to fetch a native video ad.", 1998 "type": "string" 1999 } 2000 }, 2001 "type": "object" 2002 }, 2003 "NumericTargetingDimension": { 2004 "description": "Generic targeting used for targeting dimensions that contain a list of included and excluded numeric IDs used in app, user list, geo, and vertical id targeting.", 2005 "id": "NumericTargetingDimension", 2006 "properties": { 2007 "excludedIds": { 2008 "description": "The IDs excluded in a configuration.", 2009 "items": { 2010 "format": "int64", 2011 "type": "string" 2012 }, 2013 "type": "array" 2014 }, 2015 "includedIds": { 2016 "description": "The IDs included in a configuration.", 2017 "items": { 2018 "format": "int64", 2019 "type": "string" 2020 }, 2021 "type": "array" 2022 } 2023 }, 2024 "type": "object" 2025 }, 2026 "OpenUserListRequest": { 2027 "description": "A request to open a specified user list.", 2028 "id": "OpenUserListRequest", 2029 "properties": {}, 2030 "type": "object" 2031 }, 2032 "PolicyCompliance": { 2033 "description": "Policy compliance of the creative for a transaction type or a region.", 2034 "id": "PolicyCompliance", 2035 "properties": { 2036 "status": { 2037 "description": "Serving status for the given transaction type (e.g., open auction, deals) or region (e.g., China, Russia). Can be used to filter the response of the creatives.list method.", 2038 "enum": [ 2039 "STATUS_UNSPECIFIED", 2040 "PENDING_REVIEW", 2041 "DISAPPROVED", 2042 "APPROVED" 2043 ], 2044 "enumDescriptions": [ 2045 "Default value that should never be used.", 2046 "Creative is pending review.", 2047 "Creative cannot serve.", 2048 "Creative is approved." 2049 ], 2050 "type": "string" 2051 }, 2052 "topics": { 2053 "description": "Topics related to the policy compliance for this transaction type (e.g., open auction, deals) or region (e.g., China, Russia). Topics may be present only if status is DISAPPROVED.", 2054 "items": { 2055 "$ref": "PolicyTopicEntry" 2056 }, 2057 "type": "array" 2058 } 2059 }, 2060 "type": "object" 2061 }, 2062 "PolicyTopicEntry": { 2063 "description": "Each policy topic entry will represent a violation of a policy topic for a creative, with the policy topic information and optional evidence for the policy violation.", 2064 "id": "PolicyTopicEntry", 2065 "properties": { 2066 "evidences": { 2067 "description": "Pieces of evidence associated with this policy topic entry.", 2068 "items": { 2069 "$ref": "PolicyTopicEvidence" 2070 }, 2071 "type": "array" 2072 }, 2073 "helpCenterUrl": { 2074 "description": "URL of the help center article describing this policy topic.", 2075 "type": "string" 2076 }, 2077 "policyTopic": { 2078 "description": "Policy topic this entry refers to. For example, \"ALCOHOL\", \"TRADEMARKS_IN_AD_TEXT\", or \"DESTINATION_NOT_WORKING\". The set of possible policy topics is not fixed for a particular API version and may change at any time. Can be used to filter the response of the creatives.list method", 2079 "type": "string" 2080 } 2081 }, 2082 "type": "object" 2083 }, 2084 "PolicyTopicEvidence": { 2085 "description": "Evidence associated with a policy topic entry.", 2086 "id": "PolicyTopicEvidence", 2087 "properties": { 2088 "destinationNotCrawlable": { 2089 "$ref": "DestinationNotCrawlableEvidence", 2090 "description": "The creative's destination URL was not crawlable by Google." 2091 }, 2092 "destinationNotWorking": { 2093 "$ref": "DestinationNotWorkingEvidence", 2094 "description": "The creative's destination URL did not function properly or was incorrectly set up." 2095 }, 2096 "destinationUrl": { 2097 "$ref": "DestinationUrlEvidence", 2098 "description": "URL of the actual landing page." 2099 }, 2100 "domainCall": { 2101 "$ref": "DomainCallEvidence", 2102 "description": "Number of HTTP calls made by the creative, broken down by domain." 2103 }, 2104 "downloadSize": { 2105 "$ref": "DownloadSizeEvidence", 2106 "description": "Total download size and URL-level download size breakdown for resources in a creative." 2107 }, 2108 "httpCall": { 2109 "$ref": "HttpCallEvidence", 2110 "description": "HTTP calls made by the creative that resulted in policy violations." 2111 }, 2112 "httpCookie": { 2113 "$ref": "HttpCookieEvidence", 2114 "description": "Evidence for HTTP cookie-related policy violations." 2115 } 2116 }, 2117 "type": "object" 2118 }, 2119 "PretargetingConfig": { 2120 "description": "Pretargeting configuration: a set of targeting dimensions applied at the pretargeting stage of the RTB funnel. These control which inventory a bidder will receive bid requests for.", 2121 "id": "PretargetingConfig", 2122 "properties": { 2123 "allowedUserTargetingModes": { 2124 "description": "Targeting modes included by this configuration. A bid request must allow all the specified targeting modes. An unset value allows all bid requests to be sent, regardless of which targeting modes they allow.", 2125 "items": { 2126 "enum": [ 2127 "USER_TARGETING_MODE_UNSPECIFIED", 2128 "REMARKETING_ADS", 2129 "INTEREST_BASED_TARGETING" 2130 ], 2131 "enumDescriptions": [ 2132 "Placeholder for undefined user targeting mode.", 2133 "Remarketing ads are allowed to serve.", 2134 "Ads based on user interest category targeting are allowed to serve." 2135 ], 2136 "type": "string" 2137 }, 2138 "type": "array" 2139 }, 2140 "appTargeting": { 2141 "$ref": "AppTargeting", 2142 "description": "Targeting on a subset of app inventory. If APP is listed in targeted_environments, the specified targeting is applied. A maximum of 30,000 app IDs can be targeted. An unset value for targeting allows all app-based bid requests to be sent. Apps can either be targeting positively (bid requests will be sent only if the destination app is listed in the targeting dimension) or negatively (bid requests will be sent only if the destination app is not listed in the targeting dimension)." 2143 }, 2144 "billingId": { 2145 "description": "Output only. The identifier that corresponds to this pretargeting configuration that helps buyers track and attribute their spend across their own arbitrary divisions. If a bid request matches more than one configuration, the buyer chooses which billing_id to attribute each of their bids.", 2146 "format": "int64", 2147 "readOnly": true, 2148 "type": "string" 2149 }, 2150 "displayName": { 2151 "description": "The diplay name associated with this configuration. This name must be unique among all the pretargeting configurations a bidder has.", 2152 "type": "string" 2153 }, 2154 "excludedContentLabelIds": { 2155 "description": "The sensitive content category label IDs excluded in this configuration. Bid requests for inventory with any of the specified content label IDs will not be sent. Refer to this file https://storage.googleapis.com/adx-rtb-dictionaries/content-labels.txt for category IDs.", 2156 "items": { 2157 "format": "int64", 2158 "type": "string" 2159 }, 2160 "type": "array" 2161 }, 2162 "geoTargeting": { 2163 "$ref": "NumericTargetingDimension", 2164 "description": "The geos included or excluded in this configuration defined in https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv" 2165 }, 2166 "includedCreativeDimensions": { 2167 "description": "Creative dimensions included by this configuration. Only bid requests eligible for at least one of the specified creative dimensions will be sent. An unset value allows all bid requests to be sent, regardless of creative dimension.", 2168 "items": { 2169 "$ref": "CreativeDimensions" 2170 }, 2171 "type": "array" 2172 }, 2173 "includedEnvironments": { 2174 "description": "Environments that are being included. Bid requests will not be sent for a given environment if it is not included. Further restrictions can be applied to included environments to target only a subset of its inventory. An unset value includes all environments.", 2175 "items": { 2176 "enum": [ 2177 "ENVIRONMENT_UNSPECIFIED", 2178 "APP", 2179 "WEB" 2180 ], 2181 "enumDescriptions": [ 2182 "Placeholder for unspecified environment. This value should not be used.", 2183 "App environment.", 2184 "Web environment." 2185 ], 2186 "type": "string" 2187 }, 2188 "type": "array" 2189 }, 2190 "includedFormats": { 2191 "description": "Creative formats included by this configuration. Only bid requests eligible for at least one of the specified creative formats will be sent. An unset value will allow all bid requests to be sent, regardless of format.", 2192 "items": { 2193 "enum": [ 2194 "CREATIVE_FORMAT_UNSPECIFIED", 2195 "HTML", 2196 "VAST", 2197 "NATIVE" 2198 ], 2199 "enumDescriptions": [ 2200 "Placeholder for undefined creative format. This value should not be used.", 2201 "HTML and AMPHTML creatives.", 2202 "VAST video or audio creative.", 2203 "Native creative, including standard and video native ads." 2204 ], 2205 "type": "string" 2206 }, 2207 "type": "array" 2208 }, 2209 "includedLanguages": { 2210 "description": "The languages included in this configuration, represented by their language code. See https://developers.google.com/adwords/api/docs/appendix/languagecodes.", 2211 "items": { 2212 "type": "string" 2213 }, 2214 "type": "array" 2215 }, 2216 "includedMobileOperatingSystemIds": { 2217 "description": "The mobile operating systems included in this configuration as defined in https://storage.googleapis.com/adx-rtb-dictionaries/mobile-os.csv", 2218 "items": { 2219 "format": "int64", 2220 "type": "string" 2221 }, 2222 "type": "array" 2223 }, 2224 "includedPlatforms": { 2225 "description": "The platforms included by this configration. Bid requests for devices with the specified platform types will be sent. An unset value allows all bid requests to be sent, regardless of platform.", 2226 "items": { 2227 "enum": [ 2228 "PLATFORM_UNSPECIFIED", 2229 "PERSONAL_COMPUTER", 2230 "PHONE", 2231 "TABLET", 2232 "CONNECTED_TV" 2233 ], 2234 "enumDescriptions": [ 2235 "Placeholder for an undefined platform. This value should not be used.", 2236 "The personal computer platform.", 2237 "The mobile platform.", 2238 "The tablet platform.", 2239 "The connected TV platform." 2240 ], 2241 "type": "string" 2242 }, 2243 "type": "array" 2244 }, 2245 "includedUserIdTypes": { 2246 "description": "User identifier types included in this configuration. At least one of the user identifier types specified in this list must be available for the bid request to be sent.", 2247 "items": { 2248 "enum": [ 2249 "USER_ID_TYPE_UNSPECIFIED", 2250 "HOSTED_MATCH_DATA", 2251 "GOOGLE_COOKIE", 2252 "DEVICE_ID" 2253 ], 2254 "enumDescriptions": [ 2255 "Placeholder for unspecified user identifier.", 2256 "Hosted match data, referring to hosted_match_data in the bid request.", 2257 "Google cookie, referring to google_user_id in the bid request.", 2258 "Mobile device advertising ID." 2259 ], 2260 "type": "string" 2261 }, 2262 "type": "array" 2263 }, 2264 "interstitialTargeting": { 2265 "description": "The interstitial targeting specified for this configuration. The unset value will allow bid requests to be sent regardless of whether they are for interstitials or not.", 2266 "enum": [ 2267 "INTERSTITIAL_TARGETING_UNSPECIFIED", 2268 "ONLY_INTERSTITIAL_REQUESTS", 2269 "ONLY_NON_INTERSTITIAL_REQUESTS" 2270 ], 2271 "enumDescriptions": [ 2272 "Unspecified interstitial targeting. Represents an interstitial-agnostic selection.", 2273 "Only bid requests for interstitial inventory should be sent.", 2274 "Only bid requests for non-interstitial inventory should be sent." 2275 ], 2276 "type": "string" 2277 }, 2278 "invalidGeoIds": { 2279 "description": "Output only. Existing included or excluded geos that are invalid. Previously targeted geos may become invalid due to privacy restrictions.", 2280 "items": { 2281 "format": "int64", 2282 "type": "string" 2283 }, 2284 "readOnly": true, 2285 "type": "array" 2286 }, 2287 "maximumQps": { 2288 "description": "The maximum QPS threshold for this configuration. The bidder should receive no more than this number of bid requests matching this configuration per second across all their bidding endpoints among all trading locations. Further information available at https://developers.google.com/authorized-buyers/rtb/peer-guide", 2289 "format": "int64", 2290 "type": "string" 2291 }, 2292 "minimumViewabilityDecile": { 2293 "description": "The targeted minimum viewability decile, ranging in values [0, 10]. A value of 5 means that the configuration will only match adslots for which we predict at least 50% viewability. Values \u003e 10 will be rounded down to 10. An unset value or a value of 0 indicates that bid requests will be sent regardless of viewability.", 2294 "format": "int32", 2295 "type": "integer" 2296 }, 2297 "name": { 2298 "description": "Output only. Name of the pretargeting configuration that must follow the pattern `bidders/{bidder_account_id}/pretargetingConfigs/{config_id}`", 2299 "readOnly": true, 2300 "type": "string" 2301 }, 2302 "publisherTargeting": { 2303 "$ref": "StringTargetingDimension", 2304 "description": "Targeting on a subset of publisher inventory. Publishers can either be targeted positively (bid requests will be sent only if the publisher is listed in the targeting dimension) or negatively (bid requests will be sent only if the publisher is not listed in the targeting dimension). A maximum of 10,000 publisher IDs can be targeted. Publisher IDs are found in [ads.txt](https://iabtechlab.com/ads-txt/) / [app-ads.txt](https://iabtechlab.com/app-ads-txt/) and in bid requests in the `BidRequest.publisher_id` field on the [Google RTB protocol](https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto) or the `BidRequest.site.publisher.id` / `BidRequest.app.publisher.id` field on the [OpenRTB protocol](https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto)." 2305 }, 2306 "state": { 2307 "description": "Output only. The state of this pretargeting configuration.", 2308 "enum": [ 2309 "STATE_UNSPECIFIED", 2310 "ACTIVE", 2311 "SUSPENDED" 2312 ], 2313 "enumDescriptions": [ 2314 "Placeholder for undefined state.", 2315 "This pretargeting configuration is actively being used to filter bid requests.", 2316 "This pretargeting configuration is suspended and not used in serving." 2317 ], 2318 "readOnly": true, 2319 "type": "string" 2320 }, 2321 "userListTargeting": { 2322 "$ref": "NumericTargetingDimension", 2323 "description": "The remarketing lists included or excluded in this configuration as defined in UserList." 2324 }, 2325 "verticalTargeting": { 2326 "$ref": "NumericTargetingDimension", 2327 "description": "The verticals included or excluded in this configuration as defined in https://developers.google.com/authorized-buyers/rtb/downloads/publisher-verticals" 2328 }, 2329 "webTargeting": { 2330 "$ref": "StringTargetingDimension", 2331 "description": "Targeting on a subset of site inventory. If WEB is listed in included_environments, the specified targeting is applied. A maximum of 50,000 site URLs can be targeted. An unset value for targeting allows all web-based bid requests to be sent. Sites can either be targeting positively (bid requests will be sent only if the destination site is listed in the targeting dimension) or negatively (bid requests will be sent only if the destination site is not listed in the pretargeting configuration)." 2332 } 2333 }, 2334 "type": "object" 2335 }, 2336 "RemoveTargetedAppsRequest": { 2337 "description": "A request to stop targeting the provided apps in a specific pretargeting configuration. The pretargeting configuration itself specifies how these apps are targeted. in PretargetingConfig.appTargeting.mobileAppTargeting.", 2338 "id": "RemoveTargetedAppsRequest", 2339 "properties": { 2340 "appIds": { 2341 "description": "A list of app IDs to stop targeting in the pretargeting configuration. These values will be removed from the list of targeted app IDs in PretargetingConfig.appTargeting.mobileAppTargeting.values.", 2342 "items": { 2343 "type": "string" 2344 }, 2345 "type": "array" 2346 } 2347 }, 2348 "type": "object" 2349 }, 2350 "RemoveTargetedPublishersRequest": { 2351 "description": "A request to stop targeting publishers in a specific configuration. The pretargeting configuration itself specifies how these publishers are targeted in PretargetingConfig.publisherTargeting.", 2352 "id": "RemoveTargetedPublishersRequest", 2353 "properties": { 2354 "publisherIds": { 2355 "description": "A list of publisher IDs to stop targeting in the pretargeting configuration. These values will be removed from the list of targeted publisher IDs in PretargetingConfig.publisherTargeting.values. Publishers are identified by their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-txt/ and https://iabtechlab.com/app-ads-txt/ for more details.", 2356 "items": { 2357 "type": "string" 2358 }, 2359 "type": "array" 2360 } 2361 }, 2362 "type": "object" 2363 }, 2364 "RemoveTargetedSitesRequest": { 2365 "description": "A request to stop targeting sites in a specific pretargeting configuration. The pretargeting configuration itself specifies how these sites are targeted in PretargetingConfig.webTargeting.", 2366 "id": "RemoveTargetedSitesRequest", 2367 "properties": { 2368 "sites": { 2369 "description": "A list of site URLs to stop targeting in the pretargeting configuration. These values will be removed from the list of targeted URLs in PretargetingConfig.webTargeting.values.", 2370 "items": { 2371 "type": "string" 2372 }, 2373 "type": "array" 2374 } 2375 }, 2376 "type": "object" 2377 }, 2378 "StringTargetingDimension": { 2379 "description": "Generic targeting with string values used in app, website and publisher targeting.", 2380 "id": "StringTargetingDimension", 2381 "properties": { 2382 "targetingMode": { 2383 "description": "How the items in this list should be targeted.", 2384 "enum": [ 2385 "TARGETING_MODE_UNSPECIFIED", 2386 "INCLUSIVE", 2387 "EXCLUSIVE" 2388 ], 2389 "enumDescriptions": [ 2390 "Placeholder for undefined targeting mode.", 2391 "The inclusive list type. Inventory must match an item in this list to be targeted.", 2392 "The exclusive list type. Inventory must not match any item in this list to be targeted." 2393 ], 2394 "type": "string" 2395 }, 2396 "values": { 2397 "description": "The values specified.", 2398 "items": { 2399 "type": "string" 2400 }, 2401 "type": "array" 2402 } 2403 }, 2404 "type": "object" 2405 }, 2406 "SuspendPretargetingConfigRequest": { 2407 "description": "A request to suspend a pretargeting configuration. Sets the configuration's state to SUSPENDED.", 2408 "id": "SuspendPretargetingConfigRequest", 2409 "properties": {}, 2410 "type": "object" 2411 }, 2412 "UrlDownloadSize": { 2413 "description": "The URL-level breakdown for the download size.", 2414 "id": "UrlDownloadSize", 2415 "properties": { 2416 "downloadSizeKb": { 2417 "description": "Download size of the URL in kilobytes.", 2418 "format": "int32", 2419 "type": "integer" 2420 }, 2421 "normalizedUrl": { 2422 "description": "The normalized URL with query parameters and fragment removed.", 2423 "type": "string" 2424 } 2425 }, 2426 "type": "object" 2427 }, 2428 "UrlRestriction": { 2429 "description": "Represents the URL restriction (for the URL captured by the pixel callback) for a user list.", 2430 "id": "UrlRestriction", 2431 "properties": { 2432 "endDate": { 2433 "$ref": "Date", 2434 "description": "End date (if specified) of the URL restriction. End date should be later than the start date for the date range to be valid." 2435 }, 2436 "restrictionType": { 2437 "description": "The restriction type for the specified URL.", 2438 "enum": [ 2439 "RESTRICTION_TYPE_UNSPECIFIED", 2440 "CONTAINS", 2441 "EQUALS", 2442 "STARTS_WITH", 2443 "ENDS_WITH", 2444 "DOES_NOT_EQUAL", 2445 "DOES_NOT_CONTAIN", 2446 "DOES_NOT_START_WITH", 2447 "DOES_NOT_END_WITH" 2448 ], 2449 "enumDescriptions": [ 2450 "Default value that should never be used.", 2451 "The tag URL (as recorded by the pixel callback) contains the specified URL.", 2452 "The tag URL (as recorded by the pixel callback) exactly matches the specified URL.", 2453 "The tag URL (as recorded by the pixel callback) starts with the specified URL.", 2454 "The tag URL (as recorded by the pixel callback) ends with the specified URL.", 2455 "The tag URL (as recorded by the pixel callback) does not equal the specified URL.", 2456 "The tag URL (as recorded by the pixel callback) does not contain the specified URL.", 2457 "The tag URL (as recorded by the pixel callback) does not start with the specified URL.", 2458 "The tag URL (as recorded by the pixel callback) does not end with the specified URL." 2459 ], 2460 "type": "string" 2461 }, 2462 "startDate": { 2463 "$ref": "Date", 2464 "description": "Start date (if specified) of the URL restriction." 2465 }, 2466 "url": { 2467 "description": "Required. The URL to use for applying the restriction on the user list.", 2468 "type": "string" 2469 } 2470 }, 2471 "type": "object" 2472 }, 2473 "UserList": { 2474 "description": "Represents an Authorized Buyers user list. Authorized Buyers can create/update/list user lists. Once a user list is created in the system, Authorized Buyers can add users to the user list using the bulk uploader API. Alternatively, users can be added by hosting a tag on the advertiser's page.", 2475 "id": "UserList", 2476 "properties": { 2477 "description": { 2478 "description": "The description for the user list.", 2479 "type": "string" 2480 }, 2481 "displayName": { 2482 "description": "Required. Display name of the user list. This must be unique across all user lists for a given account.", 2483 "type": "string" 2484 }, 2485 "membershipDurationDays": { 2486 "description": "Required. The number of days a user's cookie stays on the user list. The field must be between 0 and 540 inclusive.", 2487 "format": "int64", 2488 "type": "string" 2489 }, 2490 "name": { 2491 "description": "Output only. Name of the user list that must follow the pattern `buyers/{buyer}/userLists/{user_list}`, where `{buyer}` represents the account ID of the buyer who owns the user list. For a bidder accessing user lists on behalf of a child seat buyer, `{buyer}` represents the account ID of the child seat buyer. `{user_list}` is an int64 identifier assigned by Google to uniquely identify a user list.", 2492 "readOnly": true, 2493 "type": "string" 2494 }, 2495 "status": { 2496 "description": "Output only. The status of the user list. A new user list starts out as open.", 2497 "enum": [ 2498 "STATUS_UNSPECIFIED", 2499 "OPEN", 2500 "CLOSED" 2501 ], 2502 "enumDescriptions": [ 2503 "Default value that should never be used.", 2504 "New users can be added to the user list.", 2505 "New users cannot be added to the user list." 2506 ], 2507 "readOnly": true, 2508 "type": "string" 2509 }, 2510 "urlRestriction": { 2511 "$ref": "UrlRestriction", 2512 "description": "Required. The URL restriction for the user list." 2513 } 2514 }, 2515 "type": "object" 2516 }, 2517 "VideoContent": { 2518 "description": "Video content for a creative.", 2519 "id": "VideoContent", 2520 "properties": { 2521 "videoMetadata": { 2522 "$ref": "VideoMetadata", 2523 "description": "Output only. Video metadata.", 2524 "readOnly": true 2525 }, 2526 "videoUrl": { 2527 "description": "The URL to fetch a video ad.", 2528 "type": "string" 2529 }, 2530 "videoVastXml": { 2531 "description": "The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.", 2532 "type": "string" 2533 } 2534 }, 2535 "type": "object" 2536 }, 2537 "VideoMetadata": { 2538 "description": "Video metadata for a creative.", 2539 "id": "VideoMetadata", 2540 "properties": { 2541 "duration": { 2542 "description": "The duration of the ad. Can be used to filter the response of the creatives.list method.", 2543 "format": "google-duration", 2544 "type": "string" 2545 }, 2546 "isValidVast": { 2547 "description": "Is this a valid VAST ad? Can be used to filter the response of the creatives.list method.", 2548 "type": "boolean" 2549 }, 2550 "isVpaid": { 2551 "description": "Is this a VPAID ad? Can be used to filter the response of the creatives.list method.", 2552 "type": "boolean" 2553 }, 2554 "mediaFiles": { 2555 "description": "The list of all media files declared in the VAST. If there are multiple VASTs in a wrapper chain, this includes the media files from the deepest one in the chain.", 2556 "items": { 2557 "$ref": "MediaFile" 2558 }, 2559 "type": "array" 2560 }, 2561 "skipOffset": { 2562 "description": "The minimum duration that the user has to watch before being able to skip this ad. If the field is not set, the ad is not skippable. If the field is set, the ad is skippable. Can be used to filter the response of the creatives.list method.", 2563 "format": "google-duration", 2564 "type": "string" 2565 }, 2566 "vastVersion": { 2567 "description": "The maximum VAST version across all wrapped VAST documents. Can be used to filter the response of the creatives.list method.", 2568 "enum": [ 2569 "VAST_VERSION_UNSPECIFIED", 2570 "VAST_VERSION_1_0", 2571 "VAST_VERSION_2_0", 2572 "VAST_VERSION_3_0", 2573 "VAST_VERSION_4_0" 2574 ], 2575 "enumDescriptions": [ 2576 "Default value that should never be used.", 2577 "VAST 1.0", 2578 "VAST 2.0", 2579 "VAST 3.0", 2580 "VAST 4.0" 2581 ], 2582 "type": "string" 2583 } 2584 }, 2585 "type": "object" 2586 }, 2587 "WatchCreativesRequest": { 2588 "description": "A request to receive push notifications when any of the creatives belonging to the bidder changes status.", 2589 "id": "WatchCreativesRequest", 2590 "properties": {}, 2591 "type": "object" 2592 }, 2593 "WatchCreativesResponse": { 2594 "description": "A response for the request to receive push notification when a bidder's creatives change status.", 2595 "id": "WatchCreativesResponse", 2596 "properties": { 2597 "subscription": { 2598 "description": "The Pub/Sub subscription that can be used to pull creative status notifications. This would be of the format `projects/{project_id}/subscriptions/{subscription_id}`. Subscription is created with pull delivery. All service accounts belonging to the bidder will have read access to this subscription. Subscriptions that are inactive for more than 90 days will be disabled. Please use watchCreatives to re-enable the subscription.", 2599 "type": "string" 2600 }, 2601 "topic": { 2602 "description": "The Pub/Sub topic that will be used to publish creative serving status notifications. This would be of the format `projects/{project_id}/topics/{topic_id}`.", 2603 "type": "string" 2604 } 2605 }, 2606 "type": "object" 2607 } 2608 }, 2609 "servicePath": "", 2610 "title": "Real-time Bidding API", 2611 "version": "v1", 2612 "version_module": true 2613}