1{
2  "auth": {
3    "oauth2": {
4      "scopes": {
5        "https://www.googleapis.com/auth/adexchange.buyer": {
6          "description": "Manage your Ad Exchange buyer account configuration"
7        }
8      }
9    }
10  },
11  "basePath": "",
12  "baseUrl": "https://adexchangebuyer.googleapis.com/",
13  "batchPath": "batch",
14  "canonicalName": "AdExchangeBuyerII",
15  "description": "Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.",
16  "discoveryVersion": "v1",
17  "documentationLink": "https://developers.google.com/authorized-buyers/apis/reference/rest/",
18  "icons": {
19    "x16": "http://www.google.com/images/icons/product/search-16.gif",
20    "x32": "http://www.google.com/images/icons/product/search-32.gif"
21  },
22  "id": "adexchangebuyer2:v2beta1",
23  "kind": "discovery#restDescription",
24  "mtlsRootUrl": "https://adexchangebuyer.mtls.googleapis.com/",
25  "name": "adexchangebuyer2",
26  "ownerDomain": "google.com",
27  "ownerName": "Google",
28  "parameters": {
29    "$.xgafv": {
30      "description": "V1 error format.",
31      "enum": [
32        "1",
33        "2"
34      ],
35      "enumDescriptions": [
36        "v1 error format",
37        "v2 error format"
38      ],
39      "location": "query",
40      "type": "string"
41    },
42    "access_token": {
43      "description": "OAuth access token.",
44      "location": "query",
45      "type": "string"
46    },
47    "alt": {
48      "default": "json",
49      "description": "Data format for response.",
50      "enum": [
51        "json",
52        "media",
53        "proto"
54      ],
55      "enumDescriptions": [
56        "Responses with Content-Type of application/json",
57        "Media download with context-dependent Content-Type",
58        "Responses with Content-Type of application/x-protobuf"
59      ],
60      "location": "query",
61      "type": "string"
62    },
63    "callback": {
64      "description": "JSONP",
65      "location": "query",
66      "type": "string"
67    },
68    "fields": {
69      "description": "Selector specifying which fields to include in a partial response.",
70      "location": "query",
71      "type": "string"
72    },
73    "key": {
74      "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.",
75      "location": "query",
76      "type": "string"
77    },
78    "oauth_token": {
79      "description": "OAuth 2.0 token for the current user.",
80      "location": "query",
81      "type": "string"
82    },
83    "prettyPrint": {
84      "default": "true",
85      "description": "Returns response with indentations and line breaks.",
86      "location": "query",
87      "type": "boolean"
88    },
89    "quotaUser": {
90      "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.",
91      "location": "query",
92      "type": "string"
93    },
94    "uploadType": {
95      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
96      "location": "query",
97      "type": "string"
98    },
99    "upload_protocol": {
100      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
101      "location": "query",
102      "type": "string"
103    }
104  },
105  "protocol": "rest",
106  "resources": {
107    "accounts": {
108      "resources": {
109        "clients": {
110          "methods": {
111            "create": {
112              "description": "Creates a new client buyer.",
113              "flatPath": "v2beta1/accounts/{accountId}/clients",
114              "httpMethod": "POST",
115              "id": "adexchangebuyer2.accounts.clients.create",
116              "parameterOrder": [
117                "accountId"
118              ],
119              "parameters": {
120                "accountId": {
121                  "description": "Unique numerical account ID for the buyer of which the client buyer\nis a customer; the sponsor buyer to create a client for. (required)",
122                  "format": "int64",
123                  "location": "path",
124                  "required": true,
125                  "type": "string"
126                }
127              },
128              "path": "v2beta1/accounts/{accountId}/clients",
129              "request": {
130                "$ref": "Client"
131              },
132              "response": {
133                "$ref": "Client"
134              },
135              "scopes": [
136                "https://www.googleapis.com/auth/adexchange.buyer"
137              ]
138            },
139            "get": {
140              "description": "Gets a client buyer with a given client account ID.",
141              "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
142              "httpMethod": "GET",
143              "id": "adexchangebuyer2.accounts.clients.get",
144              "parameterOrder": [
145                "accountId",
146                "clientAccountId"
147              ],
148              "parameters": {
149                "accountId": {
150                  "description": "Numerical account ID of the client's sponsor buyer. (required)",
151                  "format": "int64",
152                  "location": "path",
153                  "required": true,
154                  "type": "string"
155                },
156                "clientAccountId": {
157                  "description": "Numerical account ID of the client buyer to retrieve. (required)",
158                  "format": "int64",
159                  "location": "path",
160                  "required": true,
161                  "type": "string"
162                }
163              },
164              "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
165              "response": {
166                "$ref": "Client"
167              },
168              "scopes": [
169                "https://www.googleapis.com/auth/adexchange.buyer"
170              ]
171            },
172            "list": {
173              "description": "Lists all the clients for the current sponsor buyer.",
174              "flatPath": "v2beta1/accounts/{accountId}/clients",
175              "httpMethod": "GET",
176              "id": "adexchangebuyer2.accounts.clients.list",
177              "parameterOrder": [
178                "accountId"
179              ],
180              "parameters": {
181                "accountId": {
182                  "description": "Unique numerical account ID of the sponsor buyer to list the clients for.",
183                  "format": "int64",
184                  "location": "path",
185                  "required": true,
186                  "type": "string"
187                },
188                "pageSize": {
189                  "description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.",
190                  "format": "int32",
191                  "location": "query",
192                  "type": "integer"
193                },
194                "pageToken": {
195                  "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientsResponse.nextPageToken\nreturned from the previous call to the\naccounts.clients.list\nmethod.",
196                  "location": "query",
197                  "type": "string"
198                },
199                "partnerClientId": {
200                  "description": "Optional unique identifier (from the standpoint of an Ad Exchange sponsor\nbuyer partner) of the client to return.\nIf specified, at most one client will be returned in the response.",
201                  "location": "query",
202                  "type": "string"
203                }
204              },
205              "path": "v2beta1/accounts/{accountId}/clients",
206              "response": {
207                "$ref": "ListClientsResponse"
208              },
209              "scopes": [
210                "https://www.googleapis.com/auth/adexchange.buyer"
211              ]
212            },
213            "update": {
214              "description": "Updates an existing client buyer.",
215              "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
216              "httpMethod": "PUT",
217              "id": "adexchangebuyer2.accounts.clients.update",
218              "parameterOrder": [
219                "accountId",
220                "clientAccountId"
221              ],
222              "parameters": {
223                "accountId": {
224                  "description": "Unique numerical account ID for the buyer of which the client buyer\nis a customer; the sponsor buyer to update a client for. (required)",
225                  "format": "int64",
226                  "location": "path",
227                  "required": true,
228                  "type": "string"
229                },
230                "clientAccountId": {
231                  "description": "Unique numerical account ID of the client to update. (required)",
232                  "format": "int64",
233                  "location": "path",
234                  "required": true,
235                  "type": "string"
236                }
237              },
238              "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
239              "request": {
240                "$ref": "Client"
241              },
242              "response": {
243                "$ref": "Client"
244              },
245              "scopes": [
246                "https://www.googleapis.com/auth/adexchange.buyer"
247              ]
248            }
249          },
250          "resources": {
251            "invitations": {
252              "methods": {
253                "create": {
254                  "description": "Creates and sends out an email invitation to access\nan Ad Exchange client buyer account.",
255                  "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
256                  "httpMethod": "POST",
257                  "id": "adexchangebuyer2.accounts.clients.invitations.create",
258                  "parameterOrder": [
259                    "accountId",
260                    "clientAccountId"
261                  ],
262                  "parameters": {
263                    "accountId": {
264                      "description": "Numerical account ID of the client's sponsor buyer. (required)",
265                      "format": "int64",
266                      "location": "path",
267                      "required": true,
268                      "type": "string"
269                    },
270                    "clientAccountId": {
271                      "description": "Numerical account ID of the client buyer that the user\nshould be associated with. (required)",
272                      "format": "int64",
273                      "location": "path",
274                      "required": true,
275                      "type": "string"
276                    }
277                  },
278                  "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
279                  "request": {
280                    "$ref": "ClientUserInvitation"
281                  },
282                  "response": {
283                    "$ref": "ClientUserInvitation"
284                  },
285                  "scopes": [
286                    "https://www.googleapis.com/auth/adexchange.buyer"
287                  ]
288                },
289                "get": {
290                  "description": "Retrieves an existing client user invitation.",
291                  "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}",
292                  "httpMethod": "GET",
293                  "id": "adexchangebuyer2.accounts.clients.invitations.get",
294                  "parameterOrder": [
295                    "accountId",
296                    "clientAccountId",
297                    "invitationId"
298                  ],
299                  "parameters": {
300                    "accountId": {
301                      "description": "Numerical account ID of the client's sponsor buyer. (required)",
302                      "format": "int64",
303                      "location": "path",
304                      "required": true,
305                      "type": "string"
306                    },
307                    "clientAccountId": {
308                      "description": "Numerical account ID of the client buyer that the user invitation\nto be retrieved is associated with. (required)",
309                      "format": "int64",
310                      "location": "path",
311                      "required": true,
312                      "type": "string"
313                    },
314                    "invitationId": {
315                      "description": "Numerical identifier of the user invitation to retrieve. (required)",
316                      "format": "int64",
317                      "location": "path",
318                      "required": true,
319                      "type": "string"
320                    }
321                  },
322                  "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}",
323                  "response": {
324                    "$ref": "ClientUserInvitation"
325                  },
326                  "scopes": [
327                    "https://www.googleapis.com/auth/adexchange.buyer"
328                  ]
329                },
330                "list": {
331                  "description": "Lists all the client users invitations for a client\nwith a given account ID.",
332                  "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
333                  "httpMethod": "GET",
334                  "id": "adexchangebuyer2.accounts.clients.invitations.list",
335                  "parameterOrder": [
336                    "accountId",
337                    "clientAccountId"
338                  ],
339                  "parameters": {
340                    "accountId": {
341                      "description": "Numerical account ID of the client's sponsor buyer. (required)",
342                      "format": "int64",
343                      "location": "path",
344                      "required": true,
345                      "type": "string"
346                    },
347                    "clientAccountId": {
348                      "description": "Numerical account ID of the client buyer to list invitations for.\n(required)\nYou must either specify a string representation of a\nnumerical account identifier or the `-` character\nto list all the invitations for all the clients\nof a given sponsor buyer.",
349                      "location": "path",
350                      "required": true,
351                      "type": "string"
352                    },
353                    "pageSize": {
354                      "description": "Requested page size. Server may return fewer clients than requested.\nIf unspecified, server will pick an appropriate default.",
355                      "format": "int32",
356                      "location": "query",
357                      "type": "integer"
358                    },
359                    "pageToken": {
360                      "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientUserInvitationsResponse.nextPageToken\nreturned from the previous call to the\nclients.invitations.list\nmethod.",
361                      "location": "query",
362                      "type": "string"
363                    }
364                  },
365                  "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
366                  "response": {
367                    "$ref": "ListClientUserInvitationsResponse"
368                  },
369                  "scopes": [
370                    "https://www.googleapis.com/auth/adexchange.buyer"
371                  ]
372                }
373              }
374            },
375            "users": {
376              "methods": {
377                "get": {
378                  "description": "Retrieves an existing client user.",
379                  "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
380                  "httpMethod": "GET",
381                  "id": "adexchangebuyer2.accounts.clients.users.get",
382                  "parameterOrder": [
383                    "accountId",
384                    "clientAccountId",
385                    "userId"
386                  ],
387                  "parameters": {
388                    "accountId": {
389                      "description": "Numerical account ID of the client's sponsor buyer. (required)",
390                      "format": "int64",
391                      "location": "path",
392                      "required": true,
393                      "type": "string"
394                    },
395                    "clientAccountId": {
396                      "description": "Numerical account ID of the client buyer\nthat the user to be retrieved is associated with. (required)",
397                      "format": "int64",
398                      "location": "path",
399                      "required": true,
400                      "type": "string"
401                    },
402                    "userId": {
403                      "description": "Numerical identifier of the user to retrieve. (required)",
404                      "format": "int64",
405                      "location": "path",
406                      "required": true,
407                      "type": "string"
408                    }
409                  },
410                  "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
411                  "response": {
412                    "$ref": "ClientUser"
413                  },
414                  "scopes": [
415                    "https://www.googleapis.com/auth/adexchange.buyer"
416                  ]
417                },
418                "list": {
419                  "description": "Lists all the known client users for a specified\nsponsor buyer account ID.",
420                  "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users",
421                  "httpMethod": "GET",
422                  "id": "adexchangebuyer2.accounts.clients.users.list",
423                  "parameterOrder": [
424                    "accountId",
425                    "clientAccountId"
426                  ],
427                  "parameters": {
428                    "accountId": {
429                      "description": "Numerical account ID of the sponsor buyer of the client to list users for.\n(required)",
430                      "format": "int64",
431                      "location": "path",
432                      "required": true,
433                      "type": "string"
434                    },
435                    "clientAccountId": {
436                      "description": "The account ID of the client buyer to list users for. (required)\nYou must specify either a string representation of a\nnumerical account identifier or the `-` character\nto list all the client users for all the clients\nof a given sponsor buyer.",
437                      "location": "path",
438                      "required": true,
439                      "type": "string"
440                    },
441                    "pageSize": {
442                      "description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.",
443                      "format": "int32",
444                      "location": "query",
445                      "type": "integer"
446                    },
447                    "pageToken": {
448                      "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientUsersResponse.nextPageToken\nreturned from the previous call to the\naccounts.clients.users.list\nmethod.",
449                      "location": "query",
450                      "type": "string"
451                    }
452                  },
453                  "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users",
454                  "response": {
455                    "$ref": "ListClientUsersResponse"
456                  },
457                  "scopes": [
458                    "https://www.googleapis.com/auth/adexchange.buyer"
459                  ]
460                },
461                "update": {
462                  "description": "Updates an existing client user.\nOnly the user status can be changed on update.",
463                  "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
464                  "httpMethod": "PUT",
465                  "id": "adexchangebuyer2.accounts.clients.users.update",
466                  "parameterOrder": [
467                    "accountId",
468                    "clientAccountId",
469                    "userId"
470                  ],
471                  "parameters": {
472                    "accountId": {
473                      "description": "Numerical account ID of the client's sponsor buyer. (required)",
474                      "format": "int64",
475                      "location": "path",
476                      "required": true,
477                      "type": "string"
478                    },
479                    "clientAccountId": {
480                      "description": "Numerical account ID of the client buyer that the user to be retrieved\nis associated with. (required)",
481                      "format": "int64",
482                      "location": "path",
483                      "required": true,
484                      "type": "string"
485                    },
486                    "userId": {
487                      "description": "Numerical identifier of the user to retrieve. (required)",
488                      "format": "int64",
489                      "location": "path",
490                      "required": true,
491                      "type": "string"
492                    }
493                  },
494                  "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
495                  "request": {
496                    "$ref": "ClientUser"
497                  },
498                  "response": {
499                    "$ref": "ClientUser"
500                  },
501                  "scopes": [
502                    "https://www.googleapis.com/auth/adexchange.buyer"
503                  ]
504                }
505              }
506            }
507          }
508        },
509        "creatives": {
510          "methods": {
511            "create": {
512              "description": "Creates a creative.",
513              "flatPath": "v2beta1/accounts/{accountId}/creatives",
514              "httpMethod": "POST",
515              "id": "adexchangebuyer2.accounts.creatives.create",
516              "parameterOrder": [
517                "accountId"
518              ],
519              "parameters": {
520                "accountId": {
521                  "description": "The account that this creative belongs to.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
522                  "location": "path",
523                  "required": true,
524                  "type": "string"
525                },
526                "duplicateIdMode": {
527                  "description": "Indicates if multiple creatives can share an ID or not. Default is\nNO_DUPLICATES (one ID per creative).",
528                  "enum": [
529                    "NO_DUPLICATES",
530                    "FORCE_ENABLE_DUPLICATE_IDS"
531                  ],
532                  "location": "query",
533                  "type": "string"
534                }
535              },
536              "path": "v2beta1/accounts/{accountId}/creatives",
537              "request": {
538                "$ref": "Creative"
539              },
540              "response": {
541                "$ref": "Creative"
542              },
543              "scopes": [
544                "https://www.googleapis.com/auth/adexchange.buyer"
545              ]
546            },
547            "get": {
548              "description": "Gets a creative.",
549              "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}",
550              "httpMethod": "GET",
551              "id": "adexchangebuyer2.accounts.creatives.get",
552              "parameterOrder": [
553                "accountId",
554                "creativeId"
555              ],
556              "parameters": {
557                "accountId": {
558                  "description": "The account the creative belongs to.",
559                  "location": "path",
560                  "required": true,
561                  "type": "string"
562                },
563                "creativeId": {
564                  "description": "The ID of the creative to retrieve.",
565                  "location": "path",
566                  "required": true,
567                  "type": "string"
568                }
569              },
570              "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}",
571              "response": {
572                "$ref": "Creative"
573              },
574              "scopes": [
575                "https://www.googleapis.com/auth/adexchange.buyer"
576              ]
577            },
578            "list": {
579              "description": "Lists creatives.",
580              "flatPath": "v2beta1/accounts/{accountId}/creatives",
581              "httpMethod": "GET",
582              "id": "adexchangebuyer2.accounts.creatives.list",
583              "parameterOrder": [
584                "accountId"
585              ],
586              "parameters": {
587                "accountId": {
588                  "description": "The account to list the creatives from.\nSpecify \"-\" to list all creatives the current user has access to.",
589                  "location": "path",
590                  "required": true,
591                  "type": "string"
592                },
593                "pageSize": {
594                  "description": "Requested page size. The server may return fewer creatives than requested\n(due to timeout constraint) even if more are available via another call.\nIf unspecified, server will pick an appropriate default.\nAcceptable values are 1 to 1000, inclusive.",
595                  "format": "int32",
596                  "location": "query",
597                  "type": "integer"
598                },
599                "pageToken": {
600                  "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListCreativesResponse.next_page_token\nreturned from the previous call to 'ListCreatives' method.",
601                  "location": "query",
602                  "type": "string"
603                },
604                "query": {
605                  "description": "An optional query string to filter creatives. If no filter is specified,\nall active creatives will be returned.\n\u003cp\u003eSupported queries are:\n\u003cul\u003e\n\u003cli\u003eaccountId=\u003ci\u003eaccount_id_string\u003c/i\u003e\n\u003cli\u003ecreativeId=\u003ci\u003ecreative_id_string\u003c/i\u003e\n\u003cli\u003edealsStatus: {approved, conditionally_approved, disapproved,\n                   not_checked}\n\u003cli\u003eopenAuctionStatus: {approved, conditionally_approved, disapproved,\n                          not_checked}\n\u003cli\u003eattribute: {a numeric attribute from the list of attributes}\n\u003cli\u003edisapprovalReason: {a reason from\nDisapprovalReason}\n\u003c/ul\u003e\nExample: 'accountId=12345 AND (dealsStatus:disapproved AND\ndisapprovalReason:unacceptable_content) OR attribute:47'",
606                  "location": "query",
607                  "type": "string"
608                }
609              },
610              "path": "v2beta1/accounts/{accountId}/creatives",
611              "response": {
612                "$ref": "ListCreativesResponse"
613              },
614              "scopes": [
615                "https://www.googleapis.com/auth/adexchange.buyer"
616              ]
617            },
618            "stopWatching": {
619              "description": "Stops watching a creative. Will stop push notifications being sent to the\ntopics when the creative changes status.",
620              "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching",
621              "httpMethod": "POST",
622              "id": "adexchangebuyer2.accounts.creatives.stopWatching",
623              "parameterOrder": [
624                "accountId",
625                "creativeId"
626              ],
627              "parameters": {
628                "accountId": {
629                  "description": "The account of the creative to stop notifications for.",
630                  "location": "path",
631                  "required": true,
632                  "type": "string"
633                },
634                "creativeId": {
635                  "description": "The creative ID of the creative to stop notifications for.\nSpecify \"-\" to specify stopping account level notifications.",
636                  "location": "path",
637                  "required": true,
638                  "type": "string"
639                }
640              },
641              "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching",
642              "request": {
643                "$ref": "StopWatchingCreativeRequest"
644              },
645              "response": {
646                "$ref": "Empty"
647              },
648              "scopes": [
649                "https://www.googleapis.com/auth/adexchange.buyer"
650              ]
651            },
652            "update": {
653              "description": "Updates a creative.",
654              "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}",
655              "httpMethod": "PUT",
656              "id": "adexchangebuyer2.accounts.creatives.update",
657              "parameterOrder": [
658                "accountId",
659                "creativeId"
660              ],
661              "parameters": {
662                "accountId": {
663                  "description": "The account that this creative belongs to.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
664                  "location": "path",
665                  "required": true,
666                  "type": "string"
667                },
668                "creativeId": {
669                  "description": "The buyer-defined creative ID of this creative.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
670                  "location": "path",
671                  "required": true,
672                  "type": "string"
673                }
674              },
675              "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}",
676              "request": {
677                "$ref": "Creative"
678              },
679              "response": {
680                "$ref": "Creative"
681              },
682              "scopes": [
683                "https://www.googleapis.com/auth/adexchange.buyer"
684              ]
685            },
686            "watch": {
687              "description": "Watches a creative. Will result in push notifications being sent to the\ntopic when the creative changes status.",
688              "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}:watch",
689              "httpMethod": "POST",
690              "id": "adexchangebuyer2.accounts.creatives.watch",
691              "parameterOrder": [
692                "accountId",
693                "creativeId"
694              ],
695              "parameters": {
696                "accountId": {
697                  "description": "The account of the creative to watch.",
698                  "location": "path",
699                  "required": true,
700                  "type": "string"
701                },
702                "creativeId": {
703                  "description": "The creative ID to watch for status changes.\nSpecify \"-\" to watch all creatives under the above account.\nIf both creative-level and account-level notifications are\nsent, only a single notification will be sent to the\ncreative-level notification topic.",
704                  "location": "path",
705                  "required": true,
706                  "type": "string"
707                }
708              },
709              "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}:watch",
710              "request": {
711                "$ref": "WatchCreativeRequest"
712              },
713              "response": {
714                "$ref": "Empty"
715              },
716              "scopes": [
717                "https://www.googleapis.com/auth/adexchange.buyer"
718              ]
719            }
720          },
721          "resources": {
722            "dealAssociations": {
723              "methods": {
724                "add": {
725                  "description": "Associate an existing deal with a creative.",
726                  "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add",
727                  "httpMethod": "POST",
728                  "id": "adexchangebuyer2.accounts.creatives.dealAssociations.add",
729                  "parameterOrder": [
730                    "accountId",
731                    "creativeId"
732                  ],
733                  "parameters": {
734                    "accountId": {
735                      "description": "The account the creative belongs to.",
736                      "location": "path",
737                      "required": true,
738                      "type": "string"
739                    },
740                    "creativeId": {
741                      "description": "The ID of the creative associated with the deal.",
742                      "location": "path",
743                      "required": true,
744                      "type": "string"
745                    }
746                  },
747                  "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add",
748                  "request": {
749                    "$ref": "AddDealAssociationRequest"
750                  },
751                  "response": {
752                    "$ref": "Empty"
753                  },
754                  "scopes": [
755                    "https://www.googleapis.com/auth/adexchange.buyer"
756                  ]
757                },
758                "list": {
759                  "description": "List all creative-deal associations.",
760                  "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations",
761                  "httpMethod": "GET",
762                  "id": "adexchangebuyer2.accounts.creatives.dealAssociations.list",
763                  "parameterOrder": [
764                    "accountId",
765                    "creativeId"
766                  ],
767                  "parameters": {
768                    "accountId": {
769                      "description": "The account to list the associations from.\nSpecify \"-\" to list all creatives the current user has access to.",
770                      "location": "path",
771                      "required": true,
772                      "type": "string"
773                    },
774                    "creativeId": {
775                      "description": "The creative ID to list the associations from.\nSpecify \"-\" to list all creatives under the above account.",
776                      "location": "path",
777                      "required": true,
778                      "type": "string"
779                    },
780                    "pageSize": {
781                      "description": "Requested page size. Server may return fewer associations than requested.\nIf unspecified, server will pick an appropriate default.",
782                      "format": "int32",
783                      "location": "query",
784                      "type": "integer"
785                    },
786                    "pageToken": {
787                      "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListDealAssociationsResponse.next_page_token\nreturned from the previous call to 'ListDealAssociations' method.",
788                      "location": "query",
789                      "type": "string"
790                    },
791                    "query": {
792                      "description": "An optional query string to filter deal associations. If no filter is\nspecified, all associations will be returned.\nSupported queries are:\n\u003cul\u003e\n\u003cli\u003eaccountId=\u003ci\u003eaccount_id_string\u003c/i\u003e\n\u003cli\u003ecreativeId=\u003ci\u003ecreative_id_string\u003c/i\u003e\n\u003cli\u003edealsId=\u003ci\u003edeals_id_string\u003c/i\u003e\n\u003cli\u003edealsStatus:{approved, conditionally_approved, disapproved,\n                  not_checked}\n\u003cli\u003eopenAuctionStatus:{approved, conditionally_approved, disapproved,\n                         not_checked}\n\u003c/ul\u003e\nExample: 'dealsId=12345 AND dealsStatus:disapproved'",
793                      "location": "query",
794                      "type": "string"
795                    }
796                  },
797                  "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations",
798                  "response": {
799                    "$ref": "ListDealAssociationsResponse"
800                  },
801                  "scopes": [
802                    "https://www.googleapis.com/auth/adexchange.buyer"
803                  ]
804                },
805                "remove": {
806                  "description": "Remove the association between a deal and a creative.",
807                  "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove",
808                  "httpMethod": "POST",
809                  "id": "adexchangebuyer2.accounts.creatives.dealAssociations.remove",
810                  "parameterOrder": [
811                    "accountId",
812                    "creativeId"
813                  ],
814                  "parameters": {
815                    "accountId": {
816                      "description": "The account the creative belongs to.",
817                      "location": "path",
818                      "required": true,
819                      "type": "string"
820                    },
821                    "creativeId": {
822                      "description": "The ID of the creative associated with the deal.",
823                      "location": "path",
824                      "required": true,
825                      "type": "string"
826                    }
827                  },
828                  "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove",
829                  "request": {
830                    "$ref": "RemoveDealAssociationRequest"
831                  },
832                  "response": {
833                    "$ref": "Empty"
834                  },
835                  "scopes": [
836                    "https://www.googleapis.com/auth/adexchange.buyer"
837                  ]
838                }
839              }
840            }
841          }
842        },
843        "finalizedProposals": {
844          "methods": {
845            "list": {
846              "description": "List finalized proposals, regardless if a proposal is being renegotiated.\nA filter expression (PQL query) may be specified to filter the results.\nThe notes will not be returned.",
847              "flatPath": "v2beta1/accounts/{accountId}/finalizedProposals",
848              "httpMethod": "GET",
849              "id": "adexchangebuyer2.accounts.finalizedProposals.list",
850              "parameterOrder": [
851                "accountId"
852              ],
853              "parameters": {
854                "accountId": {
855                  "description": "Account ID of the buyer.",
856                  "location": "path",
857                  "required": true,
858                  "type": "string"
859                },
860                "filter": {
861                  "description": "An optional PQL filter query used to query for proposals.\n\nNested repeated fields, such as proposal.deals.targetingCriterion,\ncannot be filtered.",
862                  "location": "query",
863                  "type": "string"
864                },
865                "filterSyntax": {
866                  "description": "Syntax the filter is written in. Current implementation defaults to PQL\nbut in the future it will be LIST_FILTER.",
867                  "enum": [
868                    "FILTER_SYNTAX_UNSPECIFIED",
869                    "PQL",
870                    "LIST_FILTER"
871                  ],
872                  "location": "query",
873                  "type": "string"
874                },
875                "pageSize": {
876                  "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
877                  "format": "int32",
878                  "location": "query",
879                  "type": "integer"
880                },
881                "pageToken": {
882                  "description": "The page token as returned from ListProposalsResponse.",
883                  "location": "query",
884                  "type": "string"
885                }
886              },
887              "path": "v2beta1/accounts/{accountId}/finalizedProposals",
888              "response": {
889                "$ref": "ListProposalsResponse"
890              },
891              "scopes": [
892                "https://www.googleapis.com/auth/adexchange.buyer"
893              ]
894            }
895          }
896        },
897        "products": {
898          "methods": {
899            "get": {
900              "description": "Gets the requested product by ID.",
901              "flatPath": "v2beta1/accounts/{accountId}/products/{productId}",
902              "httpMethod": "GET",
903              "id": "adexchangebuyer2.accounts.products.get",
904              "parameterOrder": [
905                "accountId",
906                "productId"
907              ],
908              "parameters": {
909                "accountId": {
910                  "description": "Account ID of the buyer.",
911                  "location": "path",
912                  "required": true,
913                  "type": "string"
914                },
915                "productId": {
916                  "description": "The ID for the product to get the head revision for.",
917                  "location": "path",
918                  "required": true,
919                  "type": "string"
920                }
921              },
922              "path": "v2beta1/accounts/{accountId}/products/{productId}",
923              "response": {
924                "$ref": "Product"
925              },
926              "scopes": [
927                "https://www.googleapis.com/auth/adexchange.buyer"
928              ]
929            },
930            "list": {
931              "description": "List all products visible to the buyer (optionally filtered by the\nspecified PQL query).",
932              "flatPath": "v2beta1/accounts/{accountId}/products",
933              "httpMethod": "GET",
934              "id": "adexchangebuyer2.accounts.products.list",
935              "parameterOrder": [
936                "accountId"
937              ],
938              "parameters": {
939                "accountId": {
940                  "description": "Account ID of the buyer.",
941                  "location": "path",
942                  "required": true,
943                  "type": "string"
944                },
945                "filter": {
946                  "description": "An optional PQL query used to query for products. See\nhttps://developers.google.com/ad-manager/docs/pqlreference\nfor documentation about PQL and examples.\n\nNested repeated fields, such as product.targetingCriterion.inclusions,\ncannot be filtered.",
947                  "location": "query",
948                  "type": "string"
949                },
950                "pageSize": {
951                  "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
952                  "format": "int32",
953                  "location": "query",
954                  "type": "integer"
955                },
956                "pageToken": {
957                  "description": "The page token as returned from ListProductsResponse.",
958                  "location": "query",
959                  "type": "string"
960                }
961              },
962              "path": "v2beta1/accounts/{accountId}/products",
963              "response": {
964                "$ref": "ListProductsResponse"
965              },
966              "scopes": [
967                "https://www.googleapis.com/auth/adexchange.buyer"
968              ]
969            }
970          }
971        },
972        "proposals": {
973          "methods": {
974            "accept": {
975              "description": "Mark the proposal as accepted at the given revision number. If the number\ndoes not match the server's revision number an `ABORTED` error message will\nbe returned. This call updates the proposal_state from `PROPOSED` to\n`BUYER_ACCEPTED`, or from `SELLER_ACCEPTED` to `FINALIZED`.",
976              "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}:accept",
977              "httpMethod": "POST",
978              "id": "adexchangebuyer2.accounts.proposals.accept",
979              "parameterOrder": [
980                "accountId",
981                "proposalId"
982              ],
983              "parameters": {
984                "accountId": {
985                  "description": "Account ID of the buyer.",
986                  "location": "path",
987                  "required": true,
988                  "type": "string"
989                },
990                "proposalId": {
991                  "description": "The ID of the proposal to accept.",
992                  "location": "path",
993                  "required": true,
994                  "type": "string"
995                }
996              },
997              "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}:accept",
998              "request": {
999                "$ref": "AcceptProposalRequest"
1000              },
1001              "response": {
1002                "$ref": "Proposal"
1003              },
1004              "scopes": [
1005                "https://www.googleapis.com/auth/adexchange.buyer"
1006              ]
1007            },
1008            "addNote": {
1009              "description": "Create a new note and attach it to the proposal. The note is assigned\na unique ID by the server.\nThe proposal revision number will not increase when associated with a\nnew note.",
1010              "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote",
1011              "httpMethod": "POST",
1012              "id": "adexchangebuyer2.accounts.proposals.addNote",
1013              "parameterOrder": [
1014                "accountId",
1015                "proposalId"
1016              ],
1017              "parameters": {
1018                "accountId": {
1019                  "description": "Account ID of the buyer.",
1020                  "location": "path",
1021                  "required": true,
1022                  "type": "string"
1023                },
1024                "proposalId": {
1025                  "description": "The ID of the proposal to attach the note to.",
1026                  "location": "path",
1027                  "required": true,
1028                  "type": "string"
1029                }
1030              },
1031              "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote",
1032              "request": {
1033                "$ref": "AddNoteRequest"
1034              },
1035              "response": {
1036                "$ref": "Note"
1037              },
1038              "scopes": [
1039                "https://www.googleapis.com/auth/adexchange.buyer"
1040              ]
1041            },
1042            "cancelNegotiation": {
1043              "description": "Cancel an ongoing negotiation on a proposal. This does not cancel or end\nserving for the deals if the proposal has been finalized, but only cancels\na negotiation unilaterally.",
1044              "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation",
1045              "httpMethod": "POST",
1046              "id": "adexchangebuyer2.accounts.proposals.cancelNegotiation",
1047              "parameterOrder": [
1048                "accountId",
1049                "proposalId"
1050              ],
1051              "parameters": {
1052                "accountId": {
1053                  "description": "Account ID of the buyer.",
1054                  "location": "path",
1055                  "required": true,
1056                  "type": "string"
1057                },
1058                "proposalId": {
1059                  "description": "The ID of the proposal to cancel negotiation for.",
1060                  "location": "path",
1061                  "required": true,
1062                  "type": "string"
1063                }
1064              },
1065              "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation",
1066              "request": {
1067                "$ref": "CancelNegotiationRequest"
1068              },
1069              "response": {
1070                "$ref": "Proposal"
1071              },
1072              "scopes": [
1073                "https://www.googleapis.com/auth/adexchange.buyer"
1074              ]
1075            },
1076            "completeSetup": {
1077              "description": "Update the given proposal to indicate that setup has been completed.\nThis method is called by the buyer when the line items have been created\non their end for a finalized proposal and all the required creatives\nhave been uploaded using the creatives API. This call updates the\n`is_setup_completed` bit on the proposal and also notifies the seller.\nThe server will advance the revision number of the most recent proposal.",
1078              "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup",
1079              "httpMethod": "POST",
1080              "id": "adexchangebuyer2.accounts.proposals.completeSetup",
1081              "parameterOrder": [
1082                "accountId",
1083                "proposalId"
1084              ],
1085              "parameters": {
1086                "accountId": {
1087                  "description": "Account ID of the buyer.",
1088                  "location": "path",
1089                  "required": true,
1090                  "type": "string"
1091                },
1092                "proposalId": {
1093                  "description": "The ID of the proposal to mark as setup completed.",
1094                  "location": "path",
1095                  "required": true,
1096                  "type": "string"
1097                }
1098              },
1099              "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup",
1100              "request": {
1101                "$ref": "CompleteSetupRequest"
1102              },
1103              "response": {
1104                "$ref": "Proposal"
1105              },
1106              "scopes": [
1107                "https://www.googleapis.com/auth/adexchange.buyer"
1108              ]
1109            },
1110            "create": {
1111              "description": "Create the given proposal. Each created proposal and any deals it contains\nare assigned a unique ID by the server.",
1112              "flatPath": "v2beta1/accounts/{accountId}/proposals",
1113              "httpMethod": "POST",
1114              "id": "adexchangebuyer2.accounts.proposals.create",
1115              "parameterOrder": [
1116                "accountId"
1117              ],
1118              "parameters": {
1119                "accountId": {
1120                  "description": "Account ID of the buyer.",
1121                  "location": "path",
1122                  "required": true,
1123                  "type": "string"
1124                }
1125              },
1126              "path": "v2beta1/accounts/{accountId}/proposals",
1127              "request": {
1128                "$ref": "Proposal"
1129              },
1130              "response": {
1131                "$ref": "Proposal"
1132              },
1133              "scopes": [
1134                "https://www.googleapis.com/auth/adexchange.buyer"
1135              ]
1136            },
1137            "get": {
1138              "description": "Gets a proposal given its ID. The proposal is returned at its head\nrevision.",
1139              "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}",
1140              "httpMethod": "GET",
1141              "id": "adexchangebuyer2.accounts.proposals.get",
1142              "parameterOrder": [
1143                "accountId",
1144                "proposalId"
1145              ],
1146              "parameters": {
1147                "accountId": {
1148                  "description": "Account ID of the buyer.",
1149                  "location": "path",
1150                  "required": true,
1151                  "type": "string"
1152                },
1153                "proposalId": {
1154                  "description": "The unique ID of the proposal",
1155                  "location": "path",
1156                  "required": true,
1157                  "type": "string"
1158                }
1159              },
1160              "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}",
1161              "response": {
1162                "$ref": "Proposal"
1163              },
1164              "scopes": [
1165                "https://www.googleapis.com/auth/adexchange.buyer"
1166              ]
1167            },
1168            "list": {
1169              "description": "List proposals. A filter expression (PQL query) may be specified to\nfilter the results. To retrieve all finalized proposals, regardless if a\nproposal is being renegotiated, see the FinalizedProposals resource.\nNote that Bidder/ChildSeat relationships differ from the usual behavior.\nA Bidder account can only see its child seats' proposals by specifying\nthe ChildSeat's accountId in the request path.",
1170              "flatPath": "v2beta1/accounts/{accountId}/proposals",
1171              "httpMethod": "GET",
1172              "id": "adexchangebuyer2.accounts.proposals.list",
1173              "parameterOrder": [
1174                "accountId"
1175              ],
1176              "parameters": {
1177                "accountId": {
1178                  "description": "Account ID of the buyer.",
1179                  "location": "path",
1180                  "required": true,
1181                  "type": "string"
1182                },
1183                "filter": {
1184                  "description": "An optional PQL filter query used to query for proposals.\n\nNested repeated fields, such as proposal.deals.targetingCriterion,\ncannot be filtered.",
1185                  "location": "query",
1186                  "type": "string"
1187                },
1188                "filterSyntax": {
1189                  "description": "Syntax the filter is written in. Current implementation defaults to PQL\nbut in the future it will be LIST_FILTER.",
1190                  "enum": [
1191                    "FILTER_SYNTAX_UNSPECIFIED",
1192                    "PQL",
1193                    "LIST_FILTER"
1194                  ],
1195                  "location": "query",
1196                  "type": "string"
1197                },
1198                "pageSize": {
1199                  "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1200                  "format": "int32",
1201                  "location": "query",
1202                  "type": "integer"
1203                },
1204                "pageToken": {
1205                  "description": "The page token as returned from ListProposalsResponse.",
1206                  "location": "query",
1207                  "type": "string"
1208                }
1209              },
1210              "path": "v2beta1/accounts/{accountId}/proposals",
1211              "response": {
1212                "$ref": "ListProposalsResponse"
1213              },
1214              "scopes": [
1215                "https://www.googleapis.com/auth/adexchange.buyer"
1216              ]
1217            },
1218            "pause": {
1219              "description": "Update the given proposal to pause serving.\nThis method will set the\n`DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all\ndeals in the proposal.\n\nIt is a no-op to pause an already-paused proposal.\nIt is an error to call PauseProposal for a proposal that is not\nfinalized or renegotiating.",
1220              "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}:pause",
1221              "httpMethod": "POST",
1222              "id": "adexchangebuyer2.accounts.proposals.pause",
1223              "parameterOrder": [
1224                "accountId",
1225                "proposalId"
1226              ],
1227              "parameters": {
1228                "accountId": {
1229                  "description": "Account ID of the buyer.",
1230                  "location": "path",
1231                  "required": true,
1232                  "type": "string"
1233                },
1234                "proposalId": {
1235                  "description": "The ID of the proposal to pause.",
1236                  "location": "path",
1237                  "required": true,
1238                  "type": "string"
1239                }
1240              },
1241              "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}:pause",
1242              "request": {
1243                "$ref": "PauseProposalRequest"
1244              },
1245              "response": {
1246                "$ref": "Proposal"
1247              },
1248              "scopes": [
1249                "https://www.googleapis.com/auth/adexchange.buyer"
1250              ]
1251            },
1252            "resume": {
1253              "description": "Update the given proposal to resume serving.\nThis method will set the\n`DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all\ndeals in the proposal.\n\nNote that if the `has_seller_paused` bit is also set, serving will not\nresume until the seller also resumes.\n\nIt is a no-op to resume an already-running proposal.\nIt is an error to call ResumeProposal for a proposal that is not\nfinalized or renegotiating.",
1254              "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}:resume",
1255              "httpMethod": "POST",
1256              "id": "adexchangebuyer2.accounts.proposals.resume",
1257              "parameterOrder": [
1258                "accountId",
1259                "proposalId"
1260              ],
1261              "parameters": {
1262                "accountId": {
1263                  "description": "Account ID of the buyer.",
1264                  "location": "path",
1265                  "required": true,
1266                  "type": "string"
1267                },
1268                "proposalId": {
1269                  "description": "The ID of the proposal to resume.",
1270                  "location": "path",
1271                  "required": true,
1272                  "type": "string"
1273                }
1274              },
1275              "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}:resume",
1276              "request": {
1277                "$ref": "ResumeProposalRequest"
1278              },
1279              "response": {
1280                "$ref": "Proposal"
1281              },
1282              "scopes": [
1283                "https://www.googleapis.com/auth/adexchange.buyer"
1284              ]
1285            },
1286            "update": {
1287              "description": "Update the given proposal at the client known revision number. If the\nserver revision has advanced since the passed-in\n`proposal.proposal_revision`, an `ABORTED` error message will be returned.\nOnly the buyer-modifiable fields of the proposal will be updated.\n\nNote that the deals in the proposal will be updated to match the passed-in\ncopy.\nIf a passed-in deal does not have a `deal_id`, the server will assign a new\nunique ID and create the deal.\nIf passed-in deal has a `deal_id`, it will be updated to match the\npassed-in copy.\nAny existing deals not present in the passed-in proposal will be deleted.\nIt is an error to pass in a deal with a `deal_id` not present at head.",
1288              "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}",
1289              "httpMethod": "PUT",
1290              "id": "adexchangebuyer2.accounts.proposals.update",
1291              "parameterOrder": [
1292                "accountId",
1293                "proposalId"
1294              ],
1295              "parameters": {
1296                "accountId": {
1297                  "description": "Account ID of the buyer.",
1298                  "location": "path",
1299                  "required": true,
1300                  "type": "string"
1301                },
1302                "proposalId": {
1303                  "description": "The unique ID of the proposal.",
1304                  "location": "path",
1305                  "required": true,
1306                  "type": "string"
1307                }
1308              },
1309              "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}",
1310              "request": {
1311                "$ref": "Proposal"
1312              },
1313              "response": {
1314                "$ref": "Proposal"
1315              },
1316              "scopes": [
1317                "https://www.googleapis.com/auth/adexchange.buyer"
1318              ]
1319            }
1320          }
1321        },
1322        "publisherProfiles": {
1323          "methods": {
1324            "get": {
1325              "description": "Gets the requested publisher profile by id.",
1326              "flatPath": "v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId}",
1327              "httpMethod": "GET",
1328              "id": "adexchangebuyer2.accounts.publisherProfiles.get",
1329              "parameterOrder": [
1330                "accountId",
1331                "publisherProfileId"
1332              ],
1333              "parameters": {
1334                "accountId": {
1335                  "description": "Account ID of the buyer.",
1336                  "location": "path",
1337                  "required": true,
1338                  "type": "string"
1339                },
1340                "publisherProfileId": {
1341                  "description": "The id for the publisher profile to get.",
1342                  "location": "path",
1343                  "required": true,
1344                  "type": "string"
1345                }
1346              },
1347              "path": "v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId}",
1348              "response": {
1349                "$ref": "PublisherProfile"
1350              },
1351              "scopes": [
1352                "https://www.googleapis.com/auth/adexchange.buyer"
1353              ]
1354            },
1355            "list": {
1356              "description": "List all publisher profiles visible to the buyer",
1357              "flatPath": "v2beta1/accounts/{accountId}/publisherProfiles",
1358              "httpMethod": "GET",
1359              "id": "adexchangebuyer2.accounts.publisherProfiles.list",
1360              "parameterOrder": [
1361                "accountId"
1362              ],
1363              "parameters": {
1364                "accountId": {
1365                  "description": "Account ID of the buyer.",
1366                  "location": "path",
1367                  "required": true,
1368                  "type": "string"
1369                },
1370                "pageSize": {
1371                  "description": "Specify the number of results to include per page.",
1372                  "format": "int32",
1373                  "location": "query",
1374                  "type": "integer"
1375                },
1376                "pageToken": {
1377                  "description": "The page token as return from ListPublisherProfilesResponse.",
1378                  "location": "query",
1379                  "type": "string"
1380                }
1381              },
1382              "path": "v2beta1/accounts/{accountId}/publisherProfiles",
1383              "response": {
1384                "$ref": "ListPublisherProfilesResponse"
1385              },
1386              "scopes": [
1387                "https://www.googleapis.com/auth/adexchange.buyer"
1388              ]
1389            }
1390          }
1391        }
1392      }
1393    },
1394    "bidders": {
1395      "resources": {
1396        "accounts": {
1397          "resources": {
1398            "filterSets": {
1399              "methods": {
1400                "create": {
1401                  "description": "Creates the specified filter set for the account with the given account ID.",
1402                  "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets",
1403                  "httpMethod": "POST",
1404                  "id": "adexchangebuyer2.bidders.accounts.filterSets.create",
1405                  "parameterOrder": [
1406                    "ownerName"
1407                  ],
1408                  "parameters": {
1409                    "isTransient": {
1410                      "description": "Whether the filter set is transient, or should be persisted indefinitely.\nBy default, filter sets are not transient.\nIf transient, it will be available for at least 1 hour after creation.",
1411                      "location": "query",
1412                      "type": "boolean"
1413                    },
1414                    "ownerName": {
1415                      "description": "Name of the owner (bidder or account) of the filter set to be created.\nFor example:\n\n- For a bidder-level filter set for bidder 123: `bidders/123`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456`",
1416                      "location": "path",
1417                      "pattern": "^bidders/[^/]+/accounts/[^/]+$",
1418                      "required": true,
1419                      "type": "string"
1420                    }
1421                  },
1422                  "path": "v2beta1/{+ownerName}/filterSets",
1423                  "request": {
1424                    "$ref": "FilterSet"
1425                  },
1426                  "response": {
1427                    "$ref": "FilterSet"
1428                  },
1429                  "scopes": [
1430                    "https://www.googleapis.com/auth/adexchange.buyer"
1431                  ]
1432                },
1433                "delete": {
1434                  "description": "Deletes the requested filter set from the account with the given account\nID.",
1435                  "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}",
1436                  "httpMethod": "DELETE",
1437                  "id": "adexchangebuyer2.bidders.accounts.filterSets.delete",
1438                  "parameterOrder": [
1439                    "name"
1440                  ],
1441                  "parameters": {
1442                    "name": {
1443                      "description": "Full name of the resource to delete.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1444                      "location": "path",
1445                      "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1446                      "required": true,
1447                      "type": "string"
1448                    }
1449                  },
1450                  "path": "v2beta1/{+name}",
1451                  "response": {
1452                    "$ref": "Empty"
1453                  },
1454                  "scopes": [
1455                    "https://www.googleapis.com/auth/adexchange.buyer"
1456                  ]
1457                },
1458                "get": {
1459                  "description": "Retrieves the requested filter set for the account with the given account\nID.",
1460                  "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}",
1461                  "httpMethod": "GET",
1462                  "id": "adexchangebuyer2.bidders.accounts.filterSets.get",
1463                  "parameterOrder": [
1464                    "name"
1465                  ],
1466                  "parameters": {
1467                    "name": {
1468                      "description": "Full name of the resource being requested.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1469                      "location": "path",
1470                      "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1471                      "required": true,
1472                      "type": "string"
1473                    }
1474                  },
1475                  "path": "v2beta1/{+name}",
1476                  "response": {
1477                    "$ref": "FilterSet"
1478                  },
1479                  "scopes": [
1480                    "https://www.googleapis.com/auth/adexchange.buyer"
1481                  ]
1482                },
1483                "list": {
1484                  "description": "Lists all filter sets for the account with the given account ID.",
1485                  "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets",
1486                  "httpMethod": "GET",
1487                  "id": "adexchangebuyer2.bidders.accounts.filterSets.list",
1488                  "parameterOrder": [
1489                    "ownerName"
1490                  ],
1491                  "parameters": {
1492                    "ownerName": {
1493                      "description": "Name of the owner (bidder or account) of the filter sets to be listed.\nFor example:\n\n- For a bidder-level filter set for bidder 123: `bidders/123`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456`",
1494                      "location": "path",
1495                      "pattern": "^bidders/[^/]+/accounts/[^/]+$",
1496                      "required": true,
1497                      "type": "string"
1498                    },
1499                    "pageSize": {
1500                      "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1501                      "format": "int32",
1502                      "location": "query",
1503                      "type": "integer"
1504                    },
1505                    "pageToken": {
1506                      "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListFilterSetsResponse.nextPageToken\nreturned from the previous call to the\naccounts.filterSets.list\nmethod.",
1507                      "location": "query",
1508                      "type": "string"
1509                    }
1510                  },
1511                  "path": "v2beta1/{+ownerName}/filterSets",
1512                  "response": {
1513                    "$ref": "ListFilterSetsResponse"
1514                  },
1515                  "scopes": [
1516                    "https://www.googleapis.com/auth/adexchange.buyer"
1517                  ]
1518                }
1519              },
1520              "resources": {
1521                "bidMetrics": {
1522                  "methods": {
1523                    "list": {
1524                      "description": "Lists all metrics that are measured in terms of number of bids.",
1525                      "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/bidMetrics",
1526                      "httpMethod": "GET",
1527                      "id": "adexchangebuyer2.bidders.accounts.filterSets.bidMetrics.list",
1528                      "parameterOrder": [
1529                        "filterSetName"
1530                      ],
1531                      "parameters": {
1532                        "filterSetName": {
1533                          "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1534                          "location": "path",
1535                          "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1536                          "required": true,
1537                          "type": "string"
1538                        },
1539                        "pageSize": {
1540                          "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1541                          "format": "int32",
1542                          "location": "query",
1543                          "type": "integer"
1544                        },
1545                        "pageToken": {
1546                          "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListBidMetricsResponse.nextPageToken\nreturned from the previous call to the bidMetrics.list\nmethod.",
1547                          "location": "query",
1548                          "type": "string"
1549                        }
1550                      },
1551                      "path": "v2beta1/{+filterSetName}/bidMetrics",
1552                      "response": {
1553                        "$ref": "ListBidMetricsResponse"
1554                      },
1555                      "scopes": [
1556                        "https://www.googleapis.com/auth/adexchange.buyer"
1557                      ]
1558                    }
1559                  }
1560                },
1561                "bidResponseErrors": {
1562                  "methods": {
1563                    "list": {
1564                      "description": "List all errors that occurred in bid responses, with the number of bid\nresponses affected for each reason.",
1565                      "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/bidResponseErrors",
1566                      "httpMethod": "GET",
1567                      "id": "adexchangebuyer2.bidders.accounts.filterSets.bidResponseErrors.list",
1568                      "parameterOrder": [
1569                        "filterSetName"
1570                      ],
1571                      "parameters": {
1572                        "filterSetName": {
1573                          "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1574                          "location": "path",
1575                          "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1576                          "required": true,
1577                          "type": "string"
1578                        },
1579                        "pageSize": {
1580                          "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1581                          "format": "int32",
1582                          "location": "query",
1583                          "type": "integer"
1584                        },
1585                        "pageToken": {
1586                          "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListBidResponseErrorsResponse.nextPageToken\nreturned from the previous call to the bidResponseErrors.list\nmethod.",
1587                          "location": "query",
1588                          "type": "string"
1589                        }
1590                      },
1591                      "path": "v2beta1/{+filterSetName}/bidResponseErrors",
1592                      "response": {
1593                        "$ref": "ListBidResponseErrorsResponse"
1594                      },
1595                      "scopes": [
1596                        "https://www.googleapis.com/auth/adexchange.buyer"
1597                      ]
1598                    }
1599                  }
1600                },
1601                "bidResponsesWithoutBids": {
1602                  "methods": {
1603                    "list": {
1604                      "description": "List all reasons for which bid responses were considered to have no\napplicable bids, with the number of bid responses affected for each reason.",
1605                      "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/bidResponsesWithoutBids",
1606                      "httpMethod": "GET",
1607                      "id": "adexchangebuyer2.bidders.accounts.filterSets.bidResponsesWithoutBids.list",
1608                      "parameterOrder": [
1609                        "filterSetName"
1610                      ],
1611                      "parameters": {
1612                        "filterSetName": {
1613                          "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1614                          "location": "path",
1615                          "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1616                          "required": true,
1617                          "type": "string"
1618                        },
1619                        "pageSize": {
1620                          "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1621                          "format": "int32",
1622                          "location": "query",
1623                          "type": "integer"
1624                        },
1625                        "pageToken": {
1626                          "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListBidResponsesWithoutBidsResponse.nextPageToken\nreturned from the previous call to the bidResponsesWithoutBids.list\nmethod.",
1627                          "location": "query",
1628                          "type": "string"
1629                        }
1630                      },
1631                      "path": "v2beta1/{+filterSetName}/bidResponsesWithoutBids",
1632                      "response": {
1633                        "$ref": "ListBidResponsesWithoutBidsResponse"
1634                      },
1635                      "scopes": [
1636                        "https://www.googleapis.com/auth/adexchange.buyer"
1637                      ]
1638                    }
1639                  }
1640                },
1641                "filteredBidRequests": {
1642                  "methods": {
1643                    "list": {
1644                      "description": "List all reasons that caused a bid request not to be sent for an\nimpression, with the number of bid requests not sent for each reason.",
1645                      "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/filteredBidRequests",
1646                      "httpMethod": "GET",
1647                      "id": "adexchangebuyer2.bidders.accounts.filterSets.filteredBidRequests.list",
1648                      "parameterOrder": [
1649                        "filterSetName"
1650                      ],
1651                      "parameters": {
1652                        "filterSetName": {
1653                          "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1654                          "location": "path",
1655                          "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1656                          "required": true,
1657                          "type": "string"
1658                        },
1659                        "pageSize": {
1660                          "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1661                          "format": "int32",
1662                          "location": "query",
1663                          "type": "integer"
1664                        },
1665                        "pageToken": {
1666                          "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListFilteredBidRequestsResponse.nextPageToken\nreturned from the previous call to the filteredBidRequests.list\nmethod.",
1667                          "location": "query",
1668                          "type": "string"
1669                        }
1670                      },
1671                      "path": "v2beta1/{+filterSetName}/filteredBidRequests",
1672                      "response": {
1673                        "$ref": "ListFilteredBidRequestsResponse"
1674                      },
1675                      "scopes": [
1676                        "https://www.googleapis.com/auth/adexchange.buyer"
1677                      ]
1678                    }
1679                  }
1680                },
1681                "filteredBids": {
1682                  "methods": {
1683                    "list": {
1684                      "description": "List all reasons for which bids were filtered, with the number of bids\nfiltered for each reason.",
1685                      "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/filteredBids",
1686                      "httpMethod": "GET",
1687                      "id": "adexchangebuyer2.bidders.accounts.filterSets.filteredBids.list",
1688                      "parameterOrder": [
1689                        "filterSetName"
1690                      ],
1691                      "parameters": {
1692                        "filterSetName": {
1693                          "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1694                          "location": "path",
1695                          "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1696                          "required": true,
1697                          "type": "string"
1698                        },
1699                        "pageSize": {
1700                          "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1701                          "format": "int32",
1702                          "location": "query",
1703                          "type": "integer"
1704                        },
1705                        "pageToken": {
1706                          "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListFilteredBidsResponse.nextPageToken\nreturned from the previous call to the filteredBids.list\nmethod.",
1707                          "location": "query",
1708                          "type": "string"
1709                        }
1710                      },
1711                      "path": "v2beta1/{+filterSetName}/filteredBids",
1712                      "response": {
1713                        "$ref": "ListFilteredBidsResponse"
1714                      },
1715                      "scopes": [
1716                        "https://www.googleapis.com/auth/adexchange.buyer"
1717                      ]
1718                    }
1719                  },
1720                  "resources": {
1721                    "creatives": {
1722                      "methods": {
1723                        "list": {
1724                          "description": "List all creatives associated with a specific reason for which bids were\nfiltered, with the number of bids filtered for each creative.",
1725                          "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/filteredBids/{creativeStatusId}/creatives",
1726                          "httpMethod": "GET",
1727                          "id": "adexchangebuyer2.bidders.accounts.filterSets.filteredBids.creatives.list",
1728                          "parameterOrder": [
1729                            "filterSetName",
1730                            "creativeStatusId"
1731                          ],
1732                          "parameters": {
1733                            "creativeStatusId": {
1734                              "description": "The ID of the creative status for which to retrieve a breakdown by\ncreative.\nSee\n[creative-status-codes](https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).",
1735                              "format": "int32",
1736                              "location": "path",
1737                              "required": true,
1738                              "type": "integer"
1739                            },
1740                            "filterSetName": {
1741                              "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1742                              "location": "path",
1743                              "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1744                              "required": true,
1745                              "type": "string"
1746                            },
1747                            "pageSize": {
1748                              "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1749                              "format": "int32",
1750                              "location": "query",
1751                              "type": "integer"
1752                            },
1753                            "pageToken": {
1754                              "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListCreativeStatusBreakdownByCreativeResponse.nextPageToken\nreturned from the previous call to the filteredBids.creatives.list\nmethod.",
1755                              "location": "query",
1756                              "type": "string"
1757                            }
1758                          },
1759                          "path": "v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives",
1760                          "response": {
1761                            "$ref": "ListCreativeStatusBreakdownByCreativeResponse"
1762                          },
1763                          "scopes": [
1764                            "https://www.googleapis.com/auth/adexchange.buyer"
1765                          ]
1766                        }
1767                      }
1768                    },
1769                    "details": {
1770                      "methods": {
1771                        "list": {
1772                          "description": "List all details associated with a specific reason for which bids were\nfiltered, with the number of bids filtered for each detail.",
1773                          "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/filteredBids/{creativeStatusId}/details",
1774                          "httpMethod": "GET",
1775                          "id": "adexchangebuyer2.bidders.accounts.filterSets.filteredBids.details.list",
1776                          "parameterOrder": [
1777                            "filterSetName",
1778                            "creativeStatusId"
1779                          ],
1780                          "parameters": {
1781                            "creativeStatusId": {
1782                              "description": "The ID of the creative status for which to retrieve a breakdown by detail.\nSee\n[creative-status-codes](https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).\nDetails are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87.",
1783                              "format": "int32",
1784                              "location": "path",
1785                              "required": true,
1786                              "type": "integer"
1787                            },
1788                            "filterSetName": {
1789                              "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1790                              "location": "path",
1791                              "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1792                              "required": true,
1793                              "type": "string"
1794                            },
1795                            "pageSize": {
1796                              "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1797                              "format": "int32",
1798                              "location": "query",
1799                              "type": "integer"
1800                            },
1801                            "pageToken": {
1802                              "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListCreativeStatusBreakdownByDetailResponse.nextPageToken\nreturned from the previous call to the filteredBids.details.list\nmethod.",
1803                              "location": "query",
1804                              "type": "string"
1805                            }
1806                          },
1807                          "path": "v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details",
1808                          "response": {
1809                            "$ref": "ListCreativeStatusBreakdownByDetailResponse"
1810                          },
1811                          "scopes": [
1812                            "https://www.googleapis.com/auth/adexchange.buyer"
1813                          ]
1814                        }
1815                      }
1816                    }
1817                  }
1818                },
1819                "impressionMetrics": {
1820                  "methods": {
1821                    "list": {
1822                      "description": "Lists all metrics that are measured in terms of number of impressions.",
1823                      "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/impressionMetrics",
1824                      "httpMethod": "GET",
1825                      "id": "adexchangebuyer2.bidders.accounts.filterSets.impressionMetrics.list",
1826                      "parameterOrder": [
1827                        "filterSetName"
1828                      ],
1829                      "parameters": {
1830                        "filterSetName": {
1831                          "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1832                          "location": "path",
1833                          "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1834                          "required": true,
1835                          "type": "string"
1836                        },
1837                        "pageSize": {
1838                          "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1839                          "format": "int32",
1840                          "location": "query",
1841                          "type": "integer"
1842                        },
1843                        "pageToken": {
1844                          "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListImpressionMetricsResponse.nextPageToken\nreturned from the previous call to the impressionMetrics.list\nmethod.",
1845                          "location": "query",
1846                          "type": "string"
1847                        }
1848                      },
1849                      "path": "v2beta1/{+filterSetName}/impressionMetrics",
1850                      "response": {
1851                        "$ref": "ListImpressionMetricsResponse"
1852                      },
1853                      "scopes": [
1854                        "https://www.googleapis.com/auth/adexchange.buyer"
1855                      ]
1856                    }
1857                  }
1858                },
1859                "losingBids": {
1860                  "methods": {
1861                    "list": {
1862                      "description": "List all reasons for which bids lost in the auction, with the number of\nbids that lost for each reason.",
1863                      "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/losingBids",
1864                      "httpMethod": "GET",
1865                      "id": "adexchangebuyer2.bidders.accounts.filterSets.losingBids.list",
1866                      "parameterOrder": [
1867                        "filterSetName"
1868                      ],
1869                      "parameters": {
1870                        "filterSetName": {
1871                          "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1872                          "location": "path",
1873                          "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1874                          "required": true,
1875                          "type": "string"
1876                        },
1877                        "pageSize": {
1878                          "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1879                          "format": "int32",
1880                          "location": "query",
1881                          "type": "integer"
1882                        },
1883                        "pageToken": {
1884                          "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListLosingBidsResponse.nextPageToken\nreturned from the previous call to the losingBids.list\nmethod.",
1885                          "location": "query",
1886                          "type": "string"
1887                        }
1888                      },
1889                      "path": "v2beta1/{+filterSetName}/losingBids",
1890                      "response": {
1891                        "$ref": "ListLosingBidsResponse"
1892                      },
1893                      "scopes": [
1894                        "https://www.googleapis.com/auth/adexchange.buyer"
1895                      ]
1896                    }
1897                  }
1898                },
1899                "nonBillableWinningBids": {
1900                  "methods": {
1901                    "list": {
1902                      "description": "List all reasons for which winning bids were not billable, with the number\nof bids not billed for each reason.",
1903                      "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/nonBillableWinningBids",
1904                      "httpMethod": "GET",
1905                      "id": "adexchangebuyer2.bidders.accounts.filterSets.nonBillableWinningBids.list",
1906                      "parameterOrder": [
1907                        "filterSetName"
1908                      ],
1909                      "parameters": {
1910                        "filterSetName": {
1911                          "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1912                          "location": "path",
1913                          "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1914                          "required": true,
1915                          "type": "string"
1916                        },
1917                        "pageSize": {
1918                          "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1919                          "format": "int32",
1920                          "location": "query",
1921                          "type": "integer"
1922                        },
1923                        "pageToken": {
1924                          "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListNonBillableWinningBidsResponse.nextPageToken\nreturned from the previous call to the nonBillableWinningBids.list\nmethod.",
1925                          "location": "query",
1926                          "type": "string"
1927                        }
1928                      },
1929                      "path": "v2beta1/{+filterSetName}/nonBillableWinningBids",
1930                      "response": {
1931                        "$ref": "ListNonBillableWinningBidsResponse"
1932                      },
1933                      "scopes": [
1934                        "https://www.googleapis.com/auth/adexchange.buyer"
1935                      ]
1936                    }
1937                  }
1938                }
1939              }
1940            }
1941          }
1942        },
1943        "filterSets": {
1944          "methods": {
1945            "create": {
1946              "description": "Creates the specified filter set for the account with the given account ID.",
1947              "flatPath": "v2beta1/bidders/{biddersId}/filterSets",
1948              "httpMethod": "POST",
1949              "id": "adexchangebuyer2.bidders.filterSets.create",
1950              "parameterOrder": [
1951                "ownerName"
1952              ],
1953              "parameters": {
1954                "isTransient": {
1955                  "description": "Whether the filter set is transient, or should be persisted indefinitely.\nBy default, filter sets are not transient.\nIf transient, it will be available for at least 1 hour after creation.",
1956                  "location": "query",
1957                  "type": "boolean"
1958                },
1959                "ownerName": {
1960                  "description": "Name of the owner (bidder or account) of the filter set to be created.\nFor example:\n\n- For a bidder-level filter set for bidder 123: `bidders/123`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456`",
1961                  "location": "path",
1962                  "pattern": "^bidders/[^/]+$",
1963                  "required": true,
1964                  "type": "string"
1965                }
1966              },
1967              "path": "v2beta1/{+ownerName}/filterSets",
1968              "request": {
1969                "$ref": "FilterSet"
1970              },
1971              "response": {
1972                "$ref": "FilterSet"
1973              },
1974              "scopes": [
1975                "https://www.googleapis.com/auth/adexchange.buyer"
1976              ]
1977            },
1978            "delete": {
1979              "description": "Deletes the requested filter set from the account with the given account\nID.",
1980              "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}",
1981              "httpMethod": "DELETE",
1982              "id": "adexchangebuyer2.bidders.filterSets.delete",
1983              "parameterOrder": [
1984                "name"
1985              ],
1986              "parameters": {
1987                "name": {
1988                  "description": "Full name of the resource to delete.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
1989                  "location": "path",
1990                  "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
1991                  "required": true,
1992                  "type": "string"
1993                }
1994              },
1995              "path": "v2beta1/{+name}",
1996              "response": {
1997                "$ref": "Empty"
1998              },
1999              "scopes": [
2000                "https://www.googleapis.com/auth/adexchange.buyer"
2001              ]
2002            },
2003            "get": {
2004              "description": "Retrieves the requested filter set for the account with the given account\nID.",
2005              "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}",
2006              "httpMethod": "GET",
2007              "id": "adexchangebuyer2.bidders.filterSets.get",
2008              "parameterOrder": [
2009                "name"
2010              ],
2011              "parameters": {
2012                "name": {
2013                  "description": "Full name of the resource being requested.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
2014                  "location": "path",
2015                  "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2016                  "required": true,
2017                  "type": "string"
2018                }
2019              },
2020              "path": "v2beta1/{+name}",
2021              "response": {
2022                "$ref": "FilterSet"
2023              },
2024              "scopes": [
2025                "https://www.googleapis.com/auth/adexchange.buyer"
2026              ]
2027            },
2028            "list": {
2029              "description": "Lists all filter sets for the account with the given account ID.",
2030              "flatPath": "v2beta1/bidders/{biddersId}/filterSets",
2031              "httpMethod": "GET",
2032              "id": "adexchangebuyer2.bidders.filterSets.list",
2033              "parameterOrder": [
2034                "ownerName"
2035              ],
2036              "parameters": {
2037                "ownerName": {
2038                  "description": "Name of the owner (bidder or account) of the filter sets to be listed.\nFor example:\n\n- For a bidder-level filter set for bidder 123: `bidders/123`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456`",
2039                  "location": "path",
2040                  "pattern": "^bidders/[^/]+$",
2041                  "required": true,
2042                  "type": "string"
2043                },
2044                "pageSize": {
2045                  "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2046                  "format": "int32",
2047                  "location": "query",
2048                  "type": "integer"
2049                },
2050                "pageToken": {
2051                  "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListFilterSetsResponse.nextPageToken\nreturned from the previous call to the\naccounts.filterSets.list\nmethod.",
2052                  "location": "query",
2053                  "type": "string"
2054                }
2055              },
2056              "path": "v2beta1/{+ownerName}/filterSets",
2057              "response": {
2058                "$ref": "ListFilterSetsResponse"
2059              },
2060              "scopes": [
2061                "https://www.googleapis.com/auth/adexchange.buyer"
2062              ]
2063            }
2064          },
2065          "resources": {
2066            "bidMetrics": {
2067              "methods": {
2068                "list": {
2069                  "description": "Lists all metrics that are measured in terms of number of bids.",
2070                  "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/bidMetrics",
2071                  "httpMethod": "GET",
2072                  "id": "adexchangebuyer2.bidders.filterSets.bidMetrics.list",
2073                  "parameterOrder": [
2074                    "filterSetName"
2075                  ],
2076                  "parameters": {
2077                    "filterSetName": {
2078                      "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
2079                      "location": "path",
2080                      "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2081                      "required": true,
2082                      "type": "string"
2083                    },
2084                    "pageSize": {
2085                      "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2086                      "format": "int32",
2087                      "location": "query",
2088                      "type": "integer"
2089                    },
2090                    "pageToken": {
2091                      "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListBidMetricsResponse.nextPageToken\nreturned from the previous call to the bidMetrics.list\nmethod.",
2092                      "location": "query",
2093                      "type": "string"
2094                    }
2095                  },
2096                  "path": "v2beta1/{+filterSetName}/bidMetrics",
2097                  "response": {
2098                    "$ref": "ListBidMetricsResponse"
2099                  },
2100                  "scopes": [
2101                    "https://www.googleapis.com/auth/adexchange.buyer"
2102                  ]
2103                }
2104              }
2105            },
2106            "bidResponseErrors": {
2107              "methods": {
2108                "list": {
2109                  "description": "List all errors that occurred in bid responses, with the number of bid\nresponses affected for each reason.",
2110                  "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/bidResponseErrors",
2111                  "httpMethod": "GET",
2112                  "id": "adexchangebuyer2.bidders.filterSets.bidResponseErrors.list",
2113                  "parameterOrder": [
2114                    "filterSetName"
2115                  ],
2116                  "parameters": {
2117                    "filterSetName": {
2118                      "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
2119                      "location": "path",
2120                      "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2121                      "required": true,
2122                      "type": "string"
2123                    },
2124                    "pageSize": {
2125                      "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2126                      "format": "int32",
2127                      "location": "query",
2128                      "type": "integer"
2129                    },
2130                    "pageToken": {
2131                      "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListBidResponseErrorsResponse.nextPageToken\nreturned from the previous call to the bidResponseErrors.list\nmethod.",
2132                      "location": "query",
2133                      "type": "string"
2134                    }
2135                  },
2136                  "path": "v2beta1/{+filterSetName}/bidResponseErrors",
2137                  "response": {
2138                    "$ref": "ListBidResponseErrorsResponse"
2139                  },
2140                  "scopes": [
2141                    "https://www.googleapis.com/auth/adexchange.buyer"
2142                  ]
2143                }
2144              }
2145            },
2146            "bidResponsesWithoutBids": {
2147              "methods": {
2148                "list": {
2149                  "description": "List all reasons for which bid responses were considered to have no\napplicable bids, with the number of bid responses affected for each reason.",
2150                  "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/bidResponsesWithoutBids",
2151                  "httpMethod": "GET",
2152                  "id": "adexchangebuyer2.bidders.filterSets.bidResponsesWithoutBids.list",
2153                  "parameterOrder": [
2154                    "filterSetName"
2155                  ],
2156                  "parameters": {
2157                    "filterSetName": {
2158                      "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
2159                      "location": "path",
2160                      "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2161                      "required": true,
2162                      "type": "string"
2163                    },
2164                    "pageSize": {
2165                      "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2166                      "format": "int32",
2167                      "location": "query",
2168                      "type": "integer"
2169                    },
2170                    "pageToken": {
2171                      "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListBidResponsesWithoutBidsResponse.nextPageToken\nreturned from the previous call to the bidResponsesWithoutBids.list\nmethod.",
2172                      "location": "query",
2173                      "type": "string"
2174                    }
2175                  },
2176                  "path": "v2beta1/{+filterSetName}/bidResponsesWithoutBids",
2177                  "response": {
2178                    "$ref": "ListBidResponsesWithoutBidsResponse"
2179                  },
2180                  "scopes": [
2181                    "https://www.googleapis.com/auth/adexchange.buyer"
2182                  ]
2183                }
2184              }
2185            },
2186            "filteredBidRequests": {
2187              "methods": {
2188                "list": {
2189                  "description": "List all reasons that caused a bid request not to be sent for an\nimpression, with the number of bid requests not sent for each reason.",
2190                  "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/filteredBidRequests",
2191                  "httpMethod": "GET",
2192                  "id": "adexchangebuyer2.bidders.filterSets.filteredBidRequests.list",
2193                  "parameterOrder": [
2194                    "filterSetName"
2195                  ],
2196                  "parameters": {
2197                    "filterSetName": {
2198                      "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
2199                      "location": "path",
2200                      "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2201                      "required": true,
2202                      "type": "string"
2203                    },
2204                    "pageSize": {
2205                      "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2206                      "format": "int32",
2207                      "location": "query",
2208                      "type": "integer"
2209                    },
2210                    "pageToken": {
2211                      "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListFilteredBidRequestsResponse.nextPageToken\nreturned from the previous call to the filteredBidRequests.list\nmethod.",
2212                      "location": "query",
2213                      "type": "string"
2214                    }
2215                  },
2216                  "path": "v2beta1/{+filterSetName}/filteredBidRequests",
2217                  "response": {
2218                    "$ref": "ListFilteredBidRequestsResponse"
2219                  },
2220                  "scopes": [
2221                    "https://www.googleapis.com/auth/adexchange.buyer"
2222                  ]
2223                }
2224              }
2225            },
2226            "filteredBids": {
2227              "methods": {
2228                "list": {
2229                  "description": "List all reasons for which bids were filtered, with the number of bids\nfiltered for each reason.",
2230                  "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/filteredBids",
2231                  "httpMethod": "GET",
2232                  "id": "adexchangebuyer2.bidders.filterSets.filteredBids.list",
2233                  "parameterOrder": [
2234                    "filterSetName"
2235                  ],
2236                  "parameters": {
2237                    "filterSetName": {
2238                      "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
2239                      "location": "path",
2240                      "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2241                      "required": true,
2242                      "type": "string"
2243                    },
2244                    "pageSize": {
2245                      "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2246                      "format": "int32",
2247                      "location": "query",
2248                      "type": "integer"
2249                    },
2250                    "pageToken": {
2251                      "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListFilteredBidsResponse.nextPageToken\nreturned from the previous call to the filteredBids.list\nmethod.",
2252                      "location": "query",
2253                      "type": "string"
2254                    }
2255                  },
2256                  "path": "v2beta1/{+filterSetName}/filteredBids",
2257                  "response": {
2258                    "$ref": "ListFilteredBidsResponse"
2259                  },
2260                  "scopes": [
2261                    "https://www.googleapis.com/auth/adexchange.buyer"
2262                  ]
2263                }
2264              },
2265              "resources": {
2266                "creatives": {
2267                  "methods": {
2268                    "list": {
2269                      "description": "List all creatives associated with a specific reason for which bids were\nfiltered, with the number of bids filtered for each creative.",
2270                      "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/filteredBids/{creativeStatusId}/creatives",
2271                      "httpMethod": "GET",
2272                      "id": "adexchangebuyer2.bidders.filterSets.filteredBids.creatives.list",
2273                      "parameterOrder": [
2274                        "filterSetName",
2275                        "creativeStatusId"
2276                      ],
2277                      "parameters": {
2278                        "creativeStatusId": {
2279                          "description": "The ID of the creative status for which to retrieve a breakdown by\ncreative.\nSee\n[creative-status-codes](https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).",
2280                          "format": "int32",
2281                          "location": "path",
2282                          "required": true,
2283                          "type": "integer"
2284                        },
2285                        "filterSetName": {
2286                          "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
2287                          "location": "path",
2288                          "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2289                          "required": true,
2290                          "type": "string"
2291                        },
2292                        "pageSize": {
2293                          "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2294                          "format": "int32",
2295                          "location": "query",
2296                          "type": "integer"
2297                        },
2298                        "pageToken": {
2299                          "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListCreativeStatusBreakdownByCreativeResponse.nextPageToken\nreturned from the previous call to the filteredBids.creatives.list\nmethod.",
2300                          "location": "query",
2301                          "type": "string"
2302                        }
2303                      },
2304                      "path": "v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives",
2305                      "response": {
2306                        "$ref": "ListCreativeStatusBreakdownByCreativeResponse"
2307                      },
2308                      "scopes": [
2309                        "https://www.googleapis.com/auth/adexchange.buyer"
2310                      ]
2311                    }
2312                  }
2313                },
2314                "details": {
2315                  "methods": {
2316                    "list": {
2317                      "description": "List all details associated with a specific reason for which bids were\nfiltered, with the number of bids filtered for each detail.",
2318                      "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/filteredBids/{creativeStatusId}/details",
2319                      "httpMethod": "GET",
2320                      "id": "adexchangebuyer2.bidders.filterSets.filteredBids.details.list",
2321                      "parameterOrder": [
2322                        "filterSetName",
2323                        "creativeStatusId"
2324                      ],
2325                      "parameters": {
2326                        "creativeStatusId": {
2327                          "description": "The ID of the creative status for which to retrieve a breakdown by detail.\nSee\n[creative-status-codes](https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).\nDetails are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87.",
2328                          "format": "int32",
2329                          "location": "path",
2330                          "required": true,
2331                          "type": "integer"
2332                        },
2333                        "filterSetName": {
2334                          "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
2335                          "location": "path",
2336                          "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2337                          "required": true,
2338                          "type": "string"
2339                        },
2340                        "pageSize": {
2341                          "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2342                          "format": "int32",
2343                          "location": "query",
2344                          "type": "integer"
2345                        },
2346                        "pageToken": {
2347                          "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListCreativeStatusBreakdownByDetailResponse.nextPageToken\nreturned from the previous call to the filteredBids.details.list\nmethod.",
2348                          "location": "query",
2349                          "type": "string"
2350                        }
2351                      },
2352                      "path": "v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details",
2353                      "response": {
2354                        "$ref": "ListCreativeStatusBreakdownByDetailResponse"
2355                      },
2356                      "scopes": [
2357                        "https://www.googleapis.com/auth/adexchange.buyer"
2358                      ]
2359                    }
2360                  }
2361                }
2362              }
2363            },
2364            "impressionMetrics": {
2365              "methods": {
2366                "list": {
2367                  "description": "Lists all metrics that are measured in terms of number of impressions.",
2368                  "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/impressionMetrics",
2369                  "httpMethod": "GET",
2370                  "id": "adexchangebuyer2.bidders.filterSets.impressionMetrics.list",
2371                  "parameterOrder": [
2372                    "filterSetName"
2373                  ],
2374                  "parameters": {
2375                    "filterSetName": {
2376                      "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
2377                      "location": "path",
2378                      "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2379                      "required": true,
2380                      "type": "string"
2381                    },
2382                    "pageSize": {
2383                      "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2384                      "format": "int32",
2385                      "location": "query",
2386                      "type": "integer"
2387                    },
2388                    "pageToken": {
2389                      "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListImpressionMetricsResponse.nextPageToken\nreturned from the previous call to the impressionMetrics.list\nmethod.",
2390                      "location": "query",
2391                      "type": "string"
2392                    }
2393                  },
2394                  "path": "v2beta1/{+filterSetName}/impressionMetrics",
2395                  "response": {
2396                    "$ref": "ListImpressionMetricsResponse"
2397                  },
2398                  "scopes": [
2399                    "https://www.googleapis.com/auth/adexchange.buyer"
2400                  ]
2401                }
2402              }
2403            },
2404            "losingBids": {
2405              "methods": {
2406                "list": {
2407                  "description": "List all reasons for which bids lost in the auction, with the number of\nbids that lost for each reason.",
2408                  "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/losingBids",
2409                  "httpMethod": "GET",
2410                  "id": "adexchangebuyer2.bidders.filterSets.losingBids.list",
2411                  "parameterOrder": [
2412                    "filterSetName"
2413                  ],
2414                  "parameters": {
2415                    "filterSetName": {
2416                      "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
2417                      "location": "path",
2418                      "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2419                      "required": true,
2420                      "type": "string"
2421                    },
2422                    "pageSize": {
2423                      "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2424                      "format": "int32",
2425                      "location": "query",
2426                      "type": "integer"
2427                    },
2428                    "pageToken": {
2429                      "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListLosingBidsResponse.nextPageToken\nreturned from the previous call to the losingBids.list\nmethod.",
2430                      "location": "query",
2431                      "type": "string"
2432                    }
2433                  },
2434                  "path": "v2beta1/{+filterSetName}/losingBids",
2435                  "response": {
2436                    "$ref": "ListLosingBidsResponse"
2437                  },
2438                  "scopes": [
2439                    "https://www.googleapis.com/auth/adexchange.buyer"
2440                  ]
2441                }
2442              }
2443            },
2444            "nonBillableWinningBids": {
2445              "methods": {
2446                "list": {
2447                  "description": "List all reasons for which winning bids were not billable, with the number\nof bids not billed for each reason.",
2448                  "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/nonBillableWinningBids",
2449                  "httpMethod": "GET",
2450                  "id": "adexchangebuyer2.bidders.filterSets.nonBillableWinningBids.list",
2451                  "parameterOrder": [
2452                    "filterSetName"
2453                  ],
2454                  "parameters": {
2455                    "filterSetName": {
2456                      "description": "Name of the filter set that should be applied to the requested metrics.\nFor example:\n\n- For a bidder-level filter set for bidder 123:\n  `bidders/123/filterSets/abc`\n\n- For an account-level filter set for the buyer account representing bidder\n  123: `bidders/123/accounts/123/filterSets/abc`\n\n- For an account-level filter set for the child seat buyer account 456\n  whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`",
2457                      "location": "path",
2458                      "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2459                      "required": true,
2460                      "type": "string"
2461                    },
2462                    "pageSize": {
2463                      "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2464                      "format": "int32",
2465                      "location": "query",
2466                      "type": "integer"
2467                    },
2468                    "pageToken": {
2469                      "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListNonBillableWinningBidsResponse.nextPageToken\nreturned from the previous call to the nonBillableWinningBids.list\nmethod.",
2470                      "location": "query",
2471                      "type": "string"
2472                    }
2473                  },
2474                  "path": "v2beta1/{+filterSetName}/nonBillableWinningBids",
2475                  "response": {
2476                    "$ref": "ListNonBillableWinningBidsResponse"
2477                  },
2478                  "scopes": [
2479                    "https://www.googleapis.com/auth/adexchange.buyer"
2480                  ]
2481                }
2482              }
2483            }
2484          }
2485        }
2486      }
2487    }
2488  },
2489  "revision": "20200423",
2490  "rootUrl": "https://adexchangebuyer.googleapis.com/",
2491  "schemas": {
2492    "AbsoluteDateRange": {
2493      "description": "An absolute date range, specified by its start date and end date.\nThe supported range of dates begins 30 days before today and ends today.\nValidity checked upon filter set creation. If a filter set with an absolute\ndate range is run at a later date more than 30 days after start_date, it will\nfail.",
2494      "id": "AbsoluteDateRange",
2495      "properties": {
2496        "endDate": {
2497          "$ref": "Date",
2498          "description": "The end date of the range (inclusive).\nMust be within the 30 days leading up to current date, and must be equal to\nor after start_date."
2499        },
2500        "startDate": {
2501          "$ref": "Date",
2502          "description": "The start date of the range (inclusive).\nMust be within the 30 days leading up to current date, and must be equal to\nor before end_date."
2503        }
2504      },
2505      "type": "object"
2506    },
2507    "AcceptProposalRequest": {
2508      "description": "Request to accept a proposal.",
2509      "id": "AcceptProposalRequest",
2510      "properties": {
2511        "proposalRevision": {
2512          "description": "The last known client revision number of the proposal.",
2513          "format": "int64",
2514          "type": "string"
2515        }
2516      },
2517      "type": "object"
2518    },
2519    "AdSize": {
2520      "description": "Represents size of a single ad slot, or a creative.",
2521      "id": "AdSize",
2522      "properties": {
2523        "height": {
2524          "description": "The height of the ad slot in pixels.\nThis field will be present only when size type is `PIXEL`.",
2525          "format": "int64",
2526          "type": "string"
2527        },
2528        "sizeType": {
2529          "description": "The size type of the ad slot.",
2530          "enum": [
2531            "SIZE_TYPE_UNSPECIFIED",
2532            "PIXEL",
2533            "INTERSTITIAL",
2534            "NATIVE",
2535            "FLUID"
2536          ],
2537          "enumDescriptions": [
2538            "A placeholder for an undefined size type.",
2539            "Ad slot with size specified by height and width in pixels.",
2540            "Special size to describe an interstitial ad slot.",
2541            "Native (mobile) ads rendered by the publisher.",
2542            "Fluid size (i.e., responsive size) can be resized automatically with the\nchange of outside environment."
2543          ],
2544          "type": "string"
2545        },
2546        "width": {
2547          "description": "The width of the ad slot in pixels.\nThis field will be present only when size type is `PIXEL`.",
2548          "format": "int64",
2549          "type": "string"
2550        }
2551      },
2552      "type": "object"
2553    },
2554    "AdTechnologyProviders": {
2555      "description": "Detected ad technology provider information.",
2556      "id": "AdTechnologyProviders",
2557      "properties": {
2558        "detectedProviderIds": {
2559          "description": "The detected ad technology provider IDs for this creative.\nSee https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for\nmapping of provider ID to provided name, a privacy policy URL, and a list\nof domains which can be attributed to the provider.\n\nIf the creative contains provider IDs that are outside of those listed in\nthe `BidRequest.adslot.consented_providers_settings.consented_providers`\nfield on the (Google bid\nprotocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]\nand the\n`BidRequest.user.ext.consented_providers_settings.consented_providers`\nfield on the (OpenRTB\nprotocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],\nand a bid is submitted with that creative for an impression that will\nserve to an EEA user, the bid will be filtered before the auction.",
2560          "items": {
2561            "format": "int64",
2562            "type": "string"
2563          },
2564          "type": "array"
2565        },
2566        "hasUnidentifiedProvider": {
2567          "description": "Whether the creative contains an unidentified ad technology provider.\n\nIf true for a given creative, any bid submitted with that creative for an\nimpression that will serve to an EEA user will be filtered before the\nauction.",
2568          "type": "boolean"
2569        }
2570      },
2571      "type": "object"
2572    },
2573    "AddDealAssociationRequest": {
2574      "description": "A request for associating a deal and a creative.",
2575      "id": "AddDealAssociationRequest",
2576      "properties": {
2577        "association": {
2578          "$ref": "CreativeDealAssociation",
2579          "description": "The association between a creative and a deal that should be added."
2580        }
2581      },
2582      "type": "object"
2583    },
2584    "AddNoteRequest": {
2585      "description": "Request message for adding a note to a given proposal.",
2586      "id": "AddNoteRequest",
2587      "properties": {
2588        "note": {
2589          "$ref": "Note",
2590          "description": "Details of the note to add."
2591        }
2592      },
2593      "type": "object"
2594    },
2595    "AppContext": {
2596      "description": "Output only. The app type the restriction applies to for mobile device.",
2597      "id": "AppContext",
2598      "properties": {
2599        "appTypes": {
2600          "description": "The app types this restriction applies to.",
2601          "enumDescriptions": [
2602            "Native app context.",
2603            "Mobile web app context."
2604          ],
2605          "items": {
2606            "enum": [
2607              "NATIVE",
2608              "WEB"
2609            ],
2610            "type": "string"
2611          },
2612          "type": "array"
2613        }
2614      },
2615      "type": "object"
2616    },
2617    "AuctionContext": {
2618      "description": "Output only. The auction type the restriction applies to.",
2619      "id": "AuctionContext",
2620      "properties": {
2621        "auctionTypes": {
2622          "description": "The auction types this restriction applies to.",
2623          "enumDescriptions": [
2624            "The restriction applies to open auction.",
2625            "The restriction applies to direct deals."
2626          ],
2627          "items": {
2628            "enum": [
2629              "OPEN_AUCTION",
2630              "DIRECT_DEALS"
2631            ],
2632            "type": "string"
2633          },
2634          "type": "array"
2635        }
2636      },
2637      "type": "object"
2638    },
2639    "BidMetricsRow": {
2640      "description": "The set of metrics that are measured in numbers of bids, representing how\nmany bids with the specified dimension values were considered eligible at\neach stage of the bidding funnel;",
2641      "id": "BidMetricsRow",
2642      "properties": {
2643        "bids": {
2644          "$ref": "MetricValue",
2645          "description": "The number of bids that Ad Exchange received from the buyer."
2646        },
2647        "bidsInAuction": {
2648          "$ref": "MetricValue",
2649          "description": "The number of bids that were permitted to compete in the auction."
2650        },
2651        "billedImpressions": {
2652          "$ref": "MetricValue",
2653          "description": "The number of bids for which the buyer was billed."
2654        },
2655        "impressionsWon": {
2656          "$ref": "MetricValue",
2657          "description": "The number of bids that won the auction."
2658        },
2659        "measurableImpressions": {
2660          "$ref": "MetricValue",
2661          "description": "The number of bids for which the corresponding impression was measurable\nfor viewability (as defined by Active View)."
2662        },
2663        "rowDimensions": {
2664          "$ref": "RowDimensions",
2665          "description": "The values of all dimensions associated with metric values in this row."
2666        },
2667        "viewableImpressions": {
2668          "$ref": "MetricValue",
2669          "description": "The number of bids for which the corresponding impression was viewable (as\ndefined by Active View)."
2670        }
2671      },
2672      "type": "object"
2673    },
2674    "BidResponseWithoutBidsStatusRow": {
2675      "description": "The number of impressions with the specified dimension values that were\nconsidered to have no applicable bids, as described by the specified status.",
2676      "id": "BidResponseWithoutBidsStatusRow",
2677      "properties": {
2678        "impressionCount": {
2679          "$ref": "MetricValue",
2680          "description": "The number of impressions for which there was a bid response with the\nspecified status."
2681        },
2682        "rowDimensions": {
2683          "$ref": "RowDimensions",
2684          "description": "The values of all dimensions associated with metric values in this row."
2685        },
2686        "status": {
2687          "description": "The status specifying why the bid responses were considered to have no\napplicable bids.",
2688          "enum": [
2689            "STATUS_UNSPECIFIED",
2690            "RESPONSES_WITHOUT_BIDS",
2691            "RESPONSES_WITHOUT_BIDS_FOR_ACCOUNT",
2692            "RESPONSES_WITHOUT_BIDS_FOR_DEAL"
2693          ],
2694          "enumDescriptions": [
2695            "A placeholder for an undefined status.\nThis value will never be returned in responses.",
2696            "The response had no bids.",
2697            "The response had no bids for the specified account, though it may have\nincluded bids on behalf of other accounts.\nApplies if:\n1. Request is on behalf of a bidder and an account filter is present.\n2. Request is on behalf of a child seat.",
2698            "The response had no bids for the specified deal, though it may have\nincluded bids on other deals on behalf of the account to which the deal\nbelongs. If request is on behalf of a bidder and an account filter is not\npresent, this also includes responses that have bids on behalf of\naccounts other than the account to which the deal belongs."
2699          ],
2700          "type": "string"
2701        }
2702      },
2703      "type": "object"
2704    },
2705    "Buyer": {
2706      "description": "Represents a buyer of inventory. Each buyer is identified by a unique\nAuthorized Buyers account ID.",
2707      "id": "Buyer",
2708      "properties": {
2709        "accountId": {
2710          "description": "Authorized Buyers account ID of the buyer.",
2711          "type": "string"
2712        }
2713      },
2714      "type": "object"
2715    },
2716    "CalloutStatusRow": {
2717      "description": "The number of impressions with the specified dimension values where the\ncorresponding bid request or bid response was not successful, as described by\nthe specified callout status.",
2718      "id": "CalloutStatusRow",
2719      "properties": {
2720        "calloutStatusId": {
2721          "description": "The ID of the callout status.\nSee\n[callout-status-codes](https://developers.google.com/authorized-buyers/rtb/downloads/callout-status-codes).",
2722          "format": "int32",
2723          "type": "integer"
2724        },
2725        "impressionCount": {
2726          "$ref": "MetricValue",
2727          "description": "The number of impressions for which there was a bid request or bid response\nwith the specified callout status."
2728        },
2729        "rowDimensions": {
2730          "$ref": "RowDimensions",
2731          "description": "The values of all dimensions associated with metric values in this row."
2732        }
2733      },
2734      "type": "object"
2735    },
2736    "CancelNegotiationRequest": {
2737      "description": "Request to cancel an ongoing negotiation.",
2738      "id": "CancelNegotiationRequest",
2739      "properties": {},
2740      "type": "object"
2741    },
2742    "Client": {
2743      "description": "A client resource represents a client buyer\u0026mdash;an agency, a brand, or an\nadvertiser customer of the sponsor buyer. Users associated with the client\nbuyer have restricted access to the Marketplace and certain other sections of\nthe Authorized Buyers UI based on the role granted to the client buyer. All\nfields are required unless otherwise specified.",
2744      "id": "Client",
2745      "properties": {
2746        "clientAccountId": {
2747          "description": "The globally-unique numerical ID of the client.\nThe value of this field is ignored in create and update operations.",
2748          "format": "int64",
2749          "type": "string"
2750        },
2751        "clientName": {
2752          "description": "Name used to represent this client to publishers.\nYou may have multiple clients that map to the same entity,\nbut for each client the combination of `clientName` and entity\nmust be unique.\nYou can specify this field as empty.",
2753          "type": "string"
2754        },
2755        "entityId": {
2756          "description": "Numerical identifier of the client entity.\nThe entity can be an advertiser, a brand, or an agency.\nThis identifier is unique among all the entities with the same type.\n\nA list of all known advertisers with their identifiers is available in the\n[advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/advertisers.txt)\nfile.\n\nA list of all known brands with their identifiers is available in the\n[brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt)\nfile.\n\nA list of all known agencies with their identifiers is available in the\n[agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.txt)\nfile.",
2757          "format": "int64",
2758          "type": "string"
2759        },
2760        "entityName": {
2761          "description": "The name of the entity. This field is automatically fetched based on\nthe type and ID.\nThe value of this field is ignored in create and update operations.",
2762          "type": "string"
2763        },
2764        "entityType": {
2765          "description": "The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.",
2766          "enum": [
2767            "ENTITY_TYPE_UNSPECIFIED",
2768            "ADVERTISER",
2769            "BRAND",
2770            "AGENCY",
2771            "ENTITY_TYPE_UNCLASSIFIED"
2772          ],
2773          "enumDescriptions": [
2774            "A placeholder for an undefined client entity type. Should not be used.",
2775            "An advertiser.",
2776            "A brand.",
2777            "An advertising agency.",
2778            "An explicit value for a client that was not yet classified\nas any particular entity."
2779          ],
2780          "type": "string"
2781        },
2782        "partnerClientId": {
2783          "description": "Optional arbitrary unique identifier of this client buyer from the\nstandpoint of its Ad Exchange sponsor buyer.\n\nThis field can be used to associate a client buyer with the identifier\nin the namespace of its sponsor buyer, lookup client buyers by that\nidentifier and verify whether an Ad Exchange counterpart of a given client\nbuyer already exists.\n\nIf present, must be unique among all the client buyers for its\nAd Exchange sponsor buyer.",
2784          "type": "string"
2785        },
2786        "role": {
2787          "description": "The role which is assigned to the client buyer. Each role implies a set of\npermissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,\n`CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.",
2788          "enum": [
2789            "CLIENT_ROLE_UNSPECIFIED",
2790            "CLIENT_DEAL_VIEWER",
2791            "CLIENT_DEAL_NEGOTIATOR",
2792            "CLIENT_DEAL_APPROVER"
2793          ],
2794          "enumDescriptions": [
2795            "A placeholder for an undefined client role.",
2796            "Users associated with this client can see publisher deal offers\nin the Marketplace.\nThey can neither negotiate proposals nor approve deals.\nIf this client is visible to publishers, they can send deal proposals\nto this client.",
2797            "Users associated with this client can respond to deal proposals\nsent to them by publishers. They can also initiate deal proposals\nof their own.",
2798            "Users associated with this client can approve eligible deals\non your behalf. Some deals may still explicitly require publisher\nfinalization. If this role is not selected, the sponsor buyer\nwill need to manually approve each of their deals."
2799          ],
2800          "type": "string"
2801        },
2802        "status": {
2803          "description": "The status of the client buyer.",
2804          "enum": [
2805            "CLIENT_STATUS_UNSPECIFIED",
2806            "DISABLED",
2807            "ACTIVE"
2808          ],
2809          "enumDescriptions": [
2810            "A placeholder for an undefined client status.",
2811            "A client that is currently disabled.",
2812            "A client that is currently active."
2813          ],
2814          "type": "string"
2815        },
2816        "visibleToSeller": {
2817          "description": "Whether the client buyer will be visible to sellers.",
2818          "type": "boolean"
2819        }
2820      },
2821      "type": "object"
2822    },
2823    "ClientUser": {
2824      "description": "A client user is created under a client buyer and has restricted access to\nthe Marketplace and certain other sections of the Authorized Buyers UI based\non the role granted to the associated client buyer.\n\nThe only way a new client user can be created is via accepting an\nemail invitation\n(see the\naccounts.clients.invitations.create\nmethod).\n\nAll fields are required unless otherwise specified.",
2825      "id": "ClientUser",
2826      "properties": {
2827        "clientAccountId": {
2828          "description": "Numerical account ID of the client buyer\nwith which the user is associated; the\nbuyer must be a client of the current sponsor buyer.\nThe value of this field is ignored in an update operation.",
2829          "format": "int64",
2830          "type": "string"
2831        },
2832        "email": {
2833          "description": "User's email address. The value of this field\nis ignored in an update operation.",
2834          "type": "string"
2835        },
2836        "status": {
2837          "description": "The status of the client user.",
2838          "enum": [
2839            "USER_STATUS_UNSPECIFIED",
2840            "PENDING",
2841            "ACTIVE",
2842            "DISABLED"
2843          ],
2844          "enumDescriptions": [
2845            "A placeholder for an undefined user status.",
2846            "A user who was already created but hasn't accepted the invitation yet.",
2847            "A user that is currently active.",
2848            "A user that is currently disabled."
2849          ],
2850          "type": "string"
2851        },
2852        "userId": {
2853          "description": "The unique numerical ID of the client user\nthat has accepted an invitation.\nThe value of this field is ignored in an update operation.",
2854          "format": "int64",
2855          "type": "string"
2856        }
2857      },
2858      "type": "object"
2859    },
2860    "ClientUserInvitation": {
2861      "description": "An invitation for a new client user to get access to the Authorized Buyers\nUI. All fields are required unless otherwise specified.",
2862      "id": "ClientUserInvitation",
2863      "properties": {
2864        "clientAccountId": {
2865          "description": "Numerical account ID of the client buyer\nthat the invited user is associated with.\nThe value of this field is ignored in create operations.",
2866          "format": "int64",
2867          "type": "string"
2868        },
2869        "email": {
2870          "description": "The email address to which the invitation is sent. Email\naddresses should be unique among all client users under each sponsor\nbuyer.",
2871          "type": "string"
2872        },
2873        "invitationId": {
2874          "description": "The unique numerical ID of the invitation that is sent to the user.\nThe value of this field is ignored in create operations.",
2875          "format": "int64",
2876          "type": "string"
2877        }
2878      },
2879      "type": "object"
2880    },
2881    "CompleteSetupRequest": {
2882      "description": "Request message for indicating that the proposal's setup step is complete.",
2883      "id": "CompleteSetupRequest",
2884      "properties": {},
2885      "type": "object"
2886    },
2887    "ContactInformation": {
2888      "description": "Contains information on how a buyer or seller can be reached.",
2889      "id": "ContactInformation",
2890      "properties": {
2891        "email": {
2892          "description": "Email address for the contact.",
2893          "type": "string"
2894        },
2895        "name": {
2896          "description": "The name of the contact.",
2897          "type": "string"
2898        }
2899      },
2900      "type": "object"
2901    },
2902    "Correction": {
2903      "description": "Output only. Shows any corrections that were applied to this creative.",
2904      "id": "Correction",
2905      "properties": {
2906        "contexts": {
2907          "description": "The contexts for the correction.",
2908          "items": {
2909            "$ref": "ServingContext"
2910          },
2911          "type": "array"
2912        },
2913        "details": {
2914          "description": "Additional details about what was corrected.",
2915          "items": {
2916            "type": "string"
2917          },
2918          "type": "array"
2919        },
2920        "type": {
2921          "description": "The type of correction that was applied to the creative.",
2922          "enum": [
2923            "CORRECTION_TYPE_UNSPECIFIED",
2924            "VENDOR_IDS_ADDED",
2925            "SSL_ATTRIBUTE_REMOVED",
2926            "FLASH_FREE_ATTRIBUTE_REMOVED",
2927            "FLASH_FREE_ATTRIBUTE_ADDED",
2928            "REQUIRED_ATTRIBUTE_ADDED",
2929            "REQUIRED_VENDOR_ADDED",
2930            "SSL_ATTRIBUTE_ADDED",
2931            "IN_BANNER_VIDEO_ATTRIBUTE_ADDED",
2932            "MRAID_ATTRIBUTE_ADDED",
2933            "FLASH_ATTRIBUTE_REMOVED",
2934            "VIDEO_IN_SNIPPET_ATTRIBUTE_ADDED"
2935          ],
2936          "enumDescriptions": [
2937            "The correction type is unknown. Refer to the details for more information.",
2938            "The ad's declared vendors did not match the vendors that were detected.\nThe detected vendors were added.",
2939            "The ad had the SSL attribute declared but was not SSL-compliant.\nThe SSL attribute was removed.",
2940            "The ad was declared as Flash-free but contained Flash, so the Flash-free\nattribute was removed.",
2941            "The ad was not declared as Flash-free but it did not reference any flash\ncontent, so the Flash-free attribute was added.",
2942            "The ad did not declare a required creative attribute.\nThe attribute was added.",
2943            "The ad did not declare a required technology vendor.\nThe technology vendor was added.",
2944            "The ad did not declare the SSL attribute but was SSL-compliant, so the\nSSL attribute was added.",
2945            "Properties consistent with In-banner video were found, so an\nIn-Banner Video attribute was added.",
2946            "The ad makes calls to the MRAID API so the MRAID attribute was added.",
2947            "The ad unnecessarily declared the Flash attribute, so the Flash attribute\nwas removed.",
2948            "The ad contains video content."
2949          ],
2950          "type": "string"
2951        }
2952      },
2953      "type": "object"
2954    },
2955    "Creative": {
2956      "description": "A creative and its classification data.",
2957      "id": "Creative",
2958      "properties": {
2959        "accountId": {
2960          "description": "The account that this creative belongs to.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
2961          "type": "string"
2962        },
2963        "adChoicesDestinationUrl": {
2964          "description": "The link to AdChoices destination page.",
2965          "type": "string"
2966        },
2967        "adTechnologyProviders": {
2968          "$ref": "AdTechnologyProviders",
2969          "description": "Output only. The detected ad technology providers."
2970        },
2971        "advertiserName": {
2972          "description": "The name of the company being advertised in the creative.",
2973          "type": "string"
2974        },
2975        "agencyId": {
2976          "description": "The agency ID for this creative.",
2977          "format": "int64",
2978          "type": "string"
2979        },
2980        "apiUpdateTime": {
2981          "description": "Output only. The last update timestamp of the creative via API.",
2982          "format": "google-datetime",
2983          "type": "string"
2984        },
2985        "attributes": {
2986          "description": "All attributes for the ads that may be shown from this creative.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
2987          "enumDescriptions": [
2988            "Do not use. This is a placeholder value only.",
2989            "The creative is of type image/rich media. For pretargeting.",
2990            "The creative is of video type Adobe Flash FLV. For pretargeting.",
2991            "The creative is tagged.",
2992            "The creative is cookie targeted.",
2993            "The creative is user interest targeted.",
2994            "The creative does not expand.",
2995            "The creative expands up.",
2996            "The creative expands down.",
2997            "The creative expands left.",
2998            "The creative expands right.",
2999            "The creative expands up and left.",
3000            "The creative expands up and right.",
3001            "The creative expands down and left.",
3002            "The creative expands down and right.",
3003            "The creative type is HTML.",
3004            "The creative type is VAST video.",
3005            "The creative expands up or down.",
3006            "The creative expands left or right.",
3007            "The creative expands on any diagonal.",
3008            "The creative expands when rolled over.",
3009            "The instream vast video type is vpaid flash.",
3010            "The creative is MRAID.",
3011            "The creative is Flash.",
3012            "The creative is HTML5.",
3013            "The creative has an instream VAST video type of skippable instream video.\nFor pretargeting.",
3014            "The creative is SSL.",
3015            "The creative is non-SSL.",
3016            "The creative is an interstitial.",
3017            "The creative has an instream VAST video type of non-skippable instream\nvideo. For pretargeting.",
3018            "The creative is eligible for native.",
3019            "The creative has an instream VAST video type of non-VPAID. For\npretargeting.",
3020            "The creative is not eligible for native.",
3021            "The creative has an interstitial size of any interstitial. For\npretargeting.",
3022            "The creative has an interstitial size of non interstitial. For\npretargeting.",
3023            "The video type is in-banner video.",
3024            "The creative can dynamically resize to fill a variety of slot sizes.",
3025            "The open measurement SDK is supported."
3026          ],
3027          "items": {
3028            "enum": [
3029              "ATTRIBUTE_UNSPECIFIED",
3030              "IMAGE_RICH_MEDIA",
3031              "ADOBE_FLASH_FLV",
3032              "IS_TAGGED",
3033              "IS_COOKIE_TARGETED",
3034              "IS_USER_INTEREST_TARGETED",
3035              "EXPANDING_DIRECTION_NONE",
3036              "EXPANDING_DIRECTION_UP",
3037              "EXPANDING_DIRECTION_DOWN",
3038              "EXPANDING_DIRECTION_LEFT",
3039              "EXPANDING_DIRECTION_RIGHT",
3040              "EXPANDING_DIRECTION_UP_LEFT",
3041              "EXPANDING_DIRECTION_UP_RIGHT",
3042              "EXPANDING_DIRECTION_DOWN_LEFT",
3043              "EXPANDING_DIRECTION_DOWN_RIGHT",
3044              "CREATIVE_TYPE_HTML",
3045              "CREATIVE_TYPE_VAST_VIDEO",
3046              "EXPANDING_DIRECTION_UP_OR_DOWN",
3047              "EXPANDING_DIRECTION_LEFT_OR_RIGHT",
3048              "EXPANDING_DIRECTION_ANY_DIAGONAL",
3049              "EXPANDING_ACTION_ROLLOVER_TO_EXPAND",
3050              "INSTREAM_VAST_VIDEO_TYPE_VPAID_FLASH",
3051              "RICH_MEDIA_CAPABILITY_TYPE_MRAID",
3052              "RICH_MEDIA_CAPABILITY_TYPE_FLASH",
3053              "RICH_MEDIA_CAPABILITY_TYPE_HTML5",
3054              "SKIPPABLE_INSTREAM_VIDEO",
3055              "RICH_MEDIA_CAPABILITY_TYPE_SSL",
3056              "RICH_MEDIA_CAPABILITY_TYPE_NON_SSL",
3057              "RICH_MEDIA_CAPABILITY_TYPE_INTERSTITIAL",
3058              "NON_SKIPPABLE_INSTREAM_VIDEO",
3059              "NATIVE_ELIGIBILITY_ELIGIBLE",
3060              "NON_VPAID",
3061              "NATIVE_ELIGIBILITY_NOT_ELIGIBLE",
3062              "ANY_INTERSTITIAL",
3063              "NON_INTERSTITIAL",
3064              "IN_BANNER_VIDEO",
3065              "RENDERING_SIZELESS_ADX",
3066              "OMSDK_1_0"
3067            ],
3068            "type": "string"
3069          },
3070          "type": "array"
3071        },
3072        "clickThroughUrls": {
3073          "description": "The set of destination URLs for the creative.",
3074          "items": {
3075            "type": "string"
3076          },
3077          "type": "array"
3078        },
3079        "corrections": {
3080          "description": "Output only. Shows any corrections that were applied to this creative.",
3081          "items": {
3082            "$ref": "Correction"
3083          },
3084          "type": "array"
3085        },
3086        "creativeId": {
3087          "description": "The buyer-defined creative ID of this creative.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
3088          "type": "string"
3089        },
3090        "dealsStatus": {
3091          "description": "Output only. The top-level deals status of this creative.\nIf disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in\nserving_restrictions will also exist. Note\nthat this may be nuanced with other contextual restrictions, in which case,\nit may be preferable to read from serving_restrictions directly.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
3092          "enum": [
3093            "STATUS_UNSPECIFIED",
3094            "NOT_CHECKED",
3095            "CONDITIONALLY_APPROVED",
3096            "APPROVED",
3097            "DISAPPROVED",
3098            "PENDING_REVIEW",
3099            "STATUS_TYPE_UNSPECIFIED"
3100          ],
3101          "enumDescriptions": [
3102            "The status is unknown.",
3103            "The creative has not been checked.",
3104            "The creative has been conditionally approved.\nSee serving_restrictions for details.",
3105            "The creative has been approved.",
3106            "The creative has been disapproved.",
3107            "Placeholder for transition to v1beta1. Currently not used.",
3108            "Placeholder for transition to v1beta1. Currently not used."
3109          ],
3110          "type": "string"
3111        },
3112        "declaredClickThroughUrls": {
3113          "description": "The set of declared destination URLs for the creative.",
3114          "items": {
3115            "type": "string"
3116          },
3117          "type": "array"
3118        },
3119        "detectedAdvertiserIds": {
3120          "description": "Output only. Detected advertiser IDs, if any.",
3121          "items": {
3122            "format": "int64",
3123            "type": "string"
3124          },
3125          "type": "array"
3126        },
3127        "detectedDomains": {
3128          "description": "Output only. The detected domains for this creative.",
3129          "items": {
3130            "type": "string"
3131          },
3132          "type": "array"
3133        },
3134        "detectedLanguages": {
3135          "description": "Output only. The detected languages for this creative. The order is\narbitrary. The codes are 2 or 5 characters and are documented at\nhttps://developers.google.com/adwords/api/docs/appendix/languagecodes.",
3136          "items": {
3137            "type": "string"
3138          },
3139          "type": "array"
3140        },
3141        "detectedProductCategories": {
3142          "description": "Output only. Detected product categories, if any.\nSee the ad-product-categories.txt file in the technical documentation\nfor a list of IDs.",
3143          "items": {
3144            "format": "int32",
3145            "type": "integer"
3146          },
3147          "type": "array"
3148        },
3149        "detectedSensitiveCategories": {
3150          "description": "Output only. Detected sensitive categories, if any.\nSee the ad-sensitive-categories.txt file in the technical documentation for\na list of IDs. You should use these IDs along with the\nexcluded-sensitive-category field in the bid request to filter your bids.",
3151          "items": {
3152            "format": "int32",
3153            "type": "integer"
3154          },
3155          "type": "array"
3156        },
3157        "html": {
3158          "$ref": "HtmlContent",
3159          "description": "An HTML creative."
3160        },
3161        "impressionTrackingUrls": {
3162          "description": "The set of URLs to be called to record an impression.",
3163          "items": {
3164            "type": "string"
3165          },
3166          "type": "array"
3167        },
3168        "native": {
3169          "$ref": "NativeContent",
3170          "description": "A native creative."
3171        },
3172        "openAuctionStatus": {
3173          "description": "Output only. The top-level open auction status of this creative.\nIf disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in\nserving_restrictions will also exist. Note\nthat this may be nuanced with other contextual restrictions, in which case,\nit may be preferable to read from serving_restrictions directly.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
3174          "enum": [
3175            "STATUS_UNSPECIFIED",
3176            "NOT_CHECKED",
3177            "CONDITIONALLY_APPROVED",
3178            "APPROVED",
3179            "DISAPPROVED",
3180            "PENDING_REVIEW",
3181            "STATUS_TYPE_UNSPECIFIED"
3182          ],
3183          "enumDescriptions": [
3184            "The status is unknown.",
3185            "The creative has not been checked.",
3186            "The creative has been conditionally approved.\nSee serving_restrictions for details.",
3187            "The creative has been approved.",
3188            "The creative has been disapproved.",
3189            "Placeholder for transition to v1beta1. Currently not used.",
3190            "Placeholder for transition to v1beta1. Currently not used."
3191          ],
3192          "type": "string"
3193        },
3194        "restrictedCategories": {
3195          "description": "All restricted categories for the ads that may be shown from this creative.",
3196          "enumDescriptions": [
3197            "The ad has no restricted categories",
3198            "The alcohol restricted category."
3199          ],
3200          "items": {
3201            "enum": [
3202              "NO_RESTRICTED_CATEGORIES",
3203              "ALCOHOL"
3204            ],
3205            "type": "string"
3206          },
3207          "type": "array"
3208        },
3209        "servingRestrictions": {
3210          "description": "Output only. The granular status of this ad in specific contexts.\nA context here relates to where something ultimately serves (for example,\na physical location, a platform, an HTTPS vs HTTP request, or the type\nof auction).",
3211          "items": {
3212            "$ref": "ServingRestriction"
3213          },
3214          "type": "array"
3215        },
3216        "vendorIds": {
3217          "description": "All vendor IDs for the ads that may be shown from this creative.\nSee https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt\nfor possible values.",
3218          "items": {
3219            "format": "int32",
3220            "type": "integer"
3221          },
3222          "type": "array"
3223        },
3224        "version": {
3225          "description": "Output only. The version of this creative.",
3226          "format": "int32",
3227          "type": "integer"
3228        },
3229        "video": {
3230          "$ref": "VideoContent",
3231          "description": "A video creative."
3232        }
3233      },
3234      "type": "object"
3235    },
3236    "CreativeDealAssociation": {
3237      "description": "The association between a creative and a deal.",
3238      "id": "CreativeDealAssociation",
3239      "properties": {
3240        "accountId": {
3241          "description": "The account the creative belongs to.",
3242          "type": "string"
3243        },
3244        "creativeId": {
3245          "description": "The ID of the creative associated with the deal.",
3246          "type": "string"
3247        },
3248        "dealsId": {
3249          "description": "The externalDealId for the deal associated with the creative.",
3250          "type": "string"
3251        }
3252      },
3253      "type": "object"
3254    },
3255    "CreativeRestrictions": {
3256      "description": "Represents creative restrictions associated to Programmatic Guaranteed/\nPreferred Deal in Ad Manager.\nThis doesn't apply to Private Auction and AdX Preferred Deals.",
3257      "id": "CreativeRestrictions",
3258      "properties": {
3259        "creativeFormat": {
3260          "description": "The format of the environment that the creatives will be displayed in.",
3261          "enum": [
3262            "CREATIVE_FORMAT_UNSPECIFIED",
3263            "DISPLAY",
3264            "VIDEO"
3265          ],
3266          "enumDescriptions": [
3267            "A placeholder for an undefined creative format.",
3268            "A creative that will be displayed in environments such as a browser.",
3269            "A video creative that will be displayed in environments such as a video\nplayer."
3270          ],
3271          "type": "string"
3272        },
3273        "creativeSpecifications": {
3274          "items": {
3275            "$ref": "CreativeSpecification"
3276          },
3277          "type": "array"
3278        },
3279        "skippableAdType": {
3280          "description": "Skippable video ads allow viewers to skip ads after 5 seconds.",
3281          "enum": [
3282            "SKIPPABLE_AD_TYPE_UNSPECIFIED",
3283            "SKIPPABLE",
3284            "INSTREAM_SELECT",
3285            "NOT_SKIPPABLE"
3286          ],
3287          "enumDescriptions": [
3288            "A placeholder for an undefined skippable ad type.",
3289            "This video ad can be skipped after 5 seconds.",
3290            "This video ad can be skipped after 5 seconds, and is counted as\nengaged view after 30 seconds. The creative is hosted on\nYouTube only, and viewcount of the YouTube video increments\nafter the engaged view.",
3291            "This video ad is not skippable."
3292          ],
3293          "type": "string"
3294        }
3295      },
3296      "type": "object"
3297    },
3298    "CreativeSize": {
3299      "description": "Specifies the size of the creative.",
3300      "id": "CreativeSize",
3301      "properties": {
3302        "allowedFormats": {
3303          "description": "What formats are allowed by the publisher.\nIf this repeated field is empty then all formats are allowed.\nFor example, if this field contains AllowedFormatType.AUDIO then the\npublisher only allows an audio ad (without any video).",
3304          "enumDescriptions": [
3305            "A placeholder for an undefined allowed format.",
3306            "An audio-only ad (without any video)."
3307          ],
3308          "items": {
3309            "enum": [
3310              "UNKNOWN",
3311              "AUDIO"
3312            ],
3313            "type": "string"
3314          },
3315          "type": "array"
3316        },
3317        "companionSizes": {
3318          "description": "For video creatives specifies the sizes of companion ads (if present).\nCompanion sizes may be filled in only when creative_size_type = VIDEO",
3319          "items": {
3320            "$ref": "Size"
3321          },
3322          "type": "array"
3323        },
3324        "creativeSizeType": {
3325          "description": "The creative size type.",
3326          "enum": [
3327            "CREATIVE_SIZE_TYPE_UNSPECIFIED",
3328            "REGULAR",
3329            "INTERSTITIAL",
3330            "VIDEO",
3331            "NATIVE"
3332          ],
3333          "enumDescriptions": [
3334            "A placeholder for an undefined creative size type.",
3335            "The creative is a regular desktop creative.",
3336            "The creative is an interstitial creative.",
3337            "The creative is a video creative.",
3338            "The creative is a native (mobile) creative."
3339          ],
3340          "type": "string"
3341        },
3342        "nativeTemplate": {
3343          "description": "Output only. The native template for this creative. It will have a value\nonly if creative_size_type = CreativeSizeType.NATIVE.",
3344          "enum": [
3345            "UNKNOWN_NATIVE_TEMPLATE",
3346            "NATIVE_CONTENT_AD",
3347            "NATIVE_APP_INSTALL_AD",
3348            "NATIVE_VIDEO_CONTENT_AD",
3349            "NATIVE_VIDEO_APP_INSTALL_AD"
3350          ],
3351          "enumDescriptions": [
3352            "A placeholder for an undefined native template.",
3353            "The creative is linked to native content ad.",
3354            "The creative is linked to native app install ad.",
3355            "The creative is linked to native video content ad.",
3356            "The creative is linked to native video app install ad."
3357          ],
3358          "type": "string"
3359        },
3360        "size": {
3361          "$ref": "Size",
3362          "description": "For regular or video creative size type, specifies the size\nof the creative"
3363        },
3364        "skippableAdType": {
3365          "description": "The type of skippable ad for this creative. It will have a value only if\ncreative_size_type = CreativeSizeType.VIDEO.",
3366          "enum": [
3367            "SKIPPABLE_AD_TYPE_UNSPECIFIED",
3368            "GENERIC",
3369            "INSTREAM_SELECT",
3370            "NOT_SKIPPABLE"
3371          ],
3372          "enumDescriptions": [
3373            "A placeholder for an undefined skippable ad type.",
3374            "This video ad can be skipped after 5 seconds.",
3375            "This video ad can be skipped after 5 seconds, and count as\nengaged view after 30 seconds. The creative is hosted on\nYouTube only, and viewcount of the YouTube video increments\nafter the engaged view.",
3376            "This video ad is not skippable."
3377          ],
3378          "type": "string"
3379        }
3380      },
3381      "type": "object"
3382    },
3383    "CreativeSpecification": {
3384      "description": "Represents information for a creative that is associated with a Programmatic\nGuaranteed/Preferred Deal in Ad Manager.",
3385      "id": "CreativeSpecification",
3386      "properties": {
3387        "creativeCompanionSizes": {
3388          "description": "Companion sizes may be filled in only when this is a video creative.",
3389          "items": {
3390            "$ref": "AdSize"
3391          },
3392          "type": "array"
3393        },
3394        "creativeSize": {
3395          "$ref": "AdSize",
3396          "description": "The size of the creative."
3397        }
3398      },
3399      "type": "object"
3400    },
3401    "CreativeStatusRow": {
3402      "description": "The number of bids with the specified dimension values that did not win the\nauction (either were filtered pre-auction or lost the auction), as described\nby the specified creative status.",
3403      "id": "CreativeStatusRow",
3404      "properties": {
3405        "bidCount": {
3406          "$ref": "MetricValue",
3407          "description": "The number of bids with the specified status."
3408        },
3409        "creativeStatusId": {
3410          "description": "The ID of the creative status.\nSee\n[creative-status-codes](https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).",
3411          "format": "int32",
3412          "type": "integer"
3413        },
3414        "rowDimensions": {
3415          "$ref": "RowDimensions",
3416          "description": "The values of all dimensions associated with metric values in this row."
3417        }
3418      },
3419      "type": "object"
3420    },
3421    "CriteriaTargeting": {
3422      "description": "Generic targeting used for targeting dimensions that contains a list of\nincluded and excluded numeric IDs.",
3423      "id": "CriteriaTargeting",
3424      "properties": {
3425        "excludedCriteriaIds": {
3426          "description": "A list of numeric IDs to be excluded.",
3427          "items": {
3428            "format": "int64",
3429            "type": "string"
3430          },
3431          "type": "array"
3432        },
3433        "targetedCriteriaIds": {
3434          "description": "A list of numeric IDs to be included.",
3435          "items": {
3436            "format": "int64",
3437            "type": "string"
3438          },
3439          "type": "array"
3440        }
3441      },
3442      "type": "object"
3443    },
3444    "Date": {
3445      "description": "Represents a whole or partial calendar date, e.g. a birthday. The time of day\nand time zone are either specified elsewhere or are not significant. The date\nis relative to the Proleptic Gregorian Calendar. This can represent:\n\n* A full date, with non-zero year, month and day values\n* A month and day value, with a zero year, e.g. an anniversary\n* A year on its own, with zero month and day values\n* A year and month value, with a zero day, e.g. a credit card expiration date\n\nRelated types are google.type.TimeOfDay and `google.protobuf.Timestamp`.",
3446      "id": "Date",
3447      "properties": {
3448        "day": {
3449          "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year by itself or a year and month where the day is not\nsignificant.",
3450          "format": "int32",
3451          "type": "integer"
3452        },
3453        "month": {
3454          "description": "Month of year. Must be from 1 to 12, or 0 if specifying a year without a\nmonth and day.",
3455          "format": "int32",
3456          "type": "integer"
3457        },
3458        "year": {
3459          "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.",
3460          "format": "int32",
3461          "type": "integer"
3462        }
3463      },
3464      "type": "object"
3465    },
3466    "DayPart": {
3467      "description": "Daypart targeting message that specifies if the ad can be shown\nonly during certain parts of a day/week.",
3468      "id": "DayPart",
3469      "properties": {
3470        "dayOfWeek": {
3471          "description": "The day of the week to target. If unspecified, applicable to all days.",
3472          "enum": [
3473            "DAY_OF_WEEK_UNSPECIFIED",
3474            "MONDAY",
3475            "TUESDAY",
3476            "WEDNESDAY",
3477            "THURSDAY",
3478            "FRIDAY",
3479            "SATURDAY",
3480            "SUNDAY"
3481          ],
3482          "enumDescriptions": [
3483            "A placeholder for when the day of the week is not specified.",
3484            "Monday",
3485            "Tuesday",
3486            "Wednesday",
3487            "Thursday",
3488            "Friday",
3489            "Saturday",
3490            "Sunday"
3491          ],
3492          "type": "string"
3493        },
3494        "endTime": {
3495          "$ref": "TimeOfDay",
3496          "description": "The ending time of the day for the ad to show (minute level\ngranularity). The end time is exclusive. This field is not available\nfor filtering in PQL queries."
3497        },
3498        "startTime": {
3499          "$ref": "TimeOfDay",
3500          "description": "The starting time of day for the ad to show (minute level granularity).\nThe start time is inclusive.\nThis field is not available for filtering in PQL queries."
3501        }
3502      },
3503      "type": "object"
3504    },
3505    "DayPartTargeting": {
3506      "description": "Specifies the day part targeting criteria.",
3507      "id": "DayPartTargeting",
3508      "properties": {
3509        "dayParts": {
3510          "description": "A list of day part targeting criterion.",
3511          "items": {
3512            "$ref": "DayPart"
3513          },
3514          "type": "array"
3515        },
3516        "timeZoneType": {
3517          "description": "The timezone to use for interpreting the day part targeting.",
3518          "enum": [
3519            "TIME_ZONE_SOURCE_UNSPECIFIED",
3520            "PUBLISHER",
3521            "USER"
3522          ],
3523          "enumDescriptions": [
3524            "A placeholder for an undefined time zone source.",
3525            "Use publisher's time zone setting.",
3526            "Use the user's time zone setting."
3527          ],
3528          "type": "string"
3529        }
3530      },
3531      "type": "object"
3532    },
3533    "Deal": {
3534      "description": "A deal represents a segment of inventory for displaying ads on.\nA proposal can contain multiple deals. A deal contains the terms and\ntargeting information that is used for serving.",
3535      "id": "Deal",
3536      "properties": {
3537        "availableEndTime": {
3538          "description": "Proposed flight end time of the deal.\nThis will generally be stored in a granularity of a second.\nA value is not required for Private Auction deals or Preferred Deals.",
3539          "format": "google-datetime",
3540          "type": "string"
3541        },
3542        "availableStartTime": {
3543          "description": "Optional proposed flight start time of the deal.\nThis will generally be stored in the granularity of one second since deal\nserving starts at seconds boundary. Any time specified with more\ngranularity (e.g., in milliseconds) will be truncated towards the start of\ntime in seconds.",
3544          "format": "google-datetime",
3545          "type": "string"
3546        },
3547        "buyerPrivateData": {
3548          "$ref": "PrivateData",
3549          "description": "Buyer private data (hidden from seller)."
3550        },
3551        "createProductId": {
3552          "description": "The product ID from which this deal was created.\n\nNote: This field may be set only when creating the resource. Modifying\nthis field while updating the resource will result in an error.",
3553          "type": "string"
3554        },
3555        "createProductRevision": {
3556          "description": "Optional revision number of the product that the deal was created from.\nIf present on create, and the server `product_revision` has advanced sinced\nthe passed-in `create_product_revision`, an `ABORTED` error will be\nreturned.\n\nNote: This field may be set only when creating the resource. Modifying\nthis field while updating the resource will result in an error.",
3557          "format": "int64",
3558          "type": "string"
3559        },
3560        "createTime": {
3561          "description": "Output only. The time of the deal creation.",
3562          "format": "google-datetime",
3563          "type": "string"
3564        },
3565        "creativePreApprovalPolicy": {
3566          "description": "Output only. Specifies the creative pre-approval policy.",
3567          "enum": [
3568            "CREATIVE_PRE_APPROVAL_POLICY_UNSPECIFIED",
3569            "SELLER_PRE_APPROVAL_REQUIRED",
3570            "SELLER_PRE_APPROVAL_NOT_REQUIRED"
3571          ],
3572          "enumDescriptions": [
3573            "A placeholder for an undefined creative pre-approval policy.",
3574            "The seller needs to approve each creative before it can serve.",
3575            "The seller does not need to approve each creative before it can serve."
3576          ],
3577          "type": "string"
3578        },
3579        "creativeRestrictions": {
3580          "$ref": "CreativeRestrictions",
3581          "description": "Output only. Restricitions about the creatives associated with the deal\n(i.e., size) This is available for Programmatic Guaranteed/Preferred Deals\nin Ad Manager."
3582        },
3583        "creativeSafeFrameCompatibility": {
3584          "description": "Output only. Specifies whether the creative is safeFrame compatible.",
3585          "enum": [
3586            "CREATIVE_SAFE_FRAME_COMPATIBILITY_UNSPECIFIED",
3587            "COMPATIBLE",
3588            "INCOMPATIBLE"
3589          ],
3590          "enumDescriptions": [
3591            "A placeholder for an undefined creative safe-frame compatibility.",
3592            "The creatives need to be compatible with the safe frame option.",
3593            "The creatives can be incompatible with the safe frame option."
3594          ],
3595          "type": "string"
3596        },
3597        "dealId": {
3598          "description": "Output only. A unique deal ID for the deal (server-assigned).",
3599          "type": "string"
3600        },
3601        "dealServingMetadata": {
3602          "$ref": "DealServingMetadata",
3603          "description": "Output only. Metadata about the serving status of this deal."
3604        },
3605        "dealTerms": {
3606          "$ref": "DealTerms",
3607          "description": "The negotiable terms of the deal."
3608        },
3609        "deliveryControl": {
3610          "$ref": "DeliveryControl",
3611          "description": "The set of fields around delivery control that are interesting for a buyer\nto see but are non-negotiable. These are set by the publisher."
3612        },
3613        "description": {
3614          "description": "Description for the deal terms.",
3615          "type": "string"
3616        },
3617        "displayName": {
3618          "description": "The name of the deal.",
3619          "type": "string"
3620        },
3621        "externalDealId": {
3622          "description": "Output only. The external deal ID assigned to this deal once the deal is\nfinalized. This is the deal ID that shows up in serving/reporting etc.",
3623          "type": "string"
3624        },
3625        "isSetupComplete": {
3626          "description": "Output only. True, if the buyside inventory setup is complete for this\ndeal.",
3627          "type": "boolean"
3628        },
3629        "programmaticCreativeSource": {
3630          "description": "Output only. Specifies the creative source for programmatic deals.\nPUBLISHER means creative is provided by seller and ADVERTISER means\ncreative is provided by buyer.",
3631          "enum": [
3632            "PROGRAMMATIC_CREATIVE_SOURCE_UNSPECIFIED",
3633            "ADVERTISER",
3634            "PUBLISHER"
3635          ],
3636          "enumDescriptions": [
3637            "A placeholder for an undefined programmatic creative source.",
3638            "The advertiser provides the creatives.",
3639            "The publisher provides the creatives to be served."
3640          ],
3641          "type": "string"
3642        },
3643        "proposalId": {
3644          "description": "Output only. ID of the proposal that this deal is part of.",
3645          "type": "string"
3646        },
3647        "sellerContacts": {
3648          "description": "Output only. Seller contact information for the deal.",
3649          "items": {
3650            "$ref": "ContactInformation"
3651          },
3652          "type": "array"
3653        },
3654        "syndicationProduct": {
3655          "description": "The syndication product associated with the deal.\n\nNote: This field may be set only when creating the resource. Modifying\nthis field while updating the resource will result in an error.",
3656          "enum": [
3657            "SYNDICATION_PRODUCT_UNSPECIFIED",
3658            "CONTENT",
3659            "MOBILE",
3660            "VIDEO",
3661            "GAMES"
3662          ],
3663          "enumDescriptions": [
3664            "A placeholder for an undefined syndication product.",
3665            "This typically represents a web page.",
3666            "This represents a mobile property.",
3667            "This represents video ad formats.",
3668            "This represents ads shown within games."
3669          ],
3670          "type": "string"
3671        },
3672        "targeting": {
3673          "$ref": "MarketplaceTargeting",
3674          "description": "Output only. Specifies the subset of inventory targeted by the deal."
3675        },
3676        "targetingCriterion": {
3677          "description": "The shared targeting visible to buyers and sellers. Each shared\ntargeting entity is AND'd together.",
3678          "items": {
3679            "$ref": "TargetingCriteria"
3680          },
3681          "type": "array"
3682        },
3683        "updateTime": {
3684          "description": "Output only. The time when the deal was last updated.",
3685          "format": "google-datetime",
3686          "type": "string"
3687        },
3688        "webPropertyCode": {
3689          "description": "The web property code for the seller copied over from the product.",
3690          "type": "string"
3691        }
3692      },
3693      "type": "object"
3694    },
3695    "DealPauseStatus": {
3696      "description": "Tracks which parties (if any) have paused a deal.\nThe deal is considered paused if either hasBuyerPaused or\nhasSellPaused is true.",
3697      "id": "DealPauseStatus",
3698      "properties": {
3699        "buyerPauseReason": {
3700          "description": "The buyer's reason for pausing, if the buyer paused the deal.",
3701          "type": "string"
3702        },
3703        "firstPausedBy": {
3704          "description": "The role of the person who first paused this deal.",
3705          "enum": [
3706            "BUYER_SELLER_ROLE_UNSPECIFIED",
3707            "BUYER",
3708            "SELLER"
3709          ],
3710          "enumDescriptions": [
3711            "A placeholder for an undefined buyer/seller role.",
3712            "Specifies the role as buyer.",
3713            "Specifies the role as seller."
3714          ],
3715          "type": "string"
3716        },
3717        "hasBuyerPaused": {
3718          "description": "True, if the buyer has paused the deal unilaterally.",
3719          "type": "boolean"
3720        },
3721        "hasSellerPaused": {
3722          "description": "True, if the seller has paused the deal unilaterally.",
3723          "type": "boolean"
3724        },
3725        "sellerPauseReason": {
3726          "description": "The seller's reason for pausing, if the seller paused the deal.",
3727          "type": "string"
3728        }
3729      },
3730      "type": "object"
3731    },
3732    "DealServingMetadata": {
3733      "description": "Message captures metadata about the serving status of a deal.",
3734      "id": "DealServingMetadata",
3735      "properties": {
3736        "dealPauseStatus": {
3737          "$ref": "DealPauseStatus",
3738          "description": "Output only. Tracks which parties (if any) have paused a deal."
3739        }
3740      },
3741      "type": "object"
3742    },
3743    "DealTerms": {
3744      "description": "The deal terms specify the details of a Product/deal. They specify things\nlike price per buyer, the type of pricing model (e.g., fixed price, auction)\nand expected impressions from the publisher.",
3745      "id": "DealTerms",
3746      "properties": {
3747        "brandingType": {
3748          "description": "Visibility of the URL in bid requests. (default: BRANDED)",
3749          "enum": [
3750            "BRANDING_TYPE_UNSPECIFIED",
3751            "BRANDED",
3752            "SEMI_TRANSPARENT"
3753          ],
3754          "enumDescriptions": [
3755            "A placeholder for an undefined branding type.",
3756            "Full URL is included in bid requests.",
3757            "A TopLevelDomain or masked URL is sent in bid requests\nrather than the full one."
3758          ],
3759          "type": "string"
3760        },
3761        "description": {
3762          "description": "Publisher provided description for the terms.",
3763          "type": "string"
3764        },
3765        "estimatedGrossSpend": {
3766          "$ref": "Price",
3767          "description": "Non-binding estimate of the estimated gross spend for this deal.\nCan be set by buyer or seller."
3768        },
3769        "estimatedImpressionsPerDay": {
3770          "description": "Non-binding estimate of the impressions served per day.\nCan be set by buyer or seller.",
3771          "format": "int64",
3772          "type": "string"
3773        },
3774        "guaranteedFixedPriceTerms": {
3775          "$ref": "GuaranteedFixedPriceTerms",
3776          "description": "The terms for guaranteed fixed price deals."
3777        },
3778        "nonGuaranteedAuctionTerms": {
3779          "$ref": "NonGuaranteedAuctionTerms",
3780          "description": "The terms for non-guaranteed auction deals."
3781        },
3782        "nonGuaranteedFixedPriceTerms": {
3783          "$ref": "NonGuaranteedFixedPriceTerms",
3784          "description": "The terms for non-guaranteed fixed price deals."
3785        },
3786        "sellerTimeZone": {
3787          "description": "The time zone name. For deals with Cost Per Day billing, defines the\ntime zone used to mark the boundaries of a day. It should be an\nIANA TZ name, such as \"America/Los_Angeles\". For more information,\nsee https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.",
3788          "type": "string"
3789        }
3790      },
3791      "type": "object"
3792    },
3793    "DeliveryControl": {
3794      "description": "Message contains details about how the deals will be paced.",
3795      "id": "DeliveryControl",
3796      "properties": {
3797        "creativeBlockingLevel": {
3798          "description": "Output only. Specified the creative blocking levels to be applied.",
3799          "enum": [
3800            "CREATIVE_BLOCKING_LEVEL_UNSPECIFIED",
3801            "PUBLISHER_BLOCKING_RULES",
3802            "ADX_POLICY_BLOCKING_ONLY"
3803          ],
3804          "enumDescriptions": [
3805            "A placeholder for an undefined creative blocking level.",
3806            "Publisher blocking rules will be applied.",
3807            "The Ad Exchange policy blocking rules will be applied."
3808          ],
3809          "type": "string"
3810        },
3811        "deliveryRateType": {
3812          "description": "Output only. Specifies how the impression delivery will be paced.",
3813          "enum": [
3814            "DELIVERY_RATE_TYPE_UNSPECIFIED",
3815            "EVENLY",
3816            "FRONT_LOADED",
3817            "AS_FAST_AS_POSSIBLE"
3818          ],
3819          "enumDescriptions": [
3820            "A placeholder for an undefined delivery rate type.",
3821            "Impressions are served uniformly over the life of the deal.",
3822            "Impressions are served front-loaded.",
3823            "Impressions are served as fast as possible."
3824          ],
3825          "type": "string"
3826        },
3827        "frequencyCaps": {
3828          "description": "Output only. Specifies any frequency caps.",
3829          "items": {
3830            "$ref": "FrequencyCap"
3831          },
3832          "type": "array"
3833        }
3834      },
3835      "type": "object"
3836    },
3837    "Disapproval": {
3838      "description": "Output only. The reason and details for a disapproval.",
3839      "id": "Disapproval",
3840      "properties": {
3841        "details": {
3842          "description": "Additional details about the reason for disapproval.",
3843          "items": {
3844            "type": "string"
3845          },
3846          "type": "array"
3847        },
3848        "reason": {
3849          "description": "The categorized reason for disapproval.",
3850          "enum": [
3851            "LENGTH_OF_IMAGE_ANIMATION",
3852            "BROKEN_URL",
3853            "MEDIA_NOT_FUNCTIONAL",
3854            "INVALID_FOURTH_PARTY_CALL",
3855            "INCORRECT_REMARKETING_DECLARATION",
3856            "LANDING_PAGE_ERROR",
3857            "AD_SIZE_DOES_NOT_MATCH_AD_SLOT",
3858            "NO_BORDER",
3859            "FOURTH_PARTY_BROWSER_COOKIES",
3860            "LSO_OBJECTS",
3861            "BLANK_CREATIVE",
3862            "DESTINATION_URLS_UNDECLARED",
3863            "PROBLEM_WITH_CLICK_MACRO",
3864            "INCORRECT_AD_TECHNOLOGY_DECLARATION",
3865            "INCORRECT_DESTINATION_URL_DECLARATION",
3866            "EXPANDABLE_INCORRECT_DIRECTION",
3867            "EXPANDABLE_DIRECTION_NOT_SUPPORTED",
3868            "EXPANDABLE_INVALID_VENDOR",
3869            "EXPANDABLE_FUNCTIONALITY",
3870            "VIDEO_INVALID_VENDOR",
3871            "VIDEO_UNSUPPORTED_LENGTH",
3872            "VIDEO_UNSUPPORTED_FORMAT",
3873            "VIDEO_FUNCTIONALITY",
3874            "LANDING_PAGE_DISABLED",
3875            "MALWARE_SUSPECTED",
3876            "ADULT_IMAGE_OR_VIDEO",
3877            "INACCURATE_AD_TEXT",
3878            "COUNTERFEIT_DESIGNER_GOODS",
3879            "POP_UP",
3880            "INVALID_RTB_PROTOCOL_USAGE",
3881            "RAW_IP_ADDRESS_IN_SNIPPET",
3882            "UNACCEPTABLE_CONTENT_SOFTWARE",
3883            "UNAUTHORIZED_COOKIE_ON_GOOGLE_DOMAIN",
3884            "UNDECLARED_FLASH_OBJECTS",
3885            "INVALID_SSL_DECLARATION",
3886            "DIRECT_DOWNLOAD_IN_AD",
3887            "MAXIMUM_DOWNLOAD_SIZE_EXCEEDED",
3888            "DESTINATION_URL_SITE_NOT_CRAWLABLE",
3889            "BAD_URL_LEGAL_DISAPPROVAL",
3890            "PHARMA_GAMBLING_ALCOHOL_NOT_ALLOWED",
3891            "DYNAMIC_DNS_AT_DESTINATION_URL",
3892            "POOR_IMAGE_OR_VIDEO_QUALITY",
3893            "UNACCEPTABLE_IMAGE_CONTENT",
3894            "INCORRECT_IMAGE_LAYOUT",
3895            "IRRELEVANT_IMAGE_OR_VIDEO",
3896            "DESTINATION_SITE_DOES_NOT_ALLOW_GOING_BACK",
3897            "MISLEADING_CLAIMS_IN_AD",
3898            "RESTRICTED_PRODUCTS",
3899            "UNACCEPTABLE_CONTENT",
3900            "AUTOMATED_AD_CLICKING",
3901            "INVALID_URL_PROTOCOL",
3902            "UNDECLARED_RESTRICTED_CONTENT",
3903            "INVALID_REMARKETING_LIST_USAGE",
3904            "DESTINATION_SITE_NOT_CRAWLABLE_ROBOTS_TXT",
3905            "CLICK_TO_DOWNLOAD_NOT_AN_APP",
3906            "INACCURATE_REVIEW_EXTENSION",
3907            "SEXUALLY_EXPLICIT_CONTENT",
3908            "GAINING_AN_UNFAIR_ADVANTAGE",
3909            "GAMING_THE_GOOGLE_NETWORK",
3910            "DANGEROUS_PRODUCTS_KNIVES",
3911            "DANGEROUS_PRODUCTS_EXPLOSIVES",
3912            "DANGEROUS_PRODUCTS_GUNS",
3913            "DANGEROUS_PRODUCTS_DRUGS",
3914            "DANGEROUS_PRODUCTS_TOBACCO",
3915            "DANGEROUS_PRODUCTS_WEAPONS",
3916            "UNCLEAR_OR_IRRELEVANT_AD",
3917            "PROFESSIONAL_STANDARDS",
3918            "DYSFUNCTIONAL_PROMOTION",
3919            "INVALID_INTEREST_BASED_AD",
3920            "MISUSE_OF_PERSONAL_INFORMATION",
3921            "OMISSION_OF_RELEVANT_INFORMATION",
3922            "UNAVAILABLE_PROMOTIONS",
3923            "MISLEADING_PROMOTIONS",
3924            "INAPPROPRIATE_CONTENT",
3925            "SENSITIVE_EVENTS",
3926            "SHOCKING_CONTENT",
3927            "ENABLING_DISHONEST_BEHAVIOR",
3928            "TECHNICAL_REQUIREMENTS",
3929            "RESTRICTED_POLITICAL_CONTENT",
3930            "UNSUPPORTED_CONTENT",
3931            "INVALID_BIDDING_METHOD",
3932            "VIDEO_TOO_LONG",
3933            "VIOLATES_JAPANESE_PHARMACY_LAW",
3934            "UNACCREDITED_PET_PHARMACY",
3935            "ABORTION",
3936            "CONTRACEPTIVES",
3937            "NEED_CERTIFICATES_TO_ADVERTISE_IN_CHINA",
3938            "KCDSP_REGISTRATION",
3939            "NOT_FAMILY_SAFE",
3940            "CLINICAL_TRIAL_RECRUITMENT",
3941            "MAXIMUM_NUMBER_OF_HTTP_CALLS_EXCEEDED",
3942            "MAXIMUM_NUMBER_OF_COOKIES_EXCEEDED",
3943            "PERSONAL_LOANS",
3944            "UNSUPPORTED_FLASH_CONTENT",
3945            "MISUSE_BY_OMID_SCRIPT",
3946            "NON_WHITELISTED_OMID_VENDOR",
3947            "DESTINATION_EXPERIENCE",
3948            "UNSUPPORTED_LANGUAGE",
3949            "NON_SSL_COMPLIANT",
3950            "TEMPORARY_PAUSE",
3951            "BAIL_BONDS",
3952            "EXPERIMENTAL_MEDICAL_TREATMENT"
3953          ],
3954          "enumDescriptions": [
3955            "The length of the image animation is longer than allowed.",
3956            "The click through URL doesn't work properly.",
3957            "Something is wrong with the creative itself.",
3958            "The ad makes a fourth party call to an unapproved vendor.",
3959            "The ad targets consumers using remarketing lists and/or collects\ndata for subsequent use in retargeting, but does not correctly declare\nthat use.",
3960            "Clicking on the ad leads to an error page.",
3961            "The ad size when rendered does not match the declaration.",
3962            "Ads with a white background require a border, which was missing.",
3963            "The creative attempts to set cookies from a fourth party that is not\ncertified.",
3964            "The creative sets an LSO object.",
3965            "The ad serves a blank.",
3966            "The ad uses rotation, but not all destination URLs were declared.",
3967            "There is a problem with the way the click macro is used.",
3968            "The ad technology declaration is not accurate.",
3969            "The actual destination URL does not match the declared destination URL.",
3970            "The declared expanding direction does not match the actual direction.",
3971            "The ad does not expand in a supported direction.",
3972            "The ad uses an expandable vendor that is not supported.",
3973            "There was an issue with the expandable ad.",
3974            "The ad uses a video vendor that is not supported.",
3975            "The length of the video ad is not supported.",
3976            "The format of the video ad is not supported.",
3977            "There was an issue with the video ad.",
3978            "The landing page does not conform to Ad Exchange policy.",
3979            "The ad or the landing page may contain malware.",
3980            "The ad contains adult images or video content.",
3981            "The ad contains text that is unclear or inaccurate.",
3982            "The ad promotes counterfeit designer goods.",
3983            "The ad causes a popup window to appear.",
3984            "The creative does not follow policies set for the RTB protocol.",
3985            "The ad contains a URL that uses a numeric IP address for the domain.",
3986            "The ad or landing page contains unacceptable content because it initiated\na software or executable download.",
3987            "The ad set an unauthorized cookie on a Google domain.",
3988            "Flash content found when no flash was declared.",
3989            "SSL support declared but not working correctly.",
3990            "Rich Media - Direct Download in Ad (ex. PDF download).",
3991            "Maximum download size exceeded.",
3992            "Bad Destination URL: Site Not Crawlable.",
3993            "Bad URL: Legal disapproval.",
3994            "Pharmaceuticals, Gambling, Alcohol not allowed and at least one was\ndetected.",
3995            "Dynamic DNS at Destination URL.",
3996            "Poor Image / Video Quality.",
3997            "For example, Image Trick to Click.",
3998            "Incorrect Image Layout.",
3999            "Irrelevant Image / Video.",
4000            "Broken back button.",
4001            "Misleading/Inaccurate claims in ads.",
4002            "Restricted Products.",
4003            "Unacceptable content. For example, malware.",
4004            "The ad automatically redirects to the destination site without a click,\nor reports a click when none were made.",
4005            "The ad uses URL protocols that do not exist or are not allowed on AdX.",
4006            "Restricted content (for example, alcohol) was found in the ad but not\ndeclared.",
4007            "Violation of the remarketing list policy.",
4008            "The destination site's robot.txt file prevents it from being crawled.",
4009            "Click to download must link to an app.",
4010            "A review extension must be an accurate review.",
4011            "Sexually explicit content.",
4012            "The ad tries to gain an unfair traffic advantage.",
4013            "The ad tries to circumvent Google's advertising systems.",
4014            "The ad promotes dangerous knives.",
4015            "The ad promotes explosives.",
4016            "The ad promotes guns \u0026 parts.",
4017            "The ad promotes recreational drugs/services \u0026 related equipment.",
4018            "The ad promotes tobacco products/services \u0026 related equipment.",
4019            "The ad promotes weapons.",
4020            "The ad is unclear or irrelevant to the destination site.",
4021            "The ad does not meet professional standards.",
4022            "The promotion is unnecessarily difficult to navigate.",
4023            "Violation of Google's policy for interest-based ads.",
4024            "Misuse of personal information.",
4025            "Omission of relevant information.",
4026            "Unavailable promotions.",
4027            "Misleading or unrealistic promotions.",
4028            "Offensive or inappropriate content.",
4029            "Capitalizing on sensitive events.",
4030            "Shocking content.",
4031            "Products \u0026 Services that enable dishonest behavior.",
4032            "The ad does not meet technical requirements.",
4033            "Restricted political content.",
4034            "Unsupported content.",
4035            "Invalid bidding method.",
4036            "Video length exceeds limits.",
4037            "Unacceptable content: Japanese healthcare.",
4038            "Online pharmacy ID required.",
4039            "Unacceptable content: Abortion.",
4040            "Unacceptable content: Birth control.",
4041            "Restricted in China.",
4042            "Unacceptable content: Korean healthcare.",
4043            "Non-family safe or adult content.",
4044            "Clinical trial recruitment.",
4045            "Maximum number of HTTP calls exceeded.",
4046            "Maximum number of cookies exceeded.",
4047            "Financial service ad does not adhere to specifications.",
4048            "Flash content was found in an unsupported context.",
4049            "Misuse by an Open Measurement SDK script.",
4050            "Use of an Open Measurement SDK vendor not on approved whitelist.",
4051            "Unacceptable landing page.",
4052            "Unsupported language.",
4053            "Non-SSL compliant.",
4054            "Temporary pausing of creative.",
4055            "Promotes services related to bail bonds.",
4056            "Promotes speculative and/or experimental medical treatments."
4057          ],
4058          "type": "string"
4059        }
4060      },
4061      "type": "object"
4062    },
4063    "Empty": {
4064      "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n    service Foo {\n      rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n    }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
4065      "id": "Empty",
4066      "properties": {},
4067      "type": "object"
4068    },
4069    "FilterSet": {
4070      "description": "A set of filters that is applied to a request for data.\nWithin a filter set, an AND operation is performed across the filters\nrepresented by each field. An OR operation is performed across the filters\nrepresented by the multiple values of a repeated field, e.g.,\n\"format=VIDEO AND deal_id=12 AND (seller_network_id=34 OR\nseller_network_id=56)\".",
4071      "id": "FilterSet",
4072      "properties": {
4073        "absoluteDateRange": {
4074          "$ref": "AbsoluteDateRange",
4075          "description": "An absolute date range, defined by a start date and an end date.\nInterpreted relative to Pacific time zone."
4076        },
4077        "breakdownDimensions": {
4078          "description": "The set of dimensions along which to break down the response; may be empty.\nIf multiple dimensions are requested, the breakdown is along the Cartesian\nproduct of the requested dimensions.",
4079          "enumDescriptions": [
4080            "A placeholder for an unspecified dimension; should not be used.",
4081            "The response should be broken down by publisher identifier.\nThis option is available only for Open Bidding buyers."
4082          ],
4083          "items": {
4084            "enum": [
4085              "BREAKDOWN_DIMENSION_UNSPECIFIED",
4086              "PUBLISHER_IDENTIFIER"
4087            ],
4088            "type": "string"
4089          },
4090          "type": "array"
4091        },
4092        "creativeId": {
4093          "description": "The ID of the creative on which to filter; optional. This field may be set\nonly for a filter set that accesses account-level troubleshooting data,\ni.e., one whose name matches the `bidders/*/accounts/*/filterSets/*`\npattern.",
4094          "type": "string"
4095        },
4096        "dealId": {
4097          "description": "The ID of the deal on which to filter; optional. This field may be set\nonly for a filter set that accesses account-level troubleshooting data,\ni.e., one whose name matches the `bidders/*/accounts/*/filterSets/*`\npattern.",
4098          "format": "int64",
4099          "type": "string"
4100        },
4101        "environment": {
4102          "description": "The environment on which to filter; optional.",
4103          "enum": [
4104            "ENVIRONMENT_UNSPECIFIED",
4105            "WEB",
4106            "APP"
4107          ],
4108          "enumDescriptions": [
4109            "A placeholder for an undefined environment; indicates that no environment\nfilter will be applied.",
4110            "The ad impression appears on the web.",
4111            "The ad impression appears in an app."
4112          ],
4113          "type": "string"
4114        },
4115        "format": {
4116          "description": "Creative format bidded on or allowed to bid on, can be empty.",
4117          "enum": [
4118            "FORMAT_UNSPECIFIED",
4119            "NATIVE_DISPLAY",
4120            "NATIVE_VIDEO",
4121            "NON_NATIVE_DISPLAY",
4122            "NON_NATIVE_VIDEO"
4123          ],
4124          "enumDescriptions": [
4125            "A placeholder for an undefined format; indicates that no format filter\nwill be applied.",
4126            "The ad impression is a native ad, and display (i.e., image) format.",
4127            "The ad impression is a native ad, and video format.",
4128            "The ad impression is not a native ad, and display (i.e., image) format.",
4129            "The ad impression is not a native ad, and video format."
4130          ],
4131          "type": "string"
4132        },
4133        "formats": {
4134          "description": "Creative formats bidded on or allowed to bid on, can be empty. Although\nthis field is a list, it can only be populated with a single item. A\nHTTP 400 bad request error will be returned in the response if you specify\nmultiple items.",
4135          "enumDescriptions": [
4136            "A placeholder for an undefined format; indicates that no format filter\nwill be applied.",
4137            "The ad impression is a native ad, and display (i.e., image) format.",
4138            "The ad impression is a native ad, and video format.",
4139            "The ad impression is not a native ad, and display (i.e., image) format.",
4140            "The ad impression is not a native ad, and video format."
4141          ],
4142          "items": {
4143            "enum": [
4144              "FORMAT_UNSPECIFIED",
4145              "NATIVE_DISPLAY",
4146              "NATIVE_VIDEO",
4147              "NON_NATIVE_DISPLAY",
4148              "NON_NATIVE_VIDEO"
4149            ],
4150            "type": "string"
4151          },
4152          "type": "array"
4153        },
4154        "name": {
4155          "description": "A user-defined name of the filter set. Filter set names must be unique\nglobally and match one of the patterns:\n\n- `bidders/*/filterSets/*` (for accessing bidder-level troubleshooting\ndata)\n- `bidders/*/accounts/*/filterSets/*` (for accessing account-level\ntroubleshooting data)\n\nThis field is required in create operations.",
4156          "type": "string"
4157        },
4158        "platforms": {
4159          "description": "The list of platforms on which to filter; may be empty. The filters\nrepresented by multiple platforms are ORed together (i.e., if non-empty,\nresults must match any one of the platforms).",
4160          "enumDescriptions": [
4161            "A placeholder for an undefined platform; indicates that no platform\nfilter will be applied.",
4162            "The ad impression appears on a desktop.",
4163            "The ad impression appears on a tablet.",
4164            "The ad impression appears on a mobile device."
4165          ],
4166          "items": {
4167            "enum": [
4168              "PLATFORM_UNSPECIFIED",
4169              "DESKTOP",
4170              "TABLET",
4171              "MOBILE"
4172            ],
4173            "type": "string"
4174          },
4175          "type": "array"
4176        },
4177        "publisherIdentifiers": {
4178          "description": "For Open Bidding partners only.\nThe list of publisher identifiers on which to filter; may be empty.\nThe filters represented by multiple publisher identifiers are ORed\ntogether.",
4179          "items": {
4180            "type": "string"
4181          },
4182          "type": "array"
4183        },
4184        "realtimeTimeRange": {
4185          "$ref": "RealtimeTimeRange",
4186          "description": "An open-ended realtime time range, defined by the aggregation start\ntimestamp."
4187        },
4188        "relativeDateRange": {
4189          "$ref": "RelativeDateRange",
4190          "description": "A relative date range, defined by an offset from today and a duration.\nInterpreted relative to Pacific time zone."
4191        },
4192        "sellerNetworkIds": {
4193          "description": "For Authorized Buyers only.\nThe list of IDs of the seller (publisher) networks on which to filter;\nmay be empty. The filters represented by multiple seller network IDs are\nORed together (i.e., if non-empty, results must match any one of the\npublisher networks). See\n[seller-network-ids](https://developers.google.com/authorized-buyers/rtb/downloads/seller-network-ids)\nfile for the set of existing seller network IDs.",
4194          "items": {
4195            "format": "int32",
4196            "type": "integer"
4197          },
4198          "type": "array"
4199        },
4200        "timeSeriesGranularity": {
4201          "description": "The granularity of time intervals if a time series breakdown is desired;\noptional.",
4202          "enum": [
4203            "TIME_SERIES_GRANULARITY_UNSPECIFIED",
4204            "HOURLY",
4205            "DAILY"
4206          ],
4207          "enumDescriptions": [
4208            "A placeholder for an unspecified interval; no time series is applied.\nAll rows in response will contain data for the entire requested time range.",
4209            "Indicates that data will be broken down by the hour.",
4210            "Indicates that data will be broken down by the day."
4211          ],
4212          "type": "string"
4213        }
4214      },
4215      "type": "object"
4216    },
4217    "FilteredBidCreativeRow": {
4218      "description": "The number of filtered bids with the specified dimension values that have the\nspecified creative.",
4219      "id": "FilteredBidCreativeRow",
4220      "properties": {
4221        "bidCount": {
4222          "$ref": "MetricValue",
4223          "description": "The number of bids with the specified creative."
4224        },
4225        "creativeId": {
4226          "description": "The ID of the creative.",
4227          "type": "string"
4228        },
4229        "rowDimensions": {
4230          "$ref": "RowDimensions",
4231          "description": "The values of all dimensions associated with metric values in this row."
4232        }
4233      },
4234      "type": "object"
4235    },
4236    "FilteredBidDetailRow": {
4237      "description": "The number of filtered bids with the specified dimension values, among those\nfiltered due to the requested filtering reason (i.e. creative status), that\nhave the specified detail.",
4238      "id": "FilteredBidDetailRow",
4239      "properties": {
4240        "bidCount": {
4241          "$ref": "MetricValue",
4242          "description": "The number of bids with the specified detail."
4243        },
4244        "detailId": {
4245          "description": "The ID of the detail. The associated value can be looked up in the\ndictionary file corresponding to the DetailType in the response message.",
4246          "format": "int32",
4247          "type": "integer"
4248        },
4249        "rowDimensions": {
4250          "$ref": "RowDimensions",
4251          "description": "The values of all dimensions associated with metric values in this row."
4252        }
4253      },
4254      "type": "object"
4255    },
4256    "FirstPartyMobileApplicationTargeting": {
4257      "description": "Represents a list of targeted and excluded mobile application IDs that\npublishers own.\nMobile application IDs are from App Store and Google Play Store.\nAndroid App ID, for example, com.google.android.apps.maps, can be found in\nGoogle Play Store URL.\niOS App ID (which is a number) can be found at the end of iTunes store URL.\nFirst party mobile applications is either included or excluded.",
4258      "id": "FirstPartyMobileApplicationTargeting",
4259      "properties": {
4260        "excludedAppIds": {
4261          "description": "A list of application IDs to be excluded.",
4262          "items": {
4263            "type": "string"
4264          },
4265          "type": "array"
4266        },
4267        "targetedAppIds": {
4268          "description": "A list of application IDs to be included.",
4269          "items": {
4270            "type": "string"
4271          },
4272          "type": "array"
4273        }
4274      },
4275      "type": "object"
4276    },
4277    "FrequencyCap": {
4278      "description": "Frequency cap.",
4279      "id": "FrequencyCap",
4280      "properties": {
4281        "maxImpressions": {
4282          "description": "The maximum number of impressions that can be served to a user within the\nspecified time period.",
4283          "format": "int32",
4284          "type": "integer"
4285        },
4286        "numTimeUnits": {
4287          "description": "The amount of time, in the units specified by time_unit_type. Defines the\namount of time over which impressions per user are counted and capped.",
4288          "format": "int32",
4289          "type": "integer"
4290        },
4291        "timeUnitType": {
4292          "description": "The time unit. Along with num_time_units defines the amount of time over\nwhich impressions per user are counted and capped.",
4293          "enum": [
4294            "TIME_UNIT_TYPE_UNSPECIFIED",
4295            "MINUTE",
4296            "HOUR",
4297            "DAY",
4298            "WEEK",
4299            "MONTH",
4300            "LIFETIME"
4301          ],
4302          "enumDescriptions": [
4303            "A placeholder for an undefined time unit type. This just indicates the\nvariable with this value hasn't been initialized.",
4304            "Minute",
4305            "Hour",
4306            "Day",
4307            "Week",
4308            "Month",
4309            "Lifetime"
4310          ],
4311          "type": "string"
4312        }
4313      },
4314      "type": "object"
4315    },
4316    "GuaranteedFixedPriceTerms": {
4317      "description": "Terms for Programmatic Guaranteed Deals.",
4318      "id": "GuaranteedFixedPriceTerms",
4319      "properties": {
4320        "fixedPrices": {
4321          "description": "Fixed price for the specified buyer.",
4322          "items": {
4323            "$ref": "PricePerBuyer"
4324          },
4325          "type": "array"
4326        },
4327        "guaranteedImpressions": {
4328          "description": "Guaranteed impressions as a percentage. This is the percentage\nof guaranteed looks that the buyer is guaranteeing to buy.",
4329          "format": "int64",
4330          "type": "string"
4331        },
4332        "guaranteedLooks": {
4333          "description": "Count of guaranteed looks. Required for deal, optional for product.",
4334          "format": "int64",
4335          "type": "string"
4336        },
4337        "minimumDailyLooks": {
4338          "description": "Daily minimum looks for CPD deal types.",
4339          "format": "int64",
4340          "type": "string"
4341        }
4342      },
4343      "type": "object"
4344    },
4345    "HtmlContent": {
4346      "description": "HTML content for a creative.",
4347      "id": "HtmlContent",
4348      "properties": {
4349        "height": {
4350          "description": "The height of the HTML snippet in pixels.",
4351          "format": "int32",
4352          "type": "integer"
4353        },
4354        "snippet": {
4355          "description": "The HTML snippet that displays the ad when inserted in the web page.",
4356          "type": "string"
4357        },
4358        "width": {
4359          "description": "The width of the HTML snippet in pixels.",
4360          "format": "int32",
4361          "type": "integer"
4362        }
4363      },
4364      "type": "object"
4365    },
4366    "Image": {
4367      "description": "An image resource. You may provide a larger image than was requested,\nso long as the aspect ratio is preserved.",
4368      "id": "Image",
4369      "properties": {
4370        "height": {
4371          "description": "Image height in pixels.",
4372          "format": "int32",
4373          "type": "integer"
4374        },
4375        "url": {
4376          "description": "The URL of the image.",
4377          "type": "string"
4378        },
4379        "width": {
4380          "description": "Image width in pixels.",
4381          "format": "int32",
4382          "type": "integer"
4383        }
4384      },
4385      "type": "object"
4386    },
4387    "ImpressionMetricsRow": {
4388      "description": "The set of metrics that are measured in numbers of impressions, representing\nhow many impressions with the specified dimension values were considered\neligible at each stage of the bidding funnel.",
4389      "id": "ImpressionMetricsRow",
4390      "properties": {
4391        "availableImpressions": {
4392          "$ref": "MetricValue",
4393          "description": "The number of impressions available to the buyer on Ad Exchange.\nIn some cases this value may be unavailable."
4394        },
4395        "bidRequests": {
4396          "$ref": "MetricValue",
4397          "description": "The number of impressions for which Ad Exchange sent the buyer a bid\nrequest."
4398        },
4399        "inventoryMatches": {
4400          "$ref": "MetricValue",
4401          "description": "The number of impressions that match the buyer's inventory pretargeting."
4402        },
4403        "responsesWithBids": {
4404          "$ref": "MetricValue",
4405          "description": "The number of impressions for which Ad Exchange received a response from\nthe buyer that contained at least one applicable bid."
4406        },
4407        "rowDimensions": {
4408          "$ref": "RowDimensions",
4409          "description": "The values of all dimensions associated with metric values in this row."
4410        },
4411        "successfulResponses": {
4412          "$ref": "MetricValue",
4413          "description": "The number of impressions for which the buyer successfully sent a response\nto Ad Exchange."
4414        }
4415      },
4416      "type": "object"
4417    },
4418    "InventorySizeTargeting": {
4419      "description": "Represents the size of an ad unit that can be targeted on an ad\nrequest. It only applies to Private Auction, AdX Preferred Deals and\nAuction Packages. This targeting does not apply to Programmatic Guaranteed\nand Preferred Deals in Ad Manager.",
4420      "id": "InventorySizeTargeting",
4421      "properties": {
4422        "excludedInventorySizes": {
4423          "description": "A list of inventory sizes to be excluded.",
4424          "items": {
4425            "$ref": "AdSize"
4426          },
4427          "type": "array"
4428        },
4429        "targetedInventorySizes": {
4430          "description": "A list of inventory sizes to be included.",
4431          "items": {
4432            "$ref": "AdSize"
4433          },
4434          "type": "array"
4435        }
4436      },
4437      "type": "object"
4438    },
4439    "ListBidMetricsResponse": {
4440      "description": "Response message for listing the metrics that are measured in number of bids.",
4441      "id": "ListBidMetricsResponse",
4442      "properties": {
4443        "bidMetricsRows": {
4444          "description": "List of rows, each containing a set of bid metrics.",
4445          "items": {
4446            "$ref": "BidMetricsRow"
4447          },
4448          "type": "array"
4449        },
4450        "nextPageToken": {
4451          "description": "A token to retrieve the next page of results.\nPass this value in the\nListBidMetricsRequest.pageToken\nfield in the subsequent call to the bidMetrics.list\nmethod to retrieve the next page of results.",
4452          "type": "string"
4453        }
4454      },
4455      "type": "object"
4456    },
4457    "ListBidResponseErrorsResponse": {
4458      "description": "Response message for listing all reasons that bid responses resulted in an\nerror.",
4459      "id": "ListBidResponseErrorsResponse",
4460      "properties": {
4461        "calloutStatusRows": {
4462          "description": "List of rows, with counts of bid responses aggregated by callout status.",
4463          "items": {
4464            "$ref": "CalloutStatusRow"
4465          },
4466          "type": "array"
4467        },
4468        "nextPageToken": {
4469          "description": "A token to retrieve the next page of results.\nPass this value in the\nListBidResponseErrorsRequest.pageToken\nfield in the subsequent call to the bidResponseErrors.list\nmethod to retrieve the next page of results.",
4470          "type": "string"
4471        }
4472      },
4473      "type": "object"
4474    },
4475    "ListBidResponsesWithoutBidsResponse": {
4476      "description": "Response message for listing all reasons that bid responses were considered\nto have no applicable bids.",
4477      "id": "ListBidResponsesWithoutBidsResponse",
4478      "properties": {
4479        "bidResponseWithoutBidsStatusRows": {
4480          "description": "List of rows, with counts of bid responses without bids aggregated by\nstatus.",
4481          "items": {
4482            "$ref": "BidResponseWithoutBidsStatusRow"
4483          },
4484          "type": "array"
4485        },
4486        "nextPageToken": {
4487          "description": "A token to retrieve the next page of results.\nPass this value in the\nListBidResponsesWithoutBidsRequest.pageToken\nfield in the subsequent call to the bidResponsesWithoutBids.list\nmethod to retrieve the next page of results.",
4488          "type": "string"
4489        }
4490      },
4491      "type": "object"
4492    },
4493    "ListClientUserInvitationsResponse": {
4494      "id": "ListClientUserInvitationsResponse",
4495      "properties": {
4496        "invitations": {
4497          "description": "The returned list of client users.",
4498          "items": {
4499            "$ref": "ClientUserInvitation"
4500          },
4501          "type": "array"
4502        },
4503        "nextPageToken": {
4504          "description": "A token to retrieve the next page of results.\nPass this value in the\nListClientUserInvitationsRequest.pageToken\nfield in the subsequent call to the\nclients.invitations.list\nmethod to retrieve the next\npage of results.",
4505          "type": "string"
4506        }
4507      },
4508      "type": "object"
4509    },
4510    "ListClientUsersResponse": {
4511      "id": "ListClientUsersResponse",
4512      "properties": {
4513        "nextPageToken": {
4514          "description": "A token to retrieve the next page of results.\nPass this value in the\nListClientUsersRequest.pageToken\nfield in the subsequent call to the\nclients.invitations.list\nmethod to retrieve the next\npage of results.",
4515          "type": "string"
4516        },
4517        "users": {
4518          "description": "The returned list of client users.",
4519          "items": {
4520            "$ref": "ClientUser"
4521          },
4522          "type": "array"
4523        }
4524      },
4525      "type": "object"
4526    },
4527    "ListClientsResponse": {
4528      "id": "ListClientsResponse",
4529      "properties": {
4530        "clients": {
4531          "description": "The returned list of clients.",
4532          "items": {
4533            "$ref": "Client"
4534          },
4535          "type": "array"
4536        },
4537        "nextPageToken": {
4538          "description": "A token to retrieve the next page of results.\nPass this value in the\nListClientsRequest.pageToken\nfield in the subsequent call to the\naccounts.clients.list\nmethod to retrieve the next page of results.",
4539          "type": "string"
4540        }
4541      },
4542      "type": "object"
4543    },
4544    "ListCreativeStatusBreakdownByCreativeResponse": {
4545      "description": "Response message for listing all creatives associated with a given filtered\nbid reason.",
4546      "id": "ListCreativeStatusBreakdownByCreativeResponse",
4547      "properties": {
4548        "filteredBidCreativeRows": {
4549          "description": "List of rows, with counts of bids with a given creative status aggregated\nby creative.",
4550          "items": {
4551            "$ref": "FilteredBidCreativeRow"
4552          },
4553          "type": "array"
4554        },
4555        "nextPageToken": {
4556          "description": "A token to retrieve the next page of results.\nPass this value in the\nListCreativeStatusBreakdownByCreativeRequest.pageToken\nfield in the subsequent call to the filteredBids.creatives.list\nmethod to retrieve the next page of results.",
4557          "type": "string"
4558        }
4559      },
4560      "type": "object"
4561    },
4562    "ListCreativeStatusBreakdownByDetailResponse": {
4563      "description": "Response message for listing all details associated with a given filtered bid\nreason.",
4564      "id": "ListCreativeStatusBreakdownByDetailResponse",
4565      "properties": {
4566        "detailType": {
4567          "description": "The type of detail that the detail IDs represent.",
4568          "enum": [
4569            "DETAIL_TYPE_UNSPECIFIED",
4570            "CREATIVE_ATTRIBUTE",
4571            "VENDOR",
4572            "SENSITIVE_CATEGORY",
4573            "PRODUCT_CATEGORY",
4574            "DISAPPROVAL_REASON"
4575          ],
4576          "enumDescriptions": [
4577            "A placeholder for an undefined status.\nThis value will never be returned in responses.",
4578            "Indicates that the detail ID refers to a creative attribute; see\n[publisher-excludable-creative-attributes](https://developers.google.com/authorized-buyers/rtb/downloads/publisher-excludable-creative-attributes).",
4579            "Indicates that the detail ID refers to a vendor; see\n[vendors](https://developers.google.com/authorized-buyers/rtb/downloads/vendors).",
4580            "Indicates that the detail ID refers to a sensitive category; see\n[ad-sensitive-categories](https://developers.google.com/authorized-buyers/rtb/downloads/ad-sensitive-categories).",
4581            "Indicates that the detail ID refers to a product category; see\n[ad-product-categories](https://developers.google.com/authorized-buyers/rtb/downloads/ad-product-categories).",
4582            "Indicates that the detail ID refers to a disapproval reason; see\nDisapprovalReason enum in\n[snippet-status-report-proto](https://developers.google.com/authorized-buyers/rtb/downloads/snippet-status-report-proto)."
4583          ],
4584          "type": "string"
4585        },
4586        "filteredBidDetailRows": {
4587          "description": "List of rows, with counts of bids with a given creative status aggregated\nby detail.",
4588          "items": {
4589            "$ref": "FilteredBidDetailRow"
4590          },
4591          "type": "array"
4592        },
4593        "nextPageToken": {
4594          "description": "A token to retrieve the next page of results.\nPass this value in the\nListCreativeStatusBreakdownByDetailRequest.pageToken\nfield in the subsequent call to the filteredBids.details.list\nmethod to retrieve the next page of results.",
4595          "type": "string"
4596        }
4597      },
4598      "type": "object"
4599    },
4600    "ListCreativesResponse": {
4601      "description": "A response for listing creatives.",
4602      "id": "ListCreativesResponse",
4603      "properties": {
4604        "creatives": {
4605          "description": "The list of creatives.",
4606          "items": {
4607            "$ref": "Creative"
4608          },
4609          "type": "array"
4610        },
4611        "nextPageToken": {
4612          "description": "A token to retrieve the next page of results.\nPass this value in the\nListCreativesRequest.page_token\nfield in the subsequent call to `ListCreatives` method to retrieve the next\npage of results.",
4613          "type": "string"
4614        }
4615      },
4616      "type": "object"
4617    },
4618    "ListDealAssociationsResponse": {
4619      "description": "A response for listing creative and deal associations",
4620      "id": "ListDealAssociationsResponse",
4621      "properties": {
4622        "associations": {
4623          "description": "The list of associations.",
4624          "items": {
4625            "$ref": "CreativeDealAssociation"
4626          },
4627          "type": "array"
4628        },
4629        "nextPageToken": {
4630          "description": "A token to retrieve the next page of results.\nPass this value in the\nListDealAssociationsRequest.page_token\nfield in the subsequent call to 'ListDealAssociation' method to retrieve\nthe next page of results.",
4631          "type": "string"
4632        }
4633      },
4634      "type": "object"
4635    },
4636    "ListFilterSetsResponse": {
4637      "description": "Response message for listing filter sets.",
4638      "id": "ListFilterSetsResponse",
4639      "properties": {
4640        "filterSets": {
4641          "description": "The filter sets belonging to the buyer.",
4642          "items": {
4643            "$ref": "FilterSet"
4644          },
4645          "type": "array"
4646        },
4647        "nextPageToken": {
4648          "description": "A token to retrieve the next page of results.\nPass this value in the\nListFilterSetsRequest.pageToken\nfield in the subsequent call to the\naccounts.filterSets.list\nmethod to retrieve the next page of results.",
4649          "type": "string"
4650        }
4651      },
4652      "type": "object"
4653    },
4654    "ListFilteredBidRequestsResponse": {
4655      "description": "Response message for listing all reasons that bid requests were filtered and\nnot sent to the buyer.",
4656      "id": "ListFilteredBidRequestsResponse",
4657      "properties": {
4658        "calloutStatusRows": {
4659          "description": "List of rows, with counts of filtered bid requests aggregated by callout\nstatus.",
4660          "items": {
4661            "$ref": "CalloutStatusRow"
4662          },
4663          "type": "array"
4664        },
4665        "nextPageToken": {
4666          "description": "A token to retrieve the next page of results.\nPass this value in the\nListFilteredBidRequestsRequest.pageToken\nfield in the subsequent call to the filteredBidRequests.list\nmethod to retrieve the next page of results.",
4667          "type": "string"
4668        }
4669      },
4670      "type": "object"
4671    },
4672    "ListFilteredBidsResponse": {
4673      "description": "Response message for listing all reasons that bids were filtered from the\nauction.",
4674      "id": "ListFilteredBidsResponse",
4675      "properties": {
4676        "creativeStatusRows": {
4677          "description": "List of rows, with counts of filtered bids aggregated by filtering reason\n(i.e. creative status).",
4678          "items": {
4679            "$ref": "CreativeStatusRow"
4680          },
4681          "type": "array"
4682        },
4683        "nextPageToken": {
4684          "description": "A token to retrieve the next page of results.\nPass this value in the\nListFilteredBidsRequest.pageToken\nfield in the subsequent call to the filteredBids.list\nmethod to retrieve the next page of results.",
4685          "type": "string"
4686        }
4687      },
4688      "type": "object"
4689    },
4690    "ListImpressionMetricsResponse": {
4691      "description": "Response message for listing the metrics that are measured in number of\nimpressions.",
4692      "id": "ListImpressionMetricsResponse",
4693      "properties": {
4694        "impressionMetricsRows": {
4695          "description": "List of rows, each containing a set of impression metrics.",
4696          "items": {
4697            "$ref": "ImpressionMetricsRow"
4698          },
4699          "type": "array"
4700        },
4701        "nextPageToken": {
4702          "description": "A token to retrieve the next page of results.\nPass this value in the\nListImpressionMetricsRequest.pageToken\nfield in the subsequent call to the impressionMetrics.list\nmethod to retrieve the next page of results.",
4703          "type": "string"
4704        }
4705      },
4706      "type": "object"
4707    },
4708    "ListLosingBidsResponse": {
4709      "description": "Response message for listing all reasons that bids lost in the auction.",
4710      "id": "ListLosingBidsResponse",
4711      "properties": {
4712        "creativeStatusRows": {
4713          "description": "List of rows, with counts of losing bids aggregated by loss reason (i.e.\ncreative status).",
4714          "items": {
4715            "$ref": "CreativeStatusRow"
4716          },
4717          "type": "array"
4718        },
4719        "nextPageToken": {
4720          "description": "A token to retrieve the next page of results.\nPass this value in the\nListLosingBidsRequest.pageToken\nfield in the subsequent call to the losingBids.list\nmethod to retrieve the next page of results.",
4721          "type": "string"
4722        }
4723      },
4724      "type": "object"
4725    },
4726    "ListNonBillableWinningBidsResponse": {
4727      "description": "Response message for listing all reasons for which a buyer was not billed for\na winning bid.",
4728      "id": "ListNonBillableWinningBidsResponse",
4729      "properties": {
4730        "nextPageToken": {
4731          "description": "A token to retrieve the next page of results.\nPass this value in the\nListNonBillableWinningBidsRequest.pageToken\nfield in the subsequent call to the nonBillableWinningBids.list\nmethod to retrieve the next page of results.",
4732          "type": "string"
4733        },
4734        "nonBillableWinningBidStatusRows": {
4735          "description": "List of rows, with counts of bids not billed aggregated by reason.",
4736          "items": {
4737            "$ref": "NonBillableWinningBidStatusRow"
4738          },
4739          "type": "array"
4740        }
4741      },
4742      "type": "object"
4743    },
4744    "ListProductsResponse": {
4745      "description": "Response message for listing products visible to the buyer.",
4746      "id": "ListProductsResponse",
4747      "properties": {
4748        "nextPageToken": {
4749          "description": "List pagination support.",
4750          "type": "string"
4751        },
4752        "products": {
4753          "description": "The list of matching products at their head revision number.",
4754          "items": {
4755            "$ref": "Product"
4756          },
4757          "type": "array"
4758        }
4759      },
4760      "type": "object"
4761    },
4762    "ListProposalsResponse": {
4763      "description": "Response message for listing proposals.",
4764      "id": "ListProposalsResponse",
4765      "properties": {
4766        "nextPageToken": {
4767          "description": "Continuation token for fetching the next page of results.",
4768          "type": "string"
4769        },
4770        "proposals": {
4771          "description": "The list of proposals.",
4772          "items": {
4773            "$ref": "Proposal"
4774          },
4775          "type": "array"
4776        }
4777      },
4778      "type": "object"
4779    },
4780    "ListPublisherProfilesResponse": {
4781      "description": "Response message for profiles visible to the buyer.",
4782      "id": "ListPublisherProfilesResponse",
4783      "properties": {
4784        "nextPageToken": {
4785          "description": "List pagination support",
4786          "type": "string"
4787        },
4788        "publisherProfiles": {
4789          "description": "The list of matching publisher profiles.",
4790          "items": {
4791            "$ref": "PublisherProfile"
4792          },
4793          "type": "array"
4794        }
4795      },
4796      "type": "object"
4797    },
4798    "LocationContext": {
4799      "description": "Output only. The Geo criteria the restriction applies to.",
4800      "id": "LocationContext",
4801      "properties": {
4802        "geoCriteriaIds": {
4803          "description": "IDs representing the geo location for this context.\nPlease refer to the\n[geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)\nfile for different geo criteria IDs.",
4804          "items": {
4805            "format": "int32",
4806            "type": "integer"
4807          },
4808          "type": "array"
4809        }
4810      },
4811      "type": "object"
4812    },
4813    "MarketplaceTargeting": {
4814      "description": "Targeting represents different criteria that can be used by advertisers to\ntarget ad inventory. For example, they can choose to target ad requests only\nif the user is in the US.\nMultiple types of targeting are always applied as a logical AND, unless noted\notherwise.",
4815      "id": "MarketplaceTargeting",
4816      "properties": {
4817        "geoTargeting": {
4818          "$ref": "CriteriaTargeting",
4819          "description": "Geo criteria IDs to be included/excluded."
4820        },
4821        "inventorySizeTargeting": {
4822          "$ref": "InventorySizeTargeting",
4823          "description": "Inventory sizes to be included/excluded."
4824        },
4825        "placementTargeting": {
4826          "$ref": "PlacementTargeting",
4827          "description": "Placement targeting information, e.g., URL, mobile applications."
4828        },
4829        "technologyTargeting": {
4830          "$ref": "TechnologyTargeting",
4831          "description": "Technology targeting information, e.g., operating system, device category."
4832        },
4833        "videoTargeting": {
4834          "$ref": "VideoTargeting",
4835          "description": "Video targeting information."
4836        }
4837      },
4838      "type": "object"
4839    },
4840    "MetricValue": {
4841      "description": "A metric value, with an expected value and a variance; represents a count\nthat may be either exact or estimated (i.e. when sampled).",
4842      "id": "MetricValue",
4843      "properties": {
4844        "value": {
4845          "description": "The expected value of the metric.",
4846          "format": "int64",
4847          "type": "string"
4848        },
4849        "variance": {
4850          "description": "The variance (i.e. square of the standard deviation) of the metric value.\nIf value is exact, variance is 0.\nCan be used to calculate margin of error as a percentage of value, using\nthe following formula, where Z is the standard constant that depends on the\ndesired size of the confidence interval (e.g. for 90% confidence interval,\nuse Z = 1.645):\n\n  marginOfError = 100 * Z * sqrt(variance) / value",
4851          "format": "int64",
4852          "type": "string"
4853        }
4854      },
4855      "type": "object"
4856    },
4857    "MobileApplicationTargeting": {
4858      "description": "Mobile application targeting settings.",
4859      "id": "MobileApplicationTargeting",
4860      "properties": {
4861        "firstPartyTargeting": {
4862          "$ref": "FirstPartyMobileApplicationTargeting",
4863          "description": "Publisher owned apps to be targeted or excluded by the publisher to\ndisplay the ads in."
4864        }
4865      },
4866      "type": "object"
4867    },
4868    "Money": {
4869      "description": "Represents an amount of money with its currency type.",
4870      "id": "Money",
4871      "properties": {
4872        "currencyCode": {
4873          "description": "The 3-letter currency code defined in ISO 4217.",
4874          "type": "string"
4875        },
4876        "nanos": {
4877          "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
4878          "format": "int32",
4879          "type": "integer"
4880        },
4881        "units": {
4882          "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
4883          "format": "int64",
4884          "type": "string"
4885        }
4886      },
4887      "type": "object"
4888    },
4889    "NativeContent": {
4890      "description": "Native content for a creative.",
4891      "id": "NativeContent",
4892      "properties": {
4893        "advertiserName": {
4894          "description": "The name of the advertiser or sponsor, to be displayed in the ad creative.",
4895          "type": "string"
4896        },
4897        "appIcon": {
4898          "$ref": "Image",
4899          "description": "The app icon, for app download ads."
4900        },
4901        "body": {
4902          "description": "A long description of the ad.",
4903          "type": "string"
4904        },
4905        "callToAction": {
4906          "description": "A label for the button that the user is supposed to click.",
4907          "type": "string"
4908        },
4909        "clickLinkUrl": {
4910          "description": "The URL that the browser/SDK will load when the user clicks the ad.",
4911          "type": "string"
4912        },
4913        "clickTrackingUrl": {
4914          "description": "The URL to use for click tracking.",
4915          "type": "string"
4916        },
4917        "headline": {
4918          "description": "A short title for the ad.",
4919          "type": "string"
4920        },
4921        "image": {
4922          "$ref": "Image",
4923          "description": "A large image."
4924        },
4925        "logo": {
4926          "$ref": "Image",
4927          "description": "A smaller image, for the advertiser's logo."
4928        },
4929        "priceDisplayText": {
4930          "description": "The price of the promoted app including currency info.",
4931          "type": "string"
4932        },
4933        "starRating": {
4934          "description": "The app rating in the app store. Must be in the range [0-5].",
4935          "format": "double",
4936          "type": "number"
4937        },
4938        "storeUrl": {
4939          "description": "The URL to the app store to purchase/download the promoted app.",
4940          "type": "string"
4941        },
4942        "videoUrl": {
4943          "description": "The URL to fetch a native video ad.",
4944          "type": "string"
4945        }
4946      },
4947      "type": "object"
4948    },
4949    "NonBillableWinningBidStatusRow": {
4950      "description": "The number of winning bids with the specified dimension values for which the\nbuyer was not billed, as described by the specified status.",
4951      "id": "NonBillableWinningBidStatusRow",
4952      "properties": {
4953        "bidCount": {
4954          "$ref": "MetricValue",
4955          "description": "The number of bids with the specified status."
4956        },
4957        "rowDimensions": {
4958          "$ref": "RowDimensions",
4959          "description": "The values of all dimensions associated with metric values in this row."
4960        },
4961        "status": {
4962          "description": "The status specifying why the winning bids were not billed.",
4963          "enum": [
4964            "STATUS_UNSPECIFIED",
4965            "AD_NOT_RENDERED",
4966            "INVALID_IMPRESSION"
4967          ],
4968          "enumDescriptions": [
4969            "A placeholder for an undefined status.\nThis value will never be returned in responses.",
4970            "The buyer was not billed because the ad was not rendered by the\npublisher.",
4971            "The buyer was not billed because the impression won by the bid was\ndetermined to be invalid."
4972          ],
4973          "type": "string"
4974        }
4975      },
4976      "type": "object"
4977    },
4978    "NonGuaranteedAuctionTerms": {
4979      "description": "Terms for Private Auctions. Note that Private Auctions can be created only\nby the seller, but they can be returned in a get or list request.",
4980      "id": "NonGuaranteedAuctionTerms",
4981      "properties": {
4982        "autoOptimizePrivateAuction": {
4983          "description": "True if open auction buyers are allowed to compete with invited buyers\nin this private auction.",
4984          "type": "boolean"
4985        },
4986        "reservePricesPerBuyer": {
4987          "description": "Reserve price for the specified buyer.",
4988          "items": {
4989            "$ref": "PricePerBuyer"
4990          },
4991          "type": "array"
4992        }
4993      },
4994      "type": "object"
4995    },
4996    "NonGuaranteedFixedPriceTerms": {
4997      "description": "Terms for Preferred Deals. Note that Preferred Deals cannot be created via\nthe API at this time, but can be returned in a get or list request.",
4998      "id": "NonGuaranteedFixedPriceTerms",
4999      "properties": {
5000        "fixedPrices": {
5001          "description": "Fixed price for the specified buyer.",
5002          "items": {
5003            "$ref": "PricePerBuyer"
5004          },
5005          "type": "array"
5006        }
5007      },
5008      "type": "object"
5009    },
5010    "Note": {
5011      "description": "A proposal may be associated to several notes.",
5012      "id": "Note",
5013      "properties": {
5014        "createTime": {
5015          "description": "Output only. The timestamp for when this note was created.",
5016          "format": "google-datetime",
5017          "type": "string"
5018        },
5019        "creatorRole": {
5020          "description": "Output only. The role of the person (buyer/seller) creating the note.",
5021          "enum": [
5022            "BUYER_SELLER_ROLE_UNSPECIFIED",
5023            "BUYER",
5024            "SELLER"
5025          ],
5026          "enumDescriptions": [
5027            "A placeholder for an undefined buyer/seller role.",
5028            "Specifies the role as buyer.",
5029            "Specifies the role as seller."
5030          ],
5031          "type": "string"
5032        },
5033        "note": {
5034          "description": "The actual note to attach.\n(max-length: 1024 unicode code units)\n\nNote: This field may be set only when creating the resource. Modifying\nthis field while updating the resource will result in an error.",
5035          "type": "string"
5036        },
5037        "noteId": {
5038          "description": "Output only. The unique ID for the note.",
5039          "type": "string"
5040        },
5041        "proposalRevision": {
5042          "description": "Output only. The revision number of the proposal when the note is created.",
5043          "format": "int64",
5044          "type": "string"
5045        }
5046      },
5047      "type": "object"
5048    },
5049    "OperatingSystemTargeting": {
5050      "description": "Represents targeting information for operating systems.",
5051      "id": "OperatingSystemTargeting",
5052      "properties": {
5053        "operatingSystemCriteria": {
5054          "$ref": "CriteriaTargeting",
5055          "description": "IDs of operating systems to be included/excluded."
5056        },
5057        "operatingSystemVersionCriteria": {
5058          "$ref": "CriteriaTargeting",
5059          "description": "IDs of operating system versions to be included/excluded."
5060        }
5061      },
5062      "type": "object"
5063    },
5064    "PauseProposalRequest": {
5065      "description": "Request message to pause serving for an already-finalized proposal.",
5066      "id": "PauseProposalRequest",
5067      "properties": {
5068        "reason": {
5069          "description": "The reason why the proposal is being paused.\nThis human readable message will be displayed in the seller's UI.\n(Max length: 1000 unicode code units.)",
5070          "type": "string"
5071        }
5072      },
5073      "type": "object"
5074    },
5075    "PlacementTargeting": {
5076      "description": "Represents targeting about where the ads can appear, e.g., certain sites or\nmobile applications.\nDifferent placement targeting types will be logically OR'ed.",
5077      "id": "PlacementTargeting",
5078      "properties": {
5079        "mobileApplicationTargeting": {
5080          "$ref": "MobileApplicationTargeting",
5081          "description": "Mobile application targeting information in a deal.\nThis doesn't apply to Auction Packages."
5082        },
5083        "urlTargeting": {
5084          "$ref": "UrlTargeting",
5085          "description": "URLs to be included/excluded."
5086        }
5087      },
5088      "type": "object"
5089    },
5090    "PlatformContext": {
5091      "description": "Output only. The type of platform the restriction applies to.",
5092      "id": "PlatformContext",
5093      "properties": {
5094        "platforms": {
5095          "description": "The platforms this restriction applies to.",
5096          "enumDescriptions": [
5097            "Desktop platform.",
5098            "Android platform.",
5099            "iOS platform."
5100          ],
5101          "items": {
5102            "enum": [
5103              "DESKTOP",
5104              "ANDROID",
5105              "IOS"
5106            ],
5107            "type": "string"
5108          },
5109          "type": "array"
5110        }
5111      },
5112      "type": "object"
5113    },
5114    "Price": {
5115      "description": "Represents a price and a pricing type for a product / deal.",
5116      "id": "Price",
5117      "properties": {
5118        "amount": {
5119          "$ref": "Money",
5120          "description": "The actual price with currency specified."
5121        },
5122        "pricingType": {
5123          "description": "The pricing type for the deal/product. (default: CPM)",
5124          "enum": [
5125            "PRICING_TYPE_UNSPECIFIED",
5126            "COST_PER_MILLE",
5127            "COST_PER_DAY"
5128          ],
5129          "enumDescriptions": [
5130            "A placeholder for an undefined pricing type. If the pricing type is\nunpsecified, `COST_PER_MILLE` will be used instead.",
5131            "Cost per thousand impressions.",
5132            "Cost per day"
5133          ],
5134          "type": "string"
5135        }
5136      },
5137      "type": "object"
5138    },
5139    "PricePerBuyer": {
5140      "description": "Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in\na product can become 0 or 1 deals. To check if there is a PricePerBuyer for\na particular buyer or buyer/advertiser pair, we look for the most specific\nmatching rule - we first look for a rule matching the buyer and advertiser,\nnext a rule with the buyer but an empty advertiser list, and otherwise look\nfor a matching rule where no buyer is set.",
5141      "id": "PricePerBuyer",
5142      "properties": {
5143        "advertiserIds": {
5144          "description": "The list of advertisers for this price when associated with this buyer.\nIf empty, all advertisers with this buyer pay this price.",
5145          "items": {
5146            "type": "string"
5147          },
5148          "type": "array"
5149        },
5150        "buyer": {
5151          "$ref": "Buyer",
5152          "description": "The buyer who will pay this price. If unset, all buyers can pay this price\n(if the\nadvertisers match, and there's no more specific rule matching the buyer)."
5153        },
5154        "price": {
5155          "$ref": "Price",
5156          "description": "The specified price."
5157        }
5158      },
5159      "type": "object"
5160    },
5161    "PrivateData": {
5162      "description": "Buyers are allowed to store certain types of private data in a proposal/deal.",
5163      "id": "PrivateData",
5164      "properties": {
5165        "referenceId": {
5166          "description": "A buyer or seller specified reference ID. This can be queried in the list\noperations (max-length: 1024 unicode code units).",
5167          "type": "string"
5168        }
5169      },
5170      "type": "object"
5171    },
5172    "Product": {
5173      "description": "Note: this resource requires whitelisting for access. Please contact your\naccount manager for access to Marketplace resources.\n\nA product is a segment of inventory that a seller wishes to sell. It is\nassociated with certain terms and targeting information which helps the buyer\nknow more about the inventory.",
5174      "id": "Product",
5175      "properties": {
5176        "availableEndTime": {
5177          "description": "The proposed end time for the deal. The field will be truncated to the\norder of seconds during serving.",
5178          "format": "google-datetime",
5179          "type": "string"
5180        },
5181        "availableStartTime": {
5182          "description": "Inventory availability dates. The start time will be truncated to seconds\nduring serving. Thus, a field specified as 3:23:34.456 (HH:mm:ss.SSS) will\nbe truncated to 3:23:34 when serving.",
5183          "format": "google-datetime",
5184          "type": "string"
5185        },
5186        "createTime": {
5187          "description": "Creation time.",
5188          "format": "google-datetime",
5189          "type": "string"
5190        },
5191        "creatorContacts": {
5192          "description": "Optional contact information for the creator of this product.",
5193          "items": {
5194            "$ref": "ContactInformation"
5195          },
5196          "type": "array"
5197        },
5198        "displayName": {
5199          "description": "The display name for this product as set by the seller.",
5200          "type": "string"
5201        },
5202        "hasCreatorSignedOff": {
5203          "description": "If the creator has already signed off on the product, then the buyer can\nfinalize the deal by accepting the product as is. When copying to a\nproposal, if any of the terms are changed, then auto_finalize is\nautomatically set to false.",
5204          "type": "boolean"
5205        },
5206        "productId": {
5207          "description": "The unique ID for the product.",
5208          "type": "string"
5209        },
5210        "productRevision": {
5211          "description": "The revision number of the product (auto-assigned by Marketplace).",
5212          "format": "int64",
5213          "type": "string"
5214        },
5215        "publisherProfileId": {
5216          "description": "An ID which can be used by the Publisher Profile API to get more\ninformation about the seller that created this product.",
5217          "type": "string"
5218        },
5219        "seller": {
5220          "$ref": "Seller",
5221          "description": "Information about the seller that created this product."
5222        },
5223        "syndicationProduct": {
5224          "description": "The syndication product associated with the deal.",
5225          "enum": [
5226            "SYNDICATION_PRODUCT_UNSPECIFIED",
5227            "CONTENT",
5228            "MOBILE",
5229            "VIDEO",
5230            "GAMES"
5231          ],
5232          "enumDescriptions": [
5233            "A placeholder for an undefined syndication product.",
5234            "This typically represents a web page.",
5235            "This represents a mobile property.",
5236            "This represents video ad formats.",
5237            "This represents ads shown within games."
5238          ],
5239          "type": "string"
5240        },
5241        "targetingCriterion": {
5242          "description": "Targeting that is shared between the buyer and the seller. Each targeting\ncriterion has a specified key and for each key there is a list of inclusion\nvalue or exclusion values.",
5243          "items": {
5244            "$ref": "TargetingCriteria"
5245          },
5246          "type": "array"
5247        },
5248        "terms": {
5249          "$ref": "DealTerms",
5250          "description": "The negotiable terms of the deal."
5251        },
5252        "updateTime": {
5253          "description": "Time of last update.",
5254          "format": "google-datetime",
5255          "type": "string"
5256        },
5257        "webPropertyCode": {
5258          "description": "The web-property code for the seller. This needs to be copied as is when\nadding a new deal to a proposal.",
5259          "type": "string"
5260        }
5261      },
5262      "type": "object"
5263    },
5264    "Proposal": {
5265      "description": "Note: this resource requires whitelisting for access. Please contact your\naccount manager for access to Marketplace resources.\n\nRepresents a proposal in the Marketplace. A proposal is the unit of\nnegotiation between a seller and a buyer and contains deals which\nare served.\n\nNote: you can not update, create, or otherwise modify Private\nAuction or Preferred Deals deals through the API.\n\nFields are updatable unless noted otherwise.",
5266      "id": "Proposal",
5267      "properties": {
5268        "billedBuyer": {
5269          "$ref": "Buyer",
5270          "description": "Output only. Reference to the buyer that will get billed for this proposal."
5271        },
5272        "buyer": {
5273          "$ref": "Buyer",
5274          "description": "Reference to the buyer on the proposal.\n\nNote: This field may be set only when creating the resource. Modifying\nthis field while updating the resource will result in an error."
5275        },
5276        "buyerContacts": {
5277          "description": "Contact information for the buyer.",
5278          "items": {
5279            "$ref": "ContactInformation"
5280          },
5281          "type": "array"
5282        },
5283        "buyerPrivateData": {
5284          "$ref": "PrivateData",
5285          "description": "Private data for buyer. (hidden from seller)."
5286        },
5287        "deals": {
5288          "description": "The deals associated with this proposal. For Private Auction proposals\n(whose deals have NonGuaranteedAuctionTerms), there will only be one deal.",
5289          "items": {
5290            "$ref": "Deal"
5291          },
5292          "type": "array"
5293        },
5294        "displayName": {
5295          "description": "The name for the proposal.",
5296          "type": "string"
5297        },
5298        "isRenegotiating": {
5299          "description": "Output only. True if the proposal is being renegotiated.",
5300          "type": "boolean"
5301        },
5302        "isSetupComplete": {
5303          "description": "Output only. True, if the buyside inventory setup is complete for this\nproposal.",
5304          "type": "boolean"
5305        },
5306        "lastUpdaterOrCommentorRole": {
5307          "description": "Output only. The role of the last user that either updated the proposal or\nleft a comment.",
5308          "enum": [
5309            "BUYER_SELLER_ROLE_UNSPECIFIED",
5310            "BUYER",
5311            "SELLER"
5312          ],
5313          "enumDescriptions": [
5314            "A placeholder for an undefined buyer/seller role.",
5315            "Specifies the role as buyer.",
5316            "Specifies the role as seller."
5317          ],
5318          "type": "string"
5319        },
5320        "notes": {
5321          "description": "Output only. The notes associated with this proposal.",
5322          "items": {
5323            "$ref": "Note"
5324          },
5325          "type": "array"
5326        },
5327        "originatorRole": {
5328          "description": "Output only. Indicates whether the buyer/seller created the proposal.",
5329          "enum": [
5330            "BUYER_SELLER_ROLE_UNSPECIFIED",
5331            "BUYER",
5332            "SELLER"
5333          ],
5334          "enumDescriptions": [
5335            "A placeholder for an undefined buyer/seller role.",
5336            "Specifies the role as buyer.",
5337            "Specifies the role as seller."
5338          ],
5339          "type": "string"
5340        },
5341        "privateAuctionId": {
5342          "description": "Output only. Private auction ID if this proposal is a private auction\nproposal.",
5343          "type": "string"
5344        },
5345        "proposalId": {
5346          "description": "Output only. The unique ID of the proposal.",
5347          "type": "string"
5348        },
5349        "proposalRevision": {
5350          "description": "Output only. The revision number for the proposal.\nEach update to the proposal or the deal causes the proposal revision number\nto auto-increment. The buyer keeps track of the last revision number they\nknow of and pass it in when making an update. If the head revision number\non the server has since incremented, then an ABORTED error is returned\nduring the update operation to let the buyer know that a subsequent update\nwas made.",
5351          "format": "int64",
5352          "type": "string"
5353        },
5354        "proposalState": {
5355          "description": "Output only. The current state of the proposal.",
5356          "enum": [
5357            "PROPOSAL_STATE_UNSPECIFIED",
5358            "PROPOSED",
5359            "BUYER_ACCEPTED",
5360            "SELLER_ACCEPTED",
5361            "CANCELED",
5362            "FINALIZED"
5363          ],
5364          "enumDescriptions": [
5365            "A placeholder for an undefined proposal state.",
5366            "The proposal is under negotiation or renegotiation.",
5367            "The proposal has been accepted by the buyer.",
5368            "The proposal has been accepted by the seller.",
5369            "The negotiations on the proposal were canceled and the proposal was never\nfinalized.",
5370            "The proposal is finalized. During renegotiation, the proposal may\nnot be in this state."
5371          ],
5372          "type": "string"
5373        },
5374        "seller": {
5375          "$ref": "Seller",
5376          "description": "Reference to the seller on the proposal.\n\nNote: This field may be set only when creating the resource. Modifying\nthis field while updating the resource will result in an error."
5377        },
5378        "sellerContacts": {
5379          "description": "Output only. Contact information for the seller.",
5380          "items": {
5381            "$ref": "ContactInformation"
5382          },
5383          "type": "array"
5384        },
5385        "updateTime": {
5386          "description": "Output only. The time when the proposal was last revised.",
5387          "format": "google-datetime",
5388          "type": "string"
5389        }
5390      },
5391      "type": "object"
5392    },
5393    "PublisherProfile": {
5394      "description": "Note: this resource requires whitelisting for access. Please contact your\naccount manager for access to Marketplace resources.\n\nRepresents a publisher profile\n(https://support.google.com/admanager/answer/6035806?hl=en) in Marketplace.\n\nAll fields are read only. All string fields are free-form text entered by the\npublisher unless noted otherwise.",
5395      "id": "PublisherProfile",
5396      "properties": {
5397        "audienceDescription": {
5398          "description": "Description on the publisher's audience.",
5399          "type": "string"
5400        },
5401        "buyerPitchStatement": {
5402          "description": "Statement explaining what's unique about publisher's business, and why\nbuyers should partner with the publisher.",
5403          "type": "string"
5404        },
5405        "directDealsContact": {
5406          "description": "Contact information for direct reservation deals. This is free text entered\nby the publisher and may include information like names, phone numbers and\nemail addresses.",
5407          "type": "string"
5408        },
5409        "displayName": {
5410          "description": "Name of the publisher profile.",
5411          "type": "string"
5412        },
5413        "domains": {
5414          "description": "The list of domains represented in this publisher profile. Empty if this is\na parent profile. These are top private domains, meaning that these will\nnot contain a string like \"photos.google.co.uk/123\", but will instead\ncontain \"google.co.uk\".",
5415          "items": {
5416            "type": "string"
5417          },
5418          "type": "array"
5419        },
5420        "googlePlusUrl": {
5421          "description": "URL to publisher's Google+ page.",
5422          "type": "string"
5423        },
5424        "isParent": {
5425          "description": "Indicates if this profile is the parent profile of the seller. A parent\nprofile represents all the inventory from the seller, as opposed to child\nprofile that is created to brand a portion of inventory. One seller should\nhave only one parent publisher profile, and can have multiple child\nprofiles. Publisher profiles for the same seller will have same value of\nfield google.ads.adexchange.buyer.v2beta1.PublisherProfile.seller.\nSee https://support.google.com/admanager/answer/6035806?hl=en for details.",
5426          "type": "boolean"
5427        },
5428        "logoUrl": {
5429          "description": "A Google public URL to the logo for this publisher profile. The logo is\nstored as a PNG, JPG, or GIF image.",
5430          "type": "string"
5431        },
5432        "mediaKitUrl": {
5433          "description": "URL to additional marketing and sales materials.",
5434          "type": "string"
5435        },
5436        "overview": {
5437          "description": "Overview of the publisher.",
5438          "type": "string"
5439        },
5440        "programmaticDealsContact": {
5441          "description": "Contact information for programmatic deals. This is free text entered by\nthe publisher and may include information like names, phone numbers and\nemail addresses.",
5442          "type": "string"
5443        },
5444        "publisherProfileId": {
5445          "description": "Unique ID for publisher profile.",
5446          "type": "string"
5447        },
5448        "rateCardInfoUrl": {
5449          "description": "URL to a publisher rate card.",
5450          "type": "string"
5451        },
5452        "samplePageUrl": {
5453          "description": "URL to a sample content page.",
5454          "type": "string"
5455        },
5456        "seller": {
5457          "$ref": "Seller",
5458          "description": "Seller of the publisher profile."
5459        },
5460        "topHeadlines": {
5461          "description": "Up to three key metrics and rankings. Max 100 characters each.\nFor example \"#1 Mobile News Site for 20 Straight Months\".",
5462          "items": {
5463            "type": "string"
5464          },
5465          "type": "array"
5466        }
5467      },
5468      "type": "object"
5469    },
5470    "RealtimeTimeRange": {
5471      "description": "An open-ended realtime time range specified by the start timestamp.\nFor filter sets that specify a realtime time range RTB metrics continue to\nbe aggregated throughout the lifetime of the filter set.",
5472      "id": "RealtimeTimeRange",
5473      "properties": {
5474        "startTimestamp": {
5475          "description": "The start timestamp of the real-time RTB metrics aggregation.",
5476          "format": "google-datetime",
5477          "type": "string"
5478        }
5479      },
5480      "type": "object"
5481    },
5482    "RelativeDateRange": {
5483      "description": "A relative date range, specified by an offset and a duration.\nThe supported range of dates begins 30 days before today and ends today,\ni.e., the limits for these values are:\noffset_days \u003e= 0\nduration_days \u003e= 1\noffset_days + duration_days \u003c= 30",
5484      "id": "RelativeDateRange",
5485      "properties": {
5486        "durationDays": {
5487          "description": "The number of days in the requested date range, e.g., for a range spanning\ntoday: 1. For a range spanning the last 7 days: 7.",
5488          "format": "int32",
5489          "type": "integer"
5490        },
5491        "offsetDays": {
5492          "description": "The end date of the filter set, specified as the number of days before\ntoday, e.g., for a range where the last date is today: 0.",
5493          "format": "int32",
5494          "type": "integer"
5495        }
5496      },
5497      "type": "object"
5498    },
5499    "RemoveDealAssociationRequest": {
5500      "description": "A request for removing the association between a deal and a creative.",
5501      "id": "RemoveDealAssociationRequest",
5502      "properties": {
5503        "association": {
5504          "$ref": "CreativeDealAssociation",
5505          "description": "The association between a creative and a deal that should be removed."
5506        }
5507      },
5508      "type": "object"
5509    },
5510    "ResumeProposalRequest": {
5511      "description": "Request message to resume (unpause) serving for an already-finalized\nproposal.",
5512      "id": "ResumeProposalRequest",
5513      "properties": {},
5514      "type": "object"
5515    },
5516    "RowDimensions": {
5517      "description": "A response may include multiple rows, breaking down along various dimensions.\nEncapsulates the values of all dimensions for a given row.",
5518      "id": "RowDimensions",
5519      "properties": {
5520        "publisherIdentifier": {
5521          "description": "The publisher identifier for this row, if a breakdown by\n[BreakdownDimension.PUBLISHER_IDENTIFIER](https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/bidders.accounts.filterSets#FilterSet.BreakdownDimension)\nwas requested.",
5522          "type": "string"
5523        },
5524        "timeInterval": {
5525          "$ref": "TimeInterval",
5526          "description": "The time interval that this row represents."
5527        }
5528      },
5529      "type": "object"
5530    },
5531    "SecurityContext": {
5532      "description": "Output only. A security context.",
5533      "id": "SecurityContext",
5534      "properties": {
5535        "securities": {
5536          "description": "The security types in this context.",
5537          "enumDescriptions": [
5538            "Matches impressions that require insecure compatibility.",
5539            "Matches impressions that require SSL compatibility."
5540          ],
5541          "items": {
5542            "enum": [
5543              "INSECURE",
5544              "SSL"
5545            ],
5546            "type": "string"
5547          },
5548          "type": "array"
5549        }
5550      },
5551      "type": "object"
5552    },
5553    "Seller": {
5554      "description": "Represents a seller of inventory. Each seller is identified by a unique\nAd Manager account ID.",
5555      "id": "Seller",
5556      "properties": {
5557        "accountId": {
5558          "description": "The unique ID for the seller. The seller fills in this field.\nThe seller account ID is then available to buyer in the product.",
5559          "type": "string"
5560        },
5561        "subAccountId": {
5562          "description": "Optional sub-account ID for the seller.",
5563          "type": "string"
5564        }
5565      },
5566      "type": "object"
5567    },
5568    "ServingContext": {
5569      "description": "The serving context for this restriction.",
5570      "id": "ServingContext",
5571      "properties": {
5572        "all": {
5573          "description": "Matches all contexts.",
5574          "enum": [
5575            "SIMPLE_CONTEXT"
5576          ],
5577          "enumDescriptions": [
5578            "A simple context."
5579          ],
5580          "type": "string"
5581        },
5582        "appType": {
5583          "$ref": "AppContext",
5584          "description": "Matches impressions for a particular app type."
5585        },
5586        "auctionType": {
5587          "$ref": "AuctionContext",
5588          "description": "Matches impressions for a particular auction type."
5589        },
5590        "location": {
5591          "$ref": "LocationContext",
5592          "description": "Matches impressions coming from users *or* publishers in a specific\nlocation."
5593        },
5594        "platform": {
5595          "$ref": "PlatformContext",
5596          "description": "Matches impressions coming from a particular platform."
5597        },
5598        "securityType": {
5599          "$ref": "SecurityContext",
5600          "description": "Matches impressions for a particular security type."
5601        }
5602      },
5603      "type": "object"
5604    },
5605    "ServingRestriction": {
5606      "description": "Output only. A representation of the status of an ad in a\nspecific context. A context here relates to where something ultimately serves\n(for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,\nor the type of auction).",
5607      "id": "ServingRestriction",
5608      "properties": {
5609        "contexts": {
5610          "description": "The contexts for the restriction.",
5611          "items": {
5612            "$ref": "ServingContext"
5613          },
5614          "type": "array"
5615        },
5616        "disapproval": {
5617          "$ref": "Disapproval",
5618          "description": "Disapproval bound to this restriction.\nOnly present if status=DISAPPROVED.\nCan be used to filter the response of the\ncreatives.list\nmethod."
5619        },
5620        "disapprovalReasons": {
5621          "description": "Any disapprovals bound to this restriction.\nOnly present if status=DISAPPROVED.\nCan be used to filter the response of the\ncreatives.list\nmethod.\nDeprecated; please use\ndisapproval\nfield instead.",
5622          "items": {
5623            "$ref": "Disapproval"
5624          },
5625          "type": "array"
5626        },
5627        "status": {
5628          "description": "The status of the creative in this context (for example, it has been\nexplicitly disapproved or is pending review).",
5629          "enum": [
5630            "STATUS_UNSPECIFIED",
5631            "DISAPPROVAL",
5632            "PENDING_REVIEW"
5633          ],
5634          "enumDescriptions": [
5635            "The status is not known.",
5636            "The ad was disapproved in this context.",
5637            "The ad is pending review in this context."
5638          ],
5639          "type": "string"
5640        }
5641      },
5642      "type": "object"
5643    },
5644    "Size": {
5645      "description": "Message depicting the size of the creative. The units of width and\nheight depend on the type of the targeting.",
5646      "id": "Size",
5647      "properties": {
5648        "height": {
5649          "description": "The height of the creative.",
5650          "format": "int32",
5651          "type": "integer"
5652        },
5653        "width": {
5654          "description": "The width of the creative",
5655          "format": "int32",
5656          "type": "integer"
5657        }
5658      },
5659      "type": "object"
5660    },
5661    "StopWatchingCreativeRequest": {
5662      "description": "A request for stopping notifications for changes to creative Status.",
5663      "id": "StopWatchingCreativeRequest",
5664      "properties": {},
5665      "type": "object"
5666    },
5667    "TargetingCriteria": {
5668      "description": "Advertisers can target different attributes of an ad slot. For example,\nthey can choose to show ads only if the user is in the U.S. Such\ntargeting criteria can be specified as part of Shared Targeting.",
5669      "id": "TargetingCriteria",
5670      "properties": {
5671        "exclusions": {
5672          "description": "The list of values to exclude from targeting. Each value is AND'd\ntogether.",
5673          "items": {
5674            "$ref": "TargetingValue"
5675          },
5676          "type": "array"
5677        },
5678        "inclusions": {
5679          "description": "The list of value to include as part of the targeting. Each value is OR'd\ntogether.",
5680          "items": {
5681            "$ref": "TargetingValue"
5682          },
5683          "type": "array"
5684        },
5685        "key": {
5686          "description": "The key representing the shared targeting criterion.\nTargeting criteria defined by Google ad servers will begin with GOOG_.\nThird parties may define their own keys.\nA list of permissible keys along with the acceptable values will be\nprovided as part of the external documentation.",
5687          "type": "string"
5688        }
5689      },
5690      "type": "object"
5691    },
5692    "TargetingValue": {
5693      "description": "A polymorphic targeting value used as part of Shared Targeting.",
5694      "id": "TargetingValue",
5695      "properties": {
5696        "creativeSizeValue": {
5697          "$ref": "CreativeSize",
5698          "description": "The creative size value to include/exclude.\nFilled in when key = GOOG_CREATIVE_SIZE"
5699        },
5700        "dayPartTargetingValue": {
5701          "$ref": "DayPartTargeting",
5702          "description": "The daypart targeting to include / exclude.\nFilled in when the key is GOOG_DAYPART_TARGETING.\nThe definition of this targeting is derived from the structure\nused by Ad Manager."
5703        },
5704        "longValue": {
5705          "description": "The long value to include/exclude.",
5706          "format": "int64",
5707          "type": "string"
5708        },
5709        "stringValue": {
5710          "description": "The string value to include/exclude.",
5711          "type": "string"
5712        }
5713      },
5714      "type": "object"
5715    },
5716    "TechnologyTargeting": {
5717      "description": "Represents targeting about various types of technology.",
5718      "id": "TechnologyTargeting",
5719      "properties": {
5720        "deviceCapabilityTargeting": {
5721          "$ref": "CriteriaTargeting",
5722          "description": "IDs of device capabilities to be included/excluded."
5723        },
5724        "deviceCategoryTargeting": {
5725          "$ref": "CriteriaTargeting",
5726          "description": "IDs of device categories to be included/excluded."
5727        },
5728        "operatingSystemTargeting": {
5729          "$ref": "OperatingSystemTargeting",
5730          "description": "Operating system related targeting information."
5731        }
5732      },
5733      "type": "object"
5734    },
5735    "TimeInterval": {
5736      "description": "An interval of time, with an absolute start and end.",
5737      "id": "TimeInterval",
5738      "properties": {
5739        "endTime": {
5740          "description": "The timestamp marking the end of the range (exclusive) for which data is\nincluded.",
5741          "format": "google-datetime",
5742          "type": "string"
5743        },
5744        "startTime": {
5745          "description": "The timestamp marking the start of the range (inclusive) for which data is\nincluded.",
5746          "format": "google-datetime",
5747          "type": "string"
5748        }
5749      },
5750      "type": "object"
5751    },
5752    "TimeOfDay": {
5753      "description": "Represents a time of day. The date and time zone are either not significant\nor are specified elsewhere. An API may choose to allow leap seconds. Related\ntypes are google.type.Date and `google.protobuf.Timestamp`.",
5754      "id": "TimeOfDay",
5755      "properties": {
5756        "hours": {
5757          "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose\nto allow the value \"24:00:00\" for scenarios like business closing time.",
5758          "format": "int32",
5759          "type": "integer"
5760        },
5761        "minutes": {
5762          "description": "Minutes of hour of day. Must be from 0 to 59.",
5763          "format": "int32",
5764          "type": "integer"
5765        },
5766        "nanos": {
5767          "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
5768          "format": "int32",
5769          "type": "integer"
5770        },
5771        "seconds": {
5772          "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may\nallow the value 60 if it allows leap-seconds.",
5773          "format": "int32",
5774          "type": "integer"
5775        }
5776      },
5777      "type": "object"
5778    },
5779    "UrlTargeting": {
5780      "description": "Represents a list of targeted and excluded URLs (e.g., google.com).\nFor Private Auction and AdX Preferred Deals, URLs are either included or\nexcluded.\nFor Programmatic Guaranteed and Preferred Deals, this doesn't\napply.",
5781      "id": "UrlTargeting",
5782      "properties": {
5783        "excludedUrls": {
5784          "description": "A list of URLs to be excluded.",
5785          "items": {
5786            "type": "string"
5787          },
5788          "type": "array"
5789        },
5790        "targetedUrls": {
5791          "description": "A list of URLs to be included.",
5792          "items": {
5793            "type": "string"
5794          },
5795          "type": "array"
5796        }
5797      },
5798      "type": "object"
5799    },
5800    "VideoContent": {
5801      "description": "Video content for a creative.",
5802      "id": "VideoContent",
5803      "properties": {
5804        "videoUrl": {
5805          "description": "The URL to fetch a video ad.",
5806          "type": "string"
5807        },
5808        "videoVastXml": {
5809          "description": "The contents of a VAST document for a video ad.\nThis document should conform to the VAST 2.0 or 3.0 standard.",
5810          "type": "string"
5811        }
5812      },
5813      "type": "object"
5814    },
5815    "VideoTargeting": {
5816      "description": "Represents targeting information about video.",
5817      "id": "VideoTargeting",
5818      "properties": {
5819        "excludedPositionTypes": {
5820          "description": "A list of video positions to be excluded.\nPosition types can either be included or excluded (XOR).",
5821          "enumDescriptions": [
5822            "A placeholder for an undefined video position.",
5823            "Ad is played before the video.",
5824            "Ad is played during the video.",
5825            "Ad is played after the video."
5826          ],
5827          "items": {
5828            "enum": [
5829              "POSITION_TYPE_UNSPECIFIED",
5830              "PREROLL",
5831              "MIDROLL",
5832              "POSTROLL"
5833            ],
5834            "type": "string"
5835          },
5836          "type": "array"
5837        },
5838        "targetedPositionTypes": {
5839          "description": "A list of video positions to be included.\nWhen the included list is present, the excluded list must be empty.\nWhen the excluded list is present, the included list must be empty.",
5840          "enumDescriptions": [
5841            "A placeholder for an undefined video position.",
5842            "Ad is played before the video.",
5843            "Ad is played during the video.",
5844            "Ad is played after the video."
5845          ],
5846          "items": {
5847            "enum": [
5848              "POSITION_TYPE_UNSPECIFIED",
5849              "PREROLL",
5850              "MIDROLL",
5851              "POSTROLL"
5852            ],
5853            "type": "string"
5854          },
5855          "type": "array"
5856        }
5857      },
5858      "type": "object"
5859    },
5860    "WatchCreativeRequest": {
5861      "description": "A request for watching changes to creative Status.",
5862      "id": "WatchCreativeRequest",
5863      "properties": {
5864        "topic": {
5865          "description": "The Pub/Sub topic to publish notifications to.\nThis topic must already exist and must give permission to\nad-exchange-buyside-reports@google.com to write to the topic.\nThis should be the full resource name in\n\"projects/{project_id}/topics/{topic_id}\" format.",
5866          "type": "string"
5867        }
5868      },
5869      "type": "object"
5870    }
5871  },
5872  "servicePath": "",
5873  "title": "Ad Exchange Buyer API II",
5874  "version": "v2beta1",
5875  "version_module": true
5876}