on develop help sign in
Updated models \w autogenerated update [2019-01-09]
commita2c361075d28b370de0b497273e8ada112dde15f authorKoray Al <koray.al@soostone.com.tr> dateThu 10 Jan 2019, 12:45 (8 years ago) parent94a1e1e
295 files changed+638374−452055
gen/model/abusiveexperiencereport/v1/abusiveexperiencereport-api.json+239 gen/model/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-api.json+131−142 gen/model/accesscontextmanager/v1beta/accesscontextmanager-api.json+1018 gen/model/adexchangebuyer/v1.2/adexchangebuyer-api.json+570−570 gen/model/adexchangebuyer/v1.3/adexchangebuyer-api.json+1608−1608 gen/model/adexchangebuyer/v1.4/adexchangebuyer-api.json+3595−3521 gen/model/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json+5634−464 gen/model/adexchangeseller/v1.1/adexchangeseller-api.json+1186−1186 gen/model/adexchangeseller/v1/adexchangeseller-api.json+873−873 gen/model/adexchangeseller/v2.0/adexchangeseller-api.json+1093−1093 gen/model/adexperiencereport/v1/adexperiencereport-api.json+274 gen/model/admin/datatransfer/v1/admin-api.json+386−386 gen/model/admin/directory/v1/admin-api.json+6750−5521 gen/model/admin/email_migration/v2/admin-api.json−173 gen/model/admin/reports/v1/admin-api.json+805−706 gen/model/adsense/v1.2/adsense-api.json−1949 gen/model/adsense/v1.3/adsense-api.json+2−2 gen/model/adsense/v1.4/adsense-api.json+2341−2303 gen/model/adsensehost/v4.1/adsensehost-api.json+1485−1485 gen/model/alertcenter/v1beta1/alertcenter-api.json+949 gen/model/analytics/v2.4/analytics-api.json+350−350 gen/model/analytics/v3/analytics-api.json+7215−6913 gen/model/analyticsreporting/v4/analyticsreporting-api.json+845−826 gen/model/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json+1764 gen/model/androidenterprise/v1/androidenterprise-api.json+4749−3902 gen/model/androidmanagement/v1/androidmanagement-api.json+3102 gen/model/androidpublisher/v1.1/androidpublisher-api.json+248−239 gen/model/androidpublisher/v1/androidpublisher-api.json+174−174 gen/model/androidpublisher/v2/androidpublisher-api.json+3500−3511 gen/model/androidpublisher/v3/androidpublisher-api.json+3391 gen/model/appengine/v1/appengine-api.json+3581−2159 gen/model/appengine/v1alpha/appengine-api.json+1322 gen/model/appengine/v1beta/appengine-api.json+3727 gen/model/appengine/v1beta4/appengine-api.json+2406−2130 gen/model/appengine/v1beta5/appengine-api.json+2377−2121 gen/model/appsactivity/v1/appsactivity-api.json+445−460 gen/model/appstate/v1/appstate-api.json+289−289 gen/model/autoscaler/v1beta2/autoscaler-api.json−869 gen/model/bigquery/v2/bigquery-api.json+3351−2692 gen/model/bigquerydatatransfer/v1/bigquerydatatransfer-api.json+1772 gen/model/bigtableadmin/v2/bigtableadmin-api.json+2166 gen/model/binaryauthorization/v1beta1/binaryauthorization-api.json+780 gen/model/blogger/v2/blogger-api.json+885−885 gen/model/blogger/v3/blogger-api.json+2442−2442 gen/model/books/v1/books-api.json+4553−4406 gen/model/calendar/v3/calendar-api.json+2946−2634 gen/model/chat/v1/chat-api.json+1110 gen/model/civicinfo/v2/civicinfo-api.json+1594−1249 gen/model/classroom/v1/classroom-api.json+3349−2476 gen/model/cloudasset/v1beta1/cloudasset-api.json+701 gen/model/cloudbilling/v1/cloudbilling-api.json+997−329 gen/model/cloudbuild/v1/cloudbuild-api.json+1222−832 gen/model/cloudbuild/v1alpha1/cloudbuild-api.json+1057 gen/model/clouddebugger/v2/clouddebugger-api.json+708−714 gen/model/clouderrorreporting/v1beta1/clouderrorreporting-api.json+481−470 gen/model/cloudfunctions/v1/cloudfunctions-api.json+1208 gen/model/cloudfunctions/v1beta2/cloudfunctions-api.json+971 gen/model/cloudidentity/v1/cloudidentity-api.json+688 gen/model/cloudidentity/v1beta1/cloudidentity-api.json+636 gen/model/cloudiot/v1/cloudiot-api.json+1922 gen/model/cloudkms/v1beta1/cloudkms-api.json → gen/model/cloudkms/v1/cloudkms-api.json+1666−1368 gen/model/cloudlatencytest/v2/cloudlatencytest-api.json−212 gen/model/cloudmonitoring/v2beta2/cloudmonitoring-api.json−839 gen/model/cloudprofiler/v2/cloudprofiler-api.json+342 gen/model/cloudresourcemanager/v1/cloudresourcemanager-api.json+1685−643 gen/model/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json+679−600 gen/model/cloudresourcemanager/v2/cloudresourcemanager-api.json+894 gen/model/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json+894 gen/model/cloudscheduler/v1beta1/cloudscheduler-api.json+829 gen/model/cloudsearch/v1/cloudsearch-api.json+4407 gen/model/cloudshell/v1/cloudshell-api.json+456 gen/model/cloudshell/v1alpha1/cloudshell-api.json+524 gen/model/cloudtasks/v2beta2/cloudtasks-api.json+1521 gen/model/cloudtasks/v2beta3/cloudtasks-api.json+1246 gen/model/cloudtrace/v1/cloudtrace-api.json+343−332 gen/model/cloudtrace/v2/cloudtrace-api.json+589 gen/model/clouduseraccounts/v0.alpha/clouduseraccounts-api.json−1853 gen/model/clouduseraccounts/v0.beta/clouduseraccounts-api.json−1361 gen/model/clouduseraccounts/vm_alpha/clouduseraccounts-api.json−1853 gen/model/clouduseraccounts/vm_beta/clouduseraccounts-api.json−1361 gen/model/composer/v1/composer-api.json+706 gen/model/composer/v1beta1/composer-api.json+704 gen/model/compute/v0.alpha/compute-api.json+52087−25091 gen/model/compute/v0.beta/compute-api.json+43823−21657 gen/model/compute/v1/compute-api.json+37424−18647 gen/model/consumersurveys/v2/consumersurveys-api.json+3−11 gen/model/container/v1/container-api.json+3986−1296 gen/model/container/v1beta1/container-api.json+4561 gen/model/containeranalysis/v1alpha1/containeranalysis-api.json+2946 gen/model/containeranalysis/v1beta1/containeranalysis-api.json+2613 gen/model/content/v2.1/content-api.json+9180 gen/model/content/v2/content-api.json+10756−6828 gen/model/content/v2sandbox/content-api.json+3996−2249 gen/model/coordinate/v1/coordinate-api.json−1196 gen/model/customsearch/v1/customsearch-api.json+1144−792 gen/model/dataflow/v1b3/dataflow-api.json+5541−3755 gen/model/dataproc/v1/dataproc-api.json+3294−1761 gen/model/dataproc/v1alpha1/dataproc-api.json−1822 gen/model/dataproc/v1beta1/dataproc-api.json−1736 gen/model/dataproc/v1beta2/dataproc-api.json+3473 gen/model/datastore/v1/datastore-api.json+1632−711 gen/model/datastore/v1beta1/datastore-api.json+629−981 gen/model/datastore/v1beta2/datastore-api.json−1075 gen/model/datastore/v1beta3/datastore-api.json+1148−716 gen/model/deploymentmanager/v0.alpha/deploymentmanager-api.json+3249 gen/model/deploymentmanager/v2/deploymentmanager-api.json+1869−1763 gen/model/deploymentmanager/v2beta/deploymentmanager-api.json+3001 gen/model/deploymentmanager/v2beta1/deploymentmanager-api.json−883 gen/model/deploymentmanager/v2beta2/deploymentmanager-api.json−1229 gen/model/dfareporting/v1.1/dfareporting-api.json−1521 gen/model/dfareporting/v1.2/dfareporting-api.json−1589 gen/model/dfareporting/v1.3/dfareporting-api.json−1913 gen/model/dfareporting/v1/dfareporting-api.json−1172 gen/model/dfareporting/v2.0/dfareporting-api.json−15355 gen/model/dfareporting/v2.1/dfareporting-api.json−17671 gen/model/dfareporting/v2.2/dfareporting-api.json−18054 gen/model/dfareporting/v2.3/dfareporting-api.json−18044 gen/model/dfareporting/v2.4/dfareporting-api.json−18075 gen/model/dfareporting/v2.5/dfareporting-api.json−18750 gen/model/dfareporting/v2.5beta1/dfareporting-api.json−18750 gen/model/dfareporting/v2.6/dfareporting-api.json−19213 gen/model/dfareporting/v2.7/dfareporting-api.json+253−83 gen/model/dfareporting/v2.8/dfareporting-api.json+19752 gen/model/dfareporting/v3.0/dfareporting-api.json+19814 gen/model/dfareporting/v3.1/dfareporting-api.json+20020 gen/model/dfareporting/v3.2/dfareporting-api.json+20056 gen/model/dialogflow/v2/dialogflow-api.json+4100 gen/model/dialogflow/v2beta1/dialogflow-api.json+5427 gen/model/digitalassetlinks/v1/digitalassetlinks-api.json+374 gen/model/discovery/v1/discovery-api.json+656−657 gen/model/dlp/v2/dlp-api.json+5097 gen/model/dlp/v2beta1/dlp-api.json+2833 gen/model/dns/v1/dns-api.json+1355−662 gen/model/dns/v1beta1/dns-api.json−700 gen/model/dns/v1beta2/dns-api.json+1876 gen/model/dns/v2beta1/dns-api.json+1355−1360 gen/model/doubleclickbidmanager/v1/doubleclickbidmanager-api.json+2163−2035 gen/model/doubleclicksearch/v2/doubleclicksearch-api.json+1077−1077 gen/model/drive/v1/drive-api.json−417 gen/model/drive/v2/drive-api.json+5119−4267 gen/model/drive/v3/drive-api.json+3114−2390 gen/model/driveactivity/v2/driveactivity-api.json+1112 gen/model/file/v1beta1/file-api.json+824 gen/model/firebasedynamiclinks/v1/firebasedynamiclinks-api.json+901−357 gen/model/firebasehosting/v1beta1/firebasehosting-api.json+1182 gen/model/firebaseremoteconfig/v1/firebaseremoteconfig-api.json+283 gen/model/firebaserules/v1/firebaserules-api.json+682−388 gen/model/firestore/v1/firestore-api.json+2821 gen/model/firestore/v1beta1/firestore-api.json+2260 gen/model/firestore/v1beta2/firestore-api.json+975 gen/model/fitness/v1/fitness-api.json+1600−1510 gen/model/freebase/v1/freebase-api.json−412 gen/model/fusiontables/v1/fusiontables-api.json+1774−1774 gen/model/fusiontables/v2/fusiontables-api.json+1903−1880 gen/model/games/v1/games-api.json+4805−5170 gen/model/gamesconfiguration/v1configuration/gamesconfiguration-api.json+757−757 gen/model/gamesmanagement/v1management/gamesmanagement-api.json+850−880 gen/model/gan/v1beta1/gan-api.json−1860 gen/model/genomics/v1/genomics-api.json+2944−2700 gen/model/genomics/v1alpha2/genomics-api.json+970−740 gen/model/genomics/v1beta2/genomics-api.json−3694 gen/model/genomics/v2alpha1/genomics-api.json+1224 gen/model/gmail/v1/gmail-api.json+3545−3106 gen/model/groupsmigration/v1/groupsmigration-api.json+135−136 gen/model/groupssettings/v1/groupssettings-api.json+337−290 gen/model/iam/v1/iam-api.json+1921−851 gen/model/iam/v1alpha1/iam-api.json−103 gen/model/iamcredentials/v1/iamcredentials-api.json+428 gen/model/iap/v1/iap-api.json+770 gen/model/iap/v1beta1/iap-api.json+770 gen/model/identitytoolkit/v3/identitytoolkit-api.json+2051−1708 gen/model/indexing/v3/indexing-api.json+219 gen/model/jobs/v2/jobs-api.json+3302 gen/model/jobs/v3/jobs-api.json+2506 gen/model/jobs/v3p1beta1/jobs-api.json+2729 gen/model/kgsearch/v1/kgsearch-api.json+124−135 gen/model/language/v1/language-api.json+679−523 gen/model/language/v1beta1/language-api.json+543−534 gen/model/language/v1beta2/language-api.json+1241 gen/model/libraryagent/v1/libraryagent-api.json+363 gen/model/licensing/v1/licensing-api.json+447−439 gen/model/logging/v1beta3/logging-api.json−1692 gen/model/logging/v2/logging-api.json+3360−1845 gen/model/logging/v2beta1/logging-api.json+1118−1100 gen/model/manager/v1beta2/manager-api.json−1171 gen/model/manufacturers/v1/manufacturers-api.json+620−216 gen/model/mapsengine/exp2/mapsengine-api.json−5375 gen/model/mapsengine/v1/mapsengine-api.json−5352 gen/model/mirror/v1/mirror-api.json+1342−1342 gen/model/ml/v1/ml-api.json+2264 gen/model/ml/v1beta1/ml-api.json−1417 gen/model/monitoring/v1/monitoring-api.json+519 gen/model/monitoring/v3/monitoring-api.json+2739−1395 gen/model/oauth2/v1/oauth2-api.json+382−382 gen/model/oauth2/v2/oauth2-api.json+273−273 gen/model/oslogin/v1/oslogin-api.json+437 gen/model/oslogin/v1alpha/oslogin-api.json+465 gen/model/oslogin/v1beta/oslogin-api.json+445 gen/model/pagespeedonline/v1/pagespeedonline-api.json+406−402 gen/model/pagespeedonline/v2/pagespeedonline-api.json+473−469 gen/model/pagespeedonline/v4/pagespeedonline-api.json+606 gen/model/pagespeedonline/v5/pagespeedonline-api.json+570 gen/model/partners/v2/partners-api.json+3466−1322 gen/model/people/v1/people-api.json+1988−1231 gen/model/photoslibrary/v1/photoslibrary-api.json+1230 gen/model/playcustomapp/v1/playcustomapp-api.json+149 gen/model/playmoviespartner/v1/playmoviespartner-api.json+983−906 gen/model/plus/v1/plus-api.json+1513−1513 gen/model/plusdomains/v1/plusdomains-api.json+2167−2167 gen/model/poly/v1/poly-api.json+793 gen/model/prediction/v1.2/prediction-api.json+333−333 gen/model/prediction/v1.3/prediction-api.json+391−391 gen/model/prediction/v1.4/prediction-api.json+416−416 gen/model/prediction/v1.5/prediction-api.json+674−674 gen/model/prediction/v1.6/prediction-api.json+759−759 gen/model/proximitybeacon/v1beta1/proximitybeacon-api.json+1087−992 gen/model/pubsub/v1/pubsub-api.json+1176−694 gen/model/pubsub/v1beta1a/pubsub-api.json+514−524 gen/model/pubsub/v1beta2/pubsub-api.json+693−676 gen/model/qpxexpress/v1/qpxexpress-api.json+2−2 gen/model/redis/v1/redis-api.json+801 gen/model/redis/v1beta1/redis-api.json+807 gen/model/remotebuildexecution/v1/remotebuildexecution-api.json+1961 gen/model/remotebuildexecution/v1alpha/remotebuildexecution-api.json+1907 gen/model/remotebuildexecution/v2/remotebuildexecution-api.json+2331 gen/model/replicapool/v1beta1/replicapool-api.json+1072−1072 gen/model/replicapool/v1beta2/replicapool-api.json−1064 gen/model/replicapoolupdater/v1beta1/replicapoolupdater-api.json+903−903 gen/model/reseller/v1/reseller-api.json+902−813 gen/model/reseller/v1sandbox/reseller-api.json−844 gen/model/resourceviews/v1beta1/resourceviews-api.json−920 gen/model/resourceviews/v1beta2/resourceviews-api.json−1052 gen/model/runtimeconfig/v1/runtimeconfig-api.json+253−263 gen/model/runtimeconfig/v1beta1/runtimeconfig-api.json+799−786 gen/model/safebrowsing/v4/safebrowsing-api.json+1304−792 gen/model/script/v1/script-api.json+1595−320 gen/model/searchconsole/v1/searchconsole-api.json+176−187 gen/model/servicebroker/v1/servicebroker-api.json+309 gen/model/servicebroker/v1alpha1/servicebroker-api.json+1343 gen/model/servicebroker/v1beta1/servicebroker-api.json+1504 gen/model/serviceconsumermanagement/v1/serviceconsumermanagement-api.json+2335 gen/model/servicecontrol/v1/servicecontrol-api.json+1294−529 gen/model/servicemanagement/v1/servicemanagement-api.json+2295−2106 gen/model/servicenetworking/v1/servicenetworking-api.json+1839 gen/model/servicenetworking/v1beta/servicenetworking-api.json+1977 gen/model/serviceregistry/v0.alpha/serviceregistry-api.json−661 gen/model/serviceusage/v1/serviceusage-api.json+2185 gen/model/serviceusage/v1beta1/serviceusage-api.json+2197 gen/model/serviceuser/v1/serviceuser-api.json+1914 gen/model/sheets/v4/sheets-api.json+4870−3063 gen/model/siteverification/v1/siteverification-api.json+305−305 gen/model/slides/v1/slides-api.json+3486−2525 gen/model/sourcerepo/v1/sourcerepo-api.json+751 gen/model/spanner/v1/spanner-api.json+2701 gen/model/spectrum/v1explorer/spectrum-api.json+986−986 gen/model/speech/v1/speech-api.json+662 gen/model/speech/v1beta1/speech-api.json+278−352 gen/model/speech/v1p1beta1/speech-api.json+836 gen/model/sqladmin/v1beta3/sqladmin-api.json−1970 gen/model/sqladmin/v1beta4/sqladmin-api.json+3104−2762 gen/model/storage/v1/storage-api.json+3754−2825 gen/model/storage/v1beta1/storage-api.json+1394−1394 gen/model/storage/v1beta2/storage-api.json+2296−2296 gen/model/storagetransfer/v1/storagetransfer-api.json+1034−1002 gen/model/streetviewpublish/v1/streetviewpublish-api.json+778 gen/model/surveys/v2/surveys-api.json+691−846 gen/model/tagmanager/v1/tagmanager-api.json+3336−3154 gen/model/tagmanager/v2/tagmanager-api.json+4914 gen/model/taskqueue/v1beta1/taskqueue-api.json−422 gen/model/taskqueue/v1beta2/taskqueue-api.json−569 gen/model/tasks/v1/tasks-api.json+676−676 gen/model/testing/v1/testing-api.json+1862 gen/model/texttospeech/v1/texttospeech-api.json+336 gen/model/texttospeech/v1beta1/texttospeech-api.json+343 gen/model/toolresults/v1beta3/toolresults-api.json+2467−1995 gen/model/tpu/v1/tpu-api.json+1100 gen/model/tpu/v1alpha1/tpu-api.json+1100 gen/model/tracing/v2/tracing-api.json+726 gen/model/translate/v2/translate-api.json+423−250 gen/model/urlshortener/v1/urlshortener-api.json+299−299 gen/model/vault/v1/vault-api.json+2015 gen/model/videointelligence/v1/videointelligence-api.json+2027 gen/model/videointelligence/v1beta2/videointelligence-api.json+1878 gen/model/videointelligence/v1p1beta1/videointelligence-api.json+1878 gen/model/vision/v1/vision-api.json+6633−502 gen/model/vision/v1p1beta1/vision-api.json+6151 gen/model/vision/v1p2beta1/vision-api.json+6151 gen/model/webfonts/v1/webfonts-api.json+161−161 gen/model/webmasters/v3/webmasters-api.json+931−931 gen/model/websecurityscanner/v1alpha/websecurityscanner-api.json+1116 gen/model/youtube/v3/youtube-api.json+10768−10627 gen/model/youtubeanalytics/v1/youtubeanalytics-api.json+520−515 gen/model/youtubeanalytics/v1beta1/youtubeanalytics-api.json+523−518 gen/model/youtubeanalytics/v2/youtubeanalytics-api.json+744 gen/model/youtubereporting/v1/youtubereporting-api.json+793−390
gen/model/abusiveexperiencereport/v1/abusiveexperiencereport-api.jsonnew file+239
@@ -0,0 +1,239 @@
1+{
2+ "auth": {
3+ "oauth2": {
4+ "scopes": {
5+ "https://www.googleapis.com/auth/xapi.zoo": {
6+ "description": "Test scope for access to the Zoo service"
7+ }
8+ }
9+ }
10+ },
11+ "basePath": "",
12+ "baseUrl": "https://abusiveexperiencereport.googleapis.com/",
13+ "batchPath": "batch",
14+ "canonicalName": "Abusive Experience Report",
15+ "description": "Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.",
16+ "discoveryVersion": "v1",
17+ "documentationLink": "https://developers.google.com/abusive-experience-report/",
18+ "fullyEncodeReservedExpansion": true,
19+ "icons": {
20+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
21+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
22+ },
23+ "id": "abusiveexperiencereport:v1",
24+ "kind": "discovery#restDescription",
25+ "name": "abusiveexperiencereport",
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+ "sites": {
108+ "methods": {
109+ "get": {
110+ "description": "Gets a summary of the abusive experience rating of a site.",
111+ "flatPath": "v1/sites/{sitesId}",
112+ "httpMethod": "GET",
113+ "id": "abusiveexperiencereport.sites.get",
114+ "parameterOrder": [
115+ "name"
116+ ],
117+ "parameters": {
118+ "name": {
119+ "description": "The required site name. This is the site property whose abusive\nexperiences have been reviewed, and it must be URL-encoded. For example,\nsites/https%3A%2F%2Fwww.google.com. The server will return an error of\nBAD_REQUEST if this field is not filled in. Note that if the site property\nis not yet verified in Search Console, the reportUrl field\nreturned by the API will lead to the verification page, prompting the user\nto go through that process before they can gain access to the Abusive\nExperience Report.",
120+ "location": "path",
121+ "pattern": "^sites/[^/]+$",
122+ "required": true,
123+ "type": "string"
124+ }
125+ },
126+ "path": "v1/{+name}",
127+ "response": {
128+ "$ref": "SiteSummaryResponse"
129+ },
130+ "scopes": [
131+ "https://www.googleapis.com/auth/xapi.zoo"
132+ ]
133+ }
134+ }
135+ },
136+ "violatingSites": {
137+ "methods": {
138+ "list": {
139+ "description": "Lists sites with Abusive Experience Report statuses of \"Failing\".",
140+ "flatPath": "v1/violatingSites",
141+ "httpMethod": "GET",
142+ "id": "abusiveexperiencereport.violatingSites.list",
143+ "parameterOrder": [],
144+ "parameters": {},
145+ "path": "v1/violatingSites",
146+ "response": {
147+ "$ref": "ViolatingSitesResponse"
148+ },
149+ "scopes": [
150+ "https://www.googleapis.com/auth/xapi.zoo"
151+ ]
152+ }
153+ }
154+ }
155+ },
156+ "revision": "20181017",
157+ "rootUrl": "https://abusiveexperiencereport.googleapis.com/",
158+ "schemas": {
159+ "SiteSummaryResponse": {
160+ "description": "Response message for GetSiteSummary.",
161+ "id": "SiteSummaryResponse",
162+ "properties": {
163+ "abusiveStatus": {
164+ "description": "The status of the site reviewed for the abusive experiences.",
165+ "enum": [
166+ "UNKNOWN",
167+ "PASSING",
168+ "FAILING"
169+ ],
170+ "enumDescriptions": [
171+ "Not reviewed.",
172+ "Passing.",
173+ "Failing."
174+ ],
175+ "type": "string"
176+ },
177+ "enforcementTime": {
178+ "description": "The date on which enforcement begins.",
179+ "format": "google-datetime",
180+ "type": "string"
181+ },
182+ "filterStatus": {
183+ "description": "The abusive experience enforcement status of the site.",
184+ "enum": [
185+ "UNKNOWN",
186+ "ON",
187+ "OFF",
188+ "PAUSED",
189+ "PENDING"
190+ ],
191+ "enumDescriptions": [
192+ "N/A.",
193+ "Ad filtering is on.",
194+ "Ad filtering is off.",
195+ "Ad filtering is paused.",
196+ "Ad filtering is pending."
197+ ],
198+ "type": "string"
199+ },
200+ "lastChangeTime": {
201+ "description": "The last time that the site changed status.",
202+ "format": "google-datetime",
203+ "type": "string"
204+ },
205+ "reportUrl": {
206+ "description": "A link that leads to a full abusive experience report.",
207+ "type": "string"
208+ },
209+ "reviewedSite": {
210+ "description": "The name of the site reviewed.",
211+ "type": "string"
212+ },
213+ "underReview": {
214+ "description": "Whether the site is currently under review.",
215+ "type": "boolean"
216+ }
217+ },
218+ "type": "object"
219+ },
220+ "ViolatingSitesResponse": {
221+ "description": "Response message for ListViolatingSites.",
222+ "id": "ViolatingSitesResponse",
223+ "properties": {
224+ "violatingSites": {
225+ "description": "A list of summaries of violating sites.",
226+ "items": {
227+ "$ref": "SiteSummaryResponse"
228+ },
229+ "type": "array"
230+ }
231+ },
232+ "type": "object"
233+ }
234+ },
235+ "servicePath": "",
236+ "title": "Abusive Experience Report API",
237+ "version": "v1",
238+ "version_module": true
239+}
gen/model/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-api.json+131−142
@@ -1,57 +1,144 @@
11{
2+ "basePath": "",
3+ "baseUrl": "https://acceleratedmobilepageurl.googleapis.com/",
4+ "batchPath": "batch",
5+ "description": "Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s).\n",
6+ "discoveryVersion": "v1",
7+ "documentationLink": "https://developers.google.com/amp/cache/",
8+ "icons": {
9+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
10+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
11+ },
212 "id": "acceleratedmobilepageurl:v1",
3− "description": "This API contains a single method, batchGet. Call this method to retrieve the AMP URL (and equivalent AMP Cache URL) for given public URL(s).\n",
13+ "kind": "discovery#restDescription",
14+ "name": "acceleratedmobilepageurl",
15+ "ownerDomain": "google.com",
16+ "ownerName": "Google",
17+ "parameters": {
18+ "$.xgafv": {
19+ "description": "V1 error format.",
20+ "enum": [
21+ "1",
22+ "2"
23+ ],
24+ "enumDescriptions": [
25+ "v1 error format",
26+ "v2 error format"
27+ ],
28+ "location": "query",
29+ "type": "string"
30+ },
31+ "access_token": {
32+ "description": "OAuth access token.",
33+ "location": "query",
34+ "type": "string"
35+ },
36+ "alt": {
37+ "default": "json",
38+ "description": "Data format for response.",
39+ "enum": [
40+ "json",
41+ "media",
42+ "proto"
43+ ],
44+ "enumDescriptions": [
45+ "Responses with Content-Type of application/json",
46+ "Media download with context-dependent Content-Type",
47+ "Responses with Content-Type of application/x-protobuf"
48+ ],
49+ "location": "query",
50+ "type": "string"
51+ },
52+ "callback": {
53+ "description": "JSONP",
54+ "location": "query",
55+ "type": "string"
56+ },
57+ "fields": {
58+ "description": "Selector specifying which fields to include in a partial response.",
59+ "location": "query",
60+ "type": "string"
61+ },
62+ "key": {
63+ "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.",
64+ "location": "query",
65+ "type": "string"
66+ },
67+ "oauth_token": {
68+ "description": "OAuth 2.0 token for the current user.",
69+ "location": "query",
70+ "type": "string"
71+ },
72+ "prettyPrint": {
73+ "default": "true",
74+ "description": "Returns response with indentations and line breaks.",
75+ "location": "query",
76+ "type": "boolean"
77+ },
78+ "quotaUser": {
79+ "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.",
80+ "location": "query",
81+ "type": "string"
82+ },
83+ "uploadType": {
84+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
85+ "location": "query",
86+ "type": "string"
87+ },
88+ "upload_protocol": {
89+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
90+ "location": "query",
91+ "type": "string"
92+ }
93+ },
494 "protocol": "rest",
5− "title": "Accelerated Mobile Pages (AMP) URL API",
695 "resources": {
796 "ampUrls": {
897 "methods": {
998 "batchGet": {
99+ "description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).",
100+ "flatPath": "v1/ampUrls:batchGet",
101+ "httpMethod": "POST",
10102 "id": "acceleratedmobilepageurl.ampUrls.batchGet",
11− "response": {
12− "$ref": "BatchGetAmpUrlsResponse"
13− },
14103 "parameterOrder": [],
15− "description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).",
104+ "parameters": {},
105+ "path": "v1/ampUrls:batchGet",
16106 "request": {
17107 "$ref": "BatchGetAmpUrlsRequest"
18108 },
19− "flatPath": "v1/ampUrls:batchGet",
20− "httpMethod": "POST",
21− "parameters": {},
22− "path": "v1/ampUrls:batchGet"
109+ "response": {
110+ "$ref": "BatchGetAmpUrlsResponse"
111+ }
23112 }
24113 }
25114 }
26115 },
116+ "revision": "20180612",
117+ "rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
27118 "schemas": {
28119 "AmpUrl": {
29120 "description": "AMP URL response for a requested URL.",
30− "type": "object",
121+ "id": "AmpUrl",
31122 "properties": {
32123 "ampUrl": {
33124 "description": "The AMP URL pointing to the publisher's web server.",
34125 "type": "string"
35126 },
36− "originalUrl": {
37− "description": "The original non-AMP URL.",
38− "type": "string"
39− },
40127 "cdnAmpUrl": {
41128 "description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.",
42129 "type": "string"
130+ },
131+ "originalUrl": {
132+ "description": "The original non-AMP URL.",
133+ "type": "string"
43134 }
44135 },
45− "id": "AmpUrl"
136+ "type": "object"
46137 },
47138 "AmpUrlError": {
48139 "description": "AMP URL Error resource for a requested URL that couldn't be found.",
49− "type": "object",
140+ "id": "AmpUrlError",
50141 "properties": {
51− "originalUrl": {
52− "description": "The original non-AMP URL.",
53− "type": "string"
54− },
55142 "errorCode": {
56143 "description": "The error code of an API call.",
57144 "enum": [
@@ -75,13 +162,17 @@
75162 "errorMessage": {
76163 "description": "An optional descriptive error message.",
77164 "type": "string"
165+ },
166+ "originalUrl": {
167+ "description": "The original non-AMP URL.",
168+ "type": "string"
78169 }
79170 },
80− "id": "AmpUrlError"
171+ "type": "object"
81172 },
82173 "BatchGetAmpUrlsRequest": {
83174 "description": "AMP URL request for a batch of URLs.",
84− "type": "object",
175+ "id": "BatchGetAmpUrlsRequest",
85176 "properties": {
86177 "lookupStrategy": {
87178 "description": "The lookup_strategy being requested.",
@@ -97,140 +188,38 @@
97188 },
98189 "urls": {
99190 "description": "List of URLs to look up for the paired AMP URLs.\nThe URLs are case-sensitive. Up to 50 URLs per lookup\n(see [Usage Limits](/amp/cache/reference/limits)).",
100− "type": "array",
101191 "items": {
102192 "type": "string"
103− }
193+ },
194+ "type": "array"
104195 }
105196 },
106− "id": "BatchGetAmpUrlsRequest"
197+ "type": "object"
107198 },
108199 "BatchGetAmpUrlsResponse": {
109200 "description": "Batch AMP URL response.",
110− "type": "object",
201+ "id": "BatchGetAmpUrlsResponse",
111202 "properties": {
112− "urlErrors": {
113− "description": "The errors for requested URLs that have no AMP URL.",
114− "type": "array",
115− "items": {
116− "$ref": "AmpUrlError"
117− }
118− },
119203 "ampUrls": {
120204 "description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might\nnot be in the same order as URLs in the batch request.\nIf BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated\nonly once.",
121− "type": "array",
122205 "items": {
123206 "$ref": "AmpUrl"
124− }
207+ },
208+ "type": "array"
209+ },
210+ "urlErrors": {
211+ "description": "The errors for requested URLs that have no AMP URL.",
212+ "items": {
213+ "$ref": "AmpUrlError"
214+ },
215+ "type": "array"
125216 }
126217 },
127− "id": "BatchGetAmpUrlsResponse"
218+ "type": "object"
128219 }
129220 },
130− "revision": "20160928",
131− "basePath": "",
132− "icons": {
133− "x32": "http://www.google.com/images/icons/product/search-32.gif",
134− "x16": "http://www.google.com/images/icons/product/search-16.gif"
135− },
136− "version_module": "True",
137− "discoveryVersion": "v1",
138− "baseUrl": "https://acceleratedmobilepageurl.googleapis.com/",
139− "name": "acceleratedmobilepageurl",
140− "parameters": {
141− "access_token": {
142− "description": "OAuth access token.",
143− "type": "string",
144− "location": "query"
145− },
146− "prettyPrint": {
147− "description": "Returns response with indentations and line breaks.",
148− "default": "true",
149− "type": "boolean",
150− "location": "query"
151− },
152− "key": {
153− "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.",
154− "type": "string",
155− "location": "query"
156− },
157− "quotaUser": {
158− "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.",
159− "type": "string",
160− "location": "query"
161− },
162− "pp": {
163− "description": "Pretty-print response.",
164− "default": "true",
165− "type": "boolean",
166− "location": "query"
167− },
168− "fields": {
169− "description": "Selector specifying which fields to include in a partial response.",
170− "type": "string",
171− "location": "query"
172− },
173− "alt": {
174− "description": "Data format for response.",
175− "location": "query",
176− "enum": [
177− "json",
178− "media",
179− "proto"
180− ],
181− "default": "json",
182− "enumDescriptions": [
183− "Responses with Content-Type of application/json",
184− "Media download with context-dependent Content-Type",
185− "Responses with Content-Type of application/x-protobuf"
186− ],
187− "type": "string"
188− },
189− "$.xgafv": {
190− "description": "V1 error format.",
191− "enum": [
192− "1",
193− "2"
194− ],
195− "enumDescriptions": [
196− "v1 error format",
197− "v2 error format"
198− ],
199− "type": "string",
200− "location": "query"
201− },
202− "callback": {
203− "description": "JSONP",
204− "type": "string",
205− "location": "query"
206− },
207− "oauth_token": {
208− "description": "OAuth 2.0 token for the current user.",
209− "type": "string",
210− "location": "query"
211− },
212− "uploadType": {
213− "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
214− "type": "string",
215− "location": "query"
216− },
217− "bearer_token": {
218− "description": "OAuth bearer token.",
219− "type": "string",
220− "location": "query"
221− },
222− "upload_protocol": {
223− "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
224− "type": "string",
225− "location": "query"
226− }
227− },
228− "documentationLink": "https://developers.google.com/amp/cache/",
229− "ownerDomain": "google.com",
230− "batchPath": "batch",
231221 "servicePath": "",
232− "ownerName": "Google",
222+ "title": "Accelerated Mobile Pages (AMP) URL API",
233223 "version": "v1",
234− "rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
235− "kind": "discovery#restDescription"
236−}
224+ "version_module": true
225+}
gen/model/accesscontextmanager/v1beta/accesscontextmanager-api.jsonnew file+1018
@@ -0,0 +1,1018 @@
1+{
2+ "auth": {
3+ "oauth2": {
4+ "scopes": {
5+ "https://www.googleapis.com/auth/cloud-platform": {
6+ "description": "View and manage your data across Google Cloud Platform services"
7+ }
8+ }
9+ }
10+ },
11+ "basePath": "",
12+ "baseUrl": "https://accesscontextmanager.googleapis.com/",
13+ "batchPath": "batch",
14+ "canonicalName": "Access Context Manager",
15+ "description": "An API for setting attribute based access control to requests to GCP services.",
16+ "discoveryVersion": "v1",
17+ "documentationLink": "https://cloud.google.com/access-context-manager/docs/reference/rest/",
18+ "fullyEncodeReservedExpansion": true,
19+ "icons": {
20+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
21+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
22+ },
23+ "id": "accesscontextmanager:v1beta",
24+ "kind": "discovery#restDescription",
25+ "name": "accesscontextmanager",
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+ "accessPolicies": {
108+ "methods": {
109+ "create": {
110+ "description": "Create an `AccessPolicy`. Fails if this organization already has a\n`AccessPolicy`. The longrunning Operation will have a successful status\nonce the `AccessPolicy` has propagated to long-lasting storage.\nSyntactic and basic semantic errors will be returned in `metadata` as a\nBadRequest proto.",
111+ "flatPath": "v1beta/accessPolicies",
112+ "httpMethod": "POST",
113+ "id": "accesscontextmanager.accessPolicies.create",
114+ "parameterOrder": [],
115+ "parameters": {},
116+ "path": "v1beta/accessPolicies",
117+ "request": {
118+ "$ref": "AccessPolicy"
119+ },
120+ "response": {
121+ "$ref": "Operation"
122+ },
123+ "scopes": [
124+ "https://www.googleapis.com/auth/cloud-platform"
125+ ]
126+ },
127+ "delete": {
128+ "description": "Delete an AccessPolicy by resource\nname. The longrunning Operation will have a successful status once the\nAccessPolicy\nhas been removed from long-lasting storage.",
129+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}",
130+ "httpMethod": "DELETE",
131+ "id": "accesscontextmanager.accessPolicies.delete",
132+ "parameterOrder": [
133+ "name"
134+ ],
135+ "parameters": {
136+ "name": {
137+ "description": "Required. Resource name for the access policy to delete.\n\nFormat `accessPolicies/{policy_id}`",
138+ "location": "path",
139+ "pattern": "^accessPolicies/[^/]+$",
140+ "required": true,
141+ "type": "string"
142+ }
143+ },
144+ "path": "v1beta/{+name}",
145+ "response": {
146+ "$ref": "Operation"
147+ },
148+ "scopes": [
149+ "https://www.googleapis.com/auth/cloud-platform"
150+ ]
151+ },
152+ "get": {
153+ "description": "Get an AccessPolicy by name.",
154+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}",
155+ "httpMethod": "GET",
156+ "id": "accesscontextmanager.accessPolicies.get",
157+ "parameterOrder": [
158+ "name"
159+ ],
160+ "parameters": {
161+ "name": {
162+ "description": "Required. Resource name for the access policy to get.\n\nFormat `accessPolicies/{policy_id}`",
163+ "location": "path",
164+ "pattern": "^accessPolicies/[^/]+$",
165+ "required": true,
166+ "type": "string"
167+ }
168+ },
169+ "path": "v1beta/{+name}",
170+ "response": {
171+ "$ref": "AccessPolicy"
172+ },
173+ "scopes": [
174+ "https://www.googleapis.com/auth/cloud-platform"
175+ ]
176+ },
177+ "list": {
178+ "description": "List all AccessPolicies under a\ncontainer.",
179+ "flatPath": "v1beta/accessPolicies",
180+ "httpMethod": "GET",
181+ "id": "accesscontextmanager.accessPolicies.list",
182+ "parameterOrder": [],
183+ "parameters": {
184+ "pageSize": {
185+ "description": "Number of AccessPolicy instances to include in the list. Default 100.",
186+ "format": "int32",
187+ "location": "query",
188+ "type": "integer"
189+ },
190+ "pageToken": {
191+ "description": "Next page token for the next batch of AccessPolicy instances. Defaults to\nthe first page of results.",
192+ "location": "query",
193+ "type": "string"
194+ },
195+ "parent": {
196+ "description": "Required. Resource name for the container to list AccessPolicy instances\nfrom.\n\nFormat:\n`organizations/{org_id}`",
197+ "location": "query",
198+ "type": "string"
199+ }
200+ },
201+ "path": "v1beta/accessPolicies",
202+ "response": {
203+ "$ref": "ListAccessPoliciesResponse"
204+ },
205+ "scopes": [
206+ "https://www.googleapis.com/auth/cloud-platform"
207+ ]
208+ },
209+ "patch": {
210+ "description": "Update an AccessPolicy. The\nlongrunning Operation from this RPC will have a successful status once the\nchanges to the AccessPolicy have propagated\nto long-lasting storage. Syntactic and basic semantic errors will be\nreturned in `metadata` as a BadRequest proto.",
211+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}",
212+ "httpMethod": "PATCH",
213+ "id": "accesscontextmanager.accessPolicies.patch",
214+ "parameterOrder": [
215+ "name"
216+ ],
217+ "parameters": {
218+ "name": {
219+ "description": "Output only. Resource name of the `AccessPolicy`. Format:\n`accessPolicies/{policy_id}`",
220+ "location": "path",
221+ "pattern": "^accessPolicies/[^/]+$",
222+ "required": true,
223+ "type": "string"
224+ },
225+ "updateMask": {
226+ "description": "Required. Mask to control which fields get updated. Must be non-empty.",
227+ "format": "google-fieldmask",
228+ "location": "query",
229+ "type": "string"
230+ }
231+ },
232+ "path": "v1beta/{+name}",
233+ "request": {
234+ "$ref": "AccessPolicy"
235+ },
236+ "response": {
237+ "$ref": "Operation"
238+ },
239+ "scopes": [
240+ "https://www.googleapis.com/auth/cloud-platform"
241+ ]
242+ }
243+ },
244+ "resources": {
245+ "accessLevels": {
246+ "methods": {
247+ "create": {
248+ "description": "Create an Access Level. The longrunning\noperation from this RPC will have a successful status once the Access\nLevel has\npropagated to long-lasting storage. Access Levels containing\nerrors will result in an error response for the first error encountered.",
249+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels",
250+ "httpMethod": "POST",
251+ "id": "accesscontextmanager.accessPolicies.accessLevels.create",
252+ "parameterOrder": [
253+ "parent"
254+ ],
255+ "parameters": {
256+ "parent": {
257+ "description": "Required. Resource name for the access policy which owns this Access\nLevel.\n\nFormat: `accessPolicies/{policy_id}`",
258+ "location": "path",
259+ "pattern": "^accessPolicies/[^/]+$",
260+ "required": true,
261+ "type": "string"
262+ }
263+ },
264+ "path": "v1beta/{+parent}/accessLevels",
265+ "request": {
266+ "$ref": "AccessLevel"
267+ },
268+ "response": {
269+ "$ref": "Operation"
270+ },
271+ "scopes": [
272+ "https://www.googleapis.com/auth/cloud-platform"
273+ ]
274+ },
275+ "delete": {
276+ "description": "Delete an Access Level by resource\nname. The longrunning operation from this RPC will have a successful status\nonce the Access Level has been removed\nfrom long-lasting storage.",
277+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels/{accessLevelsId}",
278+ "httpMethod": "DELETE",
279+ "id": "accesscontextmanager.accessPolicies.accessLevels.delete",
280+ "parameterOrder": [
281+ "name"
282+ ],
283+ "parameters": {
284+ "name": {
285+ "description": "Required. Resource name for the Access Level.\n\nFormat:\n`accessPolicies/{policy_id}/accessLevels/{access_level_id}`",
286+ "location": "path",
287+ "pattern": "^accessPolicies/[^/]+/accessLevels/[^/]+$",
288+ "required": true,
289+ "type": "string"
290+ }
291+ },
292+ "path": "v1beta/{+name}",
293+ "response": {
294+ "$ref": "Operation"
295+ },
296+ "scopes": [
297+ "https://www.googleapis.com/auth/cloud-platform"
298+ ]
299+ },
300+ "get": {
301+ "description": "Get an Access Level by resource\nname.",
302+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels/{accessLevelsId}",
303+ "httpMethod": "GET",
304+ "id": "accesscontextmanager.accessPolicies.accessLevels.get",
305+ "parameterOrder": [
306+ "name"
307+ ],
308+ "parameters": {
309+ "accessLevelFormat": {
310+ "description": "Whether to return `BasicLevels` in the Cloud Common Expression\nLanguage rather than as `BasicLevels`. Defaults to AS_DEFINED, where\nAccess Levels\nare returned as `BasicLevels` or `CustomLevels` based on how they were\ncreated. If set to CEL, all Access Levels are returned as\n`CustomLevels`. In the CEL case, `BasicLevels` are translated to equivalent\n`CustomLevels`.",
311+ "enum": [
312+ "LEVEL_FORMAT_UNSPECIFIED",
313+ "AS_DEFINED",
314+ "CEL"
315+ ],
316+ "location": "query",
317+ "type": "string"
318+ },
319+ "name": {
320+ "description": "Required. Resource name for the Access Level.\n\nFormat:\n`accessPolicies/{policy_id}/accessLevels/{access_level_id}`",
321+ "location": "path",
322+ "pattern": "^accessPolicies/[^/]+/accessLevels/[^/]+$",
323+ "required": true,
324+ "type": "string"
325+ }
326+ },
327+ "path": "v1beta/{+name}",
328+ "response": {
329+ "$ref": "AccessLevel"
330+ },
331+ "scopes": [
332+ "https://www.googleapis.com/auth/cloud-platform"
333+ ]
334+ },
335+ "list": {
336+ "description": "List all Access Levels for an access\npolicy.",
337+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels",
338+ "httpMethod": "GET",
339+ "id": "accesscontextmanager.accessPolicies.accessLevels.list",
340+ "parameterOrder": [
341+ "parent"
342+ ],
343+ "parameters": {
344+ "accessLevelFormat": {
345+ "description": "Whether to return `BasicLevels` in the Cloud Common Expression language, as\n`CustomLevels`, rather than as `BasicLevels`. Defaults to returning\n`AccessLevels` in the format they were defined.",
346+ "enum": [
347+ "LEVEL_FORMAT_UNSPECIFIED",
348+ "AS_DEFINED",
349+ "CEL"
350+ ],
351+ "location": "query",
352+ "type": "string"
353+ },
354+ "pageSize": {
355+ "description": "Number of Access Levels to include in\nthe list. Default 100.",
356+ "format": "int32",
357+ "location": "query",
358+ "type": "integer"
359+ },
360+ "pageToken": {
361+ "description": "Next page token for the next batch of Access Level instances.\nDefaults to the first page of results.",
362+ "location": "query",
363+ "type": "string"
364+ },
365+ "parent": {
366+ "description": "Required. Resource name for the access policy to list Access Levels from.\n\nFormat:\n`accessPolicies/{policy_id}`",
367+ "location": "path",
368+ "pattern": "^accessPolicies/[^/]+$",
369+ "required": true,
370+ "type": "string"
371+ }
372+ },
373+ "path": "v1beta/{+parent}/accessLevels",
374+ "response": {
375+ "$ref": "ListAccessLevelsResponse"
376+ },
377+ "scopes": [
378+ "https://www.googleapis.com/auth/cloud-platform"
379+ ]
380+ },
381+ "patch": {
382+ "description": "Update an Access Level. The longrunning\noperation from this RPC will have a successful status once the changes to\nthe Access Level have propagated\nto long-lasting storage. Access Levels containing\nerrors will result in an error response for the first error encountered.",
383+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels/{accessLevelsId}",
384+ "httpMethod": "PATCH",
385+ "id": "accesscontextmanager.accessPolicies.accessLevels.patch",
386+ "parameterOrder": [
387+ "name"
388+ ],
389+ "parameters": {
390+ "name": {
391+ "description": "Required. Resource name for the Access Level. The `short_name` component\nmust begin with a letter and only include alphanumeric and '_'. Format:\n`accessPolicies/{policy_id}/accessLevels/{short_name}`",
392+ "location": "path",
393+ "pattern": "^accessPolicies/[^/]+/accessLevels/[^/]+$",
394+ "required": true,
395+ "type": "string"
396+ },
397+ "updateMask": {
398+ "description": "Required. Mask to control which fields get updated. Must be non-empty.",
399+ "format": "google-fieldmask",
400+ "location": "query",
401+ "type": "string"
402+ }
403+ },
404+ "path": "v1beta/{+name}",
405+ "request": {
406+ "$ref": "AccessLevel"
407+ },
408+ "response": {
409+ "$ref": "Operation"
410+ },
411+ "scopes": [
412+ "https://www.googleapis.com/auth/cloud-platform"
413+ ]
414+ }
415+ }
416+ },
417+ "servicePerimeters": {
418+ "methods": {
419+ "create": {
420+ "description": "Create an Service Perimeter. The\nlongrunning operation from this RPC will have a successful status once the\nService Perimeter has\npropagated to long-lasting storage. Service Perimeters containing\nerrors will result in an error response for the first error encountered.",
421+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters",
422+ "httpMethod": "POST",
423+ "id": "accesscontextmanager.accessPolicies.servicePerimeters.create",
424+ "parameterOrder": [
425+ "parent"
426+ ],
427+ "parameters": {
428+ "parent": {
429+ "description": "Required. Resource name for the access policy which owns this Service\nPerimeter.\n\nFormat: `accessPolicies/{policy_id}`",
430+ "location": "path",
431+ "pattern": "^accessPolicies/[^/]+$",
432+ "required": true,
433+ "type": "string"
434+ }
435+ },
436+ "path": "v1beta/{+parent}/servicePerimeters",
437+ "request": {
438+ "$ref": "ServicePerimeter"
439+ },
440+ "response": {
441+ "$ref": "Operation"
442+ },
443+ "scopes": [
444+ "https://www.googleapis.com/auth/cloud-platform"
445+ ]
446+ },
447+ "delete": {
448+ "description": "Delete an Service Perimeter by resource\nname. The longrunning operation from this RPC will have a successful status\nonce the Service Perimeter has been\nremoved from long-lasting storage.",
449+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters/{servicePerimetersId}",
450+ "httpMethod": "DELETE",
451+ "id": "accesscontextmanager.accessPolicies.servicePerimeters.delete",
452+ "parameterOrder": [
453+ "name"
454+ ],
455+ "parameters": {
456+ "name": {
457+ "description": "Required. Resource name for the Service Perimeter.\n\nFormat:\n`accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}`",
458+ "location": "path",
459+ "pattern": "^accessPolicies/[^/]+/servicePerimeters/[^/]+$",
460+ "required": true,
461+ "type": "string"
462+ }
463+ },
464+ "path": "v1beta/{+name}",
465+ "response": {
466+ "$ref": "Operation"
467+ },
468+ "scopes": [
469+ "https://www.googleapis.com/auth/cloud-platform"
470+ ]
471+ },
472+ "get": {
473+ "description": "Get an Service Perimeter by resource\nname.",
474+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters/{servicePerimetersId}",
475+ "httpMethod": "GET",
476+ "id": "accesscontextmanager.accessPolicies.servicePerimeters.get",
477+ "parameterOrder": [
478+ "name"
479+ ],
480+ "parameters": {
481+ "name": {
482+ "description": "Required. Resource name for the Service Perimeter.\n\nFormat:\n`accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}`",
483+ "location": "path",
484+ "pattern": "^accessPolicies/[^/]+/servicePerimeters/[^/]+$",
485+ "required": true,
486+ "type": "string"
487+ }
488+ },
489+ "path": "v1beta/{+name}",
490+ "response": {
491+ "$ref": "ServicePerimeter"
492+ },
493+ "scopes": [
494+ "https://www.googleapis.com/auth/cloud-platform"
495+ ]
496+ },
497+ "list": {
498+ "description": "List all Service Perimeters for an\naccess policy.",
499+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters",
500+ "httpMethod": "GET",
501+ "id": "accesscontextmanager.accessPolicies.servicePerimeters.list",
502+ "parameterOrder": [
503+ "parent"
504+ ],
505+ "parameters": {
506+ "pageSize": {
507+ "description": "Number of Service Perimeters to include\nin the list. Default 100.",
508+ "format": "int32",
509+ "location": "query",
510+ "type": "integer"
511+ },
512+ "pageToken": {
513+ "description": "Next page token for the next batch of Service Perimeter instances.\nDefaults to the first page of results.",
514+ "location": "query",
515+ "type": "string"
516+ },
517+ "parent": {
518+ "description": "Required. Resource name for the access policy to list Service Perimeters from.\n\nFormat:\n`accessPolicies/{policy_id}`",
519+ "location": "path",
520+ "pattern": "^accessPolicies/[^/]+$",
521+ "required": true,
522+ "type": "string"
523+ }
524+ },
525+ "path": "v1beta/{+parent}/servicePerimeters",
526+ "response": {
527+ "$ref": "ListServicePerimetersResponse"
528+ },
529+ "scopes": [
530+ "https://www.googleapis.com/auth/cloud-platform"
531+ ]
532+ },
533+ "patch": {
534+ "description": "Update an Service Perimeter. The\nlongrunning operation from this RPC will have a successful status once the\nchanges to the Service Perimeter have\npropagated to long-lasting storage. Service Perimeter containing\nerrors will result in an error response for the first error encountered.",
535+ "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters/{servicePerimetersId}",
536+ "httpMethod": "PATCH",
537+ "id": "accesscontextmanager.accessPolicies.servicePerimeters.patch",
538+ "parameterOrder": [
539+ "name"
540+ ],
541+ "parameters": {
542+ "name": {
543+ "description": "Required. Resource name for the ServicePerimeter. The `short_name`\ncomponent must begin with a letter and only include alphanumeric and '_'.\nFormat: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`",
544+ "location": "path",
545+ "pattern": "^accessPolicies/[^/]+/servicePerimeters/[^/]+$",
546+ "required": true,
547+ "type": "string"
548+ },
549+ "updateMask": {
550+ "description": "Required. Mask to control which fields get updated. Must be non-empty.",
551+ "format": "google-fieldmask",
552+ "location": "query",
553+ "type": "string"
554+ }
555+ },
556+ "path": "v1beta/{+name}",
557+ "request": {
558+ "$ref": "ServicePerimeter"
559+ },
560+ "response": {
561+ "$ref": "Operation"
562+ },
563+ "scopes": [
564+ "https://www.googleapis.com/auth/cloud-platform"
565+ ]
566+ }
567+ }
568+ }
569+ }
570+ },
571+ "operations": {
572+ "methods": {
573+ "get": {
574+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
575+ "flatPath": "v1beta/operations/{operationsId}",
576+ "httpMethod": "GET",
577+ "id": "accesscontextmanager.operations.get",
578+ "parameterOrder": [
579+ "name"
580+ ],
581+ "parameters": {
582+ "name": {
583+ "description": "The name of the operation resource.",
584+ "location": "path",
585+ "pattern": "^operations/.+$",
586+ "required": true,
587+ "type": "string"
588+ }
589+ },
590+ "path": "v1beta/{+name}",
591+ "response": {
592+ "$ref": "Operation"
593+ },
594+ "scopes": [
595+ "https://www.googleapis.com/auth/cloud-platform"
596+ ]
597+ }
598+ }
599+ }
600+ },
601+ "revision": "20181219",
602+ "rootUrl": "https://accesscontextmanager.googleapis.com/",
603+ "schemas": {
604+ "AccessLevel": {
605+ "description": "An `AccessLevel` is a label that can be applied to requests to GCP services,\nalong with a list of requirements necessary for the label to be applied.",
606+ "id": "AccessLevel",
607+ "properties": {
608+ "basic": {
609+ "$ref": "BasicLevel",
610+ "description": "A `BasicLevel` composed of `Conditions`."
611+ },
612+ "createTime": {
613+ "description": "Output only. Time the `AccessLevel` was created in UTC.",
614+ "format": "google-datetime",
615+ "type": "string"
616+ },
617+ "description": {
618+ "description": "Description of the `AccessLevel` and its use. Does not affect behavior.",
619+ "type": "string"
620+ },
621+ "name": {
622+ "description": "Required. Resource name for the Access Level. The `short_name` component\nmust begin with a letter and only include alphanumeric and '_'. Format:\n`accessPolicies/{policy_id}/accessLevels/{short_name}`",
623+ "type": "string"
624+ },
625+ "title": {
626+ "description": "Human readable title. Must be unique within the Policy.",
627+ "type": "string"
628+ },
629+ "updateTime": {
630+ "description": "Output only. Time the `AccessLevel` was updated in UTC.",
631+ "format": "google-datetime",
632+ "type": "string"
633+ }
634+ },
635+ "type": "object"
636+ },
637+ "AccessPolicy": {
638+ "description": "`AccessPolicy` is a container for `AccessLevels` (which define the necessary\nattributes to use GCP services) and `ServicePerimeters` (which define regions\nof services able to freely pass data within a perimeter). An access policy is\nglobally visible within an organization, and the restrictions it specifies\napply to all projects within an organization.",
639+ "id": "AccessPolicy",
640+ "properties": {
641+ "createTime": {
642+ "description": "Output only. Time the `AccessPolicy` was created in UTC.",
643+ "format": "google-datetime",
644+ "type": "string"
645+ },
646+ "name": {
647+ "description": "Output only. Resource name of the `AccessPolicy`. Format:\n`accessPolicies/{policy_id}`",
648+ "type": "string"
649+ },
650+ "parent": {
651+ "description": "Required. The parent of this `AccessPolicy` in the Cloud Resource\nHierarchy. Currently immutable once created. Format:\n`organizations/{organization_id}`",
652+ "type": "string"
653+ },
654+ "title": {
655+ "description": "Required. Human readable title. Does not affect behavior.",
656+ "type": "string"
657+ },
658+ "updateTime": {
659+ "description": "Output only. Time the `AccessPolicy` was updated in UTC.",
660+ "format": "google-datetime",
661+ "type": "string"
662+ }
663+ },
664+ "type": "object"
665+ },
666+ "BasicLevel": {
667+ "description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.",
668+ "id": "BasicLevel",
669+ "properties": {
670+ "combiningFunction": {
671+ "description": "How the `conditions` list should be combined to determine if a request is\ngranted this `AccessLevel`. If AND is used, each `Condition` in\n`conditions` must be satisfied for the `AccessLevel` to be applied. If OR\nis used, at least one `Condition` in `conditions` must be satisfied for the\n`AccessLevel` to be applied. Default behavior is AND.",
672+ "enum": [
673+ "AND",
674+ "OR"
675+ ],
676+ "enumDescriptions": [
677+ "All `Conditions` must be true for the `BasicLevel` to be true.",
678+ "If at least one `Condition` is true, then the `BasicLevel` is true."
679+ ],
680+ "type": "string"
681+ },
682+ "conditions": {
683+ "description": "Required. A list of requirements for the `AccessLevel` to be granted.",
684+ "items": {
685+ "$ref": "Condition"
686+ },
687+ "type": "array"
688+ }
689+ },
690+ "type": "object"
691+ },
692+ "Condition": {
693+ "description": "A condition necessary for an `AccessLevel` to be granted. The Condition is an\nAND over its fields. So a Condition is true if: 1) the request IP is from one\nof the listed subnetworks AND 2) the originating device complies with the\nlisted device policy AND 3) all listed access levels are granted AND 4) the\nrequest was sent at a time allowed by the DateTimeRestriction.",
694+ "id": "Condition",
695+ "properties": {
696+ "devicePolicy": {
697+ "$ref": "DevicePolicy",
698+ "description": "Device specific restrictions, all restrictions must hold for the\nCondition to be true. If not specified, all devices are allowed."
699+ },
700+ "ipSubnetworks": {
701+ "description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for\na CIDR IP address block, the specified IP address portion must be properly\ntruncated (i.e. all the host bits must be zero) or the input is considered\nmalformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is\nnot. Similarly, for IPv6, \"2001:db8::/32\" is accepted whereas\n\"2001:db8::1/32\" is not. The originating IP of a request must be in one of\nthe listed subnets in order for this Condition to be true. If empty, all IP\naddresses are allowed.",
702+ "items": {
703+ "type": "string"
704+ },
705+ "type": "array"
706+ },
707+ "members": {
708+ "description": "The signed-in user originating the request must be a part of one of the\nprovided members.\nSyntax:\n`user:{emailid}`\n`group:{emailid}`\n`serviceAccount:{emailid}`\nIf not specified, a request may come from any user (logged in/not logged\nin, not present in any groups, etc.).",
709+ "items": {
710+ "type": "string"
711+ },
712+ "type": "array"
713+ },
714+ "negate": {
715+ "description": "Whether to negate the Condition. If true, the Condition becomes a NAND over\nits non-empty fields, each field must be false for the Condition overall to\nbe satisfied. Defaults to false.",
716+ "type": "boolean"
717+ },
718+ "requiredAccessLevels": {
719+ "description": "A list of other access levels defined in the same `Policy`, referenced by\nresource name. Referencing an `AccessLevel` which does not exist is an\nerror. All access levels listed must be granted for the Condition\nto be true. Example:\n\"`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`",
720+ "items": {
721+ "type": "string"
722+ },
723+ "type": "array"
724+ }
725+ },
726+ "type": "object"
727+ },
728+ "DevicePolicy": {
729+ "description": "`DevicePolicy` specifies device specific restrictions necessary to acquire a\ngiven access level. A `DevicePolicy` specifies requirements for requests from\ndevices to be granted access levels, it does not do any enforcement on the\ndevice. `DevicePolicy` acts as an AND over all specified fields, and each\nrepeated field is an OR over its elements. Any unset fields are ignored. For\nexample, if the proto is { os_type : DESKTOP_WINDOWS, os_type :\nDESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be\ntrue for requests originating from encrypted Linux desktops and encrypted\nWindows desktops.",
730+ "id": "DevicePolicy",
731+ "properties": {
732+ "allowedDeviceManagementLevels": {
733+ "description": "Allowed device management levels, an empty list allows all management\nlevels.",
734+ "enumDescriptions": [
735+ "The device's management level is not specified or not known.",
736+ "The device is not managed.",
737+ "Basic management is enabled, which is generally limited to monitoring and\nwiping the corporate account.",
738+ "Complete device management. This includes more thorough monitoring and the\nability to directly manage the device (such as remote wiping). This can be\nenabled through the Android Enterprise Platform."
739+ ],
740+ "items": {
741+ "enum": [
742+ "MANAGEMENT_UNSPECIFIED",
743+ "NONE",
744+ "BASIC",
745+ "COMPLETE"
746+ ],
747+ "type": "string"
748+ },
749+ "type": "array"
750+ },
751+ "allowedEncryptionStatuses": {
752+ "description": "Allowed encryptions statuses, an empty list allows all statuses.",
753+ "enumDescriptions": [
754+ "The encryption status of the device is not specified or not known.",
755+ "The device does not support encryption.",
756+ "The device supports encryption, but is currently unencrypted.",
757+ "The device is encrypted."
758+ ],
759+ "items": {
760+ "enum": [
761+ "ENCRYPTION_UNSPECIFIED",
762+ "ENCRYPTION_UNSUPPORTED",
763+ "UNENCRYPTED",
764+ "ENCRYPTED"
765+ ],
766+ "type": "string"
767+ },
768+ "type": "array"
769+ },
770+ "osConstraints": {
771+ "description": "Allowed OS versions, an empty list allows all types and all versions.",
772+ "items": {
773+ "$ref": "OsConstraint"
774+ },
775+ "type": "array"
776+ },
777+ "requireScreenlock": {
778+ "description": "Whether or not screenlock is required for the DevicePolicy to be true.\nDefaults to `false`.",
779+ "type": "boolean"
780+ }
781+ },
782+ "type": "object"
783+ },
784+ "ListAccessLevelsResponse": {
785+ "description": "A response to `ListAccessLevelsRequest`.",
786+ "id": "ListAccessLevelsResponse",
787+ "properties": {
788+ "accessLevels": {
789+ "description": "List of the Access Level instances.",
790+ "items": {
791+ "$ref": "AccessLevel"
792+ },
793+ "type": "array"
794+ },
795+ "nextPageToken": {
796+ "description": "The pagination token to retrieve the next page of results. If the value is\nempty, no further results remain.",
797+ "type": "string"
798+ }
799+ },
800+ "type": "object"
801+ },
802+ "ListAccessPoliciesResponse": {
803+ "description": "A response to `ListAccessPoliciesRequest`.",
804+ "id": "ListAccessPoliciesResponse",
805+ "properties": {
806+ "accessPolicies": {
807+ "description": "List of the AccessPolicy instances.",
808+ "items": {
809+ "$ref": "AccessPolicy"
810+ },
811+ "type": "array"
812+ },
813+ "nextPageToken": {
814+ "description": "The pagination token to retrieve the next page of results. If the value is\nempty, no further results remain.",
815+ "type": "string"
816+ }
817+ },
818+ "type": "object"
819+ },
820+ "ListServicePerimetersResponse": {
821+ "description": "A response to `ListServicePerimetersRequest`.",
822+ "id": "ListServicePerimetersResponse",
823+ "properties": {
824+ "nextPageToken": {
825+ "description": "The pagination token to retrieve the next page of results. If the value is\nempty, no further results remain.",
826+ "type": "string"
827+ },
828+ "servicePerimeters": {
829+ "description": "List of the Service Perimeter instances.",
830+ "items": {
831+ "$ref": "ServicePerimeter"
832+ },
833+ "type": "array"
834+ }
835+ },
836+ "type": "object"
837+ },
838+ "Operation": {
839+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
840+ "id": "Operation",
841+ "properties": {
842+ "done": {
843+ "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
844+ "type": "boolean"
845+ },
846+ "error": {
847+ "$ref": "Status",
848+ "description": "The error result of the operation in case of failure or cancellation."
849+ },
850+ "metadata": {
851+ "additionalProperties": {
852+ "description": "Properties of the object. Contains field @type with type URL.",
853+ "type": "any"
854+ },
855+ "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
856+ "type": "object"
857+ },
858+ "name": {
859+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.",
860+ "type": "string"
861+ },
862+ "response": {
863+ "additionalProperties": {
864+ "description": "Properties of the object. Contains field @type with type URL.",
865+ "type": "any"
866+ },
867+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
868+ "type": "object"
869+ }
870+ },
871+ "type": "object"
872+ },
873+ "OsConstraint": {
874+ "description": "A restriction on the OS type and version of devices making requests.",
875+ "id": "OsConstraint",
876+ "properties": {
877+ "minimumVersion": {
878+ "description": "The minimum allowed OS version. If not set, any version of this OS\nsatisfies the constraint. Format: `\"major.minor.patch\"`.\nExamples: `\"10.5.301\"`, `\"9.2.1\"`.",
879+ "type": "string"
880+ },
881+ "osType": {
882+ "description": "Required. The allowed OS type.",
883+ "enum": [
884+ "OS_UNSPECIFIED",
885+ "DESKTOP_MAC",
886+ "DESKTOP_WINDOWS",
887+ "DESKTOP_LINUX",
888+ "DESKTOP_CHROME_OS",
889+ "ANDROID",
890+ "IOS"
891+ ],
892+ "enumDescriptions": [
893+ "The operating system of the device is not specified or not known.",
894+ "A desktop Mac operating system.",
895+ "A desktop Windows operating system.",
896+ "A desktop Linux operating system.",
897+ "A desktop ChromeOS operating system.",
898+ "An Android operating system.",
899+ "An iOS operating system."
900+ ],
901+ "type": "string"
902+ }
903+ },
904+ "type": "object"
905+ },
906+ "ServicePerimeter": {
907+ "description": "`ServicePerimeter` describes a set of GCP resources which can freely import\nand export data amongst themselves, but not export outside of the\n`ServicePerimeter`. If a request with a source within this `ServicePerimeter`\nhas a target outside of the `ServicePerimeter`, the request will be blocked.\nOtherwise the request is allowed. There are two types of Service Perimeter -\nRegular and Bridge. Regular Service Perimeters cannot overlap, a single GCP\nproject can only belong to a single regular Service Perimeter. Service\nPerimeter Bridges can contain only GCP projects as members, a single GCP\nproject may belong to multiple Service Perimeter Bridges.",
908+ "id": "ServicePerimeter",
909+ "properties": {
910+ "createTime": {
911+ "description": "Output only. Time the `ServicePerimeter` was created in UTC.",
912+ "format": "google-datetime",
913+ "type": "string"
914+ },
915+ "description": {
916+ "description": "Description of the `ServicePerimeter` and its use. Does not affect\nbehavior.",
917+ "type": "string"
918+ },
919+ "name": {
920+ "description": "Required. Resource name for the ServicePerimeter. The `short_name`\ncomponent must begin with a letter and only include alphanumeric and '_'.\nFormat: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`",
921+ "type": "string"
922+ },
923+ "perimeterType": {
924+ "description": "Perimeter type indicator. A single project is\nallowed to be a member of single regular perimeter, but multiple service\nperimeter bridges. A project cannot be a included in a perimeter bridge\nwithout being included in regular perimeter. For perimeter bridges,\nrestricted/unrestricted service lists as well as access lists must be\nempty.",
925+ "enum": [
926+ "PERIMETER_TYPE_REGULAR",
927+ "PERIMETER_TYPE_BRIDGE"
928+ ],
929+ "enumDescriptions": [
930+ "Regular Perimeter.",
931+ "Perimeter Bridge."
932+ ],
933+ "type": "string"
934+ },
935+ "status": {
936+ "$ref": "ServicePerimeterConfig",
937+ "description": "Current ServicePerimeter configuration. Specifies sets of resources,\nrestricted/unrestricted services and access levels that determine perimeter\ncontent and boundaries."
938+ },
939+ "title": {
940+ "description": "Human readable title. Must be unique within the Policy.",
941+ "type": "string"
942+ },
943+ "updateTime": {
944+ "description": "Output only. Time the `ServicePerimeter` was updated in UTC.",
945+ "format": "google-datetime",
946+ "type": "string"
947+ }
948+ },
949+ "type": "object"
950+ },
951+ "ServicePerimeterConfig": {
952+ "description": "`ServicePerimeterConfig` specifies a set of GCP resources that describe\nspecific Service Perimeter configuration.",
953+ "id": "ServicePerimeterConfig",
954+ "properties": {
955+ "accessLevels": {
956+ "description": "A list of `AccessLevel` resource names that allow resources within the\n`ServicePerimeter` to be accessed from the internet. `AccessLevels` listed\nmust be in the same policy as this `ServicePerimeter`. Referencing a\nnonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are\nlisted, resources within the perimeter can only be accessed via GCP calls with\nrequest origins within the perimeter. Example:\n`\"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL\"`.\nFor Service Perimeter Bridge, must be empty.",
957+ "items": {
958+ "type": "string"
959+ },
960+ "type": "array"
961+ },
962+ "resources": {
963+ "description": "A list of GCP resources that are inside of the service perimeter.\nCurrently only projects are allowed. Format: `projects/{project_number}`",
964+ "items": {
965+ "type": "string"
966+ },
967+ "type": "array"
968+ },
969+ "restrictedServices": {
970+ "description": "GCP services that are subject to the Service Perimeter restrictions. May\ncontain a list of services or a single wildcard \"*\". For example, if\n`storage.googleapis.com` is specified, access to the storage buckets\ninside the perimeter must meet the perimeter's access restrictions.\n\nWildcard means that unless explicitly specified by \"unrestricted_services\"\nlist, any service is treated as restricted. One of the fields\n\"restricted_services\", \"unrestricted_services\" must contain a wildcard \"*\",\notherwise the Service Perimeter specification is invalid. It also means\nthat both field being empty is invalid as well. \"restricted_services\" can\nbe empty if and only if \"unrestricted_services\" list contains a \"*\"\nwildcard.",
971+ "items": {
972+ "type": "string"
973+ },
974+ "type": "array"
975+ },
976+ "unrestrictedServices": {
977+ "description": "GCP services that are not subject to the Service Perimeter restrictions.\nMay contain a list of services or a single wildcard \"*\". For example, if\n`logging.googleapis.com` is unrestricted, users can access logs inside the\nperimeter as if the perimeter doesn't exist, and it also means VMs inside the perimeter\ncan access logs outside the perimeter.\n\nThe wildcard means that unless explicitly specified by\n\"restricted_services\" list, any service is treated as unrestricted. One of\nthe fields \"restricted_services\", \"unrestricted_services\" must contain a\nwildcard \"*\", otherwise the Service Perimeter specification is invalid. It\nalso means that both field being empty is invalid as well.\n\"unrestricted_services\" can be empty if and only if \"restricted_services\"\nlist contains a \"*\" wildcard.",
978+ "items": {
979+ "type": "string"
980+ },
981+ "type": "array"
982+ }
983+ },
984+ "type": "object"
985+ },
986+ "Status": {
987+ "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
988+ "id": "Status",
989+ "properties": {
990+ "code": {
991+ "description": "The status code, which should be an enum value of google.rpc.Code.",
992+ "format": "int32",
993+ "type": "integer"
994+ },
995+ "details": {
996+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
997+ "items": {
998+ "additionalProperties": {
999+ "description": "Properties of the object. Contains field @type with type URL.",
1000+ "type": "any"
1001+ },
1002+ "type": "object"
1003+ },
1004+ "type": "array"
1005+ },
1006+ "message": {
1007+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
1008+ "type": "string"
1009+ }
1010+ },
1011+ "type": "object"
1012+ }
1013+ },
1014+ "servicePath": "",
1015+ "title": "Access Context Manager API",
1016+ "version": "v1beta",
1017+ "version_module": true
1018+}
gen/model/adexchangebuyer/v1.2/adexchangebuyer-api.json+570−570
@@ -1,596 +1,596 @@
11{
2− "kind": "discovery#restDescription",
3− "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/D9alDxtbvUeWpOHmptYNh69Xd00\"",
4− "discoveryVersion": "v1",
5− "id": "adexchangebuyer:v1.2",
6− "name": "adexchangebuyer",
7− "canonicalName": "Ad Exchange Buyer",
8− "version": "v1.2",
9− "revision": "20151102",
10− "title": "Ad Exchange Buyer API",
11− "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
12− "ownerDomain": "google.com",
13− "ownerName": "Google",
14− "icons": {
15− "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
16− "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
17− },
18− "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
19− "protocol": "rest",
20− "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.2/",
21− "basePath": "/adexchangebuyer/v1.2/",
22− "rootUrl": "https://www.googleapis.com/",
23− "servicePath": "adexchangebuyer/v1.2/",
24− "batchPath": "batch",
25− "parameters": {
26− "alt": {
27− "type": "string",
28− "description": "Data format for the response.",
29− "default": "json",
30− "enum": [
31− "json"
32− ],
33− "enumDescriptions": [
34− "Responses with Content-Type of application/json"
35− ],
36− "location": "query"
37− },
38− "fields": {
39− "type": "string",
40− "description": "Selector specifying which fields to include in a partial response.",
41− "location": "query"
42− },
43− "key": {
44− "type": "string",
45− "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.",
46− "location": "query"
47− },
48− "oauth_token": {
49− "type": "string",
50− "description": "OAuth 2.0 token for the current user.",
51− "location": "query"
52− },
53− "prettyPrint": {
54− "type": "boolean",
55− "description": "Returns response with indentations and line breaks.",
56− "default": "true",
57− "location": "query"
58− },
59− "quotaUser": {
60− "type": "string",
61− "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. Overrides userIp if both are provided.",
62− "location": "query"
63− },
64− "userIp": {
65− "type": "string",
66− "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
67− "location": "query"
68− }
69− },
70− "auth": {
71− "oauth2": {
72− "scopes": {
73− "https://www.googleapis.com/auth/adexchange.buyer": {
74− "description": "Manage your Ad Exchange buyer account configuration"
75− }
76− }
77− }
78− },
79− "schemas": {
80− "Account": {
81− "id": "Account",
82− "type": "object",
83− "description": "Configuration data for an Ad Exchange buyer account.",
84− "properties": {
85− "bidderLocation": {
86− "type": "array",
87− "description": "Your bidder locations that have distinct URLs.",
88− "items": {
89− "type": "object",
90− "properties": {
91− "maximumQps": {
92− "type": "integer",
93− "description": "The maximum queries per second the Ad Exchange will send.",
94− "format": "int32"
95− },
96− "region": {
97− "type": "string",
98− "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST"
99− },
100− "url": {
101− "type": "string",
102− "description": "The URL to which the Ad Exchange will send bid requests."
103− }
2+ "auth": {
3+ "oauth2": {
4+ "scopes": {
5+ "https://www.googleapis.com/auth/adexchange.buyer": {
6+ "description": "Manage your Ad Exchange buyer account configuration"
7+ }
1048 }
105− }
106− },
107− "cookieMatchingNid": {
108− "type": "string",
109− "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this."
110− },
111− "cookieMatchingUrl": {
112− "type": "string",
113− "description": "The base URL used in cookie match requests."
114− },
115− "id": {
116− "type": "integer",
117− "description": "Account id.",
118− "format": "int32"
119− },
120− "kind": {
121− "type": "string",
122− "description": "Resource type.",
123− "default": "adexchangebuyer#account"
124− },
125− "maximumActiveCreatives": {
126− "type": "integer",
127− "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.",
128− "format": "int32"
129− },
130− "maximumTotalQps": {
131− "type": "integer",
132− "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.",
133− "format": "int32"
134− },
135− "numberActiveCreatives": {
136− "type": "integer",
137− "description": "The number of creatives that this account inserted or bid with in the last 30 days.",
138− "format": "int32"
1399 }
140− }
14110 },
142− "AccountsList": {
143− "id": "AccountsList",
144− "type": "object",
145− "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.",
146− "properties": {
147− "items": {
148− "type": "array",
149− "description": "A list of accounts.",
150− "items": {
151− "$ref": "Account"
152− }
153− },
154− "kind": {
155− "type": "string",
156− "description": "Resource type.",
157− "default": "adexchangebuyer#accountsList"
158− }
159− }
11+ "basePath": "/adexchangebuyer/v1.2/",
12+ "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.2/",
13+ "batchPath": "batch/adexchangebuyer/v1.2",
14+ "canonicalName": "Ad Exchange Buyer",
15+ "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
16+ "discoveryVersion": "v1",
17+ "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
18+ "etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/F_9WJQnvLgGfABacvXvQLtkcuXw\"",
19+ "icons": {
20+ "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
21+ "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
16022 },
161− "Creative": {
162− "id": "Creative",
163− "type": "object",
164− "description": "A creative and its classification data.",
165− "properties": {
166− "HTMLSnippet": {
167− "type": "string",
168− "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set."
169− },
170− "accountId": {
171− "type": "integer",
172− "description": "Account id.",
173− "format": "int32",
174− "annotations": {
175− "required": [
176− "adexchangebuyer.creatives.insert"
177− ]
178− }
179− },
180− "advertiserId": {
181− "type": "array",
182− "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.",
183− "items": {
184− "type": "string",
185− "format": "int64"
186− }
187− },
188− "advertiserName": {
189− "type": "string",
190− "description": "The name of the company being advertised in the creative.",
191− "annotations": {
192− "required": [
193− "adexchangebuyer.creatives.insert"
194− ]
195− }
196− },
197− "agencyId": {
198− "type": "string",
199− "description": "The agency id for this creative.",
200− "format": "int64"
201− },
202− "apiUploadTimestamp": {
203− "type": "string",
204− "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).",
205− "format": "date-time"
206− },
207− "attribute": {
208− "type": "array",
209− "description": "All attributes for the ads that may be shown from this snippet.",
210− "items": {
211− "type": "integer",
212− "format": "int32"
213− }
214− },
215− "buyerCreativeId": {
216− "type": "string",
217− "description": "A buyer-specific id identifying the creative in this ad.",
218− "annotations": {
219− "required": [
220− "adexchangebuyer.creatives.insert"
221− ]
222− }
223− },
224− "clickThroughUrl": {
225− "type": "array",
226− "description": "The set of destination urls for the snippet.",
227− "items": {
23+ "id": "adexchangebuyer:v1.2",
24+ "kind": "discovery#restDescription",
25+ "name": "adexchangebuyer",
26+ "ownerDomain": "google.com",
27+ "ownerName": "Google",
28+ "parameters": {
29+ "alt": {
30+ "default": "json",
31+ "description": "Data format for the response.",
32+ "enum": [
33+ "json"
34+ ],
35+ "enumDescriptions": [
36+ "Responses with Content-Type of application/json"
37+ ],
38+ "location": "query",
22839 "type": "string"
229− },
230− "annotations": {
231− "required": [
232− "adexchangebuyer.creatives.insert"
233− ]
234− }
235− },
236− "corrections": {
237− "type": "array",
238− "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.",
239− "items": {
240− "type": "object",
241− "properties": {
242− "details": {
243− "type": "array",
244− "description": "Additional details about the correction.",
245− "items": {
246− "type": "string"
247− }
248− },
249− "reason": {
250− "type": "string",
251− "description": "The type of correction that was applied to the creative."
252− }
253− }
254− }
255− },
256− "disapprovalReasons": {
257− "type": "array",
258− "description": "The reasons for disapproval, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue. Read-only. This field should not be set in requests.",
259− "items": {
260− "type": "object",
261− "properties": {
262− "details": {
263− "type": "array",
264− "description": "Additional details about the reason for disapproval.",
265− "items": {
266− "type": "string"
267− }
268− },
269− "reason": {
270− "type": "string",
271− "description": "The categorized reason for disapproval."
272− }
273− }
274− }
27540 },
276− "filteringReasons": {
277− "type": "object",
278− "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.",
279− "properties": {
280− "date": {
281− "type": "string",
282− "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST."
283− },
284− "reasons": {
285− "type": "array",
286− "description": "The filtering reasons.",
287− "items": {
288− "type": "object",
289− "properties": {
290− "filteringCount": {
291− "type": "string",
292− "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.",
293− "format": "int64"
294− },
295− "filteringStatus": {
296− "type": "integer",
297− "description": "The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.",
298− "format": "int32"
299− }
300− }
301− }
302− }
303− }
304− },
305− "height": {
306− "type": "integer",
307− "description": "Ad height.",
308− "format": "int32",
309− "annotations": {
310− "required": [
311− "adexchangebuyer.creatives.insert"
312− ]
313− }
314− },
315− "impressionTrackingUrl": {
316− "type": "array",
317− "description": "The set of urls to be called to record an impression.",
318− "items": {
41+ "fields": {
42+ "description": "Selector specifying which fields to include in a partial response.",
43+ "location": "query",
31944 "type": "string"
320− }
321− },
322− "kind": {
323− "type": "string",
324− "description": "Resource type.",
325− "default": "adexchangebuyer#creative"
326− },
327− "productCategories": {
328− "type": "array",
329− "description": "Detected product categories, if any. Read-only. This field should not be set in requests.",
330− "items": {
331− "type": "integer",
332− "format": "int32"
333− }
334− },
335− "restrictedCategories": {
336− "type": "array",
337− "description": "All restricted categories for the ads that may be shown from this snippet.",
338− "items": {
339− "type": "integer",
340− "format": "int32"
341− }
342− },
343− "sensitiveCategories": {
344− "type": "array",
345− "description": "Detected sensitive categories, if any. Read-only. This field should not be set in requests.",
346− "items": {
347− "type": "integer",
348− "format": "int32"
349− }
35045 },
351− "status": {
352− "type": "string",
353− "description": "Creative serving status. Read-only. This field should not be set in requests."
46+ "key": {
47+ "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.",
48+ "location": "query",
49+ "type": "string"
35450 },
355− "vendorType": {
356− "type": "array",
357− "description": "All vendor types for the ads that may be shown from this snippet.",
358− "items": {
359− "type": "integer",
360− "format": "int32"
361− }
51+ "oauth_token": {
52+ "description": "OAuth 2.0 token for the current user.",
53+ "location": "query",
54+ "type": "string"
36255 },
363− "version": {
364− "type": "integer",
365− "description": "The version for this creative. Read-only. This field should not be set in requests.",
366− "format": "int32"
56+ "prettyPrint": {
57+ "default": "true",
58+ "description": "Returns response with indentations and line breaks.",
59+ "location": "query",
60+ "type": "boolean"
36761 },
368− "videoURL": {
369− "type": "string",
370− "description": "The url to fetch a video ad. If set, HTMLSnippet should not be set."
62+ "quotaUser": {
63+ "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
64+ "location": "query",
65+ "type": "string"
37166 },
372− "width": {
373− "type": "integer",
374− "description": "Ad width.",
375− "format": "int32",
376− "annotations": {
377− "required": [
378− "adexchangebuyer.creatives.insert"
379− ]
380− }
67+ "userIp": {
68+ "description": "Deprecated. Please use quotaUser instead.",
69+ "location": "query",
70+ "type": "string"
38171 }
382− }
38372 },
384− "CreativesList": {
385− "id": "CreativesList",
386− "type": "object",
387− "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.",
388− "properties": {
389− "items": {
390− "type": "array",
391− "description": "A list of creatives.",
392− "items": {
393− "$ref": "Creative"
394− }
395− },
396− "kind": {
397− "type": "string",
398− "description": "Resource type.",
399− "default": "adexchangebuyer#creativesList"
400− },
401− "nextPageToken": {
402− "type": "string",
403− "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this."
404− }
405− }
406− }
407− },
408− "resources": {
409− "accounts": {
410− "methods": {
411− "get": {
412− "id": "adexchangebuyer.accounts.get",
413− "path": "accounts/{id}",
414− "httpMethod": "GET",
415− "description": "Gets one account by ID.",
416− "parameters": {
417− "id": {
418− "type": "integer",
419− "description": "The account id",
420− "required": true,
421− "format": "int32",
422− "location": "path"
423− }
424− },
425− "parameterOrder": [
426− "id"
427− ],
428− "response": {
429− "$ref": "Account"
430− },
431− "scopes": [
432− "https://www.googleapis.com/auth/adexchange.buyer"
433− ]
434− },
435− "list": {
436− "id": "adexchangebuyer.accounts.list",
437− "path": "accounts",
438− "httpMethod": "GET",
439− "description": "Retrieves the authenticated user's list of accounts.",
440− "response": {
441− "$ref": "AccountsList"
442− },
443− "scopes": [
444− "https://www.googleapis.com/auth/adexchange.buyer"
445− ]
446− },
447− "patch": {
448− "id": "adexchangebuyer.accounts.patch",
449− "path": "accounts/{id}",
450− "httpMethod": "PATCH",
451− "description": "Updates an existing account. This method supports patch semantics.",
452− "parameters": {
453− "id": {
454− "type": "integer",
455− "description": "The account id",
456− "required": true,
457− "format": "int32",
458− "location": "path"
73+ "protocol": "rest",
74+ "resources": {
75+ "accounts": {
76+ "methods": {
77+ "get": {
78+ "description": "Gets one account by ID.",
79+ "httpMethod": "GET",
80+ "id": "adexchangebuyer.accounts.get",
81+ "parameterOrder": [
82+ "id"
83+ ],
84+ "parameters": {
85+ "id": {
86+ "description": "The account id",
87+ "format": "int32",
88+ "location": "path",
89+ "required": true,
90+ "type": "integer"
91+ }
92+ },
93+ "path": "accounts/{id}",
94+ "response": {
95+ "$ref": "Account"
96+ },
97+ "scopes": [
98+ "https://www.googleapis.com/auth/adexchange.buyer"
99+ ]
100+ },
101+ "list": {
102+ "description": "Retrieves the authenticated user's list of accounts.",
103+ "httpMethod": "GET",
104+ "id": "adexchangebuyer.accounts.list",
105+ "path": "accounts",
106+ "response": {
107+ "$ref": "AccountsList"
108+ },
109+ "scopes": [
110+ "https://www.googleapis.com/auth/adexchange.buyer"
111+ ]
112+ },
113+ "patch": {
114+ "description": "Updates an existing account. This method supports patch semantics.",
115+ "httpMethod": "PATCH",
116+ "id": "adexchangebuyer.accounts.patch",
117+ "parameterOrder": [
118+ "id"
119+ ],
120+ "parameters": {
121+ "id": {
122+ "description": "The account id",
123+ "format": "int32",
124+ "location": "path",
125+ "required": true,
126+ "type": "integer"
127+ }
128+ },
129+ "path": "accounts/{id}",
130+ "request": {
131+ "$ref": "Account"
132+ },
133+ "response": {
134+ "$ref": "Account"
135+ },
136+ "scopes": [
137+ "https://www.googleapis.com/auth/adexchange.buyer"
138+ ]
139+ },
140+ "update": {
141+ "description": "Updates an existing account.",
142+ "httpMethod": "PUT",
143+ "id": "adexchangebuyer.accounts.update",
144+ "parameterOrder": [
145+ "id"
146+ ],
147+ "parameters": {
148+ "id": {
149+ "description": "The account id",
150+ "format": "int32",
151+ "location": "path",
152+ "required": true,
153+ "type": "integer"
154+ }
155+ },
156+ "path": "accounts/{id}",
157+ "request": {
158+ "$ref": "Account"
159+ },
160+ "response": {
161+ "$ref": "Account"
162+ },
163+ "scopes": [
164+ "https://www.googleapis.com/auth/adexchange.buyer"
165+ ]
166+ }
459167 }
460− },
461− "parameterOrder": [
462− "id"
463− ],
464− "request": {
465− "$ref": "Account"
466− },
467− "response": {
468− "$ref": "Account"
469− },
470− "scopes": [
471− "https://www.googleapis.com/auth/adexchange.buyer"
472− ]
473168 },
474− "update": {
475− "id": "adexchangebuyer.accounts.update",
476− "path": "accounts/{id}",
477− "httpMethod": "PUT",
478− "description": "Updates an existing account.",
479− "parameters": {
480− "id": {
481− "type": "integer",
482− "description": "The account id",
483− "required": true,
484− "format": "int32",
485− "location": "path"
169+ "creatives": {
170+ "methods": {
171+ "get": {
172+ "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.",
173+ "httpMethod": "GET",
174+ "id": "adexchangebuyer.creatives.get",
175+ "parameterOrder": [
176+ "accountId",
177+ "buyerCreativeId"
178+ ],
179+ "parameters": {
180+ "accountId": {
181+ "description": "The id for the account that will serve this creative.",
182+ "format": "int32",
183+ "location": "path",
184+ "required": true,
185+ "type": "integer"
186+ },
187+ "buyerCreativeId": {
188+ "description": "The buyer-specific id for this creative.",
189+ "location": "path",
190+ "required": true,
191+ "type": "string"
192+ }
193+ },
194+ "path": "creatives/{accountId}/{buyerCreativeId}",
195+ "response": {
196+ "$ref": "Creative"
197+ },
198+ "scopes": [
199+ "https://www.googleapis.com/auth/adexchange.buyer"
200+ ]
201+ },
202+ "insert": {
203+ "description": "Submit a new creative.",
204+ "httpMethod": "POST",
205+ "id": "adexchangebuyer.creatives.insert",
206+ "path": "creatives",
207+ "request": {
208+ "$ref": "Creative"
209+ },
210+ "response": {
211+ "$ref": "Creative"
212+ },
213+ "scopes": [
214+ "https://www.googleapis.com/auth/adexchange.buyer"
215+ ]
216+ },
217+ "list": {
218+ "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.",
219+ "httpMethod": "GET",
220+ "id": "adexchangebuyer.creatives.list",
221+ "parameters": {
222+ "maxResults": {
223+ "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.",
224+ "format": "uint32",
225+ "location": "query",
226+ "maximum": "1000",
227+ "minimum": "1",
228+ "type": "integer"
229+ },
230+ "pageToken": {
231+ "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.",
232+ "location": "query",
233+ "type": "string"
234+ },
235+ "statusFilter": {
236+ "description": "When specified, only creatives having the given status are returned.",
237+ "enum": [
238+ "approved",
239+ "disapproved",
240+ "not_checked"
241+ ],
242+ "enumDescriptions": [
243+ "Creatives which have been approved.",
244+ "Creatives which have been disapproved.",
245+ "Creatives whose status is not yet checked."
246+ ],
247+ "location": "query",
248+ "type": "string"
249+ }
250+ },
251+ "path": "creatives",
252+ "response": {
253+ "$ref": "CreativesList"
254+ },
255+ "scopes": [
256+ "https://www.googleapis.com/auth/adexchange.buyer"
257+ ]
258+ }
486259 }
487− },
488− "parameterOrder": [
489− "id"
490− ],
491− "request": {
492− "$ref": "Account"
493− },
494− "response": {
495− "$ref": "Account"
496− },
497− "scopes": [
498− "https://www.googleapis.com/auth/adexchange.buyer"
499− ]
500260 }
501− }
502261 },
503− "creatives": {
504− "methods": {
505− "get": {
506− "id": "adexchangebuyer.creatives.get",
507− "path": "creatives/{accountId}/{buyerCreativeId}",
508− "httpMethod": "GET",
509− "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.",
510− "parameters": {
511− "accountId": {
512− "type": "integer",
513− "description": "The id for the account that will serve this creative.",
514− "required": true,
515− "format": "int32",
516− "location": "path"
262+ "revision": "20180222",
263+ "rootUrl": "https://www.googleapis.com/",
264+ "schemas": {
265+ "Account": {
266+ "description": "Configuration data for an Ad Exchange buyer account.",
267+ "id": "Account",
268+ "properties": {
269+ "bidderLocation": {
270+ "description": "Your bidder locations that have distinct URLs.",
271+ "items": {
272+ "properties": {
273+ "maximumQps": {
274+ "description": "The maximum queries per second the Ad Exchange will send.",
275+ "format": "int32",
276+ "type": "integer"
277+ },
278+ "region": {
279+ "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST",
280+ "type": "string"
281+ },
282+ "url": {
283+ "description": "The URL to which the Ad Exchange will send bid requests.",
284+ "type": "string"
285+ }
286+ },
287+ "type": "object"
288+ },
289+ "type": "array"
290+ },
291+ "cookieMatchingNid": {
292+ "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.",
293+ "type": "string"
294+ },
295+ "cookieMatchingUrl": {
296+ "description": "The base URL used in cookie match requests.",
297+ "type": "string"
298+ },
299+ "id": {
300+ "description": "Account id.",
301+ "format": "int32",
302+ "type": "integer"
303+ },
304+ "kind": {
305+ "default": "adexchangebuyer#account",
306+ "description": "Resource type.",
307+ "type": "string"
308+ },
309+ "maximumActiveCreatives": {
310+ "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.",
311+ "format": "int32",
312+ "type": "integer"
313+ },
314+ "maximumTotalQps": {
315+ "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.",
316+ "format": "int32",
317+ "type": "integer"
318+ },
319+ "numberActiveCreatives": {
320+ "description": "The number of creatives that this account inserted or bid with in the last 30 days.",
321+ "format": "int32",
322+ "type": "integer"
323+ }
517324 },
518− "buyerCreativeId": {
519− "type": "string",
520− "description": "The buyer-specific id for this creative.",
521− "required": true,
522− "location": "path"
523− }
524− },
525− "parameterOrder": [
526− "accountId",
527− "buyerCreativeId"
528− ],
529− "response": {
530− "$ref": "Creative"
531− },
532− "scopes": [
533− "https://www.googleapis.com/auth/adexchange.buyer"
534− ]
325+ "type": "object"
535326 },
536− "insert": {
537− "id": "adexchangebuyer.creatives.insert",
538− "path": "creatives",
539− "httpMethod": "POST",
540− "description": "Submit a new creative.",
541− "request": {
542− "$ref": "Creative"
543− },
544− "response": {
545− "$ref": "Creative"
546− },
547− "scopes": [
548− "https://www.googleapis.com/auth/adexchange.buyer"
549− ]
327+ "AccountsList": {
328+ "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.",
329+ "id": "AccountsList",
330+ "properties": {
331+ "items": {
332+ "description": "A list of accounts.",
333+ "items": {
334+ "$ref": "Account"
335+ },
336+ "type": "array"
337+ },
338+ "kind": {
339+ "default": "adexchangebuyer#accountsList",
340+ "description": "Resource type.",
341+ "type": "string"
342+ }
343+ },
344+ "type": "object"
550345 },
551− "list": {
552− "id": "adexchangebuyer.creatives.list",
553− "path": "creatives",
554− "httpMethod": "GET",
555− "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.",
556− "parameters": {
557− "maxResults": {
558− "type": "integer",
559− "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.",
560− "format": "uint32",
561− "minimum": "1",
562− "maximum": "1000",
563− "location": "query"
346+ "Creative": {
347+ "description": "A creative and its classification data.",
348+ "id": "Creative",
349+ "properties": {
350+ "HTMLSnippet": {
351+ "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set.",
352+ "type": "string"
353+ },
354+ "accountId": {
355+ "annotations": {
356+ "required": [
357+ "adexchangebuyer.creatives.insert"
358+ ]
359+ },
360+ "description": "Account id.",
361+ "format": "int32",
362+ "type": "integer"
363+ },
364+ "advertiserId": {
365+ "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.",
366+ "items": {
367+ "format": "int64",
368+ "type": "string"
369+ },
370+ "type": "array"
371+ },
372+ "advertiserName": {
373+ "annotations": {
374+ "required": [
375+ "adexchangebuyer.creatives.insert"
376+ ]
377+ },
378+ "description": "The name of the company being advertised in the creative.",
379+ "type": "string"
380+ },
381+ "agencyId": {
382+ "description": "The agency id for this creative.",
383+ "format": "int64",
384+ "type": "string"
385+ },
386+ "apiUploadTimestamp": {
387+ "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).",
388+ "format": "date-time",
389+ "type": "string"
390+ },
391+ "attribute": {
392+ "description": "All attributes for the ads that may be shown from this snippet.",
393+ "items": {
394+ "format": "int32",
395+ "type": "integer"
396+ },
397+ "type": "array"
398+ },
399+ "buyerCreativeId": {
400+ "annotations": {
401+ "required": [
402+ "adexchangebuyer.creatives.insert"
403+ ]
404+ },
405+ "description": "A buyer-specific id identifying the creative in this ad.",
406+ "type": "string"
407+ },
408+ "clickThroughUrl": {
409+ "annotations": {
410+ "required": [
411+ "adexchangebuyer.creatives.insert"
412+ ]
413+ },
414+ "description": "The set of destination urls for the snippet.",
415+ "items": {
416+ "type": "string"
417+ },
418+ "type": "array"
419+ },
420+ "corrections": {
421+ "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.",
422+ "items": {
423+ "properties": {
424+ "details": {
425+ "description": "Additional details about the correction.",
426+ "items": {
427+ "type": "string"
428+ },
429+ "type": "array"
430+ },
431+ "reason": {
432+ "description": "The type of correction that was applied to the creative.",
433+ "type": "string"
434+ }
435+ },
436+ "type": "object"
437+ },
438+ "type": "array"
439+ },
440+ "disapprovalReasons": {
441+ "description": "The reasons for disapproval, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue. Read-only. This field should not be set in requests.",
442+ "items": {
443+ "properties": {
444+ "details": {
445+ "description": "Additional details about the reason for disapproval.",
446+ "items": {
447+ "type": "string"
448+ },
449+ "type": "array"
450+ },
451+ "reason": {
452+ "description": "The categorized reason for disapproval.",
453+ "type": "string"
454+ }
455+ },
456+ "type": "object"
457+ },
458+ "type": "array"
459+ },
460+ "filteringReasons": {
461+ "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.",
462+ "properties": {
463+ "date": {
464+ "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.",
465+ "type": "string"
466+ },
467+ "reasons": {
468+ "description": "The filtering reasons.",
469+ "items": {
470+ "properties": {
471+ "filteringCount": {
472+ "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.",
473+ "format": "int64",
474+ "type": "string"
475+ },
476+ "filteringStatus": {
477+ "description": "The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.",
478+ "format": "int32",
479+ "type": "integer"
480+ }
481+ },
482+ "type": "object"
483+ },
484+ "type": "array"
485+ }
486+ },
487+ "type": "object"
488+ },
489+ "height": {
490+ "annotations": {
491+ "required": [
492+ "adexchangebuyer.creatives.insert"
493+ ]
494+ },
495+ "description": "Ad height.",
496+ "format": "int32",
497+ "type": "integer"
498+ },
499+ "impressionTrackingUrl": {
500+ "description": "The set of urls to be called to record an impression.",
501+ "items": {
502+ "type": "string"
503+ },
504+ "type": "array"
505+ },
506+ "kind": {
507+ "default": "adexchangebuyer#creative",
508+ "description": "Resource type.",
509+ "type": "string"
510+ },
511+ "productCategories": {
512+ "description": "Detected product categories, if any. Read-only. This field should not be set in requests.",
513+ "items": {
514+ "format": "int32",
515+ "type": "integer"
516+ },
517+ "type": "array"
518+ },
519+ "restrictedCategories": {
520+ "description": "All restricted categories for the ads that may be shown from this snippet.",
521+ "items": {
522+ "format": "int32",
523+ "type": "integer"
524+ },
525+ "type": "array"
526+ },
527+ "sensitiveCategories": {
528+ "description": "Detected sensitive categories, if any. Read-only. This field should not be set in requests.",
529+ "items": {
530+ "format": "int32",
531+ "type": "integer"
532+ },
533+ "type": "array"
534+ },
535+ "status": {
536+ "description": "Creative serving status. Read-only. This field should not be set in requests.",
537+ "type": "string"
538+ },
539+ "vendorType": {
540+ "description": "All vendor types for the ads that may be shown from this snippet.",
541+ "items": {
542+ "format": "int32",
543+ "type": "integer"
544+ },
545+ "type": "array"
546+ },
547+ "version": {
548+ "description": "The version for this creative. Read-only. This field should not be set in requests.",
549+ "format": "int32",
550+ "type": "integer"
551+ },
552+ "videoURL": {
553+ "description": "The url to fetch a video ad. If set, HTMLSnippet should not be set.",
554+ "type": "string"
555+ },
556+ "width": {
557+ "annotations": {
558+ "required": [
559+ "adexchangebuyer.creatives.insert"
560+ ]
561+ },
562+ "description": "Ad width.",
563+ "format": "int32",
564+ "type": "integer"
565+ }
564566 },
565− "pageToken": {
566− "type": "string",
567− "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.",
568− "location": "query"
567+ "type": "object"
568+ },
569+ "CreativesList": {
570+ "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.",
571+ "id": "CreativesList",
572+ "properties": {
573+ "items": {
574+ "description": "A list of creatives.",
575+ "items": {
576+ "$ref": "Creative"
577+ },
578+ "type": "array"
579+ },
580+ "kind": {
581+ "default": "adexchangebuyer#creativesList",
582+ "description": "Resource type.",
583+ "type": "string"
584+ },
585+ "nextPageToken": {
586+ "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
587+ "type": "string"
588+ }
569589 },
570− "statusFilter": {
571− "type": "string",
572− "description": "When specified, only creatives having the given status are returned.",
573− "enum": [
574− "approved",
575− "disapproved",
576− "not_checked"
577− ],
578− "enumDescriptions": [
579− "Creatives which have been approved.",
580− "Creatives which have been disapproved.",
581− "Creatives whose status is not yet checked."
582− ],
583− "location": "query"
584− }
585− },
586− "response": {
587− "$ref": "CreativesList"
588− },
589− "scopes": [
590− "https://www.googleapis.com/auth/adexchange.buyer"
591− ]
590+ "type": "object"
592591 }
593− }
594− }
595− }
596−}
592+ },
593+ "servicePath": "adexchangebuyer/v1.2/",
594+ "title": "Ad Exchange Buyer API",
595+ "version": "v1.2"
596+}
gen/model/adexchangebuyer/v1.3/adexchangebuyer-api.json+1608−1608
@@ -1,1668 +1,1668 @@
11{
2− "kind": "discovery#restDescription",
3− "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/mo0qLr7wMmlAX-U4DWVexdxTH80\"",
4− "discoveryVersion": "v1",
5− "id": "adexchangebuyer:v1.3",
6− "name": "adexchangebuyer",
7− "canonicalName": "Ad Exchange Buyer",
8− "version": "v1.3",
9− "revision": "20161020",
10− "title": "Ad Exchange Buyer API",
11− "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
12− "ownerDomain": "google.com",
13− "ownerName": "Google",
14− "icons": {
15− "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
16− "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
17− },
18− "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
19− "protocol": "rest",
20− "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.3/",
21− "basePath": "/adexchangebuyer/v1.3/",
22− "rootUrl": "https://www.googleapis.com/",
23− "servicePath": "adexchangebuyer/v1.3/",
24− "batchPath": "batch",
25− "parameters": {
26− "alt": {
27− "type": "string",
28− "description": "Data format for the response.",
29− "default": "json",
30− "enum": [
31− "json"
32− ],
33− "enumDescriptions": [
34− "Responses with Content-Type of application/json"
35− ],
36− "location": "query"
37− },
38− "fields": {
39− "type": "string",
40− "description": "Selector specifying which fields to include in a partial response.",
41− "location": "query"
42− },
43− "key": {
44− "type": "string",
45− "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.",
46− "location": "query"
47− },
48− "oauth_token": {
49− "type": "string",
50− "description": "OAuth 2.0 token for the current user.",
51− "location": "query"
52− },
53− "prettyPrint": {
54− "type": "boolean",
55− "description": "Returns response with indentations and line breaks.",
56− "default": "true",
57− "location": "query"
58− },
59− "quotaUser": {
60− "type": "string",
61− "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. Overrides userIp if both are provided.",
62− "location": "query"
63− },
64− "userIp": {
65− "type": "string",
66− "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
67− "location": "query"
68− }
69− },
70− "auth": {
71− "oauth2": {
72− "scopes": {
73− "https://www.googleapis.com/auth/adexchange.buyer": {
74− "description": "Manage your Ad Exchange buyer account configuration"
75− }
76− }
77− }
78− },
79− "schemas": {
80− "Account": {
81− "id": "Account",
82− "type": "object",
83− "description": "Configuration data for an Ad Exchange buyer account.",
84− "properties": {
85− "bidderLocation": {
86− "type": "array",
87− "description": "Your bidder locations that have distinct URLs.",
88− "items": {
89− "type": "object",
90− "properties": {
91− "maximumQps": {
92− "type": "integer",
93− "description": "The maximum queries per second the Ad Exchange will send.",
94− "format": "int32"
95− },
96− "region": {
97− "type": "string",
98− "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST"
99− },
100− "url": {
101− "type": "string",
102− "description": "The URL to which the Ad Exchange will send bid requests."
103− }
2+ "auth": {
3+ "oauth2": {
4+ "scopes": {
5+ "https://www.googleapis.com/auth/adexchange.buyer": {
6+ "description": "Manage your Ad Exchange buyer account configuration"
7+ }
1048 }
105− }
106− },
107− "cookieMatchingNid": {
108− "type": "string",
109− "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this."
110− },
111− "cookieMatchingUrl": {
112− "type": "string",
113− "description": "The base URL used in cookie match requests."
114− },
115− "id": {
116− "type": "integer",
117− "description": "Account id.",
118− "format": "int32"
119− },
120− "kind": {
121− "type": "string",
122− "description": "Resource type.",
123− "default": "adexchangebuyer#account"
124− },
125− "maximumActiveCreatives": {
126− "type": "integer",
127− "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.",
128− "format": "int32"
129− },
130− "maximumTotalQps": {
131− "type": "integer",
132− "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.",
133− "format": "int32"
134− },
135− "numberActiveCreatives": {
136− "type": "integer",
137− "description": "The number of creatives that this account inserted or bid with in the last 30 days.",
138− "format": "int32"
1399 }
140− }
14110 },
142− "AccountsList": {
143− "id": "AccountsList",
144− "type": "object",
145− "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.",
146− "properties": {
147− "items": {
148− "type": "array",
149− "description": "A list of accounts.",
150− "items": {
151− "$ref": "Account"
152− }
153− },
154− "kind": {
155− "type": "string",
156− "description": "Resource type.",
157− "default": "adexchangebuyer#accountsList"
158− }
159− }
11+ "basePath": "/adexchangebuyer/v1.3/",
12+ "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.3/",
13+ "batchPath": "batch/adexchangebuyer/v1.3",
14+ "canonicalName": "Ad Exchange Buyer",
15+ "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
16+ "discoveryVersion": "v1",
17+ "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
18+ "etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/_CyndOA4AbF54FgfrNcK2tPll_k\"",
19+ "icons": {
20+ "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
21+ "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
16022 },
161− "BillingInfo": {
162− "id": "BillingInfo",
163− "type": "object",
164− "description": "The configuration data for an Ad Exchange billing info.",
165− "properties": {
166− "accountId": {
167− "type": "integer",
168− "description": "Account id.",
169− "format": "int32"
170− },
171− "accountName": {
172− "type": "string",
173− "description": "Account name."
174− },
175− "billingId": {
176− "type": "array",
177− "description": "A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account.",
178− "items": {
23+ "id": "adexchangebuyer:v1.3",
24+ "kind": "discovery#restDescription",
25+ "name": "adexchangebuyer",
26+ "ownerDomain": "google.com",
27+ "ownerName": "Google",
28+ "parameters": {
29+ "alt": {
30+ "default": "json",
31+ "description": "Data format for the response.",
32+ "enum": [
33+ "json"
34+ ],
35+ "enumDescriptions": [
36+ "Responses with Content-Type of application/json"
37+ ],
38+ "location": "query",
17939 "type": "string"
180− }
181− },
182− "kind": {
183− "type": "string",
184− "description": "Resource type.",
185− "default": "adexchangebuyer#billingInfo"
186− }
187− }
188− },
189− "BillingInfoList": {
190− "id": "BillingInfoList",
191− "type": "object",
192− "description": "A billing info feed lists Billing Info the Ad Exchange buyer account has access to. Each entry in the feed corresponds to a single billing info.",
193− "properties": {
194− "items": {
195− "type": "array",
196− "description": "A list of billing info relevant for your account.",
197− "items": {
198− "$ref": "BillingInfo"
199− }
20040 },
201− "kind": {
202− "type": "string",
203− "description": "Resource type.",
204− "default": "adexchangebuyer#billingInfoList"
205− }
206− }
207− },
208− "Budget": {
209− "id": "Budget",
210− "type": "object",
211− "description": "The configuration data for Ad Exchange RTB - Budget API.",
212− "properties": {
213− "accountId": {
214− "type": "string",
215− "description": "The id of the account. This is required for get and update requests.",
216− "format": "int64"
41+ "fields": {
42+ "description": "Selector specifying which fields to include in a partial response.",
43+ "location": "query",
44+ "type": "string"
21745 },
218− "billingId": {
219− "type": "string",
220− "description": "The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.",
221− "format": "int64"
46+ "key": {
47+ "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.",
48+ "location": "query",
49+ "type": "string"
22250 },
223− "budgetAmount": {
224− "type": "string",
225− "description": "The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests.",
226− "format": "int64"
51+ "oauth_token": {
52+ "description": "OAuth 2.0 token for the current user.",
53+ "location": "query",
54+ "type": "string"
22755 },
228− "currencyCode": {
229− "type": "string",
230− "description": "The currency code for the buyer. This cannot be altered here."
56+ "prettyPrint": {
57+ "default": "true",
58+ "description": "Returns response with indentations and line breaks.",
59+ "location": "query",
60+ "type": "boolean"
23161 },
232− "id": {
233− "type": "string",
234− "description": "The unique id that describes this item."
62+ "quotaUser": {
63+ "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
64+ "location": "query",
65+ "type": "string"
23566 },
236− "kind": {
237− "type": "string",
238− "description": "The kind of the resource, i.e. \"adexchangebuyer#budget\".",
239− "default": "adexchangebuyer#budget"
67+ "userIp": {
68+ "description": "Deprecated. Please use quotaUser instead.",
69+ "location": "query",
70+ "type": "string"
24071 }
241− }
24272 },
243− "Creative": {
244− "id": "Creative",
245− "type": "object",
246− "description": "A creative and its classification data.",
247− "properties": {
248− "HTMLSnippet": {
249− "type": "string",
250− "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set."
251− },
252− "accountId": {
253− "type": "integer",
254− "description": "Account id.",
255− "format": "int32",
256− "annotations": {
257− "required": [
258− "adexchangebuyer.creatives.insert"
259− ]
260− }
261− },
262− "advertiserId": {
263− "type": "array",
264− "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.",
265− "items": {
266− "type": "string",
267− "format": "int64"
268− }
269− },
270− "advertiserName": {
271− "type": "string",
272− "description": "The name of the company being advertised in the creative.",
273− "annotations": {
274− "required": [
275− "adexchangebuyer.creatives.insert"
276− ]
277− }
278− },
279− "agencyId": {
280− "type": "string",
281− "description": "The agency id for this creative.",
282− "format": "int64"
283− },
284− "apiUploadTimestamp": {
285− "type": "string",
286− "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).",
287− "format": "date-time"
288− },
289− "attribute": {
290− "type": "array",
291− "description": "All attributes for the ads that may be shown from this snippet.",
292− "items": {
293− "type": "integer",
294− "format": "int32"
295− }
296− },
297− "buyerCreativeId": {
298− "type": "string",
299− "description": "A buyer-specific id identifying the creative in this ad.",
300− "annotations": {
301− "required": [
302− "adexchangebuyer.creatives.insert"
303− ]
304− }
305− },
306− "clickThroughUrl": {
307− "type": "array",
308− "description": "The set of destination urls for the snippet.",
309− "items": {
310− "type": "string"
311− },
312− "annotations": {
313− "required": [
314− "adexchangebuyer.creatives.insert"
315− ]
316− }
317− },
318− "corrections": {
319− "type": "array",
320− "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.",
321− "items": {
322− "type": "object",
323− "properties": {
324− "details": {
325− "type": "array",
326− "description": "Additional details about the correction.",
327− "items": {
328− "type": "string"
73+ "protocol": "rest",
74+ "resources": {
75+ "accounts": {
76+ "methods": {
77+ "get": {
78+ "description": "Gets one account by ID.",
79+ "httpMethod": "GET",
80+ "id": "adexchangebuyer.accounts.get",
81+ "parameterOrder": [
82+ "id"
83+ ],
84+ "parameters": {
85+ "id": {
86+ "description": "The account id",
87+ "format": "int32",
88+ "location": "path",
89+ "required": true,
90+ "type": "integer"
91+ }
92+ },
93+ "path": "accounts/{id}",
94+ "response": {
95+ "$ref": "Account"
96+ },
97+ "scopes": [
98+ "https://www.googleapis.com/auth/adexchange.buyer"
99+ ]
100+ },
101+ "list": {
102+ "description": "Retrieves the authenticated user's list of accounts.",
103+ "httpMethod": "GET",
104+ "id": "adexchangebuyer.accounts.list",
105+ "path": "accounts",
106+ "response": {
107+ "$ref": "AccountsList"
108+ },
109+ "scopes": [
110+ "https://www.googleapis.com/auth/adexchange.buyer"
111+ ]
112+ },
113+ "patch": {
114+ "description": "Updates an existing account. This method supports patch semantics.",
115+ "httpMethod": "PATCH",
116+ "id": "adexchangebuyer.accounts.patch",
117+ "parameterOrder": [
118+ "id"
119+ ],
120+ "parameters": {
121+ "id": {
122+ "description": "The account id",
123+ "format": "int32",
124+ "location": "path",
125+ "required": true,
126+ "type": "integer"
127+ }
128+ },
129+ "path": "accounts/{id}",
130+ "request": {
131+ "$ref": "Account"
132+ },
133+ "response": {
134+ "$ref": "Account"
135+ },
136+ "scopes": [
137+ "https://www.googleapis.com/auth/adexchange.buyer"
138+ ]
139+ },
140+ "update": {
141+ "description": "Updates an existing account.",
142+ "httpMethod": "PUT",
143+ "id": "adexchangebuyer.accounts.update",
144+ "parameterOrder": [
145+ "id"
146+ ],
147+ "parameters": {
148+ "id": {
149+ "description": "The account id",
150+ "format": "int32",
151+ "location": "path",
152+ "required": true,
153+ "type": "integer"
154+ }
155+ },
156+ "path": "accounts/{id}",
157+ "request": {
158+ "$ref": "Account"
159+ },
160+ "response": {
161+ "$ref": "Account"
162+ },
163+ "scopes": [
164+ "https://www.googleapis.com/auth/adexchange.buyer"
165+ ]
329166 }
330− },
331− "reason": {
332− "type": "string",
333− "description": "The type of correction that was applied to the creative."
334− }
335167 }
336− }
337168 },
338− "disapprovalReasons": {
339− "type": "array",
340− "description": "The reasons for disapproval, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue. Read-only. This field should not be set in requests.",
341− "items": {
342− "type": "object",
343− "properties": {
344− "details": {
345− "type": "array",
346− "description": "Additional details about the reason for disapproval.",
347− "items": {
348− "type": "string"
169+ "billingInfo": {
170+ "methods": {
171+ "get": {
172+ "description": "Returns the billing information for one account specified by account ID.",
173+ "httpMethod": "GET",
174+ "id": "adexchangebuyer.billingInfo.get",
175+ "parameterOrder": [
176+ "accountId"
177+ ],
178+ "parameters": {
179+ "accountId": {
180+ "description": "The account id.",
181+ "format": "int32",
182+ "location": "path",
183+ "required": true,
184+ "type": "integer"
185+ }
186+ },
187+ "path": "billinginfo/{accountId}",
188+ "response": {
189+ "$ref": "BillingInfo"
190+ },
191+ "scopes": [
192+ "https://www.googleapis.com/auth/adexchange.buyer"
193+ ]
194+ },
195+ "list": {
196+ "description": "Retrieves a list of billing information for all accounts of the authenticated user.",
197+ "httpMethod": "GET",
198+ "id": "adexchangebuyer.billingInfo.list",
199+ "path": "billinginfo",
200+ "response": {
201+ "$ref": "BillingInfoList"
202+ },
203+ "scopes": [
204+ "https://www.googleapis.com/auth/adexchange.buyer"
205+ ]
349206 }
350− },
351− "reason": {
352− "type": "string",
353− "description": "The categorized reason for disapproval."
354− }
355207 }
356− }
357208 },
358− "filteringReasons": {
359− "type": "object",
360− "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.",
361− "properties": {
362− "date": {
363− "type": "string",
364− "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST."
365− },
366− "reasons": {
367− "type": "array",
368− "description": "The filtering reasons.",
369− "items": {
370− "type": "object",
371− "properties": {
372− "filteringCount": {
373− "type": "string",
374− "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.",
375− "format": "int64"
376− },
377− "filteringStatus": {
378− "type": "integer",
379− "description": "The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.",
380− "format": "int32"
381− }
209+ "budget": {
210+ "methods": {
211+ "get": {
212+ "description": "Returns the budget information for the adgroup specified by the accountId and billingId.",
213+ "httpMethod": "GET",
214+ "id": "adexchangebuyer.budget.get",
215+ "parameterOrder": [
216+ "accountId",
217+ "billingId"
218+ ],
219+ "parameters": {
220+ "accountId": {
221+ "description": "The account id to get the budget information for.",
222+ "format": "int64",
223+ "location": "path",
224+ "required": true,
225+ "type": "string"
226+ },
227+ "billingId": {
228+ "description": "The billing id to get the budget information for.",
229+ "format": "int64",
230+ "location": "path",
231+ "required": true,
232+ "type": "string"
233+ }
234+ },
235+ "path": "billinginfo/{accountId}/{billingId}",
236+ "response": {
237+ "$ref": "Budget"
238+ },
239+ "scopes": [
240+ "https://www.googleapis.com/auth/adexchange.buyer"
241+ ]
242+ },
243+ "patch": {
244+ "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.",
245+ "httpMethod": "PATCH",
246+ "id": "adexchangebuyer.budget.patch",
247+ "parameterOrder": [
248+ "accountId",
249+ "billingId"
250+ ],
251+ "parameters": {
252+ "accountId": {
253+ "description": "The account id associated with the budget being updated.",
254+ "format": "int64",
255+ "location": "path",
256+ "required": true,
257+ "type": "string"
258+ },
259+ "billingId": {
260+ "description": "The billing id associated with the budget being updated.",
261+ "format": "int64",
262+ "location": "path",
263+ "required": true,
264+ "type": "string"
265+ }
266+ },
267+ "path": "billinginfo/{accountId}/{billingId}",
268+ "request": {
269+ "$ref": "Budget"
270+ },
271+ "response": {
272+ "$ref": "Budget"
273+ },
274+ "scopes": [
275+ "https://www.googleapis.com/auth/adexchange.buyer"
276+ ]
277+ },
278+ "update": {
279+ "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.",
280+ "httpMethod": "PUT",
281+ "id": "adexchangebuyer.budget.update",
282+ "parameterOrder": [
283+ "accountId",
284+ "billingId"
285+ ],
286+ "parameters": {
287+ "accountId": {
288+ "description": "The account id associated with the budget being updated.",
289+ "format": "int64",
290+ "location": "path",
291+ "required": true,
292+ "type": "string"
293+ },
294+ "billingId": {
295+ "description": "The billing id associated with the budget being updated.",
296+ "format": "int64",
297+ "location": "path",
298+ "required": true,
299+ "type": "string"
300+ }
301+ },
302+ "path": "billinginfo/{accountId}/{billingId}",
303+ "request": {
304+ "$ref": "Budget"
305+ },
306+ "response": {
307+ "$ref": "Budget"
308+ },
309+ "scopes": [
310+ "https://www.googleapis.com/auth/adexchange.buyer"
311+ ]
382312 }
383− }
384313 }
385− }
386314 },
387− "height": {
388− "type": "integer",
389− "description": "Ad height.",
390− "format": "int32",
391− "annotations": {
392− "required": [
393− "adexchangebuyer.creatives.insert"
394− ]
395− }
315+ "creatives": {
316+ "methods": {
317+ "get": {
318+ "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.",
319+ "httpMethod": "GET",
320+ "id": "adexchangebuyer.creatives.get",
321+ "parameterOrder": [
322+ "accountId",
323+ "buyerCreativeId"
324+ ],
325+ "parameters": {
326+ "accountId": {
327+ "description": "The id for the account that will serve this creative.",
328+ "format": "int32",
329+ "location": "path",
330+ "required": true,
331+ "type": "integer"
332+ },
333+ "buyerCreativeId": {
334+ "description": "The buyer-specific id for this creative.",
335+ "location": "path",
336+ "required": true,
337+ "type": "string"
338+ }
339+ },
340+ "path": "creatives/{accountId}/{buyerCreativeId}",
341+ "response": {
342+ "$ref": "Creative"
343+ },
344+ "scopes": [
345+ "https://www.googleapis.com/auth/adexchange.buyer"
346+ ]
347+ },
348+ "insert": {
349+ "description": "Submit a new creative.",
350+ "httpMethod": "POST",
351+ "id": "adexchangebuyer.creatives.insert",
352+ "path": "creatives",
353+ "request": {
354+ "$ref": "Creative"
355+ },
356+ "response": {
357+ "$ref": "Creative"
358+ },
359+ "scopes": [
360+ "https://www.googleapis.com/auth/adexchange.buyer"
361+ ]
362+ },
363+ "list": {
364+ "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.",
365+ "httpMethod": "GET",
366+ "id": "adexchangebuyer.creatives.list",
367+ "parameters": {
368+ "accountId": {
369+ "description": "When specified, only creatives for the given account ids are returned.",
370+ "format": "int32",
371+ "location": "query",
372+ "repeated": true,
373+ "type": "integer"
374+ },
375+ "buyerCreativeId": {
376+ "description": "When specified, only creatives for the given buyer creative ids are returned.",
377+ "location": "query",
378+ "repeated": true,
379+ "type": "string"
380+ },
381+ "maxResults": {
382+ "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.",
383+ "format": "uint32",
384+ "location": "query",
385+ "maximum": "1000",
386+ "minimum": "1",
387+ "type": "integer"
388+ },
389+ "pageToken": {
390+ "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.",
391+ "location": "query",
392+ "type": "string"
393+ },
394+ "statusFilter": {
395+ "description": "When specified, only creatives having the given status are returned.",
396+ "enum": [
397+ "approved",
398+ "disapproved",
399+ "not_checked"
400+ ],
401+ "enumDescriptions": [
402+ "Creatives which have been approved.",
403+ "Creatives which have been disapproved.",
404+ "Creatives whose status is not yet checked."
405+ ],
406+ "location": "query",
407+ "type": "string"
408+ }
409+ },
410+ "path": "creatives",
411+ "response": {
412+ "$ref": "CreativesList"
413+ },
414+ "scopes": [
415+ "https://www.googleapis.com/auth/adexchange.buyer"
416+ ]
417+ }
418+ }
396419 },
397− "impressionTrackingUrl": {
398− "type": "array",
399− "description": "The set of urls to be called to record an impression.",
400− "items": {
401− "type": "string"
402− }
420+ "directDeals": {
421+ "methods": {
422+ "get": {
423+ "description": "Gets one direct deal by ID.",
424+ "httpMethod": "GET",
425+ "id": "adexchangebuyer.directDeals.get",
426+ "parameterOrder": [
427+ "id"
428+ ],
429+ "parameters": {
430+ "id": {
431+ "description": "The direct deal id",
432+ "format": "int64",
433+ "location": "path",
434+ "required": true,
435+ "type": "string"
436+ }
437+ },
438+ "path": "directdeals/{id}",
439+ "response": {
440+ "$ref": "DirectDeal"
441+ },
442+ "scopes": [
443+ "https://www.googleapis.com/auth/adexchange.buyer"
444+ ]
445+ },
446+ "list": {
447+ "description": "Retrieves the authenticated user's list of direct deals.",
448+ "httpMethod": "GET",
449+ "id": "adexchangebuyer.directDeals.list",
450+ "path": "directdeals",
451+ "response": {
452+ "$ref": "DirectDealsList"
453+ },
454+ "scopes": [
455+ "https://www.googleapis.com/auth/adexchange.buyer"
456+ ]
457+ }
458+ }
403459 },
404− "kind": {
405− "type": "string",
406− "description": "Resource type.",
407− "default": "adexchangebuyer#creative"
460+ "performanceReport": {
461+ "methods": {
462+ "list": {
463+ "description": "Retrieves the authenticated user's list of performance metrics.",
464+ "httpMethod": "GET",
465+ "id": "adexchangebuyer.performanceReport.list",
466+ "parameterOrder": [
467+ "accountId",
468+ "endDateTime",
469+ "startDateTime"
470+ ],
471+ "parameters": {
472+ "accountId": {
473+ "description": "The account id to get the reports.",
474+ "format": "int64",
475+ "location": "query",
476+ "required": true,
477+ "type": "string"
478+ },
479+ "endDateTime": {
480+ "description": "The end time of the report in ISO 8601 timestamp format using UTC.",
481+ "location": "query",
482+ "required": true,
483+ "type": "string"
484+ },
485+ "maxResults": {
486+ "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.",
487+ "format": "uint32",
488+ "location": "query",
489+ "maximum": "1000",
490+ "minimum": "1",
491+ "type": "integer"
492+ },
493+ "pageToken": {
494+ "description": "A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.",
495+ "location": "query",
496+ "type": "string"
497+ },
498+ "startDateTime": {
499+ "description": "The start time of the report in ISO 8601 timestamp format using UTC.",
500+ "location": "query",
501+ "required": true,
502+ "type": "string"
503+ }
504+ },
505+ "path": "performancereport",
506+ "response": {
507+ "$ref": "PerformanceReportList"
508+ },
509+ "scopes": [
510+ "https://www.googleapis.com/auth/adexchange.buyer"
511+ ]
512+ }
513+ }
408514 },
409− "nativeAd": {
410− "type": "object",
411− "description": "If nativeAd is set, HTMLSnippet and videoURL should not be set.",
412− "properties": {
413− "advertiser": {
414− "type": "string"
415− },
416− "appIcon": {
417− "type": "object",
418− "description": "The app icon, for app download ads.",
419− "properties": {
420− "height": {
421− "type": "integer",
422− "format": "int32"
515+ "pretargetingConfig": {
516+ "methods": {
517+ "delete": {
518+ "description": "Deletes an existing pretargeting config.",
519+ "httpMethod": "DELETE",
520+ "id": "adexchangebuyer.pretargetingConfig.delete",
521+ "parameterOrder": [
522+ "accountId",
523+ "configId"
524+ ],
525+ "parameters": {
526+ "accountId": {
527+ "description": "The account id to delete the pretargeting config for.",
528+ "format": "int64",
529+ "location": "path",
530+ "required": true,
531+ "type": "string"
532+ },
533+ "configId": {
534+ "description": "The specific id of the configuration to delete.",
535+ "format": "int64",
536+ "location": "path",
537+ "required": true,
538+ "type": "string"
539+ }
540+ },
541+ "path": "pretargetingconfigs/{accountId}/{configId}",
542+ "scopes": [
543+ "https://www.googleapis.com/auth/adexchange.buyer"
544+ ]
423545 },
424− "url": {
425− "type": "string"
546+ "get": {
547+ "description": "Gets a specific pretargeting configuration",
548+ "httpMethod": "GET",
549+ "id": "adexchangebuyer.pretargetingConfig.get",
550+ "parameterOrder": [
551+ "accountId",
552+ "configId"
553+ ],
554+ "parameters": {
555+ "accountId": {
556+ "description": "The account id to get the pretargeting config for.",
557+ "format": "int64",
558+ "location": "path",
559+ "required": true,
560+ "type": "string"
561+ },
562+ "configId": {
563+ "description": "The specific id of the configuration to retrieve.",
564+ "format": "int64",
565+ "location": "path",
566+ "required": true,
567+ "type": "string"
568+ }
569+ },
570+ "path": "pretargetingconfigs/{accountId}/{configId}",
571+ "response": {
572+ "$ref": "PretargetingConfig"
573+ },
574+ "scopes": [
575+ "https://www.googleapis.com/auth/adexchange.buyer"
576+ ]
426577 },
427− "width": {
428− "type": "integer",
429− "format": "int32"
578+ "insert": {
579+ "description": "Inserts a new pretargeting configuration.",
580+ "httpMethod": "POST",
581+ "id": "adexchangebuyer.pretargetingConfig.insert",
582+ "parameterOrder": [
583+ "accountId"
584+ ],
585+ "parameters": {
586+ "accountId": {
587+ "description": "The account id to insert the pretargeting config for.",
588+ "format": "int64",
589+ "location": "path",
590+ "required": true,
591+ "type": "string"
592+ }
593+ },
594+ "path": "pretargetingconfigs/{accountId}",
595+ "request": {
596+ "$ref": "PretargetingConfig"
597+ },
598+ "response": {
599+ "$ref": "PretargetingConfig"
600+ },
601+ "scopes": [
602+ "https://www.googleapis.com/auth/adexchange.buyer"
603+ ]
604+ },
605+ "list": {
606+ "description": "Retrieves a list of the authenticated user's pretargeting configurations.",
607+ "httpMethod": "GET",
608+ "id": "adexchangebuyer.pretargetingConfig.list",
609+ "parameterOrder": [
610+ "accountId"
611+ ],
612+ "parameters": {
613+ "accountId": {
614+ "description": "The account id to get the pretargeting configs for.",
615+ "format": "int64",
616+ "location": "path",
617+ "required": true,
618+ "type": "string"
619+ }
620+ },
621+ "path": "pretargetingconfigs/{accountId}",
622+ "response": {
623+ "$ref": "PretargetingConfigList"
624+ },
625+ "scopes": [
626+ "https://www.googleapis.com/auth/adexchange.buyer"
627+ ]
628+ },
629+ "patch": {
630+ "description": "Updates an existing pretargeting config. This method supports patch semantics.",
631+ "httpMethod": "PATCH",
632+ "id": "adexchangebuyer.pretargetingConfig.patch",
633+ "parameterOrder": [
634+ "accountId",
635+ "configId"
636+ ],
637+ "parameters": {
638+ "accountId": {
639+ "description": "The account id to update the pretargeting config for.",
640+ "format": "int64",
641+ "location": "path",
642+ "required": true,
643+ "type": "string"
644+ },
645+ "configId": {
646+ "description": "The specific id of the configuration to update.",
647+ "format": "int64",
648+ "location": "path",
649+ "required": true,
650+ "type": "string"
651+ }
652+ },
653+ "path": "pretargetingconfigs/{accountId}/{configId}",
654+ "request": {
655+ "$ref": "PretargetingConfig"
656+ },
657+ "response": {
658+ "$ref": "PretargetingConfig"
659+ },
660+ "scopes": [
661+ "https://www.googleapis.com/auth/adexchange.buyer"
662+ ]
663+ },
664+ "update": {
665+ "description": "Updates an existing pretargeting config.",
666+ "httpMethod": "PUT",
667+ "id": "adexchangebuyer.pretargetingConfig.update",
668+ "parameterOrder": [
669+ "accountId",
670+ "configId"
671+ ],
672+ "parameters": {
673+ "accountId": {
674+ "description": "The account id to update the pretargeting config for.",
675+ "format": "int64",
676+ "location": "path",
677+ "required": true,
678+ "type": "string"
679+ },
680+ "configId": {
681+ "description": "The specific id of the configuration to update.",
682+ "format": "int64",
683+ "location": "path",
684+ "required": true,
685+ "type": "string"
686+ }
687+ },
688+ "path": "pretargetingconfigs/{accountId}/{configId}",
689+ "request": {
690+ "$ref": "PretargetingConfig"
691+ },
692+ "response": {
693+ "$ref": "PretargetingConfig"
694+ },
695+ "scopes": [
696+ "https://www.googleapis.com/auth/adexchange.buyer"
697+ ]
430698 }
431− }
432− },
433− "body": {
434− "type": "string",
435− "description": "A long description of the ad."
436− },
437− "callToAction": {
438− "type": "string",
439− "description": "A label for the button that the user is supposed to click."
440− },
441− "clickTrackingUrl": {
442− "type": "string",
443− "description": "The URL to use for click tracking."
444− },
445− "headline": {
446− "type": "string",
447− "description": "A short title for the ad."
448− },
449− "image": {
450− "type": "object",
451− "description": "A large image.",
452− "properties": {
453− "height": {
454− "type": "integer",
455− "format": "int32"
699+ }
700+ }
701+ },
702+ "revision": "20180222",
703+ "rootUrl": "https://www.googleapis.com/",
704+ "schemas": {
705+ "Account": {
706+ "description": "Configuration data for an Ad Exchange buyer account.",
707+ "id": "Account",
708+ "properties": {
709+ "bidderLocation": {
710+ "description": "Your bidder locations that have distinct URLs.",
711+ "items": {
712+ "properties": {
713+ "maximumQps": {
714+ "description": "The maximum queries per second the Ad Exchange will send.",
715+ "format": "int32",
716+ "type": "integer"
717+ },
718+ "region": {
719+ "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST",
720+ "type": "string"
721+ },
722+ "url": {
723+ "description": "The URL to which the Ad Exchange will send bid requests.",
724+ "type": "string"
725+ }
726+ },
727+ "type": "object"
728+ },
729+ "type": "array"
456730 },
457− "url": {
458− "type": "string"
731+ "cookieMatchingNid": {
732+ "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.",
733+ "type": "string"
459734 },
460− "width": {
461− "type": "integer",
462− "format": "int32"
735+ "cookieMatchingUrl": {
736+ "description": "The base URL used in cookie match requests.",
737+ "type": "string"
738+ },
739+ "id": {
740+ "description": "Account id.",
741+ "format": "int32",
742+ "type": "integer"
743+ },
744+ "kind": {
745+ "default": "adexchangebuyer#account",
746+ "description": "Resource type.",
747+ "type": "string"
748+ },
749+ "maximumActiveCreatives": {
750+ "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.",
751+ "format": "int32",
752+ "type": "integer"
753+ },
754+ "maximumTotalQps": {
755+ "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.",
756+ "format": "int32",
757+ "type": "integer"
758+ },
759+ "numberActiveCreatives": {
760+ "description": "The number of creatives that this account inserted or bid with in the last 30 days.",
761+ "format": "int32",
762+ "type": "integer"
463763 }
464− }
465764 },
466− "impressionTrackingUrl": {
467− "type": "array",
468− "description": "The URLs are called when the impression is rendered.",
469− "items": {
470− "type": "string"
471− }
765+ "type": "object"
766+ },
767+ "AccountsList": {
768+ "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.",
769+ "id": "AccountsList",
770+ "properties": {
771+ "items": {
772+ "description": "A list of accounts.",
773+ "items": {
774+ "$ref": "Account"
775+ },
776+ "type": "array"
777+ },
778+ "kind": {
779+ "default": "adexchangebuyer#accountsList",
780+ "description": "Resource type.",
781+ "type": "string"
782+ }
472783 },
473− "logo": {
474− "type": "object",
475− "description": "A smaller image, for the advertiser logo.",
476− "properties": {
477− "height": {
478− "type": "integer",
479− "format": "int32"
784+ "type": "object"
785+ },
786+ "BillingInfo": {
787+ "description": "The configuration data for an Ad Exchange billing info.",
788+ "id": "BillingInfo",
789+ "properties": {
790+ "accountId": {
791+ "description": "Account id.",
792+ "format": "int32",
793+ "type": "integer"
480794 },
481− "url": {
482− "type": "string"
795+ "accountName": {
796+ "description": "Account name.",
797+ "type": "string"
483798 },
484− "width": {
485− "type": "integer",
486− "format": "int32"
799+ "billingId": {
800+ "description": "A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account.",
801+ "items": {
802+ "type": "string"
803+ },
804+ "type": "array"
805+ },
806+ "kind": {
807+ "default": "adexchangebuyer#billingInfo",
808+ "description": "Resource type.",
809+ "type": "string"
487810 }
488− }
489− },
490− "price": {
491− "type": "string",
492− "description": "The price of the promoted app including the currency info."
493811 },
494− "starRating": {
495− "type": "number",
496− "description": "The app rating in the app store. Must be in the range [0-5].",
497− "format": "double"
498− },
499− "store": {
500− "type": "string",
501− "description": "The URL to the app store to purchase/download the promoted app."
502− }
503− }
504− },
505− "productCategories": {
506− "type": "array",
507− "description": "Detected product categories, if any. Read-only. This field should not be set in requests.",
508− "items": {
509− "type": "integer",
510− "format": "int32"
511− }
512− },
513− "restrictedCategories": {
514− "type": "array",
515− "description": "All restricted categories for the ads that may be shown from this snippet.",
516− "items": {
517− "type": "integer",
518− "format": "int32"
519− }
520− },
521− "sensitiveCategories": {
522− "type": "array",
523− "description": "Detected sensitive categories, if any. Read-only. This field should not be set in requests.",
524− "items": {
525− "type": "integer",
526− "format": "int32"
527− }
528− },
529− "status": {
530− "type": "string",
531− "description": "Creative serving status. Read-only. This field should not be set in requests."
532− },
533− "vendorType": {
534− "type": "array",
535− "description": "All vendor types for the ads that may be shown from this snippet.",
536− "items": {
537− "type": "integer",
538− "format": "int32"
539− }
540− },
541− "version": {
542− "type": "integer",
543− "description": "The version for this creative. Read-only. This field should not be set in requests.",
544− "format": "int32"
545− },
546− "videoURL": {
547− "type": "string",
548− "description": "The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set."
549− },
550− "width": {
551− "type": "integer",
552− "description": "Ad width.",
553− "format": "int32",
554− "annotations": {
555− "required": [
556− "adexchangebuyer.creatives.insert"
557− ]
558− }
559− }
560− }
561− },
562− "CreativesList": {
563− "id": "CreativesList",
564− "type": "object",
565− "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.",
566− "properties": {
567− "items": {
568− "type": "array",
569− "description": "A list of creatives.",
570− "items": {
571− "$ref": "Creative"
572− }
573− },
574− "kind": {
575− "type": "string",
576− "description": "Resource type.",
577− "default": "adexchangebuyer#creativesList"
812+ "type": "object"
578813 },
579− "nextPageToken": {
580− "type": "string",
581− "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this."
582− }
583− }
584− },
585− "DirectDeal": {
586− "id": "DirectDeal",
587− "type": "object",
588− "description": "The configuration data for an Ad Exchange direct deal.",
589− "properties": {
590− "accountId": {
591− "type": "integer",
592− "description": "The account id of the buyer this deal is for.",
593− "format": "int32"
594− },
595− "advertiser": {
596− "type": "string",
597− "description": "The name of the advertiser this deal is for."
598− },
599− "allowsAlcohol": {
600− "type": "boolean",
601− "description": "Whether the publisher for this deal is eligible for alcohol ads."
602− },
603− "buyerAccountId": {
604− "type": "string",
605− "description": "The account id that this deal was negotiated for. It is either the buyer or the client that this deal was negotiated on behalf of.",
606− "format": "int64"
607− },
608− "currencyCode": {
609− "type": "string",
610− "description": "The currency code that applies to the fixed_cpm value. If not set then assumed to be USD."
611− },
612− "dealTier": {
613− "type": "string",
614− "description": "The deal type such as programmatic reservation or fixed price and so on."
615− },
616− "endTime": {
617− "type": "string",
618− "description": "End time for when this deal stops being active. If not set then this deal is valid until manually disabled by the publisher. In seconds since the epoch.",
619− "format": "int64"
620− },
621− "fixedCpm": {
622− "type": "string",
623− "description": "The fixed price for this direct deal. In cpm micros of currency according to currency_code. If set, then this deal is eligible for the fixed price tier of buying (highest priority, pay exactly the configured fixed price).",
624− "format": "int64"
625− },
626− "id": {
627− "type": "string",
628− "description": "Deal id.",
629− "format": "int64"
630− },
631− "kind": {
632− "type": "string",
633− "description": "Resource type.",
634− "default": "adexchangebuyer#directDeal"
635− },
636− "name": {
637− "type": "string",
638− "description": "Deal name."
639− },
640− "privateExchangeMinCpm": {
641− "type": "string",
642− "description": "The minimum price for this direct deal. In cpm micros of currency according to currency_code. If set, then this deal is eligible for the private exchange tier of buying (below fixed price priority, run as a second price auction).",
643− "format": "int64"
644− },
645− "publisherBlocksOverriden": {
646− "type": "boolean",
647− "description": "If true, the publisher has opted to have their blocks ignored when a creative is bid with for this deal."
648− },
649− "sellerNetwork": {
650− "type": "string",
651− "description": "The name of the publisher offering this direct deal."
652− },
653− "startTime": {
654− "type": "string",
655− "description": "Start time for when this deal becomes active. If not set then this deal is active immediately upon creation. In seconds since the epoch.",
656− "format": "int64"
657− }
658− }
659− },
660− "DirectDealsList": {
661− "id": "DirectDealsList",
662− "type": "object",
663− "description": "A direct deals feed lists Direct Deals the Ad Exchange buyer account has access to. This includes direct deals set up for the buyer account as well as its merged stream seats.",
664− "properties": {
665− "directDeals": {
666− "type": "array",
667− "description": "A list of direct deals relevant for your account.",
668− "items": {
669− "$ref": "DirectDeal"
670− }
671− },
672− "kind": {
673− "type": "string",
674− "description": "Resource type.",
675− "default": "adexchangebuyer#directDealsList"
676− }
677− }
678− },
679− "PerformanceReport": {
680− "id": "PerformanceReport",
681− "type": "object",
682− "description": "The configuration data for an Ad Exchange performance report list.",
683− "properties": {
684− "bidRate": {
685− "type": "number",
686− "description": "The number of bid responses with an ad.",
687− "format": "double"
688− },
689− "bidRequestRate": {
690− "type": "number",
691− "description": "The number of bid requests sent to your bidder.",
692− "format": "double"
693− },
694− "calloutStatusRate": {
695− "type": "array",
696− "description": "Rate of various prefiltering statuses per match. Please refer to the callout-status-codes.txt file for different statuses.",
697− "items": {
698− "type": "any"
699− }
700− },
701− "cookieMatcherStatusRate": {
702− "type": "array",
703− "description": "Average QPS for cookie matcher operations.",
704− "items": {
705− "type": "any"
706− }
707− },
708− "creativeStatusRate": {
709− "type": "array",
710− "description": "Rate of ads with a given status. Please refer to the creative-status-codes.txt file for different statuses.",
711− "items": {
712− "type": "any"
713− }
714− },
715− "filteredBidRate": {
716− "type": "number",
717− "description": "The number of bid responses that were filtered due to a policy violation or other errors.",
718− "format": "double"
719− },
720− "hostedMatchStatusRate": {
721− "type": "array",
722− "description": "Average QPS for hosted match operations.",
723− "items": {
724− "type": "any"
725− }
726− },
727− "inventoryMatchRate": {
728− "type": "number",
729− "description": "The number of potential queries based on your pretargeting settings.",
730− "format": "double"
731− },
732− "kind": {
733− "type": "string",
734− "description": "Resource type.",
735− "default": "adexchangebuyer#performanceReport"
736− },
737− "latency50thPercentile": {
738− "type": "number",
739− "description": "The 50th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.",
740− "format": "double"
741− },
742− "latency85thPercentile": {
743− "type": "number",
744− "description": "The 85th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.",
745− "format": "double"
746− },
747− "latency95thPercentile": {
748− "type": "number",
749− "description": "The 95th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.",
750− "format": "double"
751− },
752− "noQuotaInRegion": {
753− "type": "number",
754− "description": "Rate of various quota account statuses per quota check.",
755− "format": "double"
756− },
757− "outOfQuota": {
758− "type": "number",
759− "description": "Rate of various quota account statuses per quota check.",
760− "format": "double"
761− },
762− "pixelMatchRequests": {
763− "type": "number",
764− "description": "Average QPS for pixel match requests from clients.",
765− "format": "double"
766− },
767− "pixelMatchResponses": {
768− "type": "number",
769− "description": "Average QPS for pixel match responses from clients.",
770− "format": "double"
771− },
772− "quotaConfiguredLimit": {
773− "type": "number",
774− "description": "The configured quota limits for this account.",
775− "format": "double"
776− },
777− "quotaThrottledLimit": {
778− "type": "number",
779− "description": "The throttled quota limits for this account.",
780− "format": "double"
781− },
782− "region": {
783− "type": "string",
784− "description": "The trading location of this data."
785− },
786− "successfulRequestRate": {
787− "type": "number",
788− "description": "The number of properly formed bid responses received by our servers within the deadline.",
789− "format": "double"
790− },
791− "timestamp": {
792− "type": "string",
793− "description": "The unix timestamp of the starting time of this performance data.",
794− "format": "int64"
795− },
796− "unsuccessfulRequestRate": {
797− "type": "number",
798− "description": "The number of bid responses that were unsuccessful due to timeouts, incorrect formatting, etc.",
799− "format": "double"
800− }
801− }
802− },
803− "PerformanceReportList": {
804− "id": "PerformanceReportList",
805− "type": "object",
806− "description": "The configuration data for an Ad Exchange performance report list.",
807− "properties": {
808− "kind": {
809− "type": "string",
810− "description": "Resource type.",
811− "default": "adexchangebuyer#performanceReportList"
812− },
813− "performanceReport": {
814− "type": "array",
815− "description": "A list of performance reports relevant for the account.",
816− "items": {
817− "$ref": "PerformanceReport"
818− }
819− }
820− }
821− },
822− "PretargetingConfig": {
823− "id": "PretargetingConfig",
824− "type": "object",
825− "properties": {
826− "billingId": {
827− "type": "string",
828− "description": "The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.",
829− "format": "int64"
830− },
831− "configId": {
832− "type": "string",
833− "description": "The config id; generated automatically. Leave this field blank for insert requests.",
834− "format": "int64"
835− },
836− "configName": {
837− "type": "string",
838− "description": "The name of the config. Must be unique. Required for all requests."
839− },
840− "creativeType": {
841− "type": "array",
842− "description": "List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.",
843− "items": {
844− "type": "string"
845− }
846− },
847− "dimensions": {
848− "type": "array",
849− "description": "Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.",
850− "items": {
851− "type": "object",
814+ "BillingInfoList": {
815+ "description": "A billing info feed lists Billing Info the Ad Exchange buyer account has access to. Each entry in the feed corresponds to a single billing info.",
816+ "id": "BillingInfoList",
852817 "properties": {
853− "height": {
854− "type": "string",
855− "description": "Height in pixels.",
856− "format": "int64"
857− },
858− "width": {
859− "type": "string",
860− "description": "Width in pixels.",
861− "format": "int64"
862− }
863− }
864− }
865− },
866− "excludedContentLabels": {
867− "type": "array",
868− "description": "Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.",
869− "items": {
870− "type": "string",
871− "format": "int64"
872− }
873− },
874− "excludedGeoCriteriaIds": {
875− "type": "array",
876− "description": "Requests containing any of these geo criteria ids will not match.",
877− "items": {
878− "type": "string",
879− "format": "int64"
880− }
818+ "items": {
819+ "description": "A list of billing info relevant for your account.",
820+ "items": {
821+ "$ref": "BillingInfo"
822+ },
823+ "type": "array"
824+ },
825+ "kind": {
826+ "default": "adexchangebuyer#billingInfoList",
827+ "description": "Resource type.",
828+ "type": "string"
829+ }
830+ },
831+ "type": "object"
881832 },
882− "excludedPlacements": {
883− "type": "array",
884− "description": "Requests containing any of these placements will not match.",
885− "items": {
886− "type": "object",
833+ "Budget": {
834+ "description": "The configuration data for Ad Exchange RTB - Budget API.",
835+ "id": "Budget",
887836 "properties": {
888− "token": {
889− "type": "string",
890− "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement."
891− },
892− "type": {
893− "type": "string",
894− "description": "The type of the placement."
895− }
896− }
897− }
898− },
899− "excludedUserLists": {
900− "type": "array",
901− "description": "Requests containing any of these users list ids will not match.",
902− "items": {
903− "type": "string",
904− "format": "int64"
905− }
906− },
907− "excludedVerticals": {
908− "type": "array",
909− "description": "Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.",
910− "items": {
911− "type": "string",
912− "format": "int64"
913− }
914− },
915− "geoCriteriaIds": {
916− "type": "array",
917− "description": "Requests containing any of these geo criteria ids will match.",
918− "items": {
919− "type": "string",
920− "format": "int64"
921− }
922− },
923− "isActive": {
924− "type": "boolean",
925− "description": "Whether this config is active. Required for all requests."
926− },
927− "kind": {
928− "type": "string",
929− "description": "The kind of the resource, i.e. \"adexchangebuyer#pretargetingConfig\".",
930− "default": "adexchangebuyer#pretargetingConfig"
931− },
932− "languages": {
933− "type": "array",
934− "description": "Request containing any of these language codes will match.",
935− "items": {
936− "type": "string"
937− }
938− },
939− "mobileCarriers": {
940− "type": "array",
941− "description": "Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.",
942− "items": {
943− "type": "string",
944− "format": "int64"
945− }
946− },
947− "mobileDevices": {
948− "type": "array",
949− "description": "Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.",
950− "items": {
951− "type": "string",
952− "format": "int64"
953− }
954− },
955− "mobileOperatingSystemVersions": {
956− "type": "array",
957− "description": "Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.",
958− "items": {
959− "type": "string",
960− "format": "int64"
961− }
837+ "accountId": {
838+ "description": "The id of the account. This is required for get and update requests.",
839+ "format": "int64",
840+ "type": "string"
841+ },
842+ "billingId": {
843+ "description": "The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.",
844+ "format": "int64",
845+ "type": "string"
846+ },
847+ "budgetAmount": {
848+ "description": "The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests.",
849+ "format": "int64",
850+ "type": "string"
851+ },
852+ "currencyCode": {
853+ "description": "The currency code for the buyer. This cannot be altered here.",
854+ "type": "string"
855+ },
856+ "id": {
857+ "description": "The unique id that describes this item.",
858+ "type": "string"
859+ },
860+ "kind": {
861+ "default": "adexchangebuyer#budget",
862+ "description": "The kind of the resource, i.e. \"adexchangebuyer#budget\".",
863+ "type": "string"
864+ }
865+ },
866+ "type": "object"
962867 },
963− "placements": {
964− "type": "array",
965− "description": "Requests containing any of these placements will match.",
966− "items": {
967− "type": "object",
868+ "Creative": {
869+ "description": "A creative and its classification data.",
870+ "id": "Creative",
968871 "properties": {
969− "token": {
970− "type": "string",
971− "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement."
972− },
973− "type": {
974− "type": "string",
975− "description": "The type of the placement."
976− }
977− }
978− }
979− },
980− "platforms": {
981− "type": "array",
982− "description": "Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.",
983− "items": {
984− "type": "string"
985− }
986− },
987− "supportedCreativeAttributes": {
988− "type": "array",
989− "description": "Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.",
990− "items": {
991− "type": "string",
992− "format": "int64"
993− }
994− },
995− "userLists": {
996− "type": "array",
997− "description": "Requests containing any of these user list ids will match.",
998− "items": {
999− "type": "string",
1000− "format": "int64"
1001− }
1002− },
1003− "vendorTypes": {
1004− "type": "array",
1005− "description": "Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.",
1006− "items": {
1007− "type": "string",
1008− "format": "int64"
1009− }
1010− },
1011− "verticals": {
1012− "type": "array",
1013− "description": "Requests containing any of these vertical ids will match.",
1014− "items": {
1015− "type": "string",
1016− "format": "int64"
1017− }
1018− }
1019− }
1020− },
1021− "PretargetingConfigList": {
1022− "id": "PretargetingConfigList",
1023− "type": "object",
1024− "properties": {
1025− "items": {
1026− "type": "array",
1027− "description": "A list of pretargeting configs",
1028− "items": {
1029− "$ref": "PretargetingConfig"
1030− }
1031− },
1032− "kind": {
1033− "type": "string",
1034− "description": "Resource type.",
1035− "default": "adexchangebuyer#pretargetingConfigList"
1036− }
1037− }
1038− }
1039− },
1040− "resources": {
1041− "accounts": {
1042− "methods": {
1043− "get": {
1044− "id": "adexchangebuyer.accounts.get",
1045− "path": "accounts/{id}",
1046− "httpMethod": "GET",
1047− "description": "Gets one account by ID.",
1048− "parameters": {
1049− "id": {
1050− "type": "integer",
1051− "description": "The account id",
1052− "required": true,
1053− "format": "int32",
1054− "location": "path"
1055− }
1056− },
1057− "parameterOrder": [
1058− "id"
1059− ],
1060− "response": {
1061− "$ref": "Account"
1062− },
1063− "scopes": [
1064− "https://www.googleapis.com/auth/adexchange.buyer"
1065− ]
1066− },
1067− "list": {
1068− "id": "adexchangebuyer.accounts.list",
1069− "path": "accounts",
1070− "httpMethod": "GET",
1071− "description": "Retrieves the authenticated user's list of accounts.",
1072− "response": {
1073− "$ref": "AccountsList"
1074− },
1075− "scopes": [
1076− "https://www.googleapis.com/auth/adexchange.buyer"
1077− ]
1078− },
1079− "patch": {
1080− "id": "adexchangebuyer.accounts.patch",
1081− "path": "accounts/{id}",
1082− "httpMethod": "PATCH",
1083− "description": "Updates an existing account. This method supports patch semantics.",
1084− "parameters": {
1085− "id": {
1086− "type": "integer",
1087− "description": "The account id",
1088− "required": true,
1089− "format": "int32",
1090− "location": "path"
1091− }
1092− },
1093− "parameterOrder": [
1094− "id"
1095− ],
1096− "request": {
1097− "$ref": "Account"
1098− },
1099− "response": {
1100− "$ref": "Account"
1101− },
1102− "scopes": [
1103− "https://www.googleapis.com/auth/adexchange.buyer"
1104− ]
1105− },
1106− "update": {
1107− "id": "adexchangebuyer.accounts.update",
1108− "path": "accounts/{id}",
1109− "httpMethod": "PUT",
1110− "description": "Updates an existing account.",
1111− "parameters": {
1112− "id": {
1113− "type": "integer",
1114− "description": "The account id",
1115− "required": true,
1116− "format": "int32",
1117− "location": "path"
1118− }
1119− },
1120− "parameterOrder": [
1121− "id"
1122− ],
1123− "request": {
1124− "$ref": "Account"
1125− },
1126− "response": {
1127− "$ref": "Account"
1128− },
1129− "scopes": [
1130− "https://www.googleapis.com/auth/adexchange.buyer"
1131− ]
1132− }
1133− }
1134− },
1135− "billingInfo": {
1136− "methods": {
1137− "get": {
1138− "id": "adexchangebuyer.billingInfo.get",
1139− "path": "billinginfo/{accountId}",
1140− "httpMethod": "GET",
1141− "description": "Returns the billing information for one account specified by account ID.",
1142− "parameters": {
1143− "accountId": {
1144− "type": "integer",
1145− "description": "The account id.",
1146− "required": true,
1147− "format": "int32",
1148− "location": "path"
1149− }
1150− },
1151− "parameterOrder": [
1152− "accountId"
1153− ],
1154− "response": {
1155− "$ref": "BillingInfo"
1156− },
1157− "scopes": [
1158− "https://www.googleapis.com/auth/adexchange.buyer"
1159− ]
1160− },
1161− "list": {
1162− "id": "adexchangebuyer.billingInfo.list",
1163− "path": "billinginfo",
1164− "httpMethod": "GET",
1165− "description": "Retrieves a list of billing information for all accounts of the authenticated user.",
1166− "response": {
1167− "$ref": "BillingInfoList"
1168− },
1169− "scopes": [
1170− "https://www.googleapis.com/auth/adexchange.buyer"
1171− ]
1172− }
1173− }
1174− },
1175− "budget": {
1176− "methods": {
1177− "get": {
1178− "id": "adexchangebuyer.budget.get",
1179− "path": "billinginfo/{accountId}/{billingId}",
1180− "httpMethod": "GET",
1181− "description": "Returns the budget information for the adgroup specified by the accountId and billingId.",
1182− "parameters": {
1183− "accountId": {
1184− "type": "string",
1185− "description": "The account id to get the budget information for.",
1186− "required": true,
1187− "format": "int64",
1188− "location": "path"
872+ "HTMLSnippet": {
873+ "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set.",
874+ "type": "string"
875+ },
876+ "accountId": {
877+ "annotations": {
878+ "required": [
879+ "adexchangebuyer.creatives.insert"
880+ ]
881+ },
882+ "description": "Account id.",
883+ "format": "int32",
884+ "type": "integer"
885+ },
886+ "advertiserId": {
887+ "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.",
888+ "items": {
889+ "format": "int64",
890+ "type": "string"
891+ },
892+ "type": "array"
893+ },
894+ "advertiserName": {
895+ "annotations": {
896+ "required": [
897+ "adexchangebuyer.creatives.insert"
898+ ]
899+ },
900+ "description": "The name of the company being advertised in the creative.",
901+ "type": "string"
902+ },
903+ "agencyId": {
904+ "description": "The agency id for this creative.",
905+ "format": "int64",
906+ "type": "string"
907+ },
908+ "apiUploadTimestamp": {
909+ "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).",
910+ "format": "date-time",
911+ "type": "string"
912+ },
913+ "attribute": {
914+ "description": "All attributes for the ads that may be shown from this snippet.",
915+ "items": {
916+ "format": "int32",
917+ "type": "integer"
918+ },
919+ "type": "array"
920+ },
921+ "buyerCreativeId": {
922+ "annotations": {
923+ "required": [
924+ "adexchangebuyer.creatives.insert"
925+ ]
926+ },
927+ "description": "A buyer-specific id identifying the creative in this ad.",
928+ "type": "string"
929+ },
930+ "clickThroughUrl": {
931+ "annotations": {
932+ "required": [
933+ "adexchangebuyer.creatives.insert"
934+ ]
935+ },
936+ "description": "The set of destination urls for the snippet.",
937+ "items": {
938+ "type": "string"
939+ },
940+ "type": "array"
941+ },
942+ "corrections": {
943+ "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.",
944+ "items": {
945+ "properties": {
946+ "details": {
947+ "description": "Additional details about the correction.",
948+ "items": {
949+ "type": "string"
950+ },
951+ "type": "array"
952+ },
953+ "reason": {
954+ "description": "The type of correction that was applied to the creative.",
955+ "type": "string"
956+ }
957+ },
958+ "type": "object"
959+ },
960+ "type": "array"
961+ },
962+ "disapprovalReasons": {
963+ "description": "The reasons for disapproval, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue. Read-only. This field should not be set in requests.",
964+ "items": {
965+ "properties": {
966+ "details": {
967+ "description": "Additional details about the reason for disapproval.",
968+ "items": {
969+ "type": "string"
970+ },
971+ "type": "array"
972+ },
973+ "reason": {
974+ "description": "The categorized reason for disapproval.",
975+ "type": "string"
976+ }
977+ },
978+ "type": "object"
979+ },
980+ "type": "array"
981+ },
982+ "filteringReasons": {
983+ "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.",
984+ "properties": {
985+ "date": {
986+ "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.",
987+ "type": "string"
988+ },
989+ "reasons": {
990+ "description": "The filtering reasons.",
991+ "items": {
992+ "properties": {
993+ "filteringCount": {
994+ "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.",
995+ "format": "int64",
996+ "type": "string"
997+ },
998+ "filteringStatus": {
999+ "description": "The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.",
1000+ "format": "int32",
1001+ "type": "integer"
1002+ }
1003+ },
1004+ "type": "object"
1005+ },
1006+ "type": "array"
1007+ }
1008+ },
1009+ "type": "object"
1010+ },
1011+ "height": {
1012+ "annotations": {
1013+ "required": [
1014+ "adexchangebuyer.creatives.insert"
1015+ ]
1016+ },
1017+ "description": "Ad height.",
1018+ "format": "int32",
1019+ "type": "integer"
1020+ },
1021+ "impressionTrackingUrl": {
1022+ "description": "The set of urls to be called to record an impression.",
1023+ "items": {
1024+ "type": "string"
1025+ },
1026+ "type": "array"
1027+ },
1028+ "kind": {
1029+ "default": "adexchangebuyer#creative",
1030+ "description": "Resource type.",
1031+ "type": "string"
1032+ },
1033+ "nativeAd": {
1034+ "description": "If nativeAd is set, HTMLSnippet and videoURL should not be set.",
1035+ "properties": {
1036+ "advertiser": {
1037+ "type": "string"
1038+ },
1039+ "appIcon": {
1040+ "description": "The app icon, for app download ads.",
1041+ "properties": {
1042+ "height": {
1043+ "format": "int32",
1044+ "type": "integer"
1045+ },
1046+ "url": {
1047+ "type": "string"
1048+ },
1049+ "width": {
1050+ "format": "int32",
1051+ "type": "integer"
1052+ }
1053+ },
1054+ "type": "object"
1055+ },
1056+ "body": {
1057+ "description": "A long description of the ad.",
1058+ "type": "string"
1059+ },
1060+ "callToAction": {
1061+ "description": "A label for the button that the user is supposed to click.",
1062+ "type": "string"
1063+ },
1064+ "clickTrackingUrl": {
1065+ "description": "The URL to use for click tracking.",
1066+ "type": "string"
1067+ },
1068+ "headline": {
1069+ "description": "A short title for the ad.",
1070+ "type": "string"
1071+ },
1072+ "image": {
1073+ "description": "A large image.",
1074+ "properties": {
1075+ "height": {
1076+ "format": "int32",
1077+ "type": "integer"
1078+ },
1079+ "url": {
1080+ "type": "string"
1081+ },
1082+ "width": {
1083+ "format": "int32",
1084+ "type": "integer"
1085+ }
1086+ },
1087+ "type": "object"
1088+ },
1089+ "impressionTrackingUrl": {
1090+ "description": "The URLs are called when the impression is rendered.",
1091+ "items": {
1092+ "type": "string"
1093+ },
1094+ "type": "array"
1095+ },
1096+ "logo": {
1097+ "description": "A smaller image, for the advertiser logo.",
1098+ "properties": {
1099+ "height": {
1100+ "format": "int32",
1101+ "type": "integer"
1102+ },
1103+ "url": {
1104+ "type": "string"
1105+ },
1106+ "width": {
1107+ "format": "int32",
1108+ "type": "integer"
1109+ }
1110+ },
1111+ "type": "object"
1112+ },
1113+ "price": {
1114+ "description": "The price of the promoted app including the currency info.",
1115+ "type": "string"
1116+ },
1117+ "starRating": {
1118+ "description": "The app rating in the app store. Must be in the range [0-5].",
1119+ "format": "double",
1120+ "type": "number"
1121+ },
1122+ "store": {
1123+ "description": "The URL to the app store to purchase/download the promoted app.",
1124+ "type": "string"
1125+ }
1126+ },
1127+ "type": "object"
1128+ },
1129+ "productCategories": {
1130+ "description": "Detected product categories, if any. Read-only. This field should not be set in requests.",
1131+ "items": {
1132+ "format": "int32",
1133+ "type": "integer"
1134+ },
1135+ "type": "array"
1136+ },
1137+ "restrictedCategories": {
1138+ "description": "All restricted categories for the ads that may be shown from this snippet.",
1139+ "items": {
1140+ "format": "int32",
1141+ "type": "integer"
1142+ },
1143+ "type": "array"
1144+ },
1145+ "sensitiveCategories": {
1146+ "description": "Detected sensitive categories, if any. Read-only. This field should not be set in requests.",
1147+ "items": {
1148+ "format": "int32",
1149+ "type": "integer"
1150+ },
1151+ "type": "array"
1152+ },
1153+ "status": {
1154+ "description": "Creative serving status. Read-only. This field should not be set in requests.",
1155+ "type": "string"
1156+ },
1157+ "vendorType": {
1158+ "description": "All vendor types for the ads that may be shown from this snippet.",
1159+ "items": {
1160+ "format": "int32",
1161+ "type": "integer"
1162+ },
1163+ "type": "array"
1164+ },
1165+ "version": {
1166+ "description": "The version for this creative. Read-only. This field should not be set in requests.",
1167+ "format": "int32",
1168+ "type": "integer"
1169+ },
1170+ "videoURL": {
1171+ "description": "The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set.",
1172+ "type": "string"
1173+ },
1174+ "width": {
1175+ "annotations": {
1176+ "required": [
1177+ "adexchangebuyer.creatives.insert"
1178+ ]
1179+ },
1180+ "description": "Ad width.",
1181+ "format": "int32",
1182+ "type": "integer"
1183+ }
11891184 },
1190− "billingId": {
1191− "type": "string",
1192− "description": "The billing id to get the budget information for.",
1193− "required": true,
1194− "format": "int64",
1195− "location": "path"
1196− }
1197− },
1198− "parameterOrder": [
1199− "accountId",
1200− "billingId"
1201− ],
1202− "response": {
1203− "$ref": "Budget"
1204− },
1205− "scopes": [
1206− "https://www.googleapis.com/auth/adexchange.buyer"
1207− ]
1185+ "type": "object"
12081186 },
1209− "patch": {
1210− "id": "adexchangebuyer.budget.patch",
1211− "path": "billinginfo/{accountId}/{billingId}",
1212− "httpMethod": "PATCH",
1213− "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.",
1214− "parameters": {
1215− "accountId": {
1216− "type": "string",
1217− "description": "The account id associated with the budget being updated.",
1218− "required": true,
1219− "format": "int64",
1220− "location": "path"
1187+ "CreativesList": {
1188+ "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.",
1189+ "id": "CreativesList",
1190+ "properties": {
1191+ "items": {
1192+ "description": "A list of creatives.",
1193+ "items": {
1194+ "$ref": "Creative"
1195+ },
1196+ "type": "array"
1197+ },
1198+ "kind": {
1199+ "default": "adexchangebuyer#creativesList",
1200+ "description": "Resource type.",
1201+ "type": "string"
1202+ },
1203+ "nextPageToken": {
1204+ "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
1205+ "type": "string"
1206+ }
12211207 },
1222− "billingId": {
1223− "type": "string",
1224− "description": "The billing id associated with the budget being updated.",
1225− "required": true,
1226− "format": "int64",
1227− "location": "path"
1228− }
1229− },
1230− "parameterOrder": [
1231− "accountId",
1232− "billingId"
1233− ],
1234− "request": {
1235− "$ref": "Budget"
1236− },
1237− "response": {
1238− "$ref": "Budget"
1239− },
1240− "scopes": [
1241− "https://www.googleapis.com/auth/adexchange.buyer"
1242− ]
1208+ "type": "object"
12431209 },
1244− "update": {
1245− "id": "adexchangebuyer.budget.update",
1246− "path": "billinginfo/{accountId}/{billingId}",
1247− "httpMethod": "PUT",
1248− "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.",
1249− "parameters": {
1250− "accountId": {
1251− "type": "string",
1252− "description": "The account id associated with the budget being updated.",
1253− "required": true,
1254− "format": "int64",
1255− "location": "path"
1256− },
1257− "billingId": {
1258− "type": "string",
1259− "description": "The billing id associated with the budget being updated.",
1260− "required": true,
1261− "format": "int64",
1262− "location": "path"
1263− }
1264− },
1265− "parameterOrder": [
1266− "accountId",
1267− "billingId"
1268− ],
1269− "request": {
1270− "$ref": "Budget"
1271− },
1272− "response": {
1273− "$ref": "Budget"
1274− },
1275− "scopes": [
1276− "https://www.googleapis.com/auth/adexchange.buyer"
1277− ]
1278− }
1279− }
1280− },
1281− "creatives": {
1282− "methods": {
1283− "get": {
1284− "id": "adexchangebuyer.creatives.get",
1285− "path": "creatives/{accountId}/{buyerCreativeId}",
1286− "httpMethod": "GET",
1287− "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.",
1288− "parameters": {
1289− "accountId": {
1290− "type": "integer",
1291− "description": "The id for the account that will serve this creative.",
1292− "required": true,
1293− "format": "int32",
1294− "location": "path"
1210+ "DirectDeal": {
1211+ "description": "The configuration data for an Ad Exchange direct deal.",
1212+ "id": "DirectDeal",
1213+ "properties": {
1214+ "accountId": {
1215+ "description": "The account id of the buyer this deal is for.",
1216+ "format": "int32",
1217+ "type": "integer"
1218+ },
1219+ "advertiser": {
1220+ "description": "The name of the advertiser this deal is for.",
1221+ "type": "string"
1222+ },
1223+ "allowsAlcohol": {
1224+ "description": "Whether the publisher for this deal is eligible for alcohol ads.",
1225+ "type": "boolean"
1226+ },
1227+ "buyerAccountId": {
1228+ "description": "The account id that this deal was negotiated for. It is either the buyer or the client that this deal was negotiated on behalf of.",
1229+ "format": "int64",
1230+ "type": "string"
1231+ },
1232+ "currencyCode": {
1233+ "description": "The currency code that applies to the fixed_cpm value. If not set then assumed to be USD.",
1234+ "type": "string"
1235+ },
1236+ "dealTier": {
1237+ "description": "The deal type such as programmatic reservation or fixed price and so on.",
1238+ "type": "string"
1239+ },
1240+ "endTime": {
1241+ "description": "End time for when this deal stops being active. If not set then this deal is valid until manually disabled by the publisher. In seconds since the epoch.",
1242+ "format": "int64",
1243+ "type": "string"
1244+ },
1245+ "fixedCpm": {
1246+ "description": "The fixed price for this direct deal. In cpm micros of currency according to currency_code. If set, then this deal is eligible for the fixed price tier of buying (highest priority, pay exactly the configured fixed price).",
1247+ "format": "int64",
1248+ "type": "string"
1249+ },
1250+ "id": {
1251+ "description": "Deal id.",
1252+ "format": "int64",
1253+ "type": "string"
1254+ },
1255+ "kind": {
1256+ "default": "adexchangebuyer#directDeal",
1257+ "description": "Resource type.",
1258+ "type": "string"
1259+ },
1260+ "name": {
1261+ "description": "Deal name.",
1262+ "type": "string"
1263+ },
1264+ "privateExchangeMinCpm": {
1265+ "description": "The minimum price for this direct deal. In cpm micros of currency according to currency_code. If set, then this deal is eligible for the private exchange tier of buying (below fixed price priority, run as a second price auction).",
1266+ "format": "int64",
1267+ "type": "string"
1268+ },
1269+ "publisherBlocksOverriden": {
1270+ "description": "If true, the publisher has opted to have their blocks ignored when a creative is bid with for this deal.",
1271+ "type": "boolean"
1272+ },
1273+ "sellerNetwork": {
1274+ "description": "The name of the publisher offering this direct deal.",
1275+ "type": "string"
1276+ },
1277+ "startTime": {
1278+ "description": "Start time for when this deal becomes active. If not set then this deal is active immediately upon creation. In seconds since the epoch.",
1279+ "format": "int64",
1280+ "type": "string"
1281+ }
12951282 },
1296− "buyerCreativeId": {
1297− "type": "string",
1298− "description": "The buyer-specific id for this creative.",
1299− "required": true,
1300− "location": "path"
1301− }
1302− },
1303− "parameterOrder": [
1304− "accountId",
1305− "buyerCreativeId"
1306− ],
1307− "response": {
1308− "$ref": "Creative"
1309− },
1310− "scopes": [
1311− "https://www.googleapis.com/auth/adexchange.buyer"
1312− ]
1313− },
1314− "insert": {
1315− "id": "adexchangebuyer.creatives.insert",
1316− "path": "creatives",
1317− "httpMethod": "POST",
1318− "description": "Submit a new creative.",
1319− "request": {
1320− "$ref": "Creative"
1321− },
1322− "response": {
1323− "$ref": "Creative"
1324− },
1325− "scopes": [
1326− "https://www.googleapis.com/auth/adexchange.buyer"
1327− ]
1283+ "type": "object"
13281284 },
1329− "list": {
1330− "id": "adexchangebuyer.creatives.list",
1331− "path": "creatives",
1332− "httpMethod": "GET",
1333− "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.",
1334− "parameters": {
1335− "accountId": {
1336− "type": "integer",
1337− "description": "When specified, only creatives for the given account ids are returned.",
1338− "format": "int32",
1339− "repeated": true,
1340− "location": "query"
1341− },
1342− "buyerCreativeId": {
1343− "type": "string",
1344− "description": "When specified, only creatives for the given buyer creative ids are returned.",
1345− "repeated": true,
1346− "location": "query"
1347− },
1348− "maxResults": {
1349− "type": "integer",
1350− "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.",
1351− "format": "uint32",
1352− "minimum": "1",
1353− "maximum": "1000",
1354− "location": "query"
1355− },
1356− "pageToken": {
1357− "type": "string",
1358− "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.",
1359− "location": "query"
1285+ "DirectDealsList": {
1286+ "description": "A direct deals feed lists Direct Deals the Ad Exchange buyer account has access to. This includes direct deals set up for the buyer account as well as its merged stream seats.",
1287+ "id": "DirectDealsList",
1288+ "properties": {
1289+ "directDeals": {
1290+ "description": "A list of direct deals relevant for your account.",
1291+ "items": {
1292+ "$ref": "DirectDeal"
1293+ },
1294+ "type": "array"
1295+ },
1296+ "kind": {
1297+ "default": "adexchangebuyer#directDealsList",
1298+ "description": "Resource type.",
1299+ "type": "string"
1300+ }
13601301 },
1361− "statusFilter": {
1362− "type": "string",
1363− "description": "When specified, only creatives having the given status are returned.",
1364− "enum": [
1365− "approved",
1366− "disapproved",
1367− "not_checked"
1368− ],
1369− "enumDescriptions": [
1370− "Creatives which have been approved.",
1371− "Creatives which have been disapproved.",
1372− "Creatives whose status is not yet checked."
1373− ],
1374− "location": "query"
1375− }
1376− },
1377− "response": {
1378− "$ref": "CreativesList"
1379− },
1380− "scopes": [
1381− "https://www.googleapis.com/auth/adexchange.buyer"
1382− ]
1383− }
1384− }
1385− },
1386− "directDeals": {
1387− "methods": {
1388− "get": {
1389− "id": "adexchangebuyer.directDeals.get",
1390− "path": "directdeals/{id}",
1391− "httpMethod": "GET",
1392− "description": "Gets one direct deal by ID.",
1393− "parameters": {
1394− "id": {
1395− "type": "string",
1396− "description": "The direct deal id",
1397− "required": true,
1398− "format": "int64",
1399− "location": "path"
1400− }
1401− },
1402− "parameterOrder": [
1403− "id"
1404− ],
1405− "response": {
1406− "$ref": "DirectDeal"
1407− },
1408− "scopes": [
1409− "https://www.googleapis.com/auth/adexchange.buyer"
1410− ]
1302+ "type": "object"
14111303 },
1412− "list": {
1413− "id": "adexchangebuyer.directDeals.list",
1414− "path": "directdeals",
1415− "httpMethod": "GET",
1416− "description": "Retrieves the authenticated user's list of direct deals.",
1417− "response": {
1418− "$ref": "DirectDealsList"
1419− },
1420− "scopes": [
1421− "https://www.googleapis.com/auth/adexchange.buyer"
1422− ]
1423− }
1424− }
1425− },
1426− "performanceReport": {
1427− "methods": {
1428− "list": {
1429− "id": "adexchangebuyer.performanceReport.list",
1430− "path": "performancereport",
1431− "httpMethod": "GET",
1432− "description": "Retrieves the authenticated user's list of performance metrics.",
1433− "parameters": {
1434− "accountId": {
1435− "type": "string",
1436− "description": "The account id to get the reports.",
1437− "required": true,
1438− "format": "int64",
1439− "location": "query"
1440− },
1441− "endDateTime": {
1442− "type": "string",
1443− "description": "The end time of the report in ISO 8601 timestamp format using UTC.",
1444− "required": true,
1445− "location": "query"
1446− },
1447− "maxResults": {
1448− "type": "integer",
1449− "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.",
1450− "format": "uint32",
1451− "minimum": "1",
1452− "maximum": "1000",
1453− "location": "query"
1454− },
1455− "pageToken": {
1456− "type": "string",
1457− "description": "A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.",
1458− "location": "query"
1459− },
1460− "startDateTime": {
1461− "type": "string",
1462− "description": "The start time of the report in ISO 8601 timestamp format using UTC.",
1463− "required": true,
1464− "location": "query"
1465− }
1466− },
1467− "parameterOrder": [
1468− "accountId",
1469− "endDateTime",
1470− "startDateTime"
1471− ],
1472− "response": {
1473− "$ref": "PerformanceReportList"
1474− },
1475− "scopes": [
1476− "https://www.googleapis.com/auth/adexchange.buyer"
1477− ]
1478− }
1479− }
1480− },
1481− "pretargetingConfig": {
1482− "methods": {
1483− "delete": {
1484− "id": "adexchangebuyer.pretargetingConfig.delete",
1485− "path": "pretargetingconfigs/{accountId}/{configId}",
1486− "httpMethod": "DELETE",
1487− "description": "Deletes an existing pretargeting config.",
1488− "parameters": {
1489− "accountId": {
1490− "type": "string",
1491− "description": "The account id to delete the pretargeting config for.",
1492− "required": true,
1493− "format": "int64",
1494− "location": "path"
1304+ "PerformanceReport": {
1305+ "description": "The configuration data for an Ad Exchange performance report list.",
1306+ "id": "PerformanceReport",
1307+ "properties": {
1308+ "bidRate": {
1309+ "description": "The number of bid responses with an ad.",
1310+ "format": "double",
1311+ "type": "number"
1312+ },
1313+ "bidRequestRate": {
1314+ "description": "The number of bid requests sent to your bidder.",
1315+ "format": "double",
1316+ "type": "number"
1317+ },
1318+ "calloutStatusRate": {
1319+ "description": "Rate of various prefiltering statuses per match. Please refer to the callout-status-codes.txt file for different statuses.",
1320+ "items": {
1321+ "type": "any"
1322+ },
1323+ "type": "array"
1324+ },
1325+ "cookieMatcherStatusRate": {
1326+ "description": "Average QPS for cookie matcher operations.",
1327+ "items": {
1328+ "type": "any"
1329+ },
1330+ "type": "array"
1331+ },
1332+ "creativeStatusRate": {
1333+ "description": "Rate of ads with a given status. Please refer to the creative-status-codes.txt file for different statuses.",
1334+ "items": {
1335+ "type": "any"
1336+ },
1337+ "type": "array"
1338+ },
1339+ "filteredBidRate": {
1340+ "description": "The number of bid responses that were filtered due to a policy violation or other errors.",
1341+ "format": "double",
1342+ "type": "number"
1343+ },
1344+ "hostedMatchStatusRate": {
1345+ "description": "Average QPS for hosted match operations.",
1346+ "items": {
1347+ "type": "any"
1348+ },
1349+ "type": "array"
1350+ },
1351+ "inventoryMatchRate": {
1352+ "description": "The number of potential queries based on your pretargeting settings.",
1353+ "format": "double",
1354+ "type": "number"
1355+ },
1356+ "kind": {
1357+ "default": "adexchangebuyer#performanceReport",
1358+ "description": "Resource type.",
1359+ "type": "string"
1360+ },
1361+ "latency50thPercentile": {
1362+ "description": "The 50th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.",
1363+ "format": "double",
1364+ "type": "number"
1365+ },
1366+ "latency85thPercentile": {
1367+ "description": "The 85th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.",
1368+ "format": "double",
1369+ "type": "number"
1370+ },
1371+ "latency95thPercentile": {
1372+ "description": "The 95th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.",
1373+ "format": "double",
1374+ "type": "number"
1375+ },
1376+ "noQuotaInRegion": {
1377+ "description": "Rate of various quota account statuses per quota check.",
1378+ "format": "double",
1379+ "type": "number"
1380+ },
1381+ "outOfQuota": {
1382+ "description": "Rate of various quota account statuses per quota check.",
1383+ "format": "double",
1384+ "type": "number"
1385+ },
1386+ "pixelMatchRequests": {
1387+ "description": "Average QPS for pixel match requests from clients.",
1388+ "format": "double",
1389+ "type": "number"
1390+ },
1391+ "pixelMatchResponses": {
1392+ "description": "Average QPS for pixel match responses from clients.",
1393+ "format": "double",
1394+ "type": "number"
1395+ },
1396+ "quotaConfiguredLimit": {
1397+ "description": "The configured quota limits for this account.",
1398+ "format": "double",
1399+ "type": "number"
1400+ },
1401+ "quotaThrottledLimit": {
1402+ "description": "The throttled quota limits for this account.",
1403+ "format": "double",
1404+ "type": "number"
1405+ },
1406+ "region": {
1407+ "description": "The trading location of this data.",
1408+ "type": "string"
1409+ },
1410+ "successfulRequestRate": {
1411+ "description": "The number of properly formed bid responses received by our servers within the deadline.",
1412+ "format": "double",
1413+ "type": "number"
1414+ },
1415+ "timestamp": {
1416+ "description": "The unix timestamp of the starting time of this performance data.",
1417+ "format": "int64",
1418+ "type": "string"
1419+ },
1420+ "unsuccessfulRequestRate": {
1421+ "description": "The number of bid responses that were unsuccessful due to timeouts, incorrect formatting, etc.",
1422+ "format": "double",
1423+ "type": "number"
1424+ }
14951425 },
1496− "configId": {
1497− "type": "string",
1498− "description": "The specific id of the configuration to delete.",
1499− "required": true,
1500− "format": "int64",
1501− "location": "path"
1502− }
1503− },
1504− "parameterOrder": [
1505− "accountId",
1506− "configId"
1507− ],
1508− "scopes": [
1509− "https://www.googleapis.com/auth/adexchange.buyer"
1510− ]
1426+ "type": "object"
15111427 },
1512− "get": {
1513− "id": "adexchangebuyer.pretargetingConfig.get",
1514− "path": "pretargetingconfigs/{accountId}/{configId}",
1515− "httpMethod": "GET",
1516− "description": "Gets a specific pretargeting configuration",
1517− "parameters": {
1518− "accountId": {
1519− "type": "string",
1520− "description": "The account id to get the pretargeting config for.",
1521− "required": true,
1522− "format": "int64",
1523− "location": "path"
1428+ "PerformanceReportList": {
1429+ "description": "The configuration data for an Ad Exchange performance report list.",
1430+ "id": "PerformanceReportList",
1431+ "properties": {
1432+ "kind": {
1433+ "default": "adexchangebuyer#performanceReportList",
1434+ "description": "Resource type.",
1435+ "type": "string"
1436+ },
1437+ "performanceReport": {
1438+ "description": "A list of performance reports relevant for the account.",
1439+ "items": {
1440+ "$ref": "PerformanceReport"
1441+ },
1442+ "type": "array"
1443+ }
15241444 },
1525− "configId": {
1526− "type": "string",
1527− "description": "The specific id of the configuration to retrieve.",
1528− "required": true,
1529− "format": "int64",
1530− "location": "path"
1531− }
1532− },
1533− "parameterOrder": [
1534− "accountId",
1535− "configId"
1536− ],
1537− "response": {
1538− "$ref": "PretargetingConfig"
1539− },
1540− "scopes": [
1541− "https://www.googleapis.com/auth/adexchange.buyer"
1542− ]
1543− },
1544− "insert": {
1545− "id": "adexchangebuyer.pretargetingConfig.insert",
1546− "path": "pretargetingconfigs/{accountId}",
1547− "httpMethod": "POST",
1548− "description": "Inserts a new pretargeting configuration.",
1549− "parameters": {
1550− "accountId": {
1551− "type": "string",
1552− "description": "The account id to insert the pretargeting config for.",
1553− "required": true,
1554− "format": "int64",
1555− "location": "path"
1556− }
1557− },
1558− "parameterOrder": [
1559− "accountId"
1560− ],
1561− "request": {
1562− "$ref": "PretargetingConfig"
1563− },
1564− "response": {
1565− "$ref": "PretargetingConfig"
1566− },
1567− "scopes": [
1568− "https://www.googleapis.com/auth/adexchange.buyer"
1569− ]
1570− },
1571− "list": {
1572− "id": "adexchangebuyer.pretargetingConfig.list",
1573− "path": "pretargetingconfigs/{accountId}",
1574− "httpMethod": "GET",
1575− "description": "Retrieves a list of the authenticated user's pretargeting configurations.",
1576− "parameters": {
1577− "accountId": {
1578− "type": "string",
1579− "description": "The account id to get the pretargeting configs for.",
1580− "required": true,
1581− "format": "int64",
1582− "location": "path"
1583− }
1584− },
1585− "parameterOrder": [
1586− "accountId"
1587− ],
1588− "response": {
1589− "$ref": "PretargetingConfigList"
1590− },
1591− "scopes": [
1592− "https://www.googleapis.com/auth/adexchange.buyer"
1593− ]
1445+ "type": "object"
15941446 },
1595− "patch": {
1596− "id": "adexchangebuyer.pretargetingConfig.patch",
1597− "path": "pretargetingconfigs/{accountId}/{configId}",
1598− "httpMethod": "PATCH",
1599− "description": "Updates an existing pretargeting config. This method supports patch semantics.",
1600− "parameters": {
1601− "accountId": {
1602− "type": "string",
1603− "description": "The account id to update the pretargeting config for.",
1604− "required": true,
1605− "format": "int64",
1606− "location": "path"
1447+ "PretargetingConfig": {
1448+ "id": "PretargetingConfig",
1449+ "properties": {
1450+ "billingId": {
1451+ "description": "The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.",
1452+ "format": "int64",
1453+ "type": "string"
1454+ },
1455+ "configId": {
1456+ "description": "The config id; generated automatically. Leave this field blank for insert requests.",
1457+ "format": "int64",
1458+ "type": "string"
1459+ },
1460+ "configName": {
1461+ "description": "The name of the config. Must be unique. Required for all requests.",
1462+ "type": "string"
1463+ },
1464+ "creativeType": {
1465+ "description": "List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.",
1466+ "items": {
1467+ "type": "string"
1468+ },
1469+ "type": "array"
1470+ },
1471+ "dimensions": {
1472+ "description": "Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.",
1473+ "items": {
1474+ "properties": {
1475+ "height": {
1476+ "description": "Height in pixels.",
1477+ "format": "int64",
1478+ "type": "string"
1479+ },
1480+ "width": {
1481+ "description": "Width in pixels.",
1482+ "format": "int64",
1483+ "type": "string"
1484+ }
1485+ },
1486+ "type": "object"
1487+ },
1488+ "type": "array"
1489+ },
1490+ "excludedContentLabels": {
1491+ "description": "Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.",
1492+ "items": {
1493+ "format": "int64",
1494+ "type": "string"
1495+ },
1496+ "type": "array"
1497+ },
1498+ "excludedGeoCriteriaIds": {
1499+ "description": "Requests containing any of these geo criteria ids will not match.",
1500+ "items": {
1501+ "format": "int64",
1502+ "type": "string"
1503+ },
1504+ "type": "array"
1505+ },
1506+ "excludedPlacements": {
1507+ "description": "Requests containing any of these placements will not match.",
1508+ "items": {
1509+ "properties": {
1510+ "token": {
1511+ "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.",
1512+ "type": "string"
1513+ },
1514+ "type": {
1515+ "description": "The type of the placement.",
1516+ "type": "string"
1517+ }
1518+ },
1519+ "type": "object"
1520+ },
1521+ "type": "array"
1522+ },
1523+ "excludedUserLists": {
1524+ "description": "Requests containing any of these users list ids will not match.",
1525+ "items": {
1526+ "format": "int64",
1527+ "type": "string"
1528+ },
1529+ "type": "array"
1530+ },
1531+ "excludedVerticals": {
1532+ "description": "Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.",
1533+ "items": {
1534+ "format": "int64",
1535+ "type": "string"
1536+ },
1537+ "type": "array"
1538+ },
1539+ "geoCriteriaIds": {
1540+ "description": "Requests containing any of these geo criteria ids will match.",
1541+ "items": {
1542+ "format": "int64",
1543+ "type": "string"
1544+ },
1545+ "type": "array"
1546+ },
1547+ "isActive": {
1548+ "description": "Whether this config is active. Required for all requests.",
1549+ "type": "boolean"
1550+ },
1551+ "kind": {
1552+ "default": "adexchangebuyer#pretargetingConfig",
1553+ "description": "The kind of the resource, i.e. \"adexchangebuyer#pretargetingConfig\".",
1554+ "type": "string"
1555+ },
1556+ "languages": {
1557+ "description": "Request containing any of these language codes will match.",
1558+ "items": {
1559+ "type": "string"
1560+ },
1561+ "type": "array"
1562+ },
1563+ "mobileCarriers": {
1564+ "description": "Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.",
1565+ "items": {
1566+ "format": "int64",
1567+ "type": "string"
1568+ },
1569+ "type": "array"
1570+ },
1571+ "mobileDevices": {
1572+ "description": "Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.",
1573+ "items": {
1574+ "format": "int64",
1575+ "type": "string"
1576+ },
1577+ "type": "array"
1578+ },
1579+ "mobileOperatingSystemVersions": {
1580+ "description": "Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.",
1581+ "items": {
1582+ "format": "int64",
1583+ "type": "string"
1584+ },
1585+ "type": "array"
1586+ },
1587+ "placements": {
1588+ "description": "Requests containing any of these placements will match.",
1589+ "items": {
1590+ "properties": {
1591+ "token": {
1592+ "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.",
1593+ "type": "string"
1594+ },
1595+ "type": {
1596+ "description": "The type of the placement.",
1597+ "type": "string"
1598+ }
1599+ },
1600+ "type": "object"
1601+ },
1602+ "type": "array"
1603+ },
1604+ "platforms": {
1605+ "description": "Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.",
1606+ "items": {
1607+ "type": "string"
1608+ },
1609+ "type": "array"
1610+ },
1611+ "supportedCreativeAttributes": {
1612+ "description": "Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.",
1613+ "items": {
1614+ "format": "int64",
1615+ "type": "string"
1616+ },
1617+ "type": "array"
1618+ },
1619+ "userLists": {
1620+ "description": "Requests containing any of these user list ids will match.",
1621+ "items": {
1622+ "format": "int64",
1623+ "type": "string"
1624+ },
1625+ "type": "array"
1626+ },
1627+ "vendorTypes": {
1628+ "description": "Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.",
1629+ "items": {
1630+ "format": "int64",
1631+ "type": "string"
1632+ },
1633+ "type": "array"
1634+ },
1635+ "verticals": {
1636+ "description": "Requests containing any of these vertical ids will match.",
1637+ "items": {
1638+ "format": "int64",
1639+ "type": "string"
1640+ },
1641+ "type": "array"
1642+ }
16071643 },
1608− "configId": {
1609− "type": "string",
1610− "description": "The specific id of the configuration to update.",
1611− "required": true,
1612− "format": "int64",
1613− "location": "path"
1614− }
1615− },
1616− "parameterOrder": [
1617− "accountId",
1618− "configId"
1619− ],
1620− "request": {
1621− "$ref": "PretargetingConfig"
1622− },
1623− "response": {
1624− "$ref": "PretargetingConfig"
1625− },
1626− "scopes": [
1627− "https://www.googleapis.com/auth/adexchange.buyer"
1628− ]
1644+ "type": "object"
16291645 },
1630− "update": {
1631− "id": "adexchangebuyer.pretargetingConfig.update",
1632− "path": "pretargetingconfigs/{accountId}/{configId}",
1633− "httpMethod": "PUT",
1634− "description": "Updates an existing pretargeting config.",
1635− "parameters": {
1636− "accountId": {
1637− "type": "string",
1638− "description": "The account id to update the pretargeting config for.",
1639− "required": true,
1640− "format": "int64",
1641− "location": "path"
1646+ "PretargetingConfigList": {
1647+ "id": "PretargetingConfigList",
1648+ "properties": {
1649+ "items": {
1650+ "description": "A list of pretargeting configs",
1651+ "items": {
1652+ "$ref": "PretargetingConfig"
1653+ },
1654+ "type": "array"
1655+ },
1656+ "kind": {
1657+ "default": "adexchangebuyer#pretargetingConfigList",
1658+ "description": "Resource type.",
1659+ "type": "string"
1660+ }
16421661 },
1643− "configId": {
1644− "type": "string",
1645− "description": "The specific id of the configuration to update.",
1646− "required": true,
1647− "format": "int64",
1648− "location": "path"
1649− }
1650− },
1651− "parameterOrder": [
1652− "accountId",
1653− "configId"
1654− ],
1655− "request": {
1656− "$ref": "PretargetingConfig"
1657− },
1658− "response": {
1659− "$ref": "PretargetingConfig"
1660− },
1661− "scopes": [
1662− "https://www.googleapis.com/auth/adexchange.buyer"
1663− ]
1662+ "type": "object"
16641663 }
1665− }
1666− }
1667− }
1668−}
1664+ },
1665+ "servicePath": "adexchangebuyer/v1.3/",
1666+ "title": "Ad Exchange Buyer API",
1667+ "version": "v1.3"
1668+}
gen/model/adexchangebuyer/v1.4/adexchangebuyer-api.json+3595−3521
@@ -1,3612 +1,3686 @@
11{
2− "kind": "discovery#restDescription",
3− "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/gBf-L8hU2vSAjlFpvr_ZRh1Vf_I\"",
4− "discoveryVersion": "v1",
5− "id": "adexchangebuyer:v1.4",
6− "name": "adexchangebuyer",
7− "canonicalName": "Ad Exchange Buyer",
8− "version": "v1.4",
9− "revision": "20170118",
10− "title": "Ad Exchange Buyer API",
11− "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
12− "ownerDomain": "google.com",
13− "ownerName": "Google",
14− "icons": {
15− "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
16− "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
17− },
18− "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
19− "protocol": "rest",
20− "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.4/",
21− "basePath": "/adexchangebuyer/v1.4/",
22− "rootUrl": "https://www.googleapis.com/",
23− "servicePath": "adexchangebuyer/v1.4/",
24− "batchPath": "batch",
25− "parameters": {
26− "alt": {
27− "type": "string",
28− "description": "Data format for the response.",
29− "default": "json",
30− "enum": [
31− "json"
32− ],
33− "enumDescriptions": [
34− "Responses with Content-Type of application/json"
35− ],
36− "location": "query"
37− },
38− "fields": {
39− "type": "string",
40− "description": "Selector specifying which fields to include in a partial response.",
41− "location": "query"
42− },
43− "key": {
44− "type": "string",
45− "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.",
46− "location": "query"
47− },
48− "oauth_token": {
49− "type": "string",
50− "description": "OAuth 2.0 token for the current user.",
51− "location": "query"
52− },
53− "prettyPrint": {
54− "type": "boolean",
55− "description": "Returns response with indentations and line breaks.",
56− "default": "true",
57− "location": "query"
58− },
59− "quotaUser": {
60− "type": "string",
61− "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. Overrides userIp if both are provided.",
62− "location": "query"
63− },
64− "userIp": {
65− "type": "string",
66− "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
67− "location": "query"
68− }
69− },
70− "auth": {
71− "oauth2": {
72− "scopes": {
73− "https://www.googleapis.com/auth/adexchange.buyer": {
74− "description": "Manage your Ad Exchange buyer account configuration"
75− }
76− }
77− }
78− },
79− "schemas": {
80− "Account": {
81− "id": "Account",
82− "type": "object",
83− "description": "Configuration data for an Ad Exchange buyer account.",
84− "properties": {
85− "bidderLocation": {
86− "type": "array",
87− "description": "Your bidder locations that have distinct URLs.",
88− "items": {
89− "type": "object",
90− "properties": {
91− "bidProtocol": {
92− "type": "string",
93− "description": "The protocol that the bidder endpoint is using. OpenRTB protocols with prefix PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. Allowed values: \n- PROTOCOL_ADX \n- PROTOCOL_OPENRTB_2_2 \n- PROTOCOL_OPENRTB_2_3 \n- PROTOCOL_OPENRTB_2_4 \n- PROTOCOL_OPENRTB_PROTOBUF_2_3 \n- PROTOCOL_OPENRTB_PROTOBUF_2_4"
94− },
95− "maximumQps": {
96− "type": "integer",
97− "description": "The maximum queries per second the Ad Exchange will send.",
98− "format": "int32"
99− },
100− "region": {
101− "type": "string",
102− "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST"
103− },
104− "url": {
105− "type": "string",
106− "description": "The URL to which the Ad Exchange will send bid requests."
107− }
2+ "auth": {
3+ "oauth2": {
4+ "scopes": {
5+ "https://www.googleapis.com/auth/adexchange.buyer": {
6+ "description": "Manage your Ad Exchange buyer account configuration"
7+ }
1088 }
109− }
110− },
111− "cookieMatchingNid": {
112− "type": "string",
113− "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this."
114− },
115− "cookieMatchingUrl": {
116− "type": "string",
117− "description": "The base URL used in cookie match requests."
118− },
119− "id": {
120− "type": "integer",
121− "description": "Account id.",
122− "format": "int32"
123− },
124− "kind": {
125− "type": "string",
126− "description": "Resource type.",
127− "default": "adexchangebuyer#account"
128− },
129− "maximumActiveCreatives": {
130− "type": "integer",
131− "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.",
132− "format": "int32"
133− },
134− "maximumTotalQps": {
135− "type": "integer",
136− "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.",
137− "format": "int32"
138− },
139− "numberActiveCreatives": {
140− "type": "integer",
141− "description": "The number of creatives that this account inserted or bid with in the last 30 days.",
142− "format": "int32"
143− }
144− }
145− },
146− "AccountsList": {
147− "id": "AccountsList",
148− "type": "object",
149− "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.",
150− "properties": {
151− "items": {
152− "type": "array",
153− "description": "A list of accounts.",
154− "items": {
155− "$ref": "Account"
156− }
157− },
158− "kind": {
159− "type": "string",
160− "description": "Resource type.",
161− "default": "adexchangebuyer#accountsList"
162− }
163− }
164− },
165− "AddOrderDealsRequest": {
166− "id": "AddOrderDealsRequest",
167− "type": "object",
168− "properties": {
169− "deals": {
170− "type": "array",
171− "description": "The list of deals to add",
172− "items": {
173− "$ref": "MarketplaceDeal"
174− }
175− },
176− "proposalRevisionNumber": {
177− "type": "string",
178− "description": "The last known proposal revision number.",
179− "format": "int64"
180− },
181− "updateAction": {
182− "type": "string",
183− "description": "Indicates an optional action to take on the proposal"
184− }
185− }
186− },
187− "AddOrderDealsResponse": {
188− "id": "AddOrderDealsResponse",
189− "type": "object",
190− "properties": {
191− "deals": {
192− "type": "array",
193− "description": "List of deals added (in the same proposal as passed in the request)",
194− "items": {
195− "$ref": "MarketplaceDeal"
196− }
197− },
198− "proposalRevisionNumber": {
199− "type": "string",
200− "description": "The updated revision number for the proposal.",
201− "format": "int64"
202− }
203− }
204− },
205− "AddOrderNotesRequest": {
206− "id": "AddOrderNotesRequest",
207− "type": "object",
208− "properties": {
209− "notes": {
210− "type": "array",
211− "description": "The list of notes to add.",
212− "items": {
213− "$ref": "MarketplaceNote"
214− }
215− }
216− }
217− },
218− "AddOrderNotesResponse": {
219− "id": "AddOrderNotesResponse",
220− "type": "object",
221− "properties": {
222− "notes": {
223− "type": "array",
224− "items": {
225− "$ref": "MarketplaceNote"
226− }
2279 }
228− }
22910 },
230− "BillingInfo": {
231− "id": "BillingInfo",
232− "type": "object",
233− "description": "The configuration data for an Ad Exchange billing info.",
234− "properties": {
235− "accountId": {
236− "type": "integer",
237− "description": "Account id.",
238− "format": "int32"
239− },
240− "accountName": {
241− "type": "string",
242− "description": "Account name."
243− },
244− "billingId": {
245− "type": "array",
246− "description": "A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account.",
247− "items": {
11+ "basePath": "/adexchangebuyer/v1.4/",
12+ "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.4/",
13+ "batchPath": "batch/adexchangebuyer/v1.4",
14+ "canonicalName": "Ad Exchange Buyer",
15+ "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
16+ "discoveryVersion": "v1",
17+ "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
18+ "etag": "\"J3WqvAcMk4eQjJXvfSI4Yr8VouA/MJwOf3EG-7RF4hB9GZz8eDlZZS0\"",
19+ "icons": {
20+ "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
21+ "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
22+ },
23+ "id": "adexchangebuyer:v1.4",
24+ "kind": "discovery#restDescription",
25+ "name": "adexchangebuyer",
26+ "ownerDomain": "google.com",
27+ "ownerName": "Google",
28+ "parameters": {
29+ "alt": {
30+ "default": "json",
31+ "description": "Data format for the response.",
32+ "enum": [
33+ "json"
34+ ],
35+ "enumDescriptions": [
36+ "Responses with Content-Type of application/json"
37+ ],
38+ "location": "query",
24839 "type": "string"
249− }
25040 },
251− "kind": {
252− "type": "string",
253− "description": "Resource type.",
254− "default": "adexchangebuyer#billingInfo"
255− }
256− }
257− },
258− "BillingInfoList": {
259− "id": "BillingInfoList",
260− "type": "object",
261− "description": "A billing info feed lists Billing Info the Ad Exchange buyer account has access to. Each entry in the feed corresponds to a single billing info.",
262− "properties": {
263− "items": {
264− "type": "array",
265− "description": "A list of billing info relevant for your account.",
266− "items": {
267− "$ref": "BillingInfo"
268− }
269− },
270− "kind": {
271− "type": "string",
272− "description": "Resource type.",
273− "default": "adexchangebuyer#billingInfoList"
274− }
275− }
276− },
277− "Budget": {
278− "id": "Budget",
279− "type": "object",
280− "description": "The configuration data for Ad Exchange RTB - Budget API.",
281− "properties": {
282− "accountId": {
283− "type": "string",
284− "description": "The id of the account. This is required for get and update requests.",
285− "format": "int64"
286− },
287− "billingId": {
288− "type": "string",
289− "description": "The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.",
290− "format": "int64"
291− },
292− "budgetAmount": {
293− "type": "string",
294− "description": "The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests.",
295− "format": "int64"
296− },
297− "currencyCode": {
298− "type": "string",
299− "description": "The currency code for the buyer. This cannot be altered here."
300− },
301− "id": {
302− "type": "string",
303− "description": "The unique id that describes this item."
304− },
305− "kind": {
306− "type": "string",
307− "description": "The kind of the resource, i.e. \"adexchangebuyer#budget\".",
308− "default": "adexchangebuyer#budget"
309− }
310− }
311− },
312− "Buyer": {
313− "id": "Buyer",
314− "type": "object",
315− "properties": {
316− "accountId": {
317− "type": "string",
318− "description": "Adx account id of the buyer."
319− }
320− }
321− },
322− "ContactInformation": {
323− "id": "ContactInformation",
324− "type": "object",
325− "properties": {
326− "email": {
327− "type": "string",
328− "description": "Email address of the contact."
329− },
330− "name": {
331− "type": "string",
332− "description": "The name of the contact."
333− }
334− }
335− },
336− "CreateOrdersRequest": {
337− "id": "CreateOrdersRequest",
338− "type": "object",
339− "properties": {
340− "proposals": {
341− "type": "array",
342− "description": "The list of proposals to create.",
343− "items": {
344− "$ref": "Proposal"
345− }
346− },
347− "webPropertyCode": {
348− "type": "string",
349− "description": "Web property id of the seller creating these orders"
350− }
351− }
352− },
353− "CreateOrdersResponse": {
354− "id": "CreateOrdersResponse",
355− "type": "object",
356− "properties": {
357− "proposals": {
358− "type": "array",
359− "description": "The list of proposals successfully created.",
360− "items": {
361− "$ref": "Proposal"
362− }
41+ "fields": {
42+ "description": "Selector specifying which fields to include in a partial response.",
43+ "location": "query",
44+ "type": "string"
45+ },
46+ "key": {
47+ "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.",
48+ "location": "query",
49+ "type": "string"
50+ },
51+ "oauth_token": {
52+ "description": "OAuth 2.0 token for the current user.",
53+ "location": "query",
54+ "type": "string"
55+ },
56+ "prettyPrint": {
57+ "default": "true",
58+ "description": "Returns response with indentations and line breaks.",
59+ "location": "query",
60+ "type": "boolean"
61+ },
62+ "quotaUser": {
63+ "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
64+ "location": "query",
65+ "type": "string"
66+ },
67+ "userIp": {
68+ "description": "Deprecated. Please use quotaUser instead.",
69+ "location": "query",
70+ "type": "string"
36371 }
364− }
36572 },
366− "Creative": {
367− "id": "Creative",
368− "type": "object",
369− "description": "A creative and its classification data.",
370− "properties": {
371− "HTMLSnippet": {
372− "type": "string",
373− "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set."
374− },
375− "accountId": {
376− "type": "integer",
377− "description": "Account id.",
378− "format": "int32",
379− "annotations": {
380− "required": [
381− "adexchangebuyer.creatives.insert"
382− ]
383− }
384− },
385− "adChoicesDestinationUrl": {
386− "type": "string",
387− "description": "The link to the Ad Preferences page. This is only supported for native ads."
388− },
389− "advertiserId": {
390− "type": "array",
391− "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.",
392− "items": {
393− "type": "string",
394− "format": "int64"
395− }
396− },
397− "advertiserName": {
398− "type": "string",
399− "description": "The name of the company being advertised in the creative.",
400− "annotations": {
401− "required": [
402− "adexchangebuyer.creatives.insert"
403− ]
404− }
405− },
406− "agencyId": {
407− "type": "string",
408− "description": "The agency id for this creative.",
409− "format": "int64"
410− },
411− "apiUploadTimestamp": {
412− "type": "string",
413− "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).",
414− "format": "date-time"
415− },
416− "attribute": {
417− "type": "array",
418− "description": "All attributes for the ads that may be shown from this snippet.",
419− "items": {
420− "type": "integer",
421− "format": "int32"
422− }
423− },
424− "buyerCreativeId": {
425− "type": "string",
426− "description": "A buyer-specific id identifying the creative in this ad.",
427− "annotations": {
428− "required": [
429− "adexchangebuyer.creatives.insert"
430− ]
431− }
432− },
433− "clickThroughUrl": {
434− "type": "array",
435− "description": "The set of destination urls for the snippet.",
436− "items": {
437− "type": "string"
438− },
439− "annotations": {
440− "required": [
441− "adexchangebuyer.creatives.insert"
442− ]
443− }
444− },
445− "corrections": {
446− "type": "array",
447− "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.",
448− "items": {
449− "type": "object",
450− "properties": {
451− "contexts": {
452− "type": "array",
453− "description": "All known serving contexts containing serving status information.",
454− "items": {
455− "type": "object",
456− "properties": {
457− "auctionType": {
458− "type": "array",
459− "description": "Only set when contextType=AUCTION_TYPE. Represents the auction types this correction applies to.",
460− "items": {
461− "type": "string"
462− }
463− },
464− "contextType": {
465− "type": "string",
466− "description": "The type of context (e.g., location, platform, auction type, SSL-ness)."
467− },
468− "geoCriteriaId": {
469− "type": "array",
470− "description": "Only set when contextType=LOCATION. Represents the geo criterias this correction applies to.",
471− "items": {
472− "type": "integer",
473− "format": "int32"
474− }
475− },
476− "platform": {
477− "type": "array",
478− "description": "Only set when contextType=PLATFORM. Represents the platforms this correction applies to.",
479− "items": {
480− "type": "string"
481− }
482− }
483− }
484− }
485− },
486− "details": {
487− "type": "array",
488− "description": "Additional details about the correction.",
489− "items": {
490− "type": "string"
73+ "protocol": "rest",
74+ "resources": {
75+ "accounts": {
76+ "methods": {
77+ "get": {
78+ "description": "Gets one account by ID.",
79+ "httpMethod": "GET",
80+ "id": "adexchangebuyer.accounts.get",
81+ "parameterOrder": [
82+ "id"
83+ ],
84+ "parameters": {
85+ "id": {
86+ "description": "The account id",
87+ "format": "int32",
88+ "location": "path",
89+ "required": true,
90+ "type": "integer"
91+ }
92+ },
93+ "path": "accounts/{id}",
94+ "response": {
95+ "$ref": "Account"
96+ },
97+ "scopes": [
98+ "https://www.googleapis.com/auth/adexchange.buyer"
99+ ]
100+ },
101+ "list": {
102+ "description": "Retrieves the authenticated user's list of accounts.",
103+ "httpMethod": "GET",
104+ "id": "adexchangebuyer.accounts.list",
105+ "path": "accounts",
106+ "response": {
107+ "$ref": "AccountsList"
108+ },
109+ "scopes": [
110+ "https://www.googleapis.com/auth/adexchange.buyer"
111+ ]
112+ },
113+ "patch": {
114+ "description": "Updates an existing account. This method supports patch semantics.",
115+ "httpMethod": "PATCH",
116+ "id": "adexchangebuyer.accounts.patch",
117+ "parameterOrder": [
118+ "id"
119+ ],
120+ "parameters": {
121+ "confirmUnsafeAccountChange": {
122+ "description": "Confirmation for erasing bidder and cookie matching urls.",
123+ "location": "query",
124+ "type": "boolean"
125+ },
126+ "id": {
127+ "description": "The account id",
128+ "format": "int32",
129+ "location": "path",
130+ "required": true,
131+ "type": "integer"
132+ }
133+ },
134+ "path": "accounts/{id}",
135+ "request": {
136+ "$ref": "Account"
137+ },
138+ "response": {
139+ "$ref": "Account"
140+ },
141+ "scopes": [
142+ "https://www.googleapis.com/auth/adexchange.buyer"
143+ ]
144+ },
145+ "update": {
146+ "description": "Updates an existing account.",
147+ "httpMethod": "PUT",
148+ "id": "adexchangebuyer.accounts.update",
149+ "parameterOrder": [
150+ "id"
151+ ],
152+ "parameters": {
153+ "confirmUnsafeAccountChange": {
154+ "description": "Confirmation for erasing bidder and cookie matching urls.",
155+ "location": "query",
156+ "type": "boolean"
157+ },
158+ "id": {
159+ "description": "The account id",
160+ "format": "int32",
161+ "location": "path",
162+ "required": true,
163+ "type": "integer"
164+ }
165+ },
166+ "path": "accounts/{id}",
167+ "request": {
168+ "$ref": "Account"
169+ },
170+ "response": {
171+ "$ref": "Account"
172+ },
173+ "scopes": [
174+ "https://www.googleapis.com/auth/adexchange.buyer"
175+ ]
491176 }
492− },
493− "reason": {
494− "type": "string",
495− "description": "The type of correction that was applied to the creative."
496− }
497177 }
498− }
499178 },
500− "dealsStatus": {
501− "type": "string",
502− "description": "Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly."
179+ "billingInfo": {
180+ "methods": {
181+ "get": {
182+ "description": "Returns the billing information for one account specified by account ID.",
183+ "httpMethod": "GET",
184+ "id": "adexchangebuyer.billingInfo.get",
185+ "parameterOrder": [
186+ "accountId"
187+ ],
188+ "parameters": {
189+ "accountId": {
190+ "description": "The account id.",
191+ "format": "int32",
192+ "location": "path",
193+ "required": true,
194+ "type": "integer"
195+ }
196+ },
197+ "path": "billinginfo/{accountId}",
198+ "response": {
199+ "$ref": "BillingInfo"
200+ },
201+ "scopes": [
202+ "https://www.googleapis.com/auth/adexchange.buyer"
203+ ]
204+ },
205+ "list": {
206+ "description": "Retrieves a list of billing information for all accounts of the authenticated user.",
207+ "httpMethod": "GET",
208+ "id": "adexchangebuyer.billingInfo.list",
209+ "path": "billinginfo",
210+ "response": {
211+ "$ref": "BillingInfoList"
212+ },
213+ "scopes": [
214+ "https://www.googleapis.com/auth/adexchange.buyer"
215+ ]
216+ }
217+ }
503218 },
504− "detectedDomains": {
505− "type": "array",
506− "description": "Detected domains for this creative. Read-only. This field should not be set in requests.",
507− "items": {
508− "type": "string"
509− }
510− },
511− "filteringReasons": {
512− "type": "object",
513− "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.",
514− "properties": {
515− "date": {
516− "type": "string",
517− "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST."
518− },
519− "reasons": {
520− "type": "array",
521− "description": "The filtering reasons.",
522− "items": {
523− "type": "object",
524− "properties": {
525− "filteringCount": {
526− "type": "string",
527− "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.",
528− "format": "int64"
529− },
530− "filteringStatus": {
531− "type": "integer",
532− "description": "The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.",
533− "format": "int32"
534− }
535− }
536− }
219+ "budget": {
220+ "methods": {
221+ "get": {
222+ "description": "Returns the budget information for the adgroup specified by the accountId and billingId.",
223+ "httpMethod": "GET",
224+ "id": "adexchangebuyer.budget.get",
225+ "parameterOrder": [
226+ "accountId",
227+ "billingId"
228+ ],
229+ "parameters": {
230+ "accountId": {
231+ "description": "The account id to get the budget information for.",
232+ "format": "int64",
233+ "location": "path",
234+ "required": true,
235+ "type": "string"
236+ },
237+ "billingId": {
238+ "description": "The billing id to get the budget information for.",
239+ "format": "int64",
240+ "location": "path",
241+ "required": true,
242+ "type": "string"
243+ }
244+ },
245+ "path": "billinginfo/{accountId}/{billingId}",
246+ "response": {
247+ "$ref": "Budget"
248+ },
249+ "scopes": [
250+ "https://www.googleapis.com/auth/adexchange.buyer"
251+ ]
252+ },
253+ "patch": {
254+ "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.",
255+ "httpMethod": "PATCH",
256+ "id": "adexchangebuyer.budget.patch",
257+ "parameterOrder": [
258+ "accountId",
259+ "billingId"
260+ ],
261+ "parameters": {
262+ "accountId": {
263+ "description": "The account id associated with the budget being updated.",
264+ "format": "int64",
265+ "location": "path",
266+ "required": true,
267+ "type": "string"
268+ },
269+ "billingId": {
270+ "description": "The billing id associated with the budget being updated.",
271+ "format": "int64",
272+ "location": "path",
273+ "required": true,
274+ "type": "string"
275+ }
276+ },
277+ "path": "billinginfo/{accountId}/{billingId}",
278+ "request": {
279+ "$ref": "Budget"
280+ },
281+ "response": {
282+ "$ref": "Budget"
283+ },
284+ "scopes": [
285+ "https://www.googleapis.com/auth/adexchange.buyer"
286+ ]
287+ },
288+ "update": {
289+ "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.",
290+ "httpMethod": "PUT",
291+ "id": "adexchangebuyer.budget.update",
292+ "parameterOrder": [
293+ "accountId",
294+ "billingId"
295+ ],
296+ "parameters": {
297+ "accountId": {
298+ "description": "The account id associated with the budget being updated.",
299+ "format": "int64",
300+ "location": "path",
301+ "required": true,
302+ "type": "string"
303+ },
304+ "billingId": {
305+ "description": "The billing id associated with the budget being updated.",
306+ "format": "int64",
307+ "location": "path",
308+ "required": true,
309+ "type": "string"
310+ }
311+ },
312+ "path": "billinginfo/{accountId}/{billingId}",
313+ "request": {
314+ "$ref": "Budget"
315+ },
316+ "response": {
317+ "$ref": "Budget"
318+ },
319+ "scopes": [
320+ "https://www.googleapis.com/auth/adexchange.buyer"
321+ ]
322+ }
537323 }
538− }
539− },
540− "height": {
541− "type": "integer",
542− "description": "Ad height.",
543− "format": "int32",
544− "annotations": {
545− "required": [
546− "adexchangebuyer.creatives.insert"
547− ]
548− }
549− },
550− "impressionTrackingUrl": {
551− "type": "array",
552− "description": "The set of urls to be called to record an impression.",
553− "items": {
554− "type": "string"
555− }
556324 },
557− "kind": {
558− "type": "string",
559− "description": "Resource type.",
560− "default": "adexchangebuyer#creative"
325+ "creatives": {
326+ "methods": {
327+ "addDeal": {
328+ "description": "Add a deal id association for the creative.",
329+ "httpMethod": "POST",
330+ "id": "adexchangebuyer.creatives.addDeal",
331+ "parameterOrder": [
332+ "accountId",
333+ "buyerCreativeId",
334+ "dealId"
335+ ],
336+ "parameters": {
337+ "accountId": {
338+ "description": "The id for the account that will serve this creative.",
339+ "format": "int32",
340+ "location": "path",
341+ "required": true,
342+ "type": "integer"
343+ },
344+ "buyerCreativeId": {
345+ "description": "The buyer-specific id for this creative.",
346+ "location": "path",
347+ "required": true,
348+ "type": "string"
349+ },
350+ "dealId": {
351+ "description": "The id of the deal id to associate with this creative.",
352+ "format": "int64",
353+ "location": "path",
354+ "required": true,
355+ "type": "string"
356+ }
357+ },
358+ "path": "creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}",
359+ "scopes": [
360+ "https://www.googleapis.com/auth/adexchange.buyer"
361+ ]
362+ },
363+ "get": {
364+ "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.",
365+ "httpMethod": "GET",
366+ "id": "adexchangebuyer.creatives.get",
367+ "parameterOrder": [
368+ "accountId",
369+ "buyerCreativeId"
370+ ],
371+ "parameters": {
372+ "accountId": {
373+ "description": "The id for the account that will serve this creative.",
374+ "format": "int32",
375+ "location": "path",
376+ "required": true,
377+ "type": "integer"
378+ },
379+ "buyerCreativeId": {
380+ "description": "The buyer-specific id for this creative.",
381+ "location": "path",
382+ "required": true,
383+ "type": "string"
384+ }
385+ },
386+ "path": "creatives/{accountId}/{buyerCreativeId}",
387+ "response": {
388+ "$ref": "Creative"
389+ },
390+ "scopes": [
391+ "https://www.googleapis.com/auth/adexchange.buyer"
392+ ]
393+ },
394+ "insert": {
395+ "description": "Submit a new creative.",
396+ "httpMethod": "POST",
397+ "id": "adexchangebuyer.creatives.insert",
398+ "path": "creatives",
399+ "request": {
400+ "$ref": "Creative"
401+ },
402+ "response": {
403+ "$ref": "Creative"
404+ },
405+ "scopes": [
406+ "https://www.googleapis.com/auth/adexchange.buyer"
407+ ]
408+ },
409+ "list": {
410+ "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.",
411+ "httpMethod": "GET",
412+ "id": "adexchangebuyer.creatives.list",
413+ "parameters": {
414+ "accountId": {
415+ "description": "When specified, only creatives for the given account ids are returned.",
416+ "format": "int32",
417+ "location": "query",
418+ "repeated": true,
419+ "type": "integer"
420+ },
421+ "buyerCreativeId": {
422+ "description": "When specified, only creatives for the given buyer creative ids are returned.",
423+ "location": "query",
424+ "repeated": true,
425+ "type": "string"
426+ },
427+ "dealsStatusFilter": {
428+ "description": "When specified, only creatives having the given deals status are returned.",
429+ "enum": [
430+ "approved",
431+ "conditionally_approved",
432+ "disapproved",
433+ "not_checked"
434+ ],
435+ "enumDescriptions": [
436+ "Creatives which have been approved for serving on deals.",
437+ "Creatives which have been conditionally approved for serving on deals.",
438+ "Creatives which have been disapproved for serving on deals.",
439+ "Creatives whose deals status is not yet checked."
440+ ],
441+ "location": "query",
442+ "type": "string"
443+ },
444+ "maxResults": {
445+ "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.",
446+ "format": "uint32",
447+ "location": "query",
448+ "maximum": "1000",
449+ "minimum": "1",
450+ "type": "integer"
451+ },
452+ "openAuctionStatusFilter": {
453+ "description": "When specified, only creatives having the given open auction status are returned.",
454+ "enum": [
455+ "approved",
456+ "conditionally_approved",
457+ "disapproved",
458+ "not_checked"
459+ ],
460+ "enumDescriptions": [
461+ "Creatives which have been approved for serving on the open auction.",
462+ "Creatives which have been conditionally approved for serving on the open auction.",
463+ "Creatives which have been disapproved for serving on the open auction.",
464+ "Creatives whose open auction status is not yet checked."
465+ ],
466+ "location": "query",
467+ "type": "string"
468+ },
469+ "pageToken": {
470+ "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.",
471+ "location": "query",
472+ "type": "string"
473+ }
474+ },
475+ "path": "creatives",
476+ "response": {
477+ "$ref": "CreativesList"
478+ },
479+ "scopes": [
480+ "https://www.googleapis.com/auth/adexchange.buyer"
481+ ]
482+ },
483+ "listDeals": {
484+ "description": "Lists the external deal ids associated with the creative.",
485+ "httpMethod": "GET",
486+ "id": "adexchangebuyer.creatives.listDeals",
487+ "parameterOrder": [
488+ "accountId",
489+ "buyerCreativeId"
490+ ],
491+ "parameters": {
492+ "accountId": {
493+ "description": "The id for the account that will serve this creative.",
494+ "format": "int32",
495+ "location": "path",
496+ "required": true,
497+ "type": "integer"
498+ },
499+ "buyerCreativeId": {
500+ "description": "The buyer-specific id for this creative.",
501+ "location": "path",
502+ "required": true,
503+ "type": "string"
504+ }
505+ },
506+ "path": "creatives/{accountId}/{buyerCreativeId}/listDeals",
507+ "response": {
508+ "$ref": "CreativeDealIds"
509+ },
510+ "scopes": [
511+ "https://www.googleapis.com/auth/adexchange.buyer"
512+ ]
513+ },
514+ "removeDeal": {
515+ "description": "Remove a deal id associated with the creative.",
516+ "httpMethod": "POST",
517+ "id": "adexchangebuyer.creatives.removeDeal",
518+ "parameterOrder": [
519+ "accountId",
520+ "buyerCreativeId",
521+ "dealId"
522+ ],
523+ "parameters": {
524+ "accountId": {
525+ "description": "The id for the account that will serve this creative.",
526+ "format": "int32",
527+ "location": "path",
528+ "required": true,
529+ "type": "integer"
530+ },
531+ "buyerCreativeId": {
532+ "description": "The buyer-specific id for this creative.",
533+ "location": "path",
534+ "required": true,
535+ "type": "string"
536+ },
537+ "dealId": {
538+ "description": "The id of the deal id to disassociate with this creative.",
539+ "format": "int64",
540+ "location": "path",
541+ "required": true,
542+ "type": "string"
543+ }
544+ },
545+ "path": "creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}",
546+ "scopes": [
547+ "https://www.googleapis.com/auth/adexchange.buyer"
548+ ]
549+ }
550+ }
561551 },
562− "languages": {
563− "type": "array",
564− "description": "Detected languages for this creative. Read-only. This field should not be set in requests.",
565− "items": {
566− "type": "string"
567− }
568− },
569− "nativeAd": {
570− "type": "object",
571− "description": "If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)",
572− "properties": {
573− "advertiser": {
574− "type": "string"
575− },
576− "appIcon": {
577− "type": "object",
578− "description": "The app icon, for app download ads.",
579− "properties": {
580− "height": {
581− "type": "integer",
582− "format": "int32"
552+ "marketplacedeals": {
553+ "methods": {
554+ "delete": {
555+ "description": "Delete the specified deals from the proposal",
556+ "httpMethod": "POST",
557+ "id": "adexchangebuyer.marketplacedeals.delete",
558+ "parameterOrder": [
559+ "proposalId"
560+ ],
561+ "parameters": {
562+ "proposalId": {
563+ "description": "The proposalId to delete deals from.",
564+ "location": "path",
565+ "required": true,
566+ "type": "string"
567+ }
568+ },
569+ "path": "proposals/{proposalId}/deals/delete",
570+ "request": {
571+ "$ref": "DeleteOrderDealsRequest"
572+ },
573+ "response": {
574+ "$ref": "DeleteOrderDealsResponse"
575+ },
576+ "scopes": [
577+ "https://www.googleapis.com/auth/adexchange.buyer"
578+ ]
583579 },
584− "url": {
585− "type": "string"
580+ "insert": {
581+ "description": "Add new deals for the specified proposal",
582+ "httpMethod": "POST",
583+ "id": "adexchangebuyer.marketplacedeals.insert",
584+ "parameterOrder": [
585+ "proposalId"
586+ ],
587+ "parameters": {
588+ "proposalId": {
589+ "description": "proposalId for which deals need to be added.",
590+ "location": "path",
591+ "required": true,
592+ "type": "string"
593+ }
594+ },
595+ "path": "proposals/{proposalId}/deals/insert",
596+ "request": {
597+ "$ref": "AddOrderDealsRequest"
598+ },
599+ "response": {
600+ "$ref": "AddOrderDealsResponse"
601+ },
602+ "scopes": [
603+ "https://www.googleapis.com/auth/adexchange.buyer"
604+ ]
586605 },
587− "width": {
588− "type": "integer",
589− "format": "int32"
606+ "list": {
607+ "description": "List all the deals for a given proposal",
608+ "httpMethod": "GET",
609+ "id": "adexchangebuyer.marketplacedeals.list",
610+ "parameterOrder": [
611+ "proposalId"
612+ ],
613+ "parameters": {
614+ "pqlQuery": {
615+ "description": "Query string to retrieve specific deals.",
616+ "location": "query",
617+ "type": "string"
618+ },
619+ "proposalId": {
620+ "description": "The proposalId to get deals for. To search across all proposals specify order_id = '-' as part of the URL.",
621+ "location": "path",
622+ "required": true,
623+ "type": "string"
624+ }
625+ },
626+ "path": "proposals/{proposalId}/deals",
627+ "response": {
628+ "$ref": "GetOrderDealsResponse"
629+ },
630+ "scopes": [
631+ "https://www.googleapis.com/auth/adexchange.buyer"
632+ ]
633+ },
634+ "update": {
635+ "description": "Replaces all the deals in the proposal with the passed in deals",
636+ "httpMethod": "POST",
637+ "id": "adexchangebuyer.marketplacedeals.update",
638+ "parameterOrder": [
639+ "proposalId"
640+ ],
641+ "parameters": {
642+ "proposalId": {
643+ "description": "The proposalId to edit deals on.",
644+ "location": "path",
645+ "required": true,
646+ "type": "string"
647+ }
648+ },
649+ "path": "proposals/{proposalId}/deals/update",
650+ "request": {
651+ "$ref": "EditAllOrderDealsRequest"
652+ },
653+ "response": {
654+ "$ref": "EditAllOrderDealsResponse"
655+ },
656+ "scopes": [
657+ "https://www.googleapis.com/auth/adexchange.buyer"
658+ ]
659+ }
660+ }
661+ },
662+ "marketplacenotes": {
663+ "methods": {
664+ "insert": {
665+ "description": "Add notes to the proposal",
666+ "httpMethod": "POST",
667+ "id": "adexchangebuyer.marketplacenotes.insert",
668+ "parameterOrder": [
669+ "proposalId"
670+ ],
671+ "parameters": {
672+ "proposalId": {
673+ "description": "The proposalId to add notes for.",
674+ "location": "path",
675+ "required": true,
676+ "type": "string"
677+ }
678+ },
679+ "path": "proposals/{proposalId}/notes/insert",
680+ "request": {
681+ "$ref": "AddOrderNotesRequest"
682+ },
683+ "response": {
684+ "$ref": "AddOrderNotesResponse"
685+ },
686+ "scopes": [
687+ "https://www.googleapis.com/auth/adexchange.buyer"
688+ ]
689+ },
690+ "list": {
691+ "description": "Get all the notes associated with a proposal",
692+ "httpMethod": "GET",
693+ "id": "adexchangebuyer.marketplacenotes.list",
694+ "parameterOrder": [
695+ "proposalId"
696+ ],
697+ "parameters": {
698+ "pqlQuery": {
699+ "description": "Query string to retrieve specific notes. To search the text contents of notes, please use syntax like \"WHERE note.note = \"foo\" or \"WHERE note.note LIKE \"%bar%\"",
700+ "location": "query",
701+ "type": "string"
702+ },
703+ "proposalId": {
704+ "description": "The proposalId to get notes for. To search across all proposals specify order_id = '-' as part of the URL.",
705+ "location": "path",
706+ "required": true,
707+ "type": "string"
708+ }
709+ },
710+ "path": "proposals/{proposalId}/notes",
711+ "response": {
712+ "$ref": "GetOrderNotesResponse"
713+ },
714+ "scopes": [
715+ "https://www.googleapis.com/auth/adexchange.buyer"
716+ ]
717+ }
718+ }
719+ },
720+ "marketplaceprivateauction": {
721+ "methods": {
722+ "updateproposal": {
723+ "description": "Update a given private auction proposal",
724+ "httpMethod": "POST",
725+ "id": "adexchangebuyer.marketplaceprivateauction.updateproposal",
726+ "parameterOrder": [
727+ "privateAuctionId"
728+ ],
729+ "parameters": {
730+ "privateAuctionId": {
731+ "description": "The private auction id to be updated.",
732+ "location": "path",
733+ "required": true,
734+ "type": "string"
735+ }
736+ },
737+ "path": "privateauction/{privateAuctionId}/updateproposal",
738+ "request": {
739+ "$ref": "UpdatePrivateAuctionProposalRequest"
740+ },
741+ "scopes": [
742+ "https://www.googleapis.com/auth/adexchange.buyer"
743+ ]
744+ }
745+ }
746+ },
747+ "performanceReport": {
748+ "methods": {
749+ "list": {
750+ "description": "Retrieves the authenticated user's list of performance metrics.",
751+ "httpMethod": "GET",
752+ "id": "adexchangebuyer.performanceReport.list",
753+ "parameterOrder": [
754+ "accountId",
755+ "endDateTime",
756+ "startDateTime"
757+ ],
758+ "parameters": {
759+ "accountId": {
760+ "description": "The account id to get the reports.",
761+ "format": "int64",
762+ "location": "query",
763+ "required": true,
764+ "type": "string"
765+ },
766+ "endDateTime": {
767+ "description": "The end time of the report in ISO 8601 timestamp format using UTC.",
768+ "location": "query",
769+ "required": true,
770+ "type": "string"
771+ },
772+ "maxResults": {
773+ "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.",
774+ "format": "uint32",
775+ "location": "query",
776+ "maximum": "1000",
777+ "minimum": "1",
778+ "type": "integer"
779+ },
780+ "pageToken": {
781+ "description": "A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.",
782+ "location": "query",
783+ "type": "string"
784+ },
785+ "startDateTime": {
786+ "description": "The start time of the report in ISO 8601 timestamp format using UTC.",
787+ "location": "query",
788+ "required": true,
789+ "type": "string"
790+ }
791+ },
792+ "path": "performancereport",
793+ "response": {
794+ "$ref": "PerformanceReportList"
795+ },
796+ "scopes": [
797+ "https://www.googleapis.com/auth/adexchange.buyer"
798+ ]
799+ }
800+ }
801+ },
802+ "pretargetingConfig": {
803+ "methods": {
804+ "delete": {
805+ "description": "Deletes an existing pretargeting config.",
806+ "httpMethod": "DELETE",
807+ "id": "adexchangebuyer.pretargetingConfig.delete",
808+ "parameterOrder": [
809+ "accountId",
810+ "configId"
811+ ],
812+ "parameters": {
813+ "accountId": {
814+ "description": "The account id to delete the pretargeting config for.",
815+ "format": "int64",
816+ "location": "path",
817+ "required": true,
818+ "type": "string"
819+ },
820+ "configId": {
821+ "description": "The specific id of the configuration to delete.",
822+ "format": "int64",
823+ "location": "path",
824+ "required": true,
825+ "type": "string"
826+ }
827+ },
828+ "path": "pretargetingconfigs/{accountId}/{configId}",
829+ "scopes": [
830+ "https://www.googleapis.com/auth/adexchange.buyer"
831+ ]
832+ },
833+ "get": {
834+ "description": "Gets a specific pretargeting configuration",
835+ "httpMethod": "GET",
836+ "id": "adexchangebuyer.pretargetingConfig.get",
837+ "parameterOrder": [
838+ "accountId",
839+ "configId"
840+ ],
841+ "parameters": {
842+ "accountId": {
843+ "description": "The account id to get the pretargeting config for.",
844+ "format": "int64",
845+ "location": "path",
846+ "required": true,
847+ "type": "string"
848+ },
849+ "configId": {
850+ "description": "The specific id of the configuration to retrieve.",
851+ "format": "int64",
852+ "location": "path",
853+ "required": true,
854+ "type": "string"
855+ }
856+ },
857+ "path": "pretargetingconfigs/{accountId}/{configId}",
858+ "response": {
859+ "$ref": "PretargetingConfig"
860+ },
861+ "scopes": [
862+ "https://www.googleapis.com/auth/adexchange.buyer"
863+ ]
864+ },
865+ "insert": {
866+ "description": "Inserts a new pretargeting configuration.",
867+ "httpMethod": "POST",
868+ "id": "adexchangebuyer.pretargetingConfig.insert",
869+ "parameterOrder": [
870+ "accountId"
871+ ],
872+ "parameters": {
873+ "accountId": {
874+ "description": "The account id to insert the pretargeting config for.",
875+ "format": "int64",
876+ "location": "path",
877+ "required": true,
878+ "type": "string"
879+ }
880+ },
881+ "path": "pretargetingconfigs/{accountId}",
882+ "request": {
883+ "$ref": "PretargetingConfig"
884+ },
885+ "response": {
886+ "$ref": "PretargetingConfig"
887+ },
888+ "scopes": [
889+ "https://www.googleapis.com/auth/adexchange.buyer"
890+ ]
891+ },
892+ "list": {
893+ "description": "Retrieves a list of the authenticated user's pretargeting configurations.",
894+ "httpMethod": "GET",
895+ "id": "adexchangebuyer.pretargetingConfig.list",
896+ "parameterOrder": [
897+ "accountId"
898+ ],
899+ "parameters": {
900+ "accountId": {
901+ "description": "The account id to get the pretargeting configs for.",
902+ "format": "int64",
903+ "location": "path",
904+ "required": true,
905+ "type": "string"
906+ }
907+ },
908+ "path": "pretargetingconfigs/{accountId}",
909+ "response": {
910+ "$ref": "PretargetingConfigList"
911+ },
912+ "scopes": [
913+ "https://www.googleapis.com/auth/adexchange.buyer"
914+ ]
915+ },
916+ "patch": {
917+ "description": "Updates an existing pretargeting config. This method supports patch semantics.",
918+ "httpMethod": "PATCH",
919+ "id": "adexchangebuyer.pretargetingConfig.patch",
920+ "parameterOrder": [
921+ "accountId",
922+ "configId"
923+ ],
924+ "parameters": {
925+ "accountId": {
926+ "description": "The account id to update the pretargeting config for.",
927+ "format": "int64",
928+ "location": "path",
929+ "required": true,
930+ "type": "string"
931+ },
932+ "configId": {
933+ "description": "The specific id of the configuration to update.",
934+ "format": "int64",
935+ "location": "path",
936+ "required": true,
937+ "type": "string"
938+ }
939+ },
940+ "path": "pretargetingconfigs/{accountId}/{configId}",
941+ "request": {
942+ "$ref": "PretargetingConfig"
943+ },
944+ "response": {
945+ "$ref": "PretargetingConfig"
946+ },
947+ "scopes": [
948+ "https://www.googleapis.com/auth/adexchange.buyer"
949+ ]
950+ },
951+ "update": {
952+ "description": "Updates an existing pretargeting config.",
953+ "httpMethod": "PUT",
954+ "id": "adexchangebuyer.pretargetingConfig.update",
955+ "parameterOrder": [
956+ "accountId",
957+ "configId"
958+ ],
959+ "parameters": {
960+ "accountId": {
961+ "description": "The account id to update the pretargeting config for.",
962+ "format": "int64",
963+ "location": "path",
964+ "required": true,
965+ "type": "string"
966+ },
967+ "configId": {
968+ "description": "The specific id of the configuration to update.",
969+ "format": "int64",
970+ "location": "path",
971+ "required": true,
972+ "type": "string"
973+ }
974+ },
975+ "path": "pretargetingconfigs/{accountId}/{configId}",
976+ "request": {
977+ "$ref": "PretargetingConfig"
978+ },
979+ "response": {
980+ "$ref": "PretargetingConfig"
981+ },
982+ "scopes": [
983+ "https://www.googleapis.com/auth/adexchange.buyer"
984+ ]
985+ }
986+ }
987+ },
988+ "products": {
989+ "methods": {
990+ "get": {
991+ "description": "Gets the requested product by id.",
992+ "httpMethod": "GET",
993+ "id": "adexchangebuyer.products.get",
994+ "parameterOrder": [
995+ "productId"
996+ ],
997+ "parameters": {
998+ "productId": {
999+ "description": "The id for the product to get the head revision for.",
1000+ "location": "path",
1001+ "required": true,
1002+ "type": "string"
1003+ }
1004+ },
1005+ "path": "products/{productId}",
1006+ "response": {
1007+ "$ref": "Product"
1008+ },
1009+ "scopes": [
1010+ "https://www.googleapis.com/auth/adexchange.buyer"
1011+ ]
1012+ },
1013+ "search": {
1014+ "description": "Gets the requested product.",
1015+ "httpMethod": "GET",
1016+ "id": "adexchangebuyer.products.search",
1017+ "parameters": {
1018+ "pqlQuery": {
1019+ "description": "The pql query used to query for products.",
1020+ "location": "query",
1021+ "type": "string"
1022+ }
1023+ },
1024+ "path": "products/search",
1025+ "response": {
1026+ "$ref": "GetOffersResponse"
1027+ },
1028+ "scopes": [
1029+ "https://www.googleapis.com/auth/adexchange.buyer"
1030+ ]
1031+ }
1032+ }
1033+ },
1034+ "proposals": {
1035+ "methods": {
1036+ "get": {
1037+ "description": "Get a proposal given its id",
1038+ "httpMethod": "GET",
1039+ "id": "adexchangebuyer.proposals.get",
1040+ "parameterOrder": [
1041+ "proposalId"
1042+ ],
1043+ "parameters": {
1044+ "proposalId": {
1045+ "description": "Id of the proposal to retrieve.",
1046+ "location": "path",
1047+ "required": true,
1048+ "type": "string"
1049+ }
1050+ },
1051+ "path": "proposals/{proposalId}",
1052+ "response": {
1053+ "$ref": "Proposal"
1054+ },
1055+ "scopes": [
1056+ "https://www.googleapis.com/auth/adexchange.buyer"
1057+ ]
1058+ },
1059+ "insert": {
1060+ "description": "Create the given list of proposals",
1061+ "httpMethod": "POST",
1062+ "id": "adexchangebuyer.proposals.insert",
1063+ "path": "proposals/insert",
1064+ "request": {
1065+ "$ref": "CreateOrdersRequest"
1066+ },
1067+ "response": {
1068+ "$ref": "CreateOrdersResponse"
1069+ },
1070+ "scopes": [
1071+ "https://www.googleapis.com/auth/adexchange.buyer"
1072+ ]
1073+ },
1074+ "patch": {
1075+ "description": "Update the given proposal. This method supports patch semantics.",
1076+ "httpMethod": "PATCH",
1077+ "id": "adexchangebuyer.proposals.patch",
1078+ "parameterOrder": [
1079+ "proposalId",
1080+ "revisionNumber",
1081+ "updateAction"
1082+ ],
1083+ "parameters": {
1084+ "proposalId": {
1085+ "description": "The proposal id to update.",
1086+ "location": "path",
1087+ "required": true,
1088+ "type": "string"
1089+ },
1090+ "revisionNumber": {
1091+ "description": "The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.",
1092+ "format": "int64",
1093+ "location": "path",
1094+ "required": true,
1095+ "type": "string"
1096+ },
1097+ "updateAction": {
1098+ "description": "The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.",
1099+ "enum": [
1100+ "accept",
1101+ "cancel",
1102+ "propose",
1103+ "proposeAndAccept",
1104+ "unknownAction",
1105+ "updateNonTerms"
1106+ ],
1107+ "enumDescriptions": [
1108+ "",
1109+ "",
1110+ "",
1111+ "",
1112+ "",
1113+ ""
1114+ ],
1115+ "location": "path",
1116+ "required": true,
1117+ "type": "string"
1118+ }
1119+ },
1120+ "path": "proposals/{proposalId}/{revisionNumber}/{updateAction}",
1121+ "request": {
1122+ "$ref": "Proposal"
1123+ },
1124+ "response": {
1125+ "$ref": "Proposal"
1126+ },
1127+ "scopes": [
1128+ "https://www.googleapis.com/auth/adexchange.buyer"
1129+ ]
1130+ },
1131+ "search": {
1132+ "description": "Search for proposals using pql query",
1133+ "httpMethod": "GET",
1134+ "id": "adexchangebuyer.proposals.search",
1135+ "parameters": {
1136+ "pqlQuery": {
1137+ "description": "Query string to retrieve specific proposals.",
1138+ "location": "query",
1139+ "type": "string"
1140+ }
1141+ },
1142+ "path": "proposals/search",
1143+ "response": {
1144+ "$ref": "GetOrdersResponse"
1145+ },
1146+ "scopes": [
1147+ "https://www.googleapis.com/auth/adexchange.buyer"
1148+ ]
1149+ },
1150+ "setupcomplete": {
1151+ "description": "Update the given proposal to indicate that setup has been completed.",
1152+ "httpMethod": "POST",
1153+ "id": "adexchangebuyer.proposals.setupcomplete",
1154+ "parameterOrder": [
1155+ "proposalId"
1156+ ],
1157+ "parameters": {
1158+ "proposalId": {
1159+ "description": "The proposal id for which the setup is complete",
1160+ "location": "path",
1161+ "required": true,
1162+ "type": "string"
1163+ }
1164+ },
1165+ "path": "proposals/{proposalId}/setupcomplete",
1166+ "scopes": [
1167+ "https://www.googleapis.com/auth/adexchange.buyer"
1168+ ]
1169+ },
1170+ "update": {
1171+ "description": "Update the given proposal",
1172+ "httpMethod": "PUT",
1173+ "id": "adexchangebuyer.proposals.update",
1174+ "parameterOrder": [
1175+ "proposalId",
1176+ "revisionNumber",
1177+ "updateAction"
1178+ ],
1179+ "parameters": {
1180+ "proposalId": {
1181+ "description": "The proposal id to update.",
1182+ "location": "path",
1183+ "required": true,
1184+ "type": "string"
1185+ },
1186+ "revisionNumber": {
1187+ "description": "The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.",
1188+ "format": "int64",
1189+ "location": "path",
1190+ "required": true,
1191+ "type": "string"
1192+ },
1193+ "updateAction": {
1194+ "description": "The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.",
1195+ "enum": [
1196+ "accept",
1197+ "cancel",
1198+ "propose",
1199+ "proposeAndAccept",
1200+ "unknownAction",
1201+ "updateNonTerms"
1202+ ],
1203+ "enumDescriptions": [
1204+ "",
1205+ "",
1206+ "",
1207+ "",
1208+ "",
1209+ ""
1210+ ],
1211+ "location": "path",
1212+ "required": true,
1213+ "type": "string"
1214+ }
1215+ },
1216+ "path": "proposals/{proposalId}/{revisionNumber}/{updateAction}",
1217+ "request": {
1218+ "$ref": "Proposal"
1219+ },
1220+ "response": {
1221+ "$ref": "Proposal"
1222+ },
1223+ "scopes": [
1224+ "https://www.googleapis.com/auth/adexchange.buyer"
1225+ ]
1226+ }
1227+ }
1228+ },
1229+ "pubprofiles": {
1230+ "methods": {
1231+ "list": {
1232+ "description": "Gets the requested publisher profile(s) by publisher accountId.",
1233+ "httpMethod": "GET",
1234+ "id": "adexchangebuyer.pubprofiles.list",
1235+ "parameterOrder": [
1236+ "accountId"
1237+ ],
1238+ "parameters": {
1239+ "accountId": {
1240+ "description": "The accountId of the publisher to get profiles for.",
1241+ "format": "int32",
1242+ "location": "path",
1243+ "required": true,
1244+ "type": "integer"
1245+ }
1246+ },
1247+ "path": "publisher/{accountId}/profiles",
1248+ "response": {
1249+ "$ref": "GetPublisherProfilesByAccountIdResponse"
1250+ },
1251+ "scopes": [
1252+ "https://www.googleapis.com/auth/adexchange.buyer"
1253+ ]
1254+ }
1255+ }
1256+ }
1257+ },
1258+ "revision": "20180823",
1259+ "rootUrl": "https://www.googleapis.com/",
1260+ "schemas": {
1261+ "Account": {
1262+ "description": "Configuration data for an Ad Exchange buyer account.",
1263+ "id": "Account",
1264+ "properties": {
1265+ "applyPretargetingToNonGuaranteedDeals": {
1266+ "description": "When this is false, bid requests that include a deal ID for a private auction or preferred deal are always sent to your bidder. When true, all active pretargeting configs will be applied to private auctions and preferred deals. Programmatic Guaranteed deals (when enabled) are always sent to your bidder.",
1267+ "type": "boolean"
1268+ },
1269+ "bidderLocation": {
1270+ "description": "Your bidder locations that have distinct URLs.",
1271+ "items": {
1272+ "properties": {
1273+ "bidProtocol": {
1274+ "description": "The protocol that the bidder endpoint is using. OpenRTB protocols with prefix PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. Allowed values: \n- PROTOCOL_ADX \n- PROTOCOL_OPENRTB_2_2 \n- PROTOCOL_OPENRTB_2_3 \n- PROTOCOL_OPENRTB_2_4 \n- PROTOCOL_OPENRTB_2_5 \n- PROTOCOL_OPENRTB_PROTOBUF_2_3 \n- PROTOCOL_OPENRTB_PROTOBUF_2_4 \n- PROTOCOL_OPENRTB_PROTOBUF_2_5",
1275+ "type": "string"
1276+ },
1277+ "maximumQps": {
1278+ "description": "The maximum queries per second the Ad Exchange will send.",
1279+ "format": "int32",
1280+ "type": "integer"
1281+ },
1282+ "region": {
1283+ "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST",
1284+ "type": "string"
1285+ },
1286+ "url": {
1287+ "description": "The URL to which the Ad Exchange will send bid requests.",
1288+ "type": "string"
1289+ }
1290+ },
1291+ "type": "object"
1292+ },
1293+ "type": "array"
1294+ },
1295+ "cookieMatchingNid": {
1296+ "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.",
1297+ "type": "string"
1298+ },
1299+ "cookieMatchingUrl": {
1300+ "description": "The base URL used in cookie match requests.",
1301+ "type": "string"
1302+ },
1303+ "id": {
1304+ "description": "Account id.",
1305+ "format": "int32",
1306+ "type": "integer"
1307+ },
1308+ "kind": {
1309+ "default": "adexchangebuyer#account",
1310+ "description": "Resource type.",
1311+ "type": "string"
1312+ },
1313+ "maximumActiveCreatives": {
1314+ "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.",
1315+ "format": "int32",
1316+ "type": "integer"
1317+ },
1318+ "maximumTotalQps": {
1319+ "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.",
1320+ "format": "int32",
1321+ "type": "integer"
1322+ },
1323+ "numberActiveCreatives": {
1324+ "description": "The number of creatives that this account inserted or bid with in the last 30 days.",
1325+ "format": "int32",
1326+ "type": "integer"
5901327 }
591− }
5921328 },
593− "body": {
594− "type": "string",
595− "description": "A long description of the ad."
1329+ "type": "object"
1330+ },
1331+ "AccountsList": {
1332+ "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.",
1333+ "id": "AccountsList",
1334+ "properties": {
1335+ "items": {
1336+ "description": "A list of accounts.",
1337+ "items": {
1338+ "$ref": "Account"
1339+ },
1340+ "type": "array"
1341+ },
1342+ "kind": {
1343+ "default": "adexchangebuyer#accountsList",
1344+ "description": "Resource type.",
1345+ "type": "string"
1346+ }
5961347 },
597− "callToAction": {
598− "type": "string",
599− "description": "A label for the button that the user is supposed to click."
1348+ "type": "object"
1349+ },
1350+ "AddOrderDealsRequest": {
1351+ "id": "AddOrderDealsRequest",
1352+ "properties": {
1353+ "deals": {
1354+ "description": "The list of deals to add",
1355+ "items": {
1356+ "$ref": "MarketplaceDeal"
1357+ },
1358+ "type": "array"
1359+ },
1360+ "proposalRevisionNumber": {
1361+ "description": "The last known proposal revision number.",
1362+ "format": "int64",
1363+ "type": "string"
1364+ },
1365+ "updateAction": {
1366+ "description": "Indicates an optional action to take on the proposal",
1367+ "type": "string"
1368+ }
6001369 },
601− "clickLinkUrl": {
602− "type": "string",
603− "description": "The URL that the browser/SDK will load when the user clicks the ad."
1370+ "type": "object"
1371+ },
1372+ "AddOrderDealsResponse": {
1373+ "id": "AddOrderDealsResponse",
1374+ "properties": {
1375+ "deals": {
1376+ "description": "List of deals added (in the same proposal as passed in the request)",
1377+ "items": {
1378+ "$ref": "MarketplaceDeal"
1379+ },
1380+ "type": "array"
1381+ },
1382+ "proposalRevisionNumber": {
1383+ "description": "The updated revision number for the proposal.",
1384+ "format": "int64",
1385+ "type": "string"
1386+ }
6041387 },
605− "clickTrackingUrl": {
606− "type": "string",
607− "description": "The URL to use for click tracking."
1388+ "type": "object"
1389+ },
1390+ "AddOrderNotesRequest": {
1391+ "id": "AddOrderNotesRequest",
1392+ "properties": {
1393+ "notes": {
1394+ "description": "The list of notes to add.",
1395+ "items": {
1396+ "$ref": "MarketplaceNote"
1397+ },
1398+ "type": "array"
1399+ }
6081400 },
609− "headline": {
610− "type": "string",
611− "description": "A short title for the ad."
1401+ "type": "object"
1402+ },
1403+ "AddOrderNotesResponse": {
1404+ "id": "AddOrderNotesResponse",
1405+ "properties": {
1406+ "notes": {
1407+ "items": {
1408+ "$ref": "MarketplaceNote"
1409+ },
1410+ "type": "array"
1411+ }
6121412 },
613− "image": {
614− "type": "object",
615− "description": "A large image.",
616− "properties": {
617− "height": {
618− "type": "integer",
619− "format": "int32"
1413+ "type": "object"
1414+ },
1415+ "BillingInfo": {
1416+ "description": "The configuration data for an Ad Exchange billing info.",
1417+ "id": "BillingInfo",
1418+ "properties": {
1419+ "accountId": {
1420+ "description": "Account id.",
1421+ "format": "int32",
1422+ "type": "integer"
6201423 },
621− "url": {
622− "type": "string"
1424+ "accountName": {
1425+ "description": "Account name.",
1426+ "type": "string"
6231427 },
624− "width": {
625− "type": "integer",
626− "format": "int32"
1428+ "billingId": {
1429+ "description": "A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account.",
1430+ "items": {
1431+ "type": "string"
1432+ },
1433+ "type": "array"
1434+ },
1435+ "kind": {
1436+ "default": "adexchangebuyer#billingInfo",
1437+ "description": "Resource type.",
1438+ "type": "string"
6271439 }
628− }
6291440 },
630− "impressionTrackingUrl": {
631− "type": "array",
632− "description": "The URLs are called when the impression is rendered.",
633− "items": {
634− "type": "string"
635− }
1441+ "type": "object"
1442+ },
1443+ "BillingInfoList": {
1444+ "description": "A billing info feed lists Billing Info the Ad Exchange buyer account has access to. Each entry in the feed corresponds to a single billing info.",
1445+ "id": "BillingInfoList",
1446+ "properties": {
1447+ "items": {
1448+ "description": "A list of billing info relevant for your account.",
1449+ "items": {
1450+ "$ref": "BillingInfo"
1451+ },
1452+ "type": "array"
1453+ },
1454+ "kind": {
1455+ "default": "adexchangebuyer#billingInfoList",
1456+ "description": "Resource type.",
1457+ "type": "string"
1458+ }
6361459 },
637− "logo": {
638− "type": "object",
639− "description": "A smaller image, for the advertiser logo.",
640− "properties": {
641− "height": {
642− "type": "integer",
643− "format": "int32"
1460+ "type": "object"
1461+ },
1462+ "Budget": {
1463+ "description": "The configuration data for Ad Exchange RTB - Budget API.",
1464+ "id": "Budget",
1465+ "properties": {
1466+ "accountId": {
1467+ "description": "The id of the account. This is required for get and update requests.",
1468+ "format": "int64",
1469+ "type": "string"
6441470 },
645− "url": {
646− "type": "string"
1471+ "billingId": {
1472+ "description": "The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.",
1473+ "format": "int64",
1474+ "type": "string"
6471475 },
648− "width": {
649− "type": "integer",
650− "format": "int32"
1476+ "budgetAmount": {
1477+ "description": "The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests.",
1478+ "format": "int64",
1479+ "type": "string"
1480+ },
1481+ "currencyCode": {
1482+ "description": "The currency code for the buyer. This cannot be altered here.",
1483+ "type": "string"
1484+ },
1485+ "id": {
1486+ "description": "The unique id that describes this item.",
1487+ "type": "string"
1488+ },
1489+ "kind": {
1490+ "default": "adexchangebuyer#budget",
1491+ "description": "The kind of the resource, i.e. \"adexchangebuyer#budget\".",
1492+ "type": "string"
6511493 }
652− }
6531494 },
654− "price": {
655− "type": "string",
656− "description": "The price of the promoted app including the currency info."
1495+ "type": "object"
1496+ },
1497+ "Buyer": {
1498+ "id": "Buyer",
1499+ "properties": {
1500+ "accountId": {
1501+ "description": "Adx account id of the buyer.",
1502+ "type": "string"
1503+ }
6571504 },
658− "starRating": {
659− "type": "number",
660− "description": "The app rating in the app store. Must be in the range [0-5].",
661− "format": "double"
1505+ "type": "object"
1506+ },
1507+ "ContactInformation": {
1508+ "id": "ContactInformation",
1509+ "properties": {
1510+ "email": {
1511+ "description": "Email address of the contact.",
1512+ "type": "string"
1513+ },
1514+ "name": {
1515+ "description": "The name of the contact.",
1516+ "type": "string"
1517+ }
6621518 },
663− "store": {
664− "type": "string",
665− "description": "The URL to the app store to purchase/download the promoted app."
1519+ "type": "object"
1520+ },
1521+ "CreateOrdersRequest": {
1522+ "id": "CreateOrdersRequest",
1523+ "properties": {
1524+ "proposals": {
1525+ "description": "The list of proposals to create.",
1526+ "items": {
1527+ "$ref": "Proposal"
1528+ },
1529+ "type": "array"
1530+ },
1531+ "webPropertyCode": {
1532+ "description": "Web property id of the seller creating these orders",
1533+ "type": "string"
1534+ }
6661535 },
667− "videoURL": {
668− "type": "string",
669− "description": "The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url."
670− }
671− }
672− },
673− "openAuctionStatus": {
674− "type": "string",
675− "description": "Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly."
676− },
677− "productCategories": {
678− "type": "array",
679− "description": "Detected product categories, if any. Read-only. This field should not be set in requests.",
680− "items": {
681− "type": "integer",
682− "format": "int32"
683− }
684− },
685− "restrictedCategories": {
686− "type": "array",
687− "description": "All restricted categories for the ads that may be shown from this snippet.",
688− "items": {
689− "type": "integer",
690− "format": "int32"
691− }
692− },
693− "sensitiveCategories": {
694− "type": "array",
695− "description": "Detected sensitive categories, if any. Read-only. This field should not be set in requests.",
696− "items": {
697− "type": "integer",
698− "format": "int32"
699− }
700− },
701− "servingRestrictions": {
702− "type": "array",
703− "description": "The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests.",
704− "items": {
705− "type": "object",
1536+ "type": "object"
1537+ },
1538+ "CreateOrdersResponse": {
1539+ "id": "CreateOrdersResponse",
7061540 "properties": {
707− "contexts": {
708− "type": "array",
709− "description": "All known contexts/restrictions.",
710− "items": {
711− "type": "object",
712− "properties": {
713− "auctionType": {
714− "type": "array",
715− "description": "Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.",
716− "items": {
1541+ "proposals": {
1542+ "description": "The list of proposals successfully created.",
1543+ "items": {
1544+ "$ref": "Proposal"
1545+ },
1546+ "type": "array"
1547+ }
1548+ },
1549+ "type": "object"
1550+ },
1551+ "Creative": {
1552+ "description": "A creative and its classification data.",
1553+ "id": "Creative",
1554+ "properties": {
1555+ "HTMLSnippet": {
1556+ "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL, videoVastXML, and nativeAd should not be set.",
1557+ "type": "string"
1558+ },
1559+ "accountId": {
1560+ "annotations": {
1561+ "required": [
1562+ "adexchangebuyer.creatives.insert"
1563+ ]
1564+ },
1565+ "description": "Account id.",
1566+ "format": "int32",
1567+ "type": "integer"
1568+ },
1569+ "adChoicesDestinationUrl": {
1570+ "description": "The link to the Ad Preferences page. This is only supported for native ads.",
1571+ "type": "string"
1572+ },
1573+ "advertiserId": {
1574+ "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.",
1575+ "items": {
1576+ "format": "int64",
1577+ "type": "string"
1578+ },
1579+ "type": "array"
1580+ },
1581+ "advertiserName": {
1582+ "annotations": {
1583+ "required": [
1584+ "adexchangebuyer.creatives.insert"
1585+ ]
1586+ },
1587+ "description": "The name of the company being advertised in the creative. The value provided must exist in the advertisers.txt file.",
1588+ "type": "string"
1589+ },
1590+ "agencyId": {
1591+ "description": "The agency id for this creative.",
1592+ "format": "int64",
1593+ "type": "string"
1594+ },
1595+ "apiUploadTimestamp": {
1596+ "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).",
1597+ "format": "date-time",
1598+ "type": "string"
1599+ },
1600+ "attribute": {
1601+ "description": "List of buyer selectable attributes for the ads that may be shown from this snippet. Each attribute is represented by an integer as defined in buyer-declarable-creative-attributes.txt.",
1602+ "items": {
1603+ "format": "int32",
1604+ "type": "integer"
1605+ },
1606+ "type": "array"
1607+ },
1608+ "buyerCreativeId": {
1609+ "annotations": {
1610+ "required": [
1611+ "adexchangebuyer.creatives.insert"
1612+ ]
1613+ },
1614+ "description": "A buyer-specific id identifying the creative in this ad.",
1615+ "type": "string"
1616+ },
1617+ "clickThroughUrl": {
1618+ "annotations": {
1619+ "required": [
1620+ "adexchangebuyer.creatives.insert"
1621+ ]
1622+ },
1623+ "description": "The set of destination urls for the snippet.",
1624+ "items": {
7171625 "type": "string"
718− }
719− },
720− "contextType": {
721− "type": "string",
722− "description": "The type of context (e.g., location, platform, auction type, SSL-ness)."
723− },
724− "geoCriteriaId": {
725− "type": "array",
726− "description": "Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to.",
727− "items": {
728− "type": "integer",
729− "format": "int32"
730− }
731− },
732− "platform": {
733− "type": "array",
734− "description": "Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.",
735− "items": {
1626+ },
1627+ "type": "array"
1628+ },
1629+ "corrections": {
1630+ "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.",
1631+ "items": {
1632+ "properties": {
1633+ "contexts": {
1634+ "description": "All known serving contexts containing serving status information.",
1635+ "items": {
1636+ "properties": {
1637+ "auctionType": {
1638+ "description": "Only set when contextType=AUCTION_TYPE. Represents the auction types this correction applies to.",
1639+ "items": {
1640+ "type": "string"
1641+ },
1642+ "type": "array"
1643+ },
1644+ "contextType": {
1645+ "description": "The type of context (e.g., location, platform, auction type, SSL-ness).",
1646+ "type": "string"
1647+ },
1648+ "geoCriteriaId": {
1649+ "description": "Only set when contextType=LOCATION. Represents the geo criterias this correction applies to.",
1650+ "items": {
1651+ "format": "int32",
1652+ "type": "integer"
1653+ },
1654+ "type": "array"
1655+ },
1656+ "platform": {
1657+ "description": "Only set when contextType=PLATFORM. Represents the platforms this correction applies to.",
1658+ "items": {
1659+ "type": "string"
1660+ },
1661+ "type": "array"
1662+ }
1663+ },
1664+ "type": "object"
1665+ },
1666+ "type": "array"
1667+ },
1668+ "details": {
1669+ "description": "Additional details about the correction.",
1670+ "items": {
1671+ "type": "string"
1672+ },
1673+ "type": "array"
1674+ },
1675+ "reason": {
1676+ "description": "The type of correction that was applied to the creative.",
1677+ "type": "string"
1678+ }
1679+ },
1680+ "type": "object"
1681+ },
1682+ "type": "array"
1683+ },
1684+ "creativeStatusIdentityType": {
1685+ "description": "Creative status identity type that the creative item applies to. Ad Exchange real-time bidding is migrating to the sizeless creative verification. Originally, Ad Exchange assigned creative verification status to a unique combination of a buyer creative ID and creative dimensions. Post-migration, a single verification status will be assigned at the buyer creative ID level. This field allows to distinguish whether a given creative status applies to a unique combination of a buyer creative ID and creative dimensions, or to a buyer creative ID as a whole.",
1686+ "type": "string"
1687+ },
1688+ "dealsStatus": {
1689+ "description": "Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly.",
1690+ "type": "string"
1691+ },
1692+ "detectedDomains": {
1693+ "description": "Detected domains for this creative. Read-only. This field should not be set in requests.",
1694+ "items": {
7361695 "type": "string"
737− }
738− }
739− }
740− }
741− },
742− "disapprovalReasons": {
743− "type": "array",
744− "description": "The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.",
745− "items": {
746− "type": "object",
747− "properties": {
748− "details": {
749− "type": "array",
750− "description": "Additional details about the reason for disapproval.",
751− "items": {
1696+ },
1697+ "type": "array"
1698+ },
1699+ "filteringReasons": {
1700+ "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.",
1701+ "properties": {
1702+ "date": {
1703+ "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.",
1704+ "type": "string"
1705+ },
1706+ "reasons": {
1707+ "description": "The filtering reasons.",
1708+ "items": {
1709+ "properties": {
1710+ "filteringCount": {
1711+ "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.",
1712+ "format": "int64",
1713+ "type": "string"
1714+ },
1715+ "filteringStatus": {
1716+ "description": "The filtering status code as defined in creative-status-codes.txt.",
1717+ "format": "int32",
1718+ "type": "integer"
1719+ }
1720+ },
1721+ "type": "object"
1722+ },
1723+ "type": "array"
1724+ }
1725+ },
1726+ "type": "object"
1727+ },
1728+ "height": {
1729+ "annotations": {
1730+ "required": [
1731+ "adexchangebuyer.creatives.insert"
1732+ ]
1733+ },
1734+ "description": "Ad height.",
1735+ "format": "int32",
1736+ "type": "integer"
1737+ },
1738+ "impressionTrackingUrl": {
1739+ "description": "The set of urls to be called to record an impression.",
1740+ "items": {
7521741 "type": "string"
753− }
754− },
755− "reason": {
756− "type": "string",
757− "description": "The categorized reason for disapproval."
758− }
759− }
760− }
761− },
762− "reason": {
763− "type": "string",
764− "description": "Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review)."
765− }
766− }
767− }
768− },
769− "vendorType": {
770− "type": "array",
771− "description": "All vendor types for the ads that may be shown from this snippet.",
772− "items": {
773− "type": "integer",
774− "format": "int32"
775− }
776− },
777− "version": {
778− "type": "integer",
779− "description": "The version for this creative. Read-only. This field should not be set in requests.",
780− "format": "int32"
781− },
782− "videoURL": {
783− "type": "string",
784− "description": "The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set. Note, this is different from resource.native_ad.video_url above."
785− },
786− "width": {
787− "type": "integer",
788− "description": "Ad width.",
789− "format": "int32",
790− "annotations": {
791− "required": [
792− "adexchangebuyer.creatives.insert"
793− ]
794− }
795− }
796− }
797− },
798− "CreativeDealIds": {
799− "id": "CreativeDealIds",
800− "type": "object",
801− "description": "The external deal ids associated with a creative.",
802− "properties": {
803− "dealStatuses": {
804− "type": "array",
805− "description": "A list of external deal ids and ARC approval status.",
806− "items": {
807− "type": "object",
1742+ },
1743+ "type": "array"
1744+ },
1745+ "kind": {
1746+ "default": "adexchangebuyer#creative",
1747+ "description": "Resource type.",
1748+ "type": "string"
1749+ },
1750+ "languages": {
1751+ "description": "Detected languages for this creative. Read-only. This field should not be set in requests.",
1752+ "items": {
1753+ "type": "string"
1754+ },
1755+ "type": "array"
1756+ },
1757+ "nativeAd": {
1758+ "description": "If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)",
1759+ "properties": {
1760+ "advertiser": {
1761+ "type": "string"
1762+ },
1763+ "appIcon": {
1764+ "description": "The app icon, for app download ads.",
1765+ "properties": {
1766+ "height": {
1767+ "format": "int32",
1768+ "type": "integer"
1769+ },
1770+ "url": {
1771+ "type": "string"
1772+ },
1773+ "width": {
1774+ "format": "int32",
1775+ "type": "integer"
1776+ }
1777+ },
1778+ "type": "object"
1779+ },
1780+ "body": {
1781+ "description": "A long description of the ad.",
1782+ "type": "string"
1783+ },
1784+ "callToAction": {
1785+ "description": "A label for the button that the user is supposed to click.",
1786+ "type": "string"
1787+ },
1788+ "clickLinkUrl": {
1789+ "description": "The URL that the browser/SDK will load when the user clicks the ad.",
1790+ "type": "string"
1791+ },
1792+ "clickTrackingUrl": {
1793+ "description": "The URL to use for click tracking.",
1794+ "type": "string"
1795+ },
1796+ "headline": {
1797+ "description": "A short title for the ad.",
1798+ "type": "string"
1799+ },
1800+ "image": {
1801+ "description": "A large image.",
1802+ "properties": {
1803+ "height": {
1804+ "format": "int32",
1805+ "type": "integer"
1806+ },
1807+ "url": {
1808+ "type": "string"
1809+ },
1810+ "width": {
1811+ "format": "int32",
1812+ "type": "integer"
1813+ }
1814+ },
1815+ "type": "object"
1816+ },
1817+ "impressionTrackingUrl": {
1818+ "description": "The URLs are called when the impression is rendered.",
1819+ "items": {
1820+ "type": "string"
1821+ },
1822+ "type": "array"
1823+ },
1824+ "logo": {
1825+ "description": "A smaller image, for the advertiser logo.",
1826+ "properties": {
1827+ "height": {
1828+ "format": "int32",
1829+ "type": "integer"
1830+ },
1831+ "url": {
1832+ "type": "string"
1833+ },
1834+ "width": {
1835+ "format": "int32",
1836+ "type": "integer"
1837+ }
1838+ },
1839+ "type": "object"
1840+ },
1841+ "price": {
1842+ "description": "The price of the promoted app including the currency info.",
1843+ "type": "string"
1844+ },
1845+ "starRating": {
1846+ "description": "The app rating in the app store. Must be in the range [0-5].",
1847+ "format": "double",
1848+ "type": "number"
1849+ },
1850+ "store": {
1851+ "description": "The URL to the app store to purchase/download the promoted app.",
1852+ "type": "string"
1853+ },
1854+ "videoURL": {
1855+ "description": "The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.",
1856+ "type": "string"
1857+ }
1858+ },
1859+ "type": "object"
1860+ },
1861+ "openAuctionStatus": {
1862+ "description": "Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly.",
1863+ "type": "string"
1864+ },
1865+ "productCategories": {
1866+ "description": "Detected product categories, if any. Each category is represented by an integer as defined in ad-product-categories.txt. Read-only. This field should not be set in requests.",
1867+ "items": {
1868+ "format": "int32",
1869+ "type": "integer"
1870+ },
1871+ "type": "array"
1872+ },
1873+ "restrictedCategories": {
1874+ "description": "All restricted categories for the ads that may be shown from this snippet. Each category is represented by an integer as defined in the ad-restricted-categories.txt.",
1875+ "items": {
1876+ "format": "int32",
1877+ "type": "integer"
1878+ },
1879+ "type": "array"
1880+ },
1881+ "sensitiveCategories": {
1882+ "description": "Detected sensitive categories, if any. Each category is represented by an integer as defined in ad-sensitive-categories.txt. Read-only. This field should not be set in requests.",
1883+ "items": {
1884+ "format": "int32",
1885+ "type": "integer"
1886+ },
1887+ "type": "array"
1888+ },
1889+ "servingRestrictions": {
1890+ "description": "The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests. See the examples in the Creatives guide for more details.",
1891+ "items": {
1892+ "properties": {
1893+ "contexts": {
1894+ "description": "All known contexts/restrictions.",
1895+ "items": {
1896+ "properties": {
1897+ "auctionType": {
1898+ "description": "Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.",
1899+ "items": {
1900+ "type": "string"
1901+ },
1902+ "type": "array"
1903+ },
1904+ "contextType": {
1905+ "description": "The type of context (e.g., location, platform, auction type, SSL-ness).",
1906+ "type": "string"
1907+ },
1908+ "geoCriteriaId": {
1909+ "description": "Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to. Impressions are considered to match a context if either the user location or publisher location matches a given geoCriteriaId.",
1910+ "items": {
1911+ "format": "int32",
1912+ "type": "integer"
1913+ },
1914+ "type": "array"
1915+ },
1916+ "platform": {
1917+ "description": "Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.",
1918+ "items": {
1919+ "type": "string"
1920+ },
1921+ "type": "array"
1922+ }
1923+ },
1924+ "type": "object"
1925+ },
1926+ "type": "array"
1927+ },
1928+ "disapprovalReasons": {
1929+ "description": "The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.",
1930+ "items": {
1931+ "properties": {
1932+ "details": {
1933+ "description": "Additional details about the reason for disapproval.",
1934+ "items": {
1935+ "type": "string"
1936+ },
1937+ "type": "array"
1938+ },
1939+ "reason": {
1940+ "description": "The categorized reason for disapproval.",
1941+ "type": "string"
1942+ }
1943+ },
1944+ "type": "object"
1945+ },
1946+ "type": "array"
1947+ },
1948+ "reason": {
1949+ "description": "Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).",
1950+ "type": "string"
1951+ }
1952+ },
1953+ "type": "object"
1954+ },
1955+ "type": "array"
1956+ },
1957+ "vendorType": {
1958+ "description": "List of vendor types for the ads that may be shown from this snippet. Each vendor type is represented by an integer as defined in vendors.txt.",
1959+ "items": {
1960+ "format": "int32",
1961+ "type": "integer"
1962+ },
1963+ "type": "array"
1964+ },
1965+ "version": {
1966+ "description": "The version for this creative. Read-only. This field should not be set in requests.",
1967+ "format": "int32",
1968+ "type": "integer"
1969+ },
1970+ "videoURL": {
1971+ "description": "The URL to fetch a video ad. If set, HTMLSnippet, videoVastXML, and nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.",
1972+ "type": "string"
1973+ },
1974+ "videoVastXML": {
1975+ "description": "The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard. If set, HTMLSnippet, videoURL, and nativeAd and should not be set.",
1976+ "type": "string"
1977+ },
1978+ "width": {
1979+ "annotations": {
1980+ "required": [
1981+ "adexchangebuyer.creatives.insert"
1982+ ]
1983+ },
1984+ "description": "Ad width.",
1985+ "format": "int32",
1986+ "type": "integer"
1987+ }
1988+ },
1989+ "type": "object"
1990+ },
1991+ "CreativeDealIds": {
1992+ "description": "The external deal ids associated with a creative.",
1993+ "id": "CreativeDealIds",
8081994 "properties": {
809− "arcStatus": {
810− "type": "string",
811− "description": "ARC approval status."
812− },
813− "dealId": {
814− "type": "string",
815− "description": "External deal ID.",
816− "format": "int64"
817− },
818− "webPropertyId": {
819− "type": "integer",
820− "description": "Publisher ID.",
821− "format": "int32"
822− }
823− }
824− }
1995+ "dealStatuses": {
1996+ "description": "A list of external deal ids and ARC approval status.",
1997+ "items": {
1998+ "properties": {
1999+ "arcStatus": {
2000+ "description": "ARC approval status.",
2001+ "type": "string"
2002+ },
2003+ "dealId": {
2004+ "description": "External deal ID.",
2005+ "format": "int64",
2006+ "type": "string"
2007+ },
2008+ "webPropertyId": {
2009+ "description": "Publisher ID.",
2010+ "format": "int32",
2011+ "type": "integer"
2012+ }
2013+ },
2014+ "type": "object"
2015+ },
2016+ "type": "array"
2017+ },
2018+ "kind": {
2019+ "default": "adexchangebuyer#creativeDealIds",
2020+ "description": "Resource type.",
2021+ "type": "string"
2022+ }
2023+ },
2024+ "type": "object"
8252025 },
826− "kind": {
827− "type": "string",
828− "description": "Resource type.",
829− "default": "adexchangebuyer#creativeDealIds"
830− }
831− }
832− },
833− "CreativesList": {
834− "id": "CreativesList",
835− "type": "object",
836− "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.",
837− "properties": {
838− "items": {
839− "type": "array",
840− "description": "A list of creatives.",
841− "items": {
842− "$ref": "Creative"
843− }
844− },
845− "kind": {
846− "type": "string",
847− "description": "Resource type.",
848− "default": "adexchangebuyer#creativesList"
849− },
850− "nextPageToken": {
851− "type": "string",
852− "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this."
853− }
854− }
855− },
856− "DealServingMetadata": {
857− "id": "DealServingMetadata",
858− "type": "object",
859− "properties": {
860− "dealPauseStatus": {
861− "$ref": "DealServingMetadataDealPauseStatus",
862− "description": "Tracks which parties (if any) have paused a deal. (readonly, except via PauseResumeOrderDeals action)"
863− }
864− }
865− },
866− "DealServingMetadataDealPauseStatus": {
867− "id": "DealServingMetadataDealPauseStatus",
868− "type": "object",
869− "description": "Tracks which parties (if any) have paused a deal. The deal is considered paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused or the has_seller_paused bits can be set independently.",
870− "properties": {
871− "buyerPauseReason": {
872− "type": "string"
873− },
874− "firstPausedBy": {
875− "type": "string",
876− "description": "If the deal is paused, records which party paused the deal first."
877− },
878− "hasBuyerPaused": {
879− "type": "boolean"
880− },
881− "hasSellerPaused": {
882− "type": "boolean"
883− },
884− "sellerPauseReason": {
885− "type": "string"
886− }
887− }
888− },
889− "DealTerms": {
890− "id": "DealTerms",
891− "type": "object",
892− "properties": {
893− "brandingType": {
894− "type": "string",
895− "description": "Visibilty of the URL in bid requests."
896− },
897− "crossListedExternalDealIdType": {
898− "type": "string",
899− "description": "Indicates that this ExternalDealId exists under at least two different AdxInventoryDeals. Currently, the only case that the same ExternalDealId will exist is programmatic cross sell case."
900− },
901− "description": {
902− "type": "string",
903− "description": "Description for the proposed terms of the deal."
904− },
905− "estimatedGrossSpend": {
906− "$ref": "Price",
907− "description": "Non-binding estimate of the estimated gross spend for this deal Can be set by buyer or seller."
908− },
909− "estimatedImpressionsPerDay": {
910− "type": "string",
911− "description": "Non-binding estimate of the impressions served per day Can be set by buyer or seller.",
912− "format": "int64"
913− },
914− "guaranteedFixedPriceTerms": {
915− "$ref": "DealTermsGuaranteedFixedPriceTerms",
916− "description": "The terms for guaranteed fixed price deals."
917− },
918− "nonGuaranteedAuctionTerms": {
919− "$ref": "DealTermsNonGuaranteedAuctionTerms",
920− "description": "The terms for non-guaranteed auction deals."
921− },
922− "nonGuaranteedFixedPriceTerms": {
923− "$ref": "DealTermsNonGuaranteedFixedPriceTerms",
924− "description": "The terms for non-guaranteed fixed price deals."
925− },
926− "rubiconNonGuaranteedTerms": {
927− "$ref": "DealTermsRubiconNonGuaranteedTerms",
928− "description": "The terms for rubicon non-guaranteed deals."
929− },
930− "sellerTimeZone": {
931− "type": "string",
932− "description": "For deals with Cost Per Day billing, defines the timezone used to mark the boundaries of a day (buyer-readonly)"
933− }
934− }
935− },
936− "DealTermsGuaranteedFixedPriceTerms": {
937− "id": "DealTermsGuaranteedFixedPriceTerms",
938− "type": "object",
939− "properties": {
940− "billingInfo": {
941− "$ref": "DealTermsGuaranteedFixedPriceTermsBillingInfo",
942− "description": "External billing info for this Deal. This field is relevant when external billing info such as price has a different currency code than DFP/AdX."
943− },
944− "fixedPrices": {
945− "type": "array",
946− "description": "Fixed price for the specified buyer.",
947− "items": {
948− "$ref": "PricePerBuyer"
949− }
950− },
951− "guaranteedImpressions": {
952− "type": "string",
953− "description": "Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.",
954− "format": "int64"
955− },
956− "guaranteedLooks": {
957− "type": "string",
958− "description": "Count of guaranteed looks. Required for deal, optional for product. For CPD deals, buyer changes to guaranteed_looks will be ignored.",
959− "format": "int64"
960− },
961− "minimumDailyLooks": {
962− "type": "string",
963− "description": "Count of minimum daily looks for a CPD deal. For CPD deals, buyer should negotiate on this field instead of guaranteed_looks.",
964− "format": "int64"
965− }
966− }
967− },
968− "DealTermsGuaranteedFixedPriceTermsBillingInfo": {
969− "id": "DealTermsGuaranteedFixedPriceTermsBillingInfo",
970− "type": "object",
971− "properties": {
972− "currencyConversionTimeMs": {
973− "type": "string",
974− "description": "The timestamp (in ms since epoch) when the original reservation price for the deal was first converted to DFP currency. This is used to convert the contracted price into advertiser's currency without discrepancy.",
975− "format": "int64"
976− },
977− "dfpLineItemId": {
978− "type": "string",
979− "description": "The DFP line item id associated with this deal. For features like CPD, buyers can retrieve the DFP line item for billing reconciliation.",
980− "format": "int64"
981− },
982− "originalContractedQuantity": {
983− "type": "string",
984− "description": "The original contracted quantity (# impressions) for this deal. To ensure delivery, sometimes the publisher will book the deal with a impression buffer, such that guaranteed_looks is greater than the contracted quantity. However clients are billed using the original contracted quantity.",
985− "format": "int64"
986− },
987− "price": {
988− "$ref": "Price",
989− "description": "The original reservation price for the deal, if the currency code is different from the one used in negotiation."
990− }
991− }
992− },
993− "DealTermsNonGuaranteedAuctionTerms": {
994− "id": "DealTermsNonGuaranteedAuctionTerms",
995− "type": "object",
996− "properties": {
997− "autoOptimizePrivateAuction": {
998− "type": "boolean",
999− "description": "True if open auction buyers are allowed to compete with invited buyers in this private auction (buyer-readonly)."
1000− },
1001− "reservePricePerBuyers": {
1002− "type": "array",
1003− "description": "Reserve price for the specified buyer.",
1004− "items": {
1005− "$ref": "PricePerBuyer"
1006− }
1007− }
1008− }
1009− },
1010− "DealTermsNonGuaranteedFixedPriceTerms": {
1011− "id": "DealTermsNonGuaranteedFixedPriceTerms",
1012− "type": "object",
1013− "properties": {
1014− "fixedPrices": {
1015− "type": "array",
1016− "description": "Fixed price for the specified buyer.",
1017− "items": {
1018− "$ref": "PricePerBuyer"
1019− }
1020− }
1021− }
1022− },
1023− "DealTermsRubiconNonGuaranteedTerms": {
1024− "id": "DealTermsRubiconNonGuaranteedTerms",
1025− "type": "object",
1026− "properties": {
1027− "priorityPrice": {
1028− "$ref": "Price",
1029− "description": "Optional price for Rubicon priority access in the auction."
1030− },
1031− "standardPrice": {
1032− "$ref": "Price",
1033− "description": "Optional price for Rubicon standard access in the auction."
1034− }
1035− }
1036− },
1037− "DeleteOrderDealsRequest": {
1038− "id": "DeleteOrderDealsRequest",
1039− "type": "object",
1040− "properties": {
1041− "dealIds": {
1042− "type": "array",
1043− "description": "List of deals to delete for a given proposal",
1044− "items": {
1045− "type": "string"
1046− }
2026+ "CreativesList": {
2027+ "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.",
2028+ "id": "CreativesList",
2029+ "properties": {
2030+ "items": {
2031+ "description": "A list of creatives.",
2032+ "items": {
2033+ "$ref": "Creative"
2034+ },
2035+ "type": "array"
2036+ },
2037+ "kind": {
2038+ "default": "adexchangebuyer#creativesList",
2039+ "description": "Resource type.",
2040+ "type": "string"
2041+ },
2042+ "nextPageToken": {
2043+ "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
2044+ "type": "string"
2045+ }
2046+ },
2047+ "type": "object"
10472048 },
1048− "proposalRevisionNumber": {
1049− "type": "string",
1050− "description": "The last known proposal revision number.",
1051− "format": "int64"
2049+ "DealServingMetadata": {
2050+ "id": "DealServingMetadata",
2051+ "properties": {
2052+ "alcoholAdsAllowed": {
2053+ "description": "True if alcohol ads are allowed for this deal (read-only). This field is only populated when querying for finalized orders using the method GetFinalizedOrderDeals",
2054+ "type": "boolean"
2055+ },
2056+ "dealPauseStatus": {
2057+ "$ref": "DealServingMetadataDealPauseStatus",
2058+ "description": "Tracks which parties (if any) have paused a deal. (readonly, except via PauseResumeOrderDeals action)"
2059+ }
2060+ },
2061+ "type": "object"
10522062 },
1053− "updateAction": {
1054− "type": "string",
1055− "description": "Indicates an optional action to take on the proposal"
1056− }
1057− }
1058− },
1059− "DeleteOrderDealsResponse": {
1060− "id": "DeleteOrderDealsResponse",
1061− "type": "object",
1062− "properties": {
1063− "deals": {
1064− "type": "array",
1065− "description": "List of deals deleted (in the same proposal as passed in the request)",
1066− "items": {
1067− "$ref": "MarketplaceDeal"
1068− }
1069− },
1070− "proposalRevisionNumber": {
1071− "type": "string",
1072− "description": "The updated revision number for the proposal.",
1073− "format": "int64"
1074− }
1075− }
1076− },
1077− "DeliveryControl": {
1078− "id": "DeliveryControl",
1079− "type": "object",
1080− "properties": {
1081− "creativeBlockingLevel": {
1082− "type": "string"
1083− },
1084− "deliveryRateType": {
1085− "type": "string"
1086− },
1087− "frequencyCaps": {
1088− "type": "array",
1089− "items": {
1090− "$ref": "DeliveryControlFrequencyCap"
1091− }
1092− }
1093− }
1094− },
1095− "DeliveryControlFrequencyCap": {
1096− "id": "DeliveryControlFrequencyCap",
1097− "type": "object",
1098− "properties": {
1099− "maxImpressions": {
1100− "type": "integer",
1101− "format": "int32"
1102− },
1103− "numTimeUnits": {
1104− "type": "integer",
1105− "format": "int32"
1106− },
1107− "timeUnitType": {
1108− "type": "string"
1109− }
1110− }
1111− },
1112− "Dimension": {
1113− "id": "Dimension",
1114− "type": "object",
1115− "description": "This message carries publisher provided breakdown. E.g. {dimension_type: 'COUNTRY', [{dimension_value: {id: 1, name: 'US'}}, {dimension_value: {id: 2, name: 'UK'}}]}",
1116− "properties": {
1117− "dimensionType": {
1118− "type": "string"
1119− },
1120− "dimensionValues": {
1121− "type": "array",
1122− "items": {
1123− "$ref": "DimensionDimensionValue"
1124− }
1125− }
1126− }
1127− },
1128− "DimensionDimensionValue": {
1129− "id": "DimensionDimensionValue",
1130− "type": "object",
1131− "description": "Value of the dimension.",
1132− "properties": {
1133− "id": {
1134− "type": "integer",
1135− "description": "Id of the dimension.",
1136− "format": "int32"
1137− },
1138− "name": {
1139− "type": "string",
1140− "description": "Name of the dimension mainly for debugging purposes, except for the case of CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids."
1141− },
1142− "percentage": {
1143− "type": "integer",
1144− "description": "Percent of total impressions for a dimension type. e.g. {dimension_type: 'GENDER', [{dimension_value: {id: 1, name: 'MALE', percentage: 60}}]} Gender MALE is 60% of all impressions which have gender.",
1145− "format": "int32"
1146− }
1147− }
1148− },
1149− "EditAllOrderDealsRequest": {
1150− "id": "EditAllOrderDealsRequest",
1151− "type": "object",
1152− "properties": {
1153− "deals": {
1154− "type": "array",
1155− "description": "List of deals to edit. Service may perform 3 different operations based on comparison of deals in this list vs deals already persisted in database: 1. Add new deal to proposal If a deal in this list does not exist in the proposal, the service will create a new deal and add it to the proposal. Validation will follow AddOrderDealsRequest. 2. Update existing deal in the proposal If a deal in this list already exist in the proposal, the service will update that existing deal to this new deal in the request. Validation will follow UpdateOrderDealsRequest. 3. Delete deals from the proposal (just need the id) If a existing deal in the proposal is not present in this list, the service will delete that deal from the proposal. Validation will follow DeleteOrderDealsRequest.",
1156− "items": {
1157− "$ref": "MarketplaceDeal"
1158− }
1159− },
1160− "proposal": {
1161− "$ref": "Proposal",
1162− "description": "If specified, also updates the proposal in the batch transaction. This is useful when the proposal and the deals need to be updated in one transaction."
1163− },
1164− "proposalRevisionNumber": {
1165− "type": "string",
1166− "description": "The last known revision number for the proposal.",
1167− "format": "int64"
1168− },
1169− "updateAction": {
1170− "type": "string",
1171− "description": "Indicates an optional action to take on the proposal"
1172− }
1173− }
1174− },
1175− "EditAllOrderDealsResponse": {
1176− "id": "EditAllOrderDealsResponse",
1177− "type": "object",
1178− "properties": {
1179− "deals": {
1180− "type": "array",
1181− "description": "List of all deals in the proposal after edit.",
1182− "items": {
1183− "$ref": "MarketplaceDeal"
1184− }
1185− },
1186− "orderRevisionNumber": {
1187− "type": "string",
1188− "description": "The latest revision number after the update has been applied.",
1189− "format": "int64"
1190− }
1191− }
1192− },
1193− "GetOffersResponse": {
1194− "id": "GetOffersResponse",
1195− "type": "object",
1196− "properties": {
1197− "products": {
1198− "type": "array",
1199− "description": "The returned list of products.",
1200− "items": {
1201− "$ref": "Product"
1202− }
1203− }
1204− }
1205− },
1206− "GetOrderDealsResponse": {
1207− "id": "GetOrderDealsResponse",
1208− "type": "object",
1209− "properties": {
1210− "deals": {
1211− "type": "array",
1212− "description": "List of deals for the proposal",
1213− "items": {
1214− "$ref": "MarketplaceDeal"
1215− }
1216− }
1217− }
1218− },
1219− "GetOrderNotesResponse": {
1220− "id": "GetOrderNotesResponse",
1221− "type": "object",
1222− "properties": {
1223− "notes": {
1224− "type": "array",
1225− "description": "The list of matching notes. The notes for a proposal are ordered from oldest to newest. If the notes span multiple proposals, they will be grouped by proposal, with the notes for the most recently modified proposal appearing first.",
1226− "items": {
1227− "$ref": "MarketplaceNote"
1228− }
1229− }
1230− }
1231− },
1232− "GetOrdersResponse": {
1233− "id": "GetOrdersResponse",
1234− "type": "object",
1235− "properties": {
1236− "proposals": {
1237− "type": "array",
1238− "description": "The list of matching proposals.",
1239− "items": {
1240− "$ref": "Proposal"
1241− }
1242− }
1243− }
1244− },
1245− "GetPublisherProfilesByAccountIdResponse": {
1246− "id": "GetPublisherProfilesByAccountIdResponse",
1247− "type": "object",
1248− "properties": {
1249− "profiles": {
1250− "type": "array",
1251− "description": "Profiles for the requested publisher",
1252− "items": {
1253− "$ref": "PublisherProfileApiProto"
1254− }
1255− }
1256− }
1257− },
1258− "MarketplaceDeal": {
1259− "id": "MarketplaceDeal",
1260− "type": "object",
1261− "description": "A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.",
1262− "properties": {
1263− "buyerPrivateData": {
1264− "$ref": "PrivateData",
1265− "description": "Buyer private data (hidden from seller)."
1266− },
1267− "creationTimeMs": {
1268− "type": "string",
1269− "description": "The time (ms since epoch) of the deal creation. (readonly)",
1270− "format": "int64"
1271− },
1272− "creativePreApprovalPolicy": {
1273− "type": "string",
1274− "description": "Specifies the creative pre-approval policy (buyer-readonly)"
1275− },
1276− "creativeSafeFrameCompatibility": {
1277− "type": "string",
1278− "description": "Specifies whether the creative is safeFrame compatible (buyer-readonly)"
1279− },
1280− "dealId": {
1281− "type": "string",
1282− "description": "A unique deal-id for the deal (readonly)."
1283− },
1284− "dealServingMetadata": {
1285− "$ref": "DealServingMetadata",
1286− "description": "Metadata about the serving status of this deal (readonly, writes via custom actions)"
1287− },
1288− "deliveryControl": {
1289− "$ref": "DeliveryControl",
1290− "description": "The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension."
1291− },
1292− "externalDealId": {
1293− "type": "string",
1294− "description": "The external deal id assigned to this deal once the deal is finalized. This is the deal-id that shows up in serving/reporting etc. (readonly)"
1295− },
1296− "flightEndTimeMs": {
1297− "type": "string",
1298− "description": "Proposed flight end time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)",
1299− "format": "int64"
1300− },
1301− "flightStartTimeMs": {
1302− "type": "string",
1303− "description": "Proposed flight start time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)",
1304− "format": "int64"
1305− },
1306− "inventoryDescription": {
1307− "type": "string",
1308− "description": "Description for the deal terms. (buyer-readonly)"
1309− },
1310− "isRfpTemplate": {
1311− "type": "boolean",
1312− "description": "Indicates whether the current deal is a RFP template. RFP template is created by buyer and not based on seller created products."
1313− },
1314− "kind": {
1315− "type": "string",
1316− "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceDeal\".",
1317− "default": "adexchangebuyer#marketplaceDeal"
1318− },
1319− "lastUpdateTimeMs": {
1320− "type": "string",
1321− "description": "The time (ms since epoch) when the deal was last updated. (readonly)",
1322− "format": "int64"
1323− },
1324− "name": {
1325− "type": "string",
1326− "description": "The name of the deal. (updatable)"
1327− },
1328− "productId": {
1329− "type": "string",
1330− "description": "The product-id from which this deal was created. (readonly, except on create)"
1331− },
1332− "productRevisionNumber": {
1333− "type": "string",
1334− "description": "The revision number of the product that the deal was created from (readonly, except on create)",
1335− "format": "int64"
1336− },
1337− "programmaticCreativeSource": {
1338− "type": "string",
1339− "description": "Specifies the creative source for programmatic deals, PUBLISHER means creative is provided by seller and ADVERTISR means creative is provided by buyer. (buyer-readonly)"
1340− },
1341− "proposalId": {
1342− "type": "string"
1343− },
1344− "sellerContacts": {
1345− "type": "array",
1346− "description": "Optional Seller contact information for the deal (buyer-readonly)",
1347− "items": {
1348− "$ref": "ContactInformation"
1349− }
1350− },
1351− "sharedTargetings": {
1352− "type": "array",
1353− "description": "The shared targeting visible to buyers and sellers. Each shared targeting entity is AND'd together. (updatable)",
1354− "items": {
1355− "$ref": "SharedTargeting"
1356− }
1357− },
1358− "syndicationProduct": {
1359− "type": "string",
1360− "description": "The syndication product associated with the deal. (readonly, except on create)"
1361− },
1362− "terms": {
1363− "$ref": "DealTerms",
1364− "description": "The negotiable terms of the deal. (updatable)"
1365− },
1366− "webPropertyCode": {
1367− "type": "string"
1368− }
1369− }
1370− },
1371− "MarketplaceDealParty": {
1372− "id": "MarketplaceDealParty",
1373− "type": "object",
1374− "properties": {
1375− "buyer": {
1376− "$ref": "Buyer",
1377− "description": "The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party."
1378− },
1379− "seller": {
1380− "$ref": "Seller",
1381− "description": "The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party."
1382− }
1383− }
1384− },
1385− "MarketplaceLabel": {
1386− "id": "MarketplaceLabel",
1387− "type": "object",
1388− "properties": {
1389− "accountId": {
1390− "type": "string",
1391− "description": "The accountId of the party that created the label."
1392− },
1393− "createTimeMs": {
1394− "type": "string",
1395− "description": "The creation time (in ms since epoch) for the label.",
1396− "format": "int64"
1397− },
1398− "deprecatedMarketplaceDealParty": {
1399− "$ref": "MarketplaceDealParty",
1400− "description": "Information about the party that created the label."
1401− },
1402− "label": {
1403− "type": "string",
1404− "description": "The label to use."
1405− }
1406− }
1407− },
1408− "MarketplaceNote": {
1409− "id": "MarketplaceNote",
1410− "type": "object",
1411− "description": "A proposal is associated with a bunch of notes which may optionally be associated with a deal and/or revision number.",
1412− "properties": {
1413− "creatorRole": {
1414− "type": "string",
1415− "description": "The role of the person (buyer/seller) creating the note. (readonly)"
1416− },
1417− "dealId": {
1418− "type": "string",
1419− "description": "Notes can optionally be associated with a deal. (readonly, except on create)"
1420− },
1421− "kind": {
1422− "type": "string",
1423− "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceNote\".",
1424− "default": "adexchangebuyer#marketplaceNote"
1425− },
1426− "note": {
1427− "type": "string",
1428− "description": "The actual note to attach. (readonly, except on create)"
1429− },
1430− "noteId": {
1431− "type": "string",
1432− "description": "The unique id for the note. (readonly)"
1433− },
1434− "proposalId": {
1435− "type": "string",
1436− "description": "The proposalId that a note is attached to. (readonly)"
1437− },
1438− "proposalRevisionNumber": {
1439− "type": "string",
1440− "description": "If the note is associated with a proposal revision number, then store that here. (readonly, except on create)",
1441− "format": "int64"
1442− },
1443− "timestampMs": {
1444− "type": "string",
1445− "description": "The timestamp (ms since epoch) that this note was created. (readonly)",
1446− "format": "int64"
1447− }
1448− }
1449− },
1450− "PerformanceReport": {
1451− "id": "PerformanceReport",
1452− "type": "object",
1453− "description": "The configuration data for an Ad Exchange performance report list.",
1454− "properties": {
1455− "bidRate": {
1456− "type": "number",
1457− "description": "The number of bid responses with an ad.",
1458− "format": "double"
1459− },
1460− "bidRequestRate": {
1461− "type": "number",
1462− "description": "The number of bid requests sent to your bidder.",
1463− "format": "double"
1464− },
1465− "calloutStatusRate": {
1466− "type": "array",
1467− "description": "Rate of various prefiltering statuses per match. Please refer to the callout-status-codes.txt file for different statuses.",
1468− "items": {
1469− "type": "any"
1470− }
1471− },
1472− "cookieMatcherStatusRate": {
1473− "type": "array",
1474− "description": "Average QPS for cookie matcher operations.",
1475− "items": {
1476− "type": "any"
1477− }
1478− },
1479− "creativeStatusRate": {
1480− "type": "array",
1481− "description": "Rate of ads with a given status. Please refer to the creative-status-codes.txt file for different statuses.",
1482− "items": {
1483− "type": "any"
1484− }
1485− },
1486− "filteredBidRate": {
1487− "type": "number",
1488− "description": "The number of bid responses that were filtered due to a policy violation or other errors.",
1489− "format": "double"
1490− },
1491− "hostedMatchStatusRate": {
1492− "type": "array",
1493− "description": "Average QPS for hosted match operations.",
1494− "items": {
1495− "type": "any"
1496− }
1497− },
1498− "inventoryMatchRate": {
1499− "type": "number",
1500− "description": "The number of potential queries based on your pretargeting settings.",
1501− "format": "double"
1502− },
1503− "kind": {
1504− "type": "string",
1505− "description": "Resource type.",
1506− "default": "adexchangebuyer#performanceReport"
1507− },
1508− "latency50thPercentile": {
1509− "type": "number",
1510− "description": "The 50th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.",
1511− "format": "double"
1512− },
1513− "latency85thPercentile": {
1514− "type": "number",
1515− "description": "The 85th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.",
1516− "format": "double"
1517− },
1518− "latency95thPercentile": {
1519− "type": "number",
1520− "description": "The 95th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.",
1521− "format": "double"
1522− },
1523− "noQuotaInRegion": {
1524− "type": "number",
1525− "description": "Rate of various quota account statuses per quota check.",
1526− "format": "double"
1527− },
1528− "outOfQuota": {
1529− "type": "number",
1530− "description": "Rate of various quota account statuses per quota check.",
1531− "format": "double"
1532− },
1533− "pixelMatchRequests": {
1534− "type": "number",
1535− "description": "Average QPS for pixel match requests from clients.",
1536− "format": "double"
1537− },
1538− "pixelMatchResponses": {
1539− "type": "number",
1540− "description": "Average QPS for pixel match responses from clients.",
1541− "format": "double"
1542− },
1543− "quotaConfiguredLimit": {
1544− "type": "number",
1545− "description": "The configured quota limits for this account.",
1546− "format": "double"
1547− },
1548− "quotaThrottledLimit": {
1549− "type": "number",
1550− "description": "The throttled quota limits for this account.",
1551− "format": "double"
1552− },
1553− "region": {
1554− "type": "string",
1555− "description": "The trading location of this data."
1556− },
1557− "successfulRequestRate": {
1558− "type": "number",
1559− "description": "The number of properly formed bid responses received by our servers within the deadline.",
1560− "format": "double"
1561− },
1562− "timestamp": {
1563− "type": "string",
1564− "description": "The unix timestamp of the starting time of this performance data.",
1565− "format": "int64"
1566− },
1567− "unsuccessfulRequestRate": {
1568− "type": "number",
1569− "description": "The number of bid responses that were unsuccessful due to timeouts, incorrect formatting, etc.",
1570− "format": "double"
1571− }
1572− }
1573− },
1574− "PerformanceReportList": {
1575− "id": "PerformanceReportList",
1576− "type": "object",
1577− "description": "The configuration data for an Ad Exchange performance report list.",
1578− "properties": {
1579− "kind": {
1580− "type": "string",
1581− "description": "Resource type.",
1582− "default": "adexchangebuyer#performanceReportList"
2063+ "DealServingMetadataDealPauseStatus": {
2064+ "description": "Tracks which parties (if any) have paused a deal. The deal is considered paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused or the has_seller_paused bits can be set independently.",
2065+ "id": "DealServingMetadataDealPauseStatus",
2066+ "properties": {
2067+ "buyerPauseReason": {
2068+ "type": "string"
2069+ },
2070+ "firstPausedBy": {
2071+ "description": "If the deal is paused, records which party paused the deal first.",
2072+ "type": "string"
2073+ },
2074+ "hasBuyerPaused": {
2075+ "type": "boolean"
2076+ },
2077+ "hasSellerPaused": {
2078+ "type": "boolean"
2079+ },
2080+ "sellerPauseReason": {
2081+ "type": "string"
2082+ }
2083+ },
2084+ "type": "object"
15832085 },
1584− "performanceReport": {
1585− "type": "array",
1586− "description": "A list of performance reports relevant for the account.",
1587− "items": {
1588− "$ref": "PerformanceReport"
1589− }
1590− }
1591− }
1592− },
1593− "PretargetingConfig": {
1594− "id": "PretargetingConfig",
1595− "type": "object",
1596− "properties": {
1597− "billingId": {
1598− "type": "string",
1599− "description": "The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.",
1600− "format": "int64"
1601− },
1602− "configId": {
1603− "type": "string",
1604− "description": "The config id; generated automatically. Leave this field blank for insert requests.",
1605− "format": "int64"
1606− },
1607− "configName": {
1608− "type": "string",
1609− "description": "The name of the config. Must be unique. Required for all requests."
1610− },
1611− "creativeType": {
1612− "type": "array",
1613− "description": "List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.",
1614− "items": {
1615− "type": "string"
1616− }
2086+ "DealTerms": {
2087+ "id": "DealTerms",
2088+ "properties": {
2089+ "brandingType": {
2090+ "description": "Visibilty of the URL in bid requests.",
2091+ "type": "string"
2092+ },
2093+ "crossListedExternalDealIdType": {
2094+ "description": "Indicates that this ExternalDealId exists under at least two different AdxInventoryDeals. Currently, the only case that the same ExternalDealId will exist is programmatic cross sell case.",
2095+ "type": "string"
2096+ },
2097+ "description": {
2098+ "description": "Description for the proposed terms of the deal.",
2099+ "type": "string"
2100+ },
2101+ "estimatedGrossSpend": {
2102+ "$ref": "Price",
2103+ "description": "Non-binding estimate of the estimated gross spend for this deal Can be set by buyer or seller."
2104+ },
2105+ "estimatedImpressionsPerDay": {
2106+ "description": "Non-binding estimate of the impressions served per day Can be set by buyer or seller.",
2107+ "format": "int64",
2108+ "type": "string"
2109+ },
2110+ "guaranteedFixedPriceTerms": {
2111+ "$ref": "DealTermsGuaranteedFixedPriceTerms",
2112+ "description": "The terms for guaranteed fixed price deals."
2113+ },
2114+ "nonGuaranteedAuctionTerms": {
2115+ "$ref": "DealTermsNonGuaranteedAuctionTerms",
2116+ "description": "The terms for non-guaranteed auction deals."
2117+ },
2118+ "nonGuaranteedFixedPriceTerms": {
2119+ "$ref": "DealTermsNonGuaranteedFixedPriceTerms",
2120+ "description": "The terms for non-guaranteed fixed price deals."
2121+ },
2122+ "rubiconNonGuaranteedTerms": {
2123+ "$ref": "DealTermsRubiconNonGuaranteedTerms",
2124+ "description": "The terms for rubicon non-guaranteed deals."
2125+ },
2126+ "sellerTimeZone": {
2127+ "description": "For deals with Cost Per Day billing, defines the timezone used to mark the boundaries of a day (buyer-readonly)",
2128+ "type": "string"
2129+ }
2130+ },
2131+ "type": "object"
16172132 },
1618− "dimensions": {
1619− "type": "array",
1620− "description": "Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.",
1621− "items": {
1622− "type": "object",
2133+ "DealTermsGuaranteedFixedPriceTerms": {
2134+ "id": "DealTermsGuaranteedFixedPriceTerms",
16232135 "properties": {
1624− "height": {
1625− "type": "string",
1626− "description": "Height in pixels.",
1627− "format": "int64"
1628− },
1629− "width": {
1630− "type": "string",
1631− "description": "Width in pixels.",
1632− "format": "int64"
1633− }
1634− }
1635− }
1636− },
1637− "excludedContentLabels": {
1638− "type": "array",
1639− "description": "Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.",
1640− "items": {
1641− "type": "string",
1642− "format": "int64"
1643− }
1644− },
1645− "excludedGeoCriteriaIds": {
1646− "type": "array",
1647− "description": "Requests containing any of these geo criteria ids will not match.",
1648− "items": {
1649− "type": "string",
1650− "format": "int64"
1651− }
1652− },
1653− "excludedPlacements": {
1654− "type": "array",
1655− "description": "Requests containing any of these placements will not match.",
1656− "items": {
1657− "type": "object",
2136+ "billingInfo": {
2137+ "$ref": "DealTermsGuaranteedFixedPriceTermsBillingInfo",
2138+ "description": "External billing info for this Deal. This field is relevant when external billing info such as price has a different currency code than DFP/AdX."
2139+ },
2140+ "fixedPrices": {
2141+ "description": "Fixed price for the specified buyer.",
2142+ "items": {
2143+ "$ref": "PricePerBuyer"
2144+ },
2145+ "type": "array"
2146+ },
2147+ "guaranteedImpressions": {
2148+ "description": "Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.",
2149+ "format": "int64",
2150+ "type": "string"
2151+ },
2152+ "guaranteedLooks": {
2153+ "description": "Count of guaranteed looks. Required for deal, optional for product. For CPD deals, buyer changes to guaranteed_looks will be ignored.",
2154+ "format": "int64",
2155+ "type": "string"
2156+ },
2157+ "minimumDailyLooks": {
2158+ "description": "Count of minimum daily looks for a CPD deal. For CPD deals, buyer should negotiate on this field instead of guaranteed_looks.",
2159+ "format": "int64",
2160+ "type": "string"
2161+ }
2162+ },
2163+ "type": "object"
2164+ },
2165+ "DealTermsGuaranteedFixedPriceTermsBillingInfo": {
2166+ "id": "DealTermsGuaranteedFixedPriceTermsBillingInfo",
16582167 "properties": {
1659− "token": {
1660− "type": "string",
1661− "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement."
1662− },
1663− "type": {
1664− "type": "string",
1665− "description": "The type of the placement."
1666− }
1667− }
1668− }
1669− },
1670− "excludedUserLists": {
1671− "type": "array",
1672− "description": "Requests containing any of these users list ids will not match.",
1673− "items": {
1674− "type": "string",
1675− "format": "int64"
1676− }
1677− },
1678− "excludedVerticals": {
1679− "type": "array",
1680− "description": "Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.",
1681− "items": {
1682− "type": "string",
1683− "format": "int64"
1684− }
1685− },
1686− "geoCriteriaIds": {
1687− "type": "array",
1688− "description": "Requests containing any of these geo criteria ids will match.",
1689− "items": {
1690− "type": "string",
1691− "format": "int64"
1692− }
1693− },
1694− "isActive": {
1695− "type": "boolean",
1696− "description": "Whether this config is active. Required for all requests."
1697− },
1698− "kind": {
1699− "type": "string",
1700− "description": "The kind of the resource, i.e. \"adexchangebuyer#pretargetingConfig\".",
1701− "default": "adexchangebuyer#pretargetingConfig"
1702− },
1703− "languages": {
1704− "type": "array",
1705− "description": "Request containing any of these language codes will match.",
1706− "items": {
1707− "type": "string"
1708− }
1709− },
1710− "minimumViewabilityDecile": {
1711− "type": "integer",
1712− "description": "Requests where the predicted viewability is below the specified decile will not match. E.g. if the buyer sets this value to 5, requests from slots where the predicted viewability is below 50% will not match. If the predicted viewability is unknown this field will be ignored.",
1713− "format": "int32"
1714− },
1715− "mobileCarriers": {
1716− "type": "array",
1717− "description": "Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.",
1718− "items": {
1719− "type": "string",
1720− "format": "int64"
1721− }
1722− },
1723− "mobileDevices": {
1724− "type": "array",
1725− "description": "Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.",
1726− "items": {
1727− "type": "string",
1728− "format": "int64"
1729− }
1730− },
1731− "mobileOperatingSystemVersions": {
1732− "type": "array",
1733− "description": "Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.",
1734− "items": {
1735− "type": "string",
1736− "format": "int64"
1737− }
1738− },
1739− "placements": {
1740− "type": "array",
1741− "description": "Requests containing any of these placements will match.",
1742− "items": {
1743− "type": "object",
2168+ "currencyConversionTimeMs": {
2169+ "description": "The timestamp (in ms since epoch) when the original reservation price for the deal was first converted to DFP currency. This is used to convert the contracted price into buyer's currency without discrepancy.",
2170+ "format": "int64",
2171+ "type": "string"
2172+ },
2173+ "dfpLineItemId": {
2174+ "description": "The DFP line item id associated with this deal. For features like CPD, buyers can retrieve the DFP line item for billing reconciliation.",
2175+ "format": "int64",
2176+ "type": "string"
2177+ },
2178+ "originalContractedQuantity": {
2179+ "description": "The original contracted quantity (# impressions) for this deal. To ensure delivery, sometimes the publisher will book the deal with a impression buffer, such that guaranteed_looks is greater than the contracted quantity. However clients are billed using the original contracted quantity.",
2180+ "format": "int64",
2181+ "type": "string"
2182+ },
2183+ "price": {
2184+ "$ref": "Price",
2185+ "description": "The original reservation price for the deal, if the currency code is different from the one used in negotiation."
2186+ }
2187+ },
2188+ "type": "object"
2189+ },
2190+ "DealTermsNonGuaranteedAuctionTerms": {
2191+ "id": "DealTermsNonGuaranteedAuctionTerms",
17442192 "properties": {
1745− "token": {
1746− "type": "string",
1747− "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement."
1748− },
1749− "type": {
1750− "type": "string",
1751− "description": "The type of the placement."
1752− }
1753− }
1754− }
2193+ "autoOptimizePrivateAuction": {
2194+ "description": "True if open auction buyers are allowed to compete with invited buyers in this private auction (buyer-readonly).",
2195+ "type": "boolean"
2196+ },
2197+ "reservePricePerBuyers": {
2198+ "description": "Reserve price for the specified buyer.",
2199+ "items": {
2200+ "$ref": "PricePerBuyer"
2201+ },
2202+ "type": "array"
2203+ }
2204+ },
2205+ "type": "object"
17552206 },
1756− "platforms": {
1757− "type": "array",
1758− "description": "Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.",
1759− "items": {
1760− "type": "string"
1761− }
1762− },
1763− "supportedCreativeAttributes": {
1764− "type": "array",
1765− "description": "Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.",
1766− "items": {
1767− "type": "string",
1768− "format": "int64"
1769− }
1770− },
1771− "userIdentifierDataRequired": {
1772− "type": "array",
1773− "description": "Requests containing the specified type of user data will match. Possible values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, which means the request has either a targetable cookie or an iOS IDFA.",
1774− "items": {
1775− "type": "string"
1776− }
1777− },
1778− "userLists": {
1779− "type": "array",
1780− "description": "Requests containing any of these user list ids will match.",
1781− "items": {
1782− "type": "string",
1783− "format": "int64"
1784− }
1785− },
1786− "vendorTypes": {
1787− "type": "array",
1788− "description": "Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.",
1789− "items": {
1790− "type": "string",
1791− "format": "int64"
1792− }
1793− },
1794− "verticals": {
1795− "type": "array",
1796− "description": "Requests containing any of these vertical ids will match.",
1797− "items": {
1798− "type": "string",
1799− "format": "int64"
1800− }
1801− },
1802− "videoPlayerSizes": {
1803− "type": "array",
1804− "description": "Video requests satisfying any of these player size constraints will match.",
1805− "items": {
1806− "type": "object",
2207+ "DealTermsNonGuaranteedFixedPriceTerms": {
2208+ "id": "DealTermsNonGuaranteedFixedPriceTerms",
18072209 "properties": {
1808− "aspectRatio": {
1809− "type": "string",
1810− "description": "The type of aspect ratio. Leave this field blank to match all aspect ratios."
1811− },
1812− "minHeight": {
1813− "type": "string",
1814− "description": "The minimum player height in pixels. Leave this field blank to match any player height.",
1815− "format": "int64"
1816− },
1817− "minWidth": {
1818− "type": "string",
1819− "description": "The minimum player width in pixels. Leave this field blank to match any player width.",
1820− "format": "int64"
1821− }
1822− }
1823− }
1824− }
1825− }
1826− },
1827− "PretargetingConfigList": {
1828− "id": "PretargetingConfigList",
1829− "type": "object",
1830− "properties": {
1831− "items": {
1832− "type": "array",
1833− "description": "A list of pretargeting configs",
1834− "items": {
1835− "$ref": "PretargetingConfig"
1836− }
1837− },
1838− "kind": {
1839− "type": "string",
1840− "description": "Resource type.",
1841− "default": "adexchangebuyer#pretargetingConfigList"
1842− }
1843− }
1844− },
1845− "Price": {
1846− "id": "Price",
1847− "type": "object",
1848− "properties": {
1849− "amountMicros": {
1850− "type": "number",
1851− "description": "The price value in micros.",
1852− "format": "double"
1853− },
1854− "currencyCode": {
1855− "type": "string",
1856− "description": "The currency code for the price."
1857− },
1858− "expectedCpmMicros": {
1859− "type": "number",
1860− "description": "In case of CPD deals, the expected CPM in micros.",
1861− "format": "double"
1862− },
1863− "pricingType": {
1864− "type": "string",
1865− "description": "The pricing type for the deal/product."
1866− }
1867− }
1868− },
1869− "PricePerBuyer": {
1870− "id": "PricePerBuyer",
1871− "type": "object",
1872− "description": "Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an product can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.",
1873− "properties": {
1874− "auctionTier": {
1875− "type": "string",
1876− "description": "Optional access type for this buyer."
1877− },
1878− "buyer": {
1879− "$ref": "Buyer",
1880− "description": "The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer)."
1881− },
1882− "price": {
1883− "$ref": "Price",
1884− "description": "The specified price"
1885− }
1886− }
1887− },
1888− "PrivateData": {
1889− "id": "PrivateData",
1890− "type": "object",
1891− "properties": {
1892− "referenceId": {
1893− "type": "string"
1894− },
1895− "referencePayload": {
1896− "type": "string",
1897− "format": "byte"
1898− }
1899− }
1900− },
1901− "Product": {
1902− "id": "Product",
1903− "type": "object",
1904− "description": "A product is segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps buyer know more about the inventory. Each field in a product can have one of the following setting:\n\n(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.",
1905− "properties": {
1906− "creationTimeMs": {
1907− "type": "string",
1908− "description": "Creation time in ms. since epoch (readonly)",
1909− "format": "int64"
1910− },
1911− "creatorContacts": {
1912− "type": "array",
1913− "description": "Optional contact information for the creator of this product. (buyer-readonly)",
1914− "items": {
1915− "$ref": "ContactInformation"
1916− }
1917− },
1918− "deliveryControl": {
1919− "$ref": "DeliveryControl",
1920− "description": "The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension."
1921− },
1922− "flightEndTimeMs": {
1923− "type": "string",
1924− "description": "The proposed end time for the deal (ms since epoch) (buyer-readonly)",
1925− "format": "int64"
1926− },
1927− "flightStartTimeMs": {
1928− "type": "string",
1929− "description": "Inventory availability dates. (times are in ms since epoch) The granularity is generally in the order of seconds. (buyer-readonly)",
1930− "format": "int64"
1931− },
1932− "hasCreatorSignedOff": {
1933− "type": "boolean",
1934− "description": "If the creator has already signed off on the product, then the buyer can finalize the deal by accepting the product as is. When copying to a proposal, if any of the terms are changed, then auto_finalize is automatically set to false."
1935− },
1936− "inventorySource": {
1937− "type": "string",
1938− "description": "What exchange will provide this inventory (readonly, except on create)."
1939− },
1940− "kind": {
1941− "type": "string",
1942− "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#product\".",
1943− "default": "adexchangebuyer#product"
1944− },
1945− "labels": {
1946− "type": "array",
1947− "description": "Optional List of labels for the product (optional, buyer-readonly).",
1948− "items": {
1949− "$ref": "MarketplaceLabel"
1950− }
1951− },
1952− "lastUpdateTimeMs": {
1953− "type": "string",
1954− "description": "Time of last update in ms. since epoch (readonly)",
1955− "format": "int64"
1956− },
1957− "legacyOfferId": {
1958− "type": "string",
1959− "description": "Optional legacy offer id if this offer is a preferred deal offer."
1960− },
1961− "marketplacePublisherProfileId": {
1962− "type": "string",
1963− "description": "Marketplace publisher profile Id. This Id differs from the regular publisher_profile_id in that 1. This is a new id, the old Id will be deprecated in 2017. 2. This id uniquely identifies a publisher profile by itself."
1964− },
1965− "name": {
1966− "type": "string",
1967− "description": "The name for this product as set by the seller. (buyer-readonly)"
1968− },
1969− "privateAuctionId": {
1970− "type": "string",
1971− "description": "Optional private auction id if this offer is a private auction offer."
1972− },
1973− "productId": {
1974− "type": "string",
1975− "description": "The unique id for the product (readonly)"
1976− },
1977− "publisherProfileId": {
1978− "type": "string",
1979− "description": "Id of the publisher profile for a given seller. A (seller.account_id, publisher_profile_id) pair uniquely identifies a publisher profile. Buyers can call the PublisherProfiles::List endpoint to get a list of publisher profiles for a given seller."
1980− },
1981− "publisherProvidedForecast": {
1982− "$ref": "PublisherProvidedForecast",
1983− "description": "Publisher self-provided forecast information."
1984− },
1985− "revisionNumber": {
1986− "type": "string",
1987− "description": "The revision number of the product. (readonly)",
1988− "format": "int64"
1989− },
1990− "seller": {
1991− "$ref": "Seller",
1992− "description": "Information about the seller that created this product (readonly, except on create)"
1993− },
1994− "sharedTargetings": {
1995− "type": "array",
1996− "description": "Targeting that is shared between the buyer and the seller. Each targeting criteria has a specified key and for each key there is a list of inclusion value or exclusion values. (buyer-readonly)",
1997− "items": {
1998− "$ref": "SharedTargeting"
1999− }
2000− },
2001− "state": {
2002− "type": "string",
2003− "description": "The state of the product. (buyer-readonly)"
2004− },
2005− "syndicationProduct": {
2006− "type": "string",
2007− "description": "The syndication product associated with the deal. (readonly, except on create)"
2008− },
2009− "terms": {
2010− "$ref": "DealTerms",
2011− "description": "The negotiable terms of the deal (buyer-readonly)"
2012− },
2013− "webPropertyCode": {
2014− "type": "string",
2015− "description": "The web property code for the seller. This field is meant to be copied over as is when creating deals."
2016− }
2017− }
2018− },
2019− "Proposal": {
2020− "id": "Proposal",
2021− "type": "object",
2022− "description": "Represents a proposal in the marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in a proposal can have one of the following setting:\n\n(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.",
2023− "properties": {
2024− "billedBuyer": {
2025− "$ref": "Buyer",
2026− "description": "Reference to the buyer that will get billed for this proposal. (readonly)"
2027− },
2028− "buyer": {
2029− "$ref": "Buyer",
2030− "description": "Reference to the buyer on the proposal. (readonly, except on create)"
2031− },
2032− "buyerContacts": {
2033− "type": "array",
2034− "description": "Optional contact information of the buyer. (seller-readonly)",
2035− "items": {
2036− "$ref": "ContactInformation"
2037− }
2038− },
2039− "buyerPrivateData": {
2040− "$ref": "PrivateData",
2041− "description": "Private data for buyer. (hidden from seller)."
2042− },
2043− "dbmAdvertiserIds": {
2044− "type": "array",
2045− "description": "IDs of DBM advertisers permission to this proposal.",
2046− "items": {
2047− "type": "string"
2048− }
2049− },
2050− "hasBuyerSignedOff": {
2051− "type": "boolean",
2052− "description": "When an proposal is in an accepted state, indicates whether the buyer has signed off. Once both sides have signed off on a deal, the proposal can be finalized by the seller. (seller-readonly)"
2053− },
2054− "hasSellerSignedOff": {
2055− "type": "boolean",
2056− "description": "When an proposal is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the proposal can be finalized by the seller. (buyer-readonly)"
2057− },
2058− "inventorySource": {
2059− "type": "string",
2060− "description": "What exchange will provide this inventory (readonly, except on create)."
2061− },
2062− "isRenegotiating": {
2063− "type": "boolean",
2064− "description": "True if the proposal is being renegotiated (readonly)."
2065− },
2066− "isSetupComplete": {
2067− "type": "boolean",
2068− "description": "True, if the buyside inventory setup is complete for this proposal. (readonly, except via OrderSetupCompleted action)"
2069− },
2070− "kind": {
2071− "type": "string",
2072− "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#proposal\".",
2073− "default": "adexchangebuyer#proposal"
2074− },
2075− "labels": {
2076− "type": "array",
2077− "description": "List of labels associated with the proposal. (readonly)",
2078− "items": {
2079− "$ref": "MarketplaceLabel"
2080− }
2081− },
2082− "lastUpdaterOrCommentorRole": {
2083− "type": "string",
2084− "description": "The role of the last user that either updated the proposal or left a comment. (readonly)"
2085− },
2086− "name": {
2087− "type": "string",
2088− "description": "The name for the proposal (updatable)"
2089− },
2090− "negotiationId": {
2091− "type": "string",
2092− "description": "Optional negotiation id if this proposal is a preferred deal proposal."
2093− },
2094− "originatorRole": {
2095− "type": "string",
2096− "description": "Indicates whether the buyer/seller created the proposal.(readonly)"
2097− },
2098− "privateAuctionId": {
2099− "type": "string",
2100− "description": "Optional private auction id if this proposal is a private auction proposal."
2101− },
2102− "proposalId": {
2103− "type": "string",
2104− "description": "The unique id of the proposal. (readonly)."
2105− },
2106− "proposalState": {
2107− "type": "string",
2108− "description": "The current state of the proposal. (readonly)"
2109− },
2110− "revisionNumber": {
2111− "type": "string",
2112− "description": "The revision number for the proposal (readonly).",
2113− "format": "int64"
2114− },
2115− "revisionTimeMs": {
2116− "type": "string",
2117− "description": "The time (ms since epoch) when the proposal was last revised (readonly).",
2118− "format": "int64"
2119− },
2120− "seller": {
2121− "$ref": "Seller",
2122− "description": "Reference to the seller on the proposal. (readonly, except on create)"
2123− },
2124− "sellerContacts": {
2125− "type": "array",
2126− "description": "Optional contact information of the seller (buyer-readonly).",
2127− "items": {
2128− "$ref": "ContactInformation"
2129− }
2130− }
2131− }
2132− },
2133− "PublisherProfileApiProto": {
2134− "id": "PublisherProfileApiProto",
2135− "type": "object",
2136− "properties": {
2137− "accountId": {
2138− "type": "string",
2139− "description": "The account id of the seller."
2140− },
2141− "audience": {
2142− "type": "string",
2143− "description": "Publisher provided info on its audience."
2144− },
2145− "buyerPitchStatement": {
2146− "type": "string",
2147− "description": "A pitch statement for the buyer"
2148− },
2149− "directContact": {
2150− "type": "string",
2151− "description": "Direct contact for the publisher profile."
2152− },
2153− "exchange": {
2154− "type": "string",
2155− "description": "Exchange where this publisher profile is from. E.g. AdX, Rubicon etc..."
2156− },
2157− "googlePlusLink": {
2158− "type": "string",
2159− "description": "Link to publisher's Google+ page."
2160− },
2161− "isParent": {
2162− "type": "boolean",
2163− "description": "True, if this is the parent profile, which represents all domains owned by the publisher."
2164− },
2165− "isPublished": {
2166− "type": "boolean",
2167− "description": "True, if this profile is published. Deprecated for state."
2168− },
2169− "kind": {
2170− "type": "string",
2171− "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#publisherProfileApiProto\".",
2172− "default": "adexchangebuyer#publisherProfileApiProto"
2173− },
2174− "logoUrl": {
2175− "type": "string",
2176− "description": "The url to the logo for the publisher."
2177− },
2178− "mediaKitLink": {
2179− "type": "string",
2180− "description": "The url for additional marketing and sales materials."
2181− },
2182− "name": {
2183− "type": "string"
2184− },
2185− "overview": {
2186− "type": "string",
2187− "description": "Publisher provided overview."
2188− },
2189− "profileId": {
2190− "type": "integer",
2191− "description": "The pair of (seller.account_id, profile_id) uniquely identifies a publisher profile for a given publisher.",
2192− "format": "int32"
2193− },
2194− "programmaticContact": {
2195− "type": "string",
2196− "description": "Programmatic contact for the publisher profile."
2197− },
2198− "publisherDomains": {
2199− "type": "array",
2200− "description": "The list of domains represented in this publisher profile. Empty if this is a parent profile.",
2201− "items": {
2202− "type": "string"
2203− }
2210+ "fixedPrices": {
2211+ "description": "Fixed price for the specified buyer.",
2212+ "items": {
2213+ "$ref": "PricePerBuyer"
2214+ },
2215+ "type": "array"
2216+ }
2217+ },
2218+ "type": "object"
22042219 },
2205− "publisherProfileId": {
2206− "type": "string",
2207− "description": "Unique Id for publisher profile."
2220+ "DealTermsRubiconNonGuaranteedTerms": {
2221+ "id": "DealTermsRubiconNonGuaranteedTerms",
2222+ "properties": {
2223+ "priorityPrice": {
2224+ "$ref": "Price",
2225+ "description": "Optional price for Rubicon priority access in the auction."
2226+ },
2227+ "standardPrice": {
2228+ "$ref": "Price",
2229+ "description": "Optional price for Rubicon standard access in the auction."
2230+ }
2231+ },
2232+ "type": "object"
22082233 },
2209− "publisherProvidedForecast": {
2210− "$ref": "PublisherProvidedForecast",
2211− "description": "Publisher provided forecasting information."
2234+ "DeleteOrderDealsRequest": {
2235+ "id": "DeleteOrderDealsRequest",
2236+ "properties": {
2237+ "dealIds": {
2238+ "description": "List of deals to delete for a given proposal",
2239+ "items": {
2240+ "type": "string"
2241+ },
2242+ "type": "array"
2243+ },
2244+ "proposalRevisionNumber": {
2245+ "description": "The last known proposal revision number.",
2246+ "format": "int64",
2247+ "type": "string"
2248+ },
2249+ "updateAction": {
2250+ "description": "Indicates an optional action to take on the proposal",
2251+ "type": "string"
2252+ }
2253+ },
2254+ "type": "object"
22122255 },
2213− "rateCardInfoLink": {
2214− "type": "string",
2215− "description": "Link to publisher rate card"
2256+ "DeleteOrderDealsResponse": {
2257+ "id": "DeleteOrderDealsResponse",
2258+ "properties": {
2259+ "deals": {
2260+ "description": "List of deals deleted (in the same proposal as passed in the request)",
2261+ "items": {
2262+ "$ref": "MarketplaceDeal"
2263+ },
2264+ "type": "array"
2265+ },
2266+ "proposalRevisionNumber": {
2267+ "description": "The updated revision number for the proposal.",
2268+ "format": "int64",
2269+ "type": "string"
2270+ }
2271+ },
2272+ "type": "object"
22162273 },
2217− "samplePageLink": {
2218− "type": "string",
2219− "description": "Link for a sample content page."
2274+ "DeliveryControl": {
2275+ "id": "DeliveryControl",
2276+ "properties": {
2277+ "creativeBlockingLevel": {
2278+ "type": "string"
2279+ },
2280+ "deliveryRateType": {
2281+ "type": "string"
2282+ },
2283+ "frequencyCaps": {
2284+ "items": {
2285+ "$ref": "DeliveryControlFrequencyCap"
2286+ },
2287+ "type": "array"
2288+ }
2289+ },
2290+ "type": "object"
22202291 },
2221− "seller": {
2222− "$ref": "Seller",
2223− "description": "Seller of the publisher profile."
2292+ "DeliveryControlFrequencyCap": {
2293+ "id": "DeliveryControlFrequencyCap",
2294+ "properties": {
2295+ "maxImpressions": {
2296+ "format": "int32",
2297+ "type": "integer"
2298+ },
2299+ "numTimeUnits": {
2300+ "format": "int32",
2301+ "type": "integer"
2302+ },
2303+ "timeUnitType": {
2304+ "type": "string"
2305+ }
2306+ },
2307+ "type": "object"
22242308 },
2225− "state": {
2226− "type": "string",
2227− "description": "State of the publisher profile."
2309+ "Dimension": {
2310+ "description": "This message carries publisher provided breakdown. E.g. {dimension_type: 'COUNTRY', [{dimension_value: {id: 1, name: 'US'}}, {dimension_value: {id: 2, name: 'UK'}}]}",
2311+ "id": "Dimension",
2312+ "properties": {
2313+ "dimensionType": {
2314+ "type": "string"
2315+ },
2316+ "dimensionValues": {
2317+ "items": {
2318+ "$ref": "DimensionDimensionValue"
2319+ },
2320+ "type": "array"
2321+ }
2322+ },
2323+ "type": "object"
22282324 },
2229− "topHeadlines": {
2230− "type": "array",
2231− "description": "Publisher provided key metrics and rankings.",
2232− "items": {
2233− "type": "string"
2234− }
2235− }
2236− }
2237− },
2238− "PublisherProvidedForecast": {
2239− "id": "PublisherProvidedForecast",
2240− "type": "object",
2241− "description": "This message carries publisher provided forecasting information.",
2242− "properties": {
2243− "dimensions": {
2244− "type": "array",
2245− "description": "Publisher provided dimensions. E.g. geo, sizes etc...",
2246− "items": {
2247− "$ref": "Dimension"
2248− }
2249− },
2250− "weeklyImpressions": {
2251− "type": "string",
2252− "description": "Publisher provided weekly impressions.",
2253− "format": "int64"
2254− },
2255− "weeklyUniques": {
2256− "type": "string",
2257− "description": "Publisher provided weekly uniques.",
2258− "format": "int64"
2259− }
2260− }
2261− },
2262− "Seller": {
2263− "id": "Seller",
2264− "type": "object",
2265− "properties": {
2266− "accountId": {
2267− "type": "string",
2268− "description": "The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the product."
2269− },
2270− "subAccountId": {
2271− "type": "string",
2272− "description": "Optional sub-account id for the seller."
2273− }
2274− }
2275− },
2276− "SharedTargeting": {
2277− "id": "SharedTargeting",
2278− "type": "object",
2279− "properties": {
2280− "exclusions": {
2281− "type": "array",
2282− "description": "The list of values to exclude from targeting. Each value is AND'd together.",
2283− "items": {
2284− "$ref": "TargetingValue"
2285− }
2286− },
2287− "inclusions": {
2288− "type": "array",
2289− "description": "The list of value to include as part of the targeting. Each value is OR'd together.",
2290− "items": {
2291− "$ref": "TargetingValue"
2292− }
2325+ "DimensionDimensionValue": {
2326+ "description": "Value of the dimension.",
2327+ "id": "DimensionDimensionValue",
2328+ "properties": {
2329+ "id": {
2330+ "description": "Id of the dimension.",
2331+ "format": "int32",
2332+ "type": "integer"
2333+ },
2334+ "name": {
2335+ "description": "Name of the dimension mainly for debugging purposes, except for the case of CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids.",
2336+ "type": "string"
2337+ },
2338+ "percentage": {
2339+ "description": "Percent of total impressions for a dimension type. e.g. {dimension_type: 'GENDER', [{dimension_value: {id: 1, name: 'MALE', percentage: 60}}]} Gender MALE is 60% of all impressions which have gender.",
2340+ "format": "int32",
2341+ "type": "integer"
2342+ }
2343+ },
2344+ "type": "object"
22932345 },
2294− "key": {
2295− "type": "string",
2296− "description": "The key representing the shared targeting criterion."
2297− }
2298− }
2299− },
2300− "TargetingValue": {
2301− "id": "TargetingValue",
2302− "type": "object",
2303− "properties": {
2304− "creativeSizeValue": {
2305− "$ref": "TargetingValueCreativeSize",
2306− "description": "The creative size value to exclude/include."
2307− },
2308− "dayPartTargetingValue": {
2309− "$ref": "TargetingValueDayPartTargeting",
2310− "description": "The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING."
2311− },
2312− "longValue": {
2313− "type": "string",
2314− "description": "The long value to exclude/include.",
2315− "format": "int64"
2316− },
2317− "stringValue": {
2318− "type": "string",
2319− "description": "The string value to exclude/include."
2320− }
2321− }
2322− },
2323− "TargetingValueCreativeSize": {
2324− "id": "TargetingValueCreativeSize",
2325− "type": "object",
2326− "properties": {
2327− "companionSizes": {
2328− "type": "array",
2329− "description": "For video size type, the list of companion sizes.",
2330− "items": {
2331− "$ref": "TargetingValueSize"
2332− }
2333− },
2334− "creativeSizeType": {
2335− "type": "string",
2336− "description": "The Creative size type."
2337− },
2338− "size": {
2339− "$ref": "TargetingValueSize",
2340− "description": "For regular or video creative size type, specifies the size of the creative."
2341− },
2342− "skippableAdType": {
2343− "type": "string",
2344− "description": "The skippable ad type for video size."
2345− }
2346− }
2347− },
2348− "TargetingValueDayPartTargeting": {
2349− "id": "TargetingValueDayPartTargeting",
2350− "type": "object",
2351− "properties": {
2352− "dayParts": {
2353− "type": "array",
2354− "items": {
2355− "$ref": "TargetingValueDayPartTargetingDayPart"
2356− }
2357− },
2358− "timeZoneType": {
2359− "type": "string"
2360− }
2361− }
2362− },
2363− "TargetingValueDayPartTargetingDayPart": {
2364− "id": "TargetingValueDayPartTargetingDayPart",
2365− "type": "object",
2366− "properties": {
2367− "dayOfWeek": {
2368− "type": "string"
2369− },
2370− "endHour": {
2371− "type": "integer",
2372− "format": "int32"
2373− },
2374− "endMinute": {
2375− "type": "integer",
2376− "format": "int32"
2377− },
2378− "startHour": {
2379− "type": "integer",
2380− "format": "int32"
2381− },
2382− "startMinute": {
2383− "type": "integer",
2384− "format": "int32"
2385− }
2386− }
2387− },
2388− "TargetingValueSize": {
2389− "id": "TargetingValueSize",
2390− "type": "object",
2391− "properties": {
2392− "height": {
2393− "type": "integer",
2394− "description": "The height of the creative.",
2395− "format": "int32"
2396− },
2397− "width": {
2398− "type": "integer",
2399− "description": "The width of the creative.",
2400− "format": "int32"
2401− }
2402− }
2403− },
2404− "UpdatePrivateAuctionProposalRequest": {
2405− "id": "UpdatePrivateAuctionProposalRequest",
2406− "type": "object",
2407− "properties": {
2408− "externalDealId": {
2409− "type": "string",
2410− "description": "The externalDealId of the deal to be updated."
2411− },
2412− "note": {
2413− "$ref": "MarketplaceNote",
2414− "description": "Optional note to be added."
2415− },
2416− "proposalRevisionNumber": {
2417− "type": "string",
2418− "description": "The current revision number of the proposal to be updated.",
2419− "format": "int64"
2420− },
2421− "updateAction": {
2422− "type": "string",
2423− "description": "The proposed action on the private auction proposal."
2424− }
2425− }
2426− }
2427− },
2428− "resources": {
2429− "accounts": {
2430− "methods": {
2431− "get": {
2432− "id": "adexchangebuyer.accounts.get",
2433− "path": "accounts/{id}",
2434− "httpMethod": "GET",
2435− "description": "Gets one account by ID.",
2436− "parameters": {
2437− "id": {
2438− "type": "integer",
2439− "description": "The account id",
2440− "required": true,
2441− "format": "int32",
2442− "location": "path"
2443− }
2444− },
2445− "parameterOrder": [
2446− "id"
2447− ],
2448− "response": {
2449− "$ref": "Account"
2450− },
2451− "scopes": [
2452− "https://www.googleapis.com/auth/adexchange.buyer"
2453− ]
2454− },
2455− "list": {
2456− "id": "adexchangebuyer.accounts.list",
2457− "path": "accounts",
2458− "httpMethod": "GET",
2459− "description": "Retrieves the authenticated user's list of accounts.",
2460− "response": {
2461− "$ref": "AccountsList"
2462− },
2463− "scopes": [
2464− "https://www.googleapis.com/auth/adexchange.buyer"
2465− ]
2466− },
2467− "patch": {
2468− "id": "adexchangebuyer.accounts.patch",
2469− "path": "accounts/{id}",
2470− "httpMethod": "PATCH",
2471− "description": "Updates an existing account. This method supports patch semantics.",
2472− "parameters": {
2473− "confirmUnsafeAccountChange": {
2474− "type": "boolean",
2475− "description": "Confirmation for erasing bidder and cookie matching urls.",
2476− "location": "query"
2346+ "EditAllOrderDealsRequest": {
2347+ "id": "EditAllOrderDealsRequest",
2348+ "properties": {
2349+ "deals": {
2350+ "description": "List of deals to edit. Service may perform 3 different operations based on comparison of deals in this list vs deals already persisted in database: 1. Add new deal to proposal If a deal in this list does not exist in the proposal, the service will create a new deal and add it to the proposal. Validation will follow AddOrderDealsRequest. 2. Update existing deal in the proposal If a deal in this list already exist in the proposal, the service will update that existing deal to this new deal in the request. Validation will follow UpdateOrderDealsRequest. 3. Delete deals from the proposal (just need the id) If a existing deal in the proposal is not present in this list, the service will delete that deal from the proposal. Validation will follow DeleteOrderDealsRequest.",
2351+ "items": {
2352+ "$ref": "MarketplaceDeal"
2353+ },
2354+ "type": "array"
2355+ },
2356+ "proposal": {
2357+ "$ref": "Proposal",
2358+ "description": "If specified, also updates the proposal in the batch transaction. This is useful when the proposal and the deals need to be updated in one transaction."
2359+ },
2360+ "proposalRevisionNumber": {
2361+ "description": "The last known revision number for the proposal.",
2362+ "format": "int64",
2363+ "type": "string"
2364+ },
2365+ "updateAction": {
2366+ "description": "Indicates an optional action to take on the proposal",
2367+ "type": "string"
2368+ }
24772369 },
2478− "id": {
2479− "type": "integer",
2480− "description": "The account id",
2481− "required": true,
2482− "format": "int32",
2483− "location": "path"
2484− }
2485− },
2486− "parameterOrder": [
2487− "id"
2488− ],
2489− "request": {
2490− "$ref": "Account"
2491− },
2492− "response": {
2493− "$ref": "Account"
2494− },
2495− "scopes": [
2496− "https://www.googleapis.com/auth/adexchange.buyer"
2497− ]
2498− },
2499− "update": {
2500− "id": "adexchangebuyer.accounts.update",
2501− "path": "accounts/{id}",
2502− "httpMethod": "PUT",
2503− "description": "Updates an existing account.",
2504− "parameters": {
2505− "confirmUnsafeAccountChange": {
2506− "type": "boolean",
2507− "description": "Confirmation for erasing bidder and cookie matching urls.",
2508− "location": "query"
2370+ "type": "object"
2371+ },
2372+ "EditAllOrderDealsResponse": {
2373+ "id": "EditAllOrderDealsResponse",
2374+ "properties": {
2375+ "deals": {
2376+ "description": "List of all deals in the proposal after edit.",
2377+ "items": {
2378+ "$ref": "MarketplaceDeal"
2379+ },
2380+ "type": "array"
2381+ },
2382+ "orderRevisionNumber": {
2383+ "description": "The latest revision number after the update has been applied.",
2384+ "format": "int64",
2385+ "type": "string"
2386+ }
25092387 },
2510− "id": {
2511− "type": "integer",
2512− "description": "The account id",
2513− "required": true,
2514− "format": "int32",
2515− "location": "path"
2516− }
2517− },
2518− "parameterOrder": [
2519− "id"
2520− ],
2521− "request": {
2522− "$ref": "Account"
2523− },
2524− "response": {
2525− "$ref": "Account"
2526− },
2527− "scopes": [
2528− "https://www.googleapis.com/auth/adexchange.buyer"
2529− ]
2530− }
2531− }
2532− },
2533− "billingInfo": {
2534− "methods": {
2535− "get": {
2536− "id": "adexchangebuyer.billingInfo.get",
2537− "path": "billinginfo/{accountId}",
2538− "httpMethod": "GET",
2539− "description": "Returns the billing information for one account specified by account ID.",
2540− "parameters": {
2541− "accountId": {
2542− "type": "integer",
2543− "description": "The account id.",
2544− "required": true,
2545− "format": "int32",
2546− "location": "path"
2547− }
2548− },
2549− "parameterOrder": [
2550− "accountId"
2551− ],
2552− "response": {
2553− "$ref": "BillingInfo"
2554− },
2555− "scopes": [
2556− "https://www.googleapis.com/auth/adexchange.buyer"
2557− ]
2558− },
2559− "list": {
2560− "id": "adexchangebuyer.billingInfo.list",
2561− "path": "billinginfo",
2562− "httpMethod": "GET",
2563− "description": "Retrieves a list of billing information for all accounts of the authenticated user.",
2564− "response": {
2565− "$ref": "BillingInfoList"
2566− },
2567− "scopes": [
2568− "https://www.googleapis.com/auth/adexchange.buyer"
2569− ]
2570− }
2571− }
2572− },
2573− "budget": {
2574− "methods": {
2575− "get": {
2576− "id": "adexchangebuyer.budget.get",
2577− "path": "billinginfo/{accountId}/{billingId}",
2578− "httpMethod": "GET",
2579− "description": "Returns the budget information for the adgroup specified by the accountId and billingId.",
2580− "parameters": {
2581− "accountId": {
2582− "type": "string",
2583− "description": "The account id to get the budget information for.",
2584− "required": true,
2585− "format": "int64",
2586− "location": "path"
2388+ "type": "object"
2389+ },
2390+ "GetOffersResponse": {
2391+ "id": "GetOffersResponse",
2392+ "properties": {
2393+ "products": {
2394+ "description": "The returned list of products.",
2395+ "items": {
2396+ "$ref": "Product"
2397+ },
2398+ "type": "array"
2399+ }
25872400 },
2588− "billingId": {
2589− "type": "string",
2590− "description": "The billing id to get the budget information for.",
2591− "required": true,
2592− "format": "int64",
2593− "location": "path"
2594− }
2595− },
2596− "parameterOrder": [
2597− "accountId",
2598− "billingId"
2599− ],
2600− "response": {
2601− "$ref": "Budget"
2602− },
2603− "scopes": [
2604− "https://www.googleapis.com/auth/adexchange.buyer"
2605− ]
2606− },
2607− "patch": {
2608− "id": "adexchangebuyer.budget.patch",
2609− "path": "billinginfo/{accountId}/{billingId}",
2610− "httpMethod": "PATCH",
2611− "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.",
2612− "parameters": {
2613− "accountId": {
2614− "type": "string",
2615− "description": "The account id associated with the budget being updated.",
2616− "required": true,
2617− "format": "int64",
2618− "location": "path"
2401+ "type": "object"
2402+ },
2403+ "GetOrderDealsResponse": {
2404+ "id": "GetOrderDealsResponse",
2405+ "properties": {
2406+ "deals": {
2407+ "description": "List of deals for the proposal",
2408+ "items": {
2409+ "$ref": "MarketplaceDeal"
2410+ },
2411+ "type": "array"
2412+ }
26192413 },
2620− "billingId": {
2621− "type": "string",
2622− "description": "The billing id associated with the budget being updated.",
2623− "required": true,
2624− "format": "int64",
2625− "location": "path"
2626− }
2627− },
2628− "parameterOrder": [
2629− "accountId",
2630− "billingId"
2631− ],
2632− "request": {
2633− "$ref": "Budget"
2634− },
2635− "response": {
2636− "$ref": "Budget"
2637− },
2638− "scopes": [
2639− "https://www.googleapis.com/auth/adexchange.buyer"
2640− ]
2641− },
2642− "update": {
2643− "id": "adexchangebuyer.budget.update",
2644− "path": "billinginfo/{accountId}/{billingId}",
2645− "httpMethod": "PUT",
2646− "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.",
2647− "parameters": {
2648− "accountId": {
2649− "type": "string",
2650− "description": "The account id associated with the budget being updated.",
2651− "required": true,
2652− "format": "int64",
2653− "location": "path"
2414+ "type": "object"
2415+ },
2416+ "GetOrderNotesResponse": {
2417+ "id": "GetOrderNotesResponse",
2418+ "properties": {
2419+ "notes": {
2420+ "description": "The list of matching notes. The notes for a proposal are ordered from oldest to newest. If the notes span multiple proposals, they will be grouped by proposal, with the notes for the most recently modified proposal appearing first.",
2421+ "items": {
2422+ "$ref": "MarketplaceNote"
2423+ },
2424+ "type": "array"
2425+ }
26542426 },
2655− "billingId": {
2656− "type": "string",
2657− "description": "The billing id associated with the budget being updated.",
2658− "required": true,
2659− "format": "int64",
2660− "location": "path"
2661− }
2662− },
2663− "parameterOrder": [
2664− "accountId",
2665− "billingId"
2666− ],
2667− "request": {
2668− "$ref": "Budget"
2669− },
2670− "response": {
2671− "$ref": "Budget"
2672− },
2673− "scopes": [
2674− "https://www.googleapis.com/auth/adexchange.buyer"
2675− ]
2676− }
2677− }
2678− },
2679− "creatives": {
2680− "methods": {
2681− "addDeal": {
2682− "id": "adexchangebuyer.creatives.addDeal",
2683− "path": "creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}",
2684− "httpMethod": "POST",
2685− "description": "Add a deal id association for the creative.",
2686− "parameters": {
2687− "accountId": {
2688− "type": "integer",
2689− "description": "The id for the account that will serve this creative.",
2690− "required": true,
2691− "format": "int32",
2692− "location": "path"
2427+ "type": "object"
2428+ },
2429+ "GetOrdersResponse": {
2430+ "id": "GetOrdersResponse",
2431+ "properties": {
2432+ "proposals": {
2433+ "description": "The list of matching proposals.",
2434+ "items": {
2435+ "$ref": "Proposal"
2436+ },
2437+ "type": "array"
2438+ }
26932439 },
2694− "buyerCreativeId": {
2695− "type": "string",
2696− "description": "The buyer-specific id for this creative.",
2697− "required": true,
2698− "location": "path"
2440+ "type": "object"
2441+ },
2442+ "GetPublisherProfilesByAccountIdResponse": {
2443+ "id": "GetPublisherProfilesByAccountIdResponse",
2444+ "properties": {
2445+ "profiles": {
2446+ "description": "Profiles for the requested publisher",
2447+ "items": {
2448+ "$ref": "PublisherProfileApiProto"
2449+ },
2450+ "type": "array"
2451+ }
26992452 },
2700− "dealId": {
2701− "type": "string",
2702− "description": "The id of the deal id to associate with this creative.",
2703− "required": true,
2704− "format": "int64",
2705− "location": "path"
2706− }
2707− },
2708− "parameterOrder": [
2709− "accountId",
2710− "buyerCreativeId",
2711− "dealId"
2712− ],
2713− "scopes": [
2714− "https://www.googleapis.com/auth/adexchange.buyer"
2715− ]
2716− },
2717− "get": {
2718− "id": "adexchangebuyer.creatives.get",
2719− "path": "creatives/{accountId}/{buyerCreativeId}",
2720− "httpMethod": "GET",
2721− "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.",
2722− "parameters": {
2723− "accountId": {
2724− "type": "integer",
2725− "description": "The id for the account that will serve this creative.",
2726− "required": true,
2727− "format": "int32",
2728− "location": "path"
2453+ "type": "object"
2454+ },
2455+ "MarketplaceDeal": {
2456+ "description": "A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.",
2457+ "id": "MarketplaceDeal",
2458+ "properties": {
2459+ "buyerPrivateData": {
2460+ "$ref": "PrivateData",
2461+ "description": "Buyer private data (hidden from seller)."
2462+ },
2463+ "creationTimeMs": {
2464+ "description": "The time (ms since epoch) of the deal creation. (readonly)",
2465+ "format": "int64",
2466+ "type": "string"
2467+ },
2468+ "creativePreApprovalPolicy": {
2469+ "description": "Specifies the creative pre-approval policy (buyer-readonly)",
2470+ "type": "string"
2471+ },
2472+ "creativeSafeFrameCompatibility": {
2473+ "description": "Specifies whether the creative is safeFrame compatible (buyer-readonly)",
2474+ "type": "string"
2475+ },
2476+ "dealId": {
2477+ "description": "A unique deal-id for the deal (readonly).",
2478+ "type": "string"
2479+ },
2480+ "dealServingMetadata": {
2481+ "$ref": "DealServingMetadata",
2482+ "description": "Metadata about the serving status of this deal (readonly, writes via custom actions)"
2483+ },
2484+ "deliveryControl": {
2485+ "$ref": "DeliveryControl",
2486+ "description": "The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension."
2487+ },
2488+ "externalDealId": {
2489+ "description": "The external deal id assigned to this deal once the deal is finalized. This is the deal-id that shows up in serving/reporting etc. (readonly)",
2490+ "type": "string"
2491+ },
2492+ "flightEndTimeMs": {
2493+ "description": "Proposed flight end time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)",
2494+ "format": "int64",
2495+ "type": "string"
2496+ },
2497+ "flightStartTimeMs": {
2498+ "description": "Proposed flight start time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)",
2499+ "format": "int64",
2500+ "type": "string"
2501+ },
2502+ "inventoryDescription": {
2503+ "description": "Description for the deal terms. (buyer-readonly)",
2504+ "type": "string"
2505+ },
2506+ "isRfpTemplate": {
2507+ "description": "Indicates whether the current deal is a RFP template. RFP template is created by buyer and not based on seller created products.",
2508+ "type": "boolean"
2509+ },
2510+ "isSetupComplete": {
2511+ "description": "True, if the buyside inventory setup is complete for this deal. (readonly, except via OrderSetupCompleted action)",
2512+ "type": "boolean"
2513+ },
2514+ "kind": {
2515+ "default": "adexchangebuyer#marketplaceDeal",
2516+ "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceDeal\".",
2517+ "type": "string"
2518+ },
2519+ "lastUpdateTimeMs": {
2520+ "description": "The time (ms since epoch) when the deal was last updated. (readonly)",
2521+ "format": "int64",
2522+ "type": "string"
2523+ },
2524+ "name": {
2525+ "description": "The name of the deal. (updatable)",
2526+ "type": "string"
2527+ },
2528+ "productId": {
2529+ "description": "The product-id from which this deal was created. (readonly, except on create)",
2530+ "type": "string"
2531+ },
2532+ "productRevisionNumber": {
2533+ "description": "The revision number of the product that the deal was created from (readonly, except on create)",
2534+ "format": "int64",
2535+ "type": "string"
2536+ },
2537+ "programmaticCreativeSource": {
2538+ "description": "Specifies the creative source for programmatic deals, PUBLISHER means creative is provided by seller and ADVERTISR means creative is provided by buyer. (buyer-readonly)",
2539+ "type": "string"
2540+ },
2541+ "proposalId": {
2542+ "type": "string"
2543+ },
2544+ "sellerContacts": {
2545+ "description": "Optional Seller contact information for the deal (buyer-readonly)",
2546+ "items": {
2547+ "$ref": "ContactInformation"
2548+ },
2549+ "type": "array"
2550+ },
2551+ "sharedTargetings": {
2552+ "description": "The shared targeting visible to buyers and sellers. Each shared targeting entity is AND'd together. (updatable)",
2553+ "items": {
2554+ "$ref": "SharedTargeting"
2555+ },
2556+ "type": "array"
2557+ },
2558+ "syndicationProduct": {
2559+ "description": "The syndication product associated with the deal. (readonly, except on create)",
2560+ "type": "string"
2561+ },
2562+ "terms": {
2563+ "$ref": "DealTerms",
2564+ "description": "The negotiable terms of the deal. (updatable)"
2565+ },
2566+ "webPropertyCode": {
2567+ "type": "string"
2568+ }
27292569 },
2730− "buyerCreativeId": {
2731− "type": "string",
2732− "description": "The buyer-specific id for this creative.",
2733− "required": true,
2734− "location": "path"
2735− }
2736− },
2737− "parameterOrder": [
2738− "accountId",
2739− "buyerCreativeId"
2740− ],
2741− "response": {
2742− "$ref": "Creative"
2743− },
2744− "scopes": [
2745− "https://www.googleapis.com/auth/adexchange.buyer"
2746− ]
2747− },
2748− "insert": {
2749− "id": "adexchangebuyer.creatives.insert",
2750− "path": "creatives",
2751− "httpMethod": "POST",
2752− "description": "Submit a new creative.",
2753− "request": {
2754− "$ref": "Creative"
2755− },
2756− "response": {
2757− "$ref": "Creative"
2758− },
2759− "scopes": [
2760− "https://www.googleapis.com/auth/adexchange.buyer"
2761− ]
2762− },
2763− "list": {
2764− "id": "adexchangebuyer.creatives.list",
2765− "path": "creatives",
2766− "httpMethod": "GET",
2767− "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.",
2768− "parameters": {
2769− "accountId": {
2770− "type": "integer",
2771− "description": "When specified, only creatives for the given account ids are returned.",
2772− "format": "int32",
2773− "repeated": true,
2774− "location": "query"
2570+ "type": "object"
2571+ },
2572+ "MarketplaceDealParty": {
2573+ "id": "MarketplaceDealParty",
2574+ "properties": {
2575+ "buyer": {
2576+ "$ref": "Buyer",
2577+ "description": "The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party."
2578+ },
2579+ "seller": {
2580+ "$ref": "Seller",
2581+ "description": "The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party."
2582+ }
27752583 },
2776− "buyerCreativeId": {
2777− "type": "string",
2778− "description": "When specified, only creatives for the given buyer creative ids are returned.",
2779− "repeated": true,
2780− "location": "query"
2584+ "type": "object"
2585+ },
2586+ "MarketplaceLabel": {
2587+ "id": "MarketplaceLabel",
2588+ "properties": {
2589+ "accountId": {
2590+ "description": "The accountId of the party that created the label.",
2591+ "type": "string"
2592+ },
2593+ "createTimeMs": {
2594+ "description": "The creation time (in ms since epoch) for the label.",
2595+ "format": "int64",
2596+ "type": "string"
2597+ },
2598+ "deprecatedMarketplaceDealParty": {
2599+ "$ref": "MarketplaceDealParty",
2600+ "description": "Information about the party that created the label."
2601+ },
2602+ "label": {
2603+ "description": "The label to use.",
2604+ "type": "string"
2605+ }
27812606 },
2782− "dealsStatusFilter": {
2783− "type": "string",
2784− "description": "When specified, only creatives having the given deals status are returned.",
2785− "enum": [
2786− "approved",
2787− "conditionally_approved",
2788− "disapproved",
2789− "not_checked"
2790− ],
2791− "enumDescriptions": [
2792− "Creatives which have been approved for serving on deals.",
2793− "Creatives which have been conditionally approved for serving on deals.",
2794− "Creatives which have been disapproved for serving on deals.",
2795− "Creatives whose deals status is not yet checked."
2796− ],
2797− "location": "query"
2607+ "type": "object"
2608+ },
2609+ "MarketplaceNote": {
2610+ "description": "A proposal is associated with a bunch of notes which may optionally be associated with a deal and/or revision number.",
2611+ "id": "MarketplaceNote",
2612+ "properties": {
2613+ "creatorRole": {
2614+ "description": "The role of the person (buyer/seller) creating the note. (readonly)",
2615+ "type": "string"
2616+ },
2617+ "dealId": {
2618+ "description": "Notes can optionally be associated with a deal. (readonly, except on create)",
2619+ "type": "string"
2620+ },
2621+ "kind": {
2622+ "default": "adexchangebuyer#marketplaceNote",
2623+ "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceNote\".",
2624+ "type": "string"
2625+ },
2626+ "note": {
2627+ "description": "The actual note to attach. (readonly, except on create)",
2628+ "type": "string"
2629+ },
2630+ "noteId": {
2631+ "description": "The unique id for the note. (readonly)",
2632+ "type": "string"
2633+ },
2634+ "proposalId": {
2635+ "description": "The proposalId that a note is attached to. (readonly)",
2636+ "type": "string"
2637+ },
2638+ "proposalRevisionNumber": {
2639+ "description": "If the note is associated with a proposal revision number, then store that here. (readonly, except on create)",
2640+ "format": "int64",
2641+ "type": "string"
2642+ },
2643+ "timestampMs": {
2644+ "description": "The timestamp (ms since epoch) that this note was created. (readonly)",
2645+ "format": "int64",
2646+ "type": "string"
2647+ }
27982648 },
2799− "maxResults": {
2800− "type": "integer",
2801− "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.",
2802− "format": "uint32",
2803− "minimum": "1",
2804− "maximum": "1000",
2805− "location": "query"
2649+ "type": "object"
2650+ },
2651+ "PerformanceReport": {
2652+ "description": "The configuration data for an Ad Exchange performance report list.",
2653+ "id": "PerformanceReport",
2654+ "properties": {
2655+ "bidRate": {
2656+ "description": "The number of bid responses with an ad.",
2657+ "format": "double",
2658+ "type": "number"
2659+ },
2660+ "bidRequestRate": {
2661+ "description": "The number of bid requests sent to your bidder.",
2662+ "format": "double",
2663+ "type": "number"
2664+ },
2665+ "calloutStatusRate": {
2666+ "description": "Rate of various prefiltering statuses per match. Please refer to the callout-status-codes.txt file for different statuses.",
2667+ "items": {
2668+ "type": "any"
2669+ },
2670+ "type": "array"
2671+ },
2672+ "cookieMatcherStatusRate": {
2673+ "description": "Average QPS for cookie matcher operations.",
2674+ "items": {
2675+ "type": "any"
2676+ },
2677+ "type": "array"
2678+ },
2679+ "creativeStatusRate": {
2680+ "description": "Rate of ads with a given status. Please refer to the creative-status-codes.txt file for different statuses.",
2681+ "items": {
2682+ "type": "any"
2683+ },
2684+ "type": "array"
2685+ },
2686+ "filteredBidRate": {
2687+ "description": "The number of bid responses that were filtered due to a policy violation or other errors.",
2688+ "format": "double",
2689+ "type": "number"
2690+ },
2691+ "hostedMatchStatusRate": {
2692+ "description": "Average QPS for hosted match operations.",
2693+ "items": {
2694+ "type": "any"
2695+ },
2696+ "type": "array"
2697+ },
2698+ "inventoryMatchRate": {
2699+ "description": "The number of potential queries based on your pretargeting settings.",
2700+ "format": "double",
2701+ "type": "number"
2702+ },
2703+ "kind": {
2704+ "default": "adexchangebuyer#performanceReport",
2705+ "description": "Resource type.",
2706+ "type": "string"
2707+ },
2708+ "latency50thPercentile": {
2709+ "description": "The 50th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.",
2710+ "format": "double",
2711+ "type": "number"
2712+ },
2713+ "latency85thPercentile": {
2714+ "description": "The 85th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.",
2715+ "format": "double",
2716+ "type": "number"
2717+ },
2718+ "latency95thPercentile": {
2719+ "description": "The 95th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.",
2720+ "format": "double",
2721+ "type": "number"
2722+ },
2723+ "noQuotaInRegion": {
2724+ "description": "Rate of various quota account statuses per quota check.",
2725+ "format": "double",
2726+ "type": "number"
2727+ },
2728+ "outOfQuota": {
2729+ "description": "Rate of various quota account statuses per quota check.",
2730+ "format": "double",
2731+ "type": "number"
2732+ },
2733+ "pixelMatchRequests": {
2734+ "description": "Average QPS for pixel match requests from clients.",
2735+ "format": "double",
2736+ "type": "number"
2737+ },
2738+ "pixelMatchResponses": {
2739+ "description": "Average QPS for pixel match responses from clients.",
2740+ "format": "double",
2741+ "type": "number"
2742+ },
2743+ "quotaConfiguredLimit": {
2744+ "description": "The configured quota limits for this account.",
2745+ "format": "double",
2746+ "type": "number"
2747+ },
2748+ "quotaThrottledLimit": {
2749+ "description": "The throttled quota limits for this account.",
2750+ "format": "double",
2751+ "type": "number"
2752+ },
2753+ "region": {
2754+ "description": "The trading location of this data.",
2755+ "type": "string"
2756+ },
2757+ "successfulRequestRate": {
2758+ "description": "The number of properly formed bid responses received by our servers within the deadline.",
2759+ "format": "double",
2760+ "type": "number"
2761+ },
2762+ "timestamp": {
2763+ "description": "The unix timestamp of the starting time of this performance data.",
2764+ "format": "int64",
2765+ "type": "string"
2766+ },
2767+ "unsuccessfulRequestRate": {
2768+ "description": "The number of bid responses that were unsuccessful due to timeouts, incorrect formatting, etc.",
2769+ "format": "double",
2770+ "type": "number"
2771+ }
28062772 },
2807− "openAuctionStatusFilter": {
2808− "type": "string",
2809− "description": "When specified, only creatives having the given open auction status are returned.",
2810− "enum": [
2811− "approved",
2812− "conditionally_approved",
2813− "disapproved",
2814− "not_checked"
2815− ],
2816− "enumDescriptions": [
2817− "Creatives which have been approved for serving on the open auction.",
2818− "Creatives which have been conditionally approved for serving on the open auction.",
2819− "Creatives which have been disapproved for serving on the open auction.",
2820− "Creatives whose open auction status is not yet checked."
2821− ],
2822− "location": "query"
2773+ "type": "object"
2774+ },
2775+ "PerformanceReportList": {
2776+ "description": "The configuration data for an Ad Exchange performance report list.",
2777+ "id": "PerformanceReportList",
2778+ "properties": {
2779+ "kind": {
2780+ "default": "adexchangebuyer#performanceReportList",
2781+ "description": "Resource type.",
2782+ "type": "string"
2783+ },
2784+ "performanceReport": {
2785+ "description": "A list of performance reports relevant for the account.",
2786+ "items": {
2787+ "$ref": "PerformanceReport"
2788+ },
2789+ "type": "array"
2790+ }
28232791 },
2824− "pageToken": {
2825− "type": "string",
2826− "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.",
2827− "location": "query"
2828− }
2829− },
2830− "response": {
2831− "$ref": "CreativesList"
2832− },
2833− "scopes": [
2834− "https://www.googleapis.com/auth/adexchange.buyer"
2835− ]
2836− },
2837− "listDeals": {
2838− "id": "adexchangebuyer.creatives.listDeals",
2839− "path": "creatives/{accountId}/{buyerCreativeId}/listDeals",
2840− "httpMethod": "GET",
2841− "description": "Lists the external deal ids associated with the creative.",
2842− "parameters": {
2843− "accountId": {
2844− "type": "integer",
2845− "description": "The id for the account that will serve this creative.",
2846− "required": true,
2847− "format": "int32",
2848− "location": "path"
2792+ "type": "object"
2793+ },
2794+ "PretargetingConfig": {
2795+ "id": "PretargetingConfig",
2796+ "properties": {
2797+ "billingId": {
2798+ "description": "The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.",
2799+ "format": "int64",
2800+ "type": "string"
2801+ },
2802+ "configId": {
2803+ "description": "The config id; generated automatically. Leave this field blank for insert requests.",
2804+ "format": "int64",
2805+ "type": "string"
2806+ },
2807+ "configName": {
2808+ "description": "The name of the config. Must be unique. Required for all requests.",
2809+ "type": "string"
2810+ },
2811+ "creativeType": {
2812+ "description": "List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.",
2813+ "items": {
2814+ "type": "string"
2815+ },
2816+ "type": "array"
2817+ },
2818+ "dimensions": {
2819+ "description": "Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.",
2820+ "items": {
2821+ "properties": {
2822+ "height": {
2823+ "description": "Height in pixels.",
2824+ "format": "int64",
2825+ "type": "string"
2826+ },
2827+ "width": {
2828+ "description": "Width in pixels.",
2829+ "format": "int64",
2830+ "type": "string"
2831+ }
2832+ },
2833+ "type": "object"
2834+ },
2835+ "type": "array"
2836+ },
2837+ "excludedContentLabels": {
2838+ "description": "Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.",
2839+ "items": {
2840+ "format": "int64",
2841+ "type": "string"
2842+ },
2843+ "type": "array"
2844+ },
2845+ "excludedGeoCriteriaIds": {
2846+ "description": "Requests containing any of these geo criteria ids will not match.",
2847+ "items": {
2848+ "format": "int64",
2849+ "type": "string"
2850+ },
2851+ "type": "array"
2852+ },
2853+ "excludedPlacements": {
2854+ "description": "Requests containing any of these placements will not match.",
2855+ "items": {
2856+ "properties": {
2857+ "token": {
2858+ "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.",
2859+ "type": "string"
2860+ },
2861+ "type": {
2862+ "description": "The type of the placement.",
2863+ "type": "string"
2864+ }
2865+ },
2866+ "type": "object"
2867+ },
2868+ "type": "array"
2869+ },
2870+ "excludedUserLists": {
2871+ "description": "Requests containing any of these users list ids will not match.",
2872+ "items": {
2873+ "format": "int64",
2874+ "type": "string"
2875+ },
2876+ "type": "array"
2877+ },
2878+ "excludedVerticals": {
2879+ "description": "Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.",
2880+ "items": {
2881+ "format": "int64",
2882+ "type": "string"
2883+ },
2884+ "type": "array"
2885+ },
2886+ "geoCriteriaIds": {
2887+ "description": "Requests containing any of these geo criteria ids will match.",
2888+ "items": {
2889+ "format": "int64",
2890+ "type": "string"
2891+ },
2892+ "type": "array"
2893+ },
2894+ "isActive": {
2895+ "description": "Whether this config is active. Required for all requests.",
2896+ "type": "boolean"
2897+ },
2898+ "kind": {
2899+ "default": "adexchangebuyer#pretargetingConfig",
2900+ "description": "The kind of the resource, i.e. \"adexchangebuyer#pretargetingConfig\".",
2901+ "type": "string"
2902+ },
2903+ "languages": {
2904+ "description": "Request containing any of these language codes will match.",
2905+ "items": {
2906+ "type": "string"
2907+ },
2908+ "type": "array"
2909+ },
2910+ "minimumViewabilityDecile": {
2911+ "description": "Requests where the predicted viewability is below the specified decile will not match. E.g. if the buyer sets this value to 5, requests from slots where the predicted viewability is below 50% will not match. If the predicted viewability is unknown this field will be ignored.",
2912+ "format": "int32",
2913+ "type": "integer"
2914+ },
2915+ "mobileCarriers": {
2916+ "description": "Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.",
2917+ "items": {
2918+ "format": "int64",
2919+ "type": "string"
2920+ },
2921+ "type": "array"
2922+ },
2923+ "mobileDevices": {
2924+ "description": "Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.",
2925+ "items": {
2926+ "format": "int64",
2927+ "type": "string"
2928+ },
2929+ "type": "array"
2930+ },
2931+ "mobileOperatingSystemVersions": {
2932+ "description": "Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.",
2933+ "items": {
2934+ "format": "int64",
2935+ "type": "string"
2936+ },
2937+ "type": "array"
2938+ },
2939+ "placements": {
2940+ "description": "Requests containing any of these placements will match.",
2941+ "items": {
2942+ "properties": {
2943+ "token": {
2944+ "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.",
2945+ "type": "string"
2946+ },
2947+ "type": {
2948+ "description": "The type of the placement.",
2949+ "type": "string"
2950+ }
2951+ },
2952+ "type": "object"
2953+ },
2954+ "type": "array"
2955+ },
2956+ "platforms": {
2957+ "description": "Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.",
2958+ "items": {
2959+ "type": "string"
2960+ },
2961+ "type": "array"
2962+ },
2963+ "supportedCreativeAttributes": {
2964+ "description": "Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.",
2965+ "items": {
2966+ "format": "int64",
2967+ "type": "string"
2968+ },
2969+ "type": "array"
2970+ },
2971+ "userIdentifierDataRequired": {
2972+ "description": "Requests containing the specified type of user data will match. Possible values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, which means the request has either a targetable cookie or an iOS IDFA.",
2973+ "items": {
2974+ "type": "string"
2975+ },
2976+ "type": "array"
2977+ },
2978+ "userLists": {
2979+ "description": "Requests containing any of these user list ids will match.",
2980+ "items": {
2981+ "format": "int64",
2982+ "type": "string"
2983+ },
2984+ "type": "array"
2985+ },
2986+ "vendorTypes": {
2987+ "description": "Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.",
2988+ "items": {
2989+ "format": "int64",
2990+ "type": "string"
2991+ },
2992+ "type": "array"
2993+ },
2994+ "verticals": {
2995+ "description": "Requests containing any of these vertical ids will match.",
2996+ "items": {
2997+ "format": "int64",
2998+ "type": "string"
2999+ },
3000+ "type": "array"
3001+ },
3002+ "videoPlayerSizes": {
3003+ "description": "Video requests satisfying any of these player size constraints will match.",
3004+ "items": {
3005+ "properties": {
3006+ "aspectRatio": {
3007+ "description": "The type of aspect ratio. Leave this field blank to match all aspect ratios.",
3008+ "type": "string"
3009+ },
3010+ "minHeight": {
3011+ "description": "The minimum player height in pixels. Leave this field blank to match any player height.",
3012+ "format": "int64",
3013+ "type": "string"
3014+ },
3015+ "minWidth": {
3016+ "description": "The minimum player width in pixels. Leave this field blank to match any player width.",
3017+ "format": "int64",
3018+ "type": "string"
3019+ }
3020+ },
3021+ "type": "object"
3022+ },
3023+ "type": "array"
3024+ }
28493025 },
2850− "buyerCreativeId": {
2851− "type": "string",
2852− "description": "The buyer-specific id for this creative.",
2853− "required": true,
2854− "location": "path"
2855− }
2856− },
2857− "parameterOrder": [
2858− "accountId",
2859− "buyerCreativeId"
2860− ],
2861− "response": {
2862− "$ref": "CreativeDealIds"
2863− },
2864− "scopes": [
2865− "https://www.googleapis.com/auth/adexchange.buyer"
2866− ]
2867− },
2868− "removeDeal": {
2869− "id": "adexchangebuyer.creatives.removeDeal",
2870− "path": "creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}",
2871− "httpMethod": "POST",
2872− "description": "Remove a deal id associated with the creative.",
2873− "parameters": {
2874− "accountId": {
2875− "type": "integer",
2876− "description": "The id for the account that will serve this creative.",
2877− "required": true,
2878− "format": "int32",
2879− "location": "path"
3026+ "type": "object"
3027+ },
3028+ "PretargetingConfigList": {
3029+ "id": "PretargetingConfigList",
3030+ "properties": {
3031+ "items": {
3032+ "description": "A list of pretargeting configs",
3033+ "items": {
3034+ "$ref": "PretargetingConfig"
3035+ },
3036+ "type": "array"
3037+ },
3038+ "kind": {
3039+ "default": "adexchangebuyer#pretargetingConfigList",
3040+ "description": "Resource type.",
3041+ "type": "string"
3042+ }
28803043 },
2881− "buyerCreativeId": {
2882− "type": "string",
2883− "description": "The buyer-specific id for this creative.",
2884− "required": true,
2885− "location": "path"
3044+ "type": "object"
3045+ },
3046+ "Price": {
3047+ "id": "Price",
3048+ "properties": {
3049+ "amountMicros": {
3050+ "description": "The price value in micros.",
3051+ "format": "double",
3052+ "type": "number"
3053+ },
3054+ "currencyCode": {
3055+ "description": "The currency code for the price.",
3056+ "type": "string"
3057+ },
3058+ "expectedCpmMicros": {
3059+ "description": "In case of CPD deals, the expected CPM in micros.",
3060+ "format": "double",
3061+ "type": "number"
3062+ },
3063+ "pricingType": {
3064+ "description": "The pricing type for the deal/product.",
3065+ "type": "string"
3066+ }
28863067 },
2887− "dealId": {
2888− "type": "string",
2889− "description": "The id of the deal id to disassociate with this creative.",
2890− "required": true,
2891− "format": "int64",
2892− "location": "path"
2893− }
2894− },
2895− "parameterOrder": [
2896− "accountId",
2897− "buyerCreativeId",
2898− "dealId"
2899− ],
2900− "scopes": [
2901− "https://www.googleapis.com/auth/adexchange.buyer"
2902− ]
2903− }
2904− }
2905− },
2906− "marketplacedeals": {
2907− "methods": {
2908− "delete": {
2909− "id": "adexchangebuyer.marketplacedeals.delete",
2910− "path": "proposals/{proposalId}/deals/delete",
2911− "httpMethod": "POST",
2912− "description": "Delete the specified deals from the proposal",
2913− "parameters": {
2914− "proposalId": {
2915− "type": "string",
2916− "description": "The proposalId to delete deals from.",
2917− "required": true,
2918− "location": "path"
2919− }
2920− },
2921− "parameterOrder": [
2922− "proposalId"
2923− ],
2924− "request": {
2925− "$ref": "DeleteOrderDealsRequest"
2926− },
2927− "response": {
2928− "$ref": "DeleteOrderDealsResponse"
2929− },
2930− "scopes": [
2931− "https://www.googleapis.com/auth/adexchange.buyer"
2932− ]
2933− },
2934− "insert": {
2935− "id": "adexchangebuyer.marketplacedeals.insert",
2936− "path": "proposals/{proposalId}/deals/insert",
2937− "httpMethod": "POST",
2938− "description": "Add new deals for the specified proposal",
2939− "parameters": {
2940− "proposalId": {
2941− "type": "string",
2942− "description": "proposalId for which deals need to be added.",
2943− "required": true,
2944− "location": "path"
2945− }
2946− },
2947− "parameterOrder": [
2948− "proposalId"
2949− ],
2950− "request": {
2951− "$ref": "AddOrderDealsRequest"
2952− },
2953− "response": {
2954− "$ref": "AddOrderDealsResponse"
2955− },
2956− "scopes": [
2957− "https://www.googleapis.com/auth/adexchange.buyer"
2958− ]
2959− },
2960− "list": {
2961− "id": "adexchangebuyer.marketplacedeals.list",
2962− "path": "proposals/{proposalId}/deals",
2963− "httpMethod": "GET",
2964− "description": "List all the deals for a given proposal",
2965− "parameters": {
2966− "pqlQuery": {
2967− "type": "string",
2968− "description": "Query string to retrieve specific deals.",
2969− "location": "query"
3068+ "type": "object"
3069+ },
3070+ "PricePerBuyer": {
3071+ "description": "Used to specify pricing rules for buyers. Each PricePerBuyer in a product can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer we look for the most specific matching rule - we first look for a rule matching the buyer and otherwise look for a matching rule where no buyer is set.",
3072+ "id": "PricePerBuyer",
3073+ "properties": {
3074+ "auctionTier": {
3075+ "description": "Optional access type for this buyer.",
3076+ "type": "string"
3077+ },
3078+ "billedBuyer": {
3079+ "$ref": "Buyer",
3080+ "description": "Reference to the buyer that will get billed."
3081+ },
3082+ "buyer": {
3083+ "$ref": "Buyer",
3084+ "description": "The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer)."
3085+ },
3086+ "price": {
3087+ "$ref": "Price",
3088+ "description": "The specified price"
3089+ }
29703090 },
2971− "proposalId": {
2972− "type": "string",
2973− "description": "The proposalId to get deals for. To search across all proposals specify order_id = '-' as part of the URL.",
2974− "required": true,
2975− "location": "path"
2976− }
2977− },
2978− "parameterOrder": [
2979− "proposalId"
2980− ],
2981− "response": {
2982− "$ref": "GetOrderDealsResponse"
2983− },
2984− "scopes": [
2985− "https://www.googleapis.com/auth/adexchange.buyer"
2986− ]
2987− },
2988− "update": {
2989− "id": "adexchangebuyer.marketplacedeals.update",
2990− "path": "proposals/{proposalId}/deals/update",
2991− "httpMethod": "POST",
2992− "description": "Replaces all the deals in the proposal with the passed in deals",
2993− "parameters": {
2994− "proposalId": {
2995− "type": "string",
2996− "description": "The proposalId to edit deals on.",
2997− "required": true,
2998− "location": "path"
2999− }
3000− },
3001− "parameterOrder": [
3002− "proposalId"
3003− ],
3004− "request": {
3005− "$ref": "EditAllOrderDealsRequest"
3006− },
3007− "response": {
3008− "$ref": "EditAllOrderDealsResponse"
3009− },
3010− "scopes": [
3011− "https://www.googleapis.com/auth/adexchange.buyer"
3012− ]
3013− }
3014− }
3015− },
3016− "marketplacenotes": {
3017− "methods": {
3018− "insert": {
3019− "id": "adexchangebuyer.marketplacenotes.insert",
3020− "path": "proposals/{proposalId}/notes/insert",
3021− "httpMethod": "POST",
3022− "description": "Add notes to the proposal",
3023− "parameters": {
3024− "proposalId": {
3025− "type": "string",
3026− "description": "The proposalId to add notes for.",
3027− "required": true,
3028− "location": "path"
3029− }
3030− },
3031− "parameterOrder": [
3032− "proposalId"
3033− ],
3034− "request": {
3035− "$ref": "AddOrderNotesRequest"
3036− },
3037− "response": {
3038− "$ref": "AddOrderNotesResponse"
3039− },
3040− "scopes": [
3041− "https://www.googleapis.com/auth/adexchange.buyer"
3042− ]
3043− },
3044− "list": {
3045− "id": "adexchangebuyer.marketplacenotes.list",
3046− "path": "proposals/{proposalId}/notes",
3047− "httpMethod": "GET",
3048− "description": "Get all the notes associated with a proposal",
3049− "parameters": {
3050− "pqlQuery": {
3051− "type": "string",
3052− "description": "Query string to retrieve specific notes. To search the text contents of notes, please use syntax like \"WHERE note.note = \"foo\" or \"WHERE note.note LIKE \"%bar%\"",
3053− "location": "query"
3091+ "type": "object"
3092+ },
3093+ "PrivateData": {
3094+ "id": "PrivateData",
3095+ "properties": {
3096+ "referenceId": {
3097+ "type": "string"
3098+ },
3099+ "referencePayload": {
3100+ "format": "byte",
3101+ "type": "string"
3102+ }
30543103 },
3055− "proposalId": {
3056− "type": "string",
3057− "description": "The proposalId to get notes for. To search across all proposals specify order_id = '-' as part of the URL.",
3058− "required": true,
3059− "location": "path"
3060− }
3061− },
3062− "parameterOrder": [
3063− "proposalId"
3064− ],
3065− "response": {
3066− "$ref": "GetOrderNotesResponse"
3067− },
3068− "scopes": [
3069− "https://www.googleapis.com/auth/adexchange.buyer"
3070− ]
3071− }
3072− }
3073− },
3074− "marketplaceprivateauction": {
3075− "methods": {
3076− "updateproposal": {
3077− "id": "adexchangebuyer.marketplaceprivateauction.updateproposal",
3078− "path": "privateauction/{privateAuctionId}/updateproposal",
3079− "httpMethod": "POST",
3080− "description": "Update a given private auction proposal",
3081− "parameters": {
3082− "privateAuctionId": {
3083− "type": "string",
3084− "description": "The private auction id to be updated.",
3085− "required": true,
3086− "location": "path"
3087− }
3088− },
3089− "parameterOrder": [
3090− "privateAuctionId"
3091− ],
3092− "request": {
3093− "$ref": "UpdatePrivateAuctionProposalRequest"
3094− },
3095− "scopes": [
3096− "https://www.googleapis.com/auth/adexchange.buyer"
3097− ]
3098− }
3099− }
3100− },
3101− "performanceReport": {
3102− "methods": {
3103− "list": {
3104− "id": "adexchangebuyer.performanceReport.list",
3105− "path": "performancereport",
3106− "httpMethod": "GET",
3107− "description": "Retrieves the authenticated user's list of performance metrics.",
3108− "parameters": {
3109− "accountId": {
3110− "type": "string",
3111− "description": "The account id to get the reports.",
3112− "required": true,
3113− "format": "int64",
3114− "location": "query"
3104+ "type": "object"
3105+ },
3106+ "Product": {
3107+ "description": "A product is segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps buyer know more about the inventory. Each field in a product can have one of the following setting:\n\n(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.",
3108+ "id": "Product",
3109+ "properties": {
3110+ "billedBuyer": {
3111+ "$ref": "Buyer",
3112+ "description": "The billed buyer corresponding to the buyer that created the offer. (readonly, except on create)"
3113+ },
3114+ "buyer": {
3115+ "$ref": "Buyer",
3116+ "description": "The buyer that created the offer if this is a buyer initiated offer (readonly, except on create)"
3117+ },
3118+ "creationTimeMs": {
3119+ "description": "Creation time in ms. since epoch (readonly)",
3120+ "format": "int64",
3121+ "type": "string"
3122+ },
3123+ "creatorContacts": {
3124+ "description": "Optional contact information for the creator of this product. (buyer-readonly)",
3125+ "items": {
3126+ "$ref": "ContactInformation"
3127+ },
3128+ "type": "array"
3129+ },
3130+ "creatorRole": {
3131+ "description": "The role that created the offer. Set to BUYER for buyer initiated offers.",
3132+ "type": "string"
3133+ },
3134+ "deliveryControl": {
3135+ "$ref": "DeliveryControl",
3136+ "description": "The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension."
3137+ },
3138+ "flightEndTimeMs": {
3139+ "description": "The proposed end time for the deal (ms since epoch) (buyer-readonly)",
3140+ "format": "int64",
3141+ "type": "string"
3142+ },
3143+ "flightStartTimeMs": {
3144+ "description": "Inventory availability dates. (times are in ms since epoch) The granularity is generally in the order of seconds. (buyer-readonly)",
3145+ "format": "int64",
3146+ "type": "string"
3147+ },
3148+ "hasCreatorSignedOff": {
3149+ "description": "If the creator has already signed off on the product, then the buyer can finalize the deal by accepting the product as is. When copying to a proposal, if any of the terms are changed, then auto_finalize is automatically set to false.",
3150+ "type": "boolean"
3151+ },
3152+ "inventorySource": {
3153+ "description": "What exchange will provide this inventory (readonly, except on create).",
3154+ "type": "string"
3155+ },
3156+ "kind": {
3157+ "default": "adexchangebuyer#product",
3158+ "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#product\".",
3159+ "type": "string"
3160+ },
3161+ "labels": {
3162+ "description": "Optional List of labels for the product (optional, buyer-readonly).",
3163+ "items": {
3164+ "$ref": "MarketplaceLabel"
3165+ },
3166+ "type": "array"
3167+ },
3168+ "lastUpdateTimeMs": {
3169+ "description": "Time of last update in ms. since epoch (readonly)",
3170+ "format": "int64",
3171+ "type": "string"
3172+ },
3173+ "legacyOfferId": {
3174+ "description": "Optional legacy offer id if this offer is a preferred deal offer.",
3175+ "type": "string"
3176+ },
3177+ "marketplacePublisherProfileId": {
3178+ "description": "Marketplace publisher profile Id. This Id differs from the regular publisher_profile_id in that 1. This is a new id, the old Id will be deprecated in 2017. 2. This id uniquely identifies a publisher profile by itself.",
3179+ "type": "string"
3180+ },
3181+ "name": {
3182+ "description": "The name for this product as set by the seller. (buyer-readonly)",
3183+ "type": "string"
3184+ },
3185+ "privateAuctionId": {
3186+ "description": "Optional private auction id if this offer is a private auction offer.",
3187+ "type": "string"
3188+ },
3189+ "productId": {
3190+ "description": "The unique id for the product (readonly)",
3191+ "type": "string"
3192+ },
3193+ "publisherProfileId": {
3194+ "description": "Id of the publisher profile for a given seller. A (seller.account_id, publisher_profile_id) pair uniquely identifies a publisher profile. Buyers can call the PublisherProfiles::List endpoint to get a list of publisher profiles for a given seller.",
3195+ "type": "string"
3196+ },
3197+ "publisherProvidedForecast": {
3198+ "$ref": "PublisherProvidedForecast",
3199+ "description": "Publisher self-provided forecast information."
3200+ },
3201+ "revisionNumber": {
3202+ "description": "The revision number of the product. (readonly)",
3203+ "format": "int64",
3204+ "type": "string"
3205+ },
3206+ "seller": {
3207+ "$ref": "Seller",
3208+ "description": "Information about the seller that created this product (readonly, except on create)"
3209+ },
3210+ "sharedTargetings": {
3211+ "description": "Targeting that is shared between the buyer and the seller. Each targeting criteria has a specified key and for each key there is a list of inclusion value or exclusion values. (buyer-readonly)",
3212+ "items": {
3213+ "$ref": "SharedTargeting"
3214+ },
3215+ "type": "array"
3216+ },
3217+ "state": {
3218+ "description": "The state of the product. (buyer-readonly)",
3219+ "type": "string"
3220+ },
3221+ "syndicationProduct": {
3222+ "description": "The syndication product associated with the deal. (readonly, except on create)",
3223+ "type": "string"
3224+ },
3225+ "terms": {
3226+ "$ref": "DealTerms",
3227+ "description": "The negotiable terms of the deal (buyer-readonly)"
3228+ },
3229+ "webPropertyCode": {
3230+ "description": "The web property code for the seller. This field is meant to be copied over as is when creating deals.",
3231+ "type": "string"
3232+ }
31153233 },
3116− "endDateTime": {
3117− "type": "string",
3118− "description": "The end time of the report in ISO 8601 timestamp format using UTC.",
3119− "required": true,
3120− "location": "query"
3234+ "type": "object"
3235+ },
3236+ "Proposal": {
3237+ "description": "Represents a proposal in the marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in a proposal can have one of the following setting:\n\n(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.",
3238+ "id": "Proposal",
3239+ "properties": {
3240+ "billedBuyer": {
3241+ "$ref": "Buyer",
3242+ "description": "Reference to the buyer that will get billed for this proposal. (readonly)"
3243+ },
3244+ "buyer": {
3245+ "$ref": "Buyer",
3246+ "description": "Reference to the buyer on the proposal. (readonly, except on create)"
3247+ },
3248+ "buyerContacts": {
3249+ "description": "Optional contact information of the buyer. (seller-readonly)",
3250+ "items": {
3251+ "$ref": "ContactInformation"
3252+ },
3253+ "type": "array"
3254+ },
3255+ "buyerPrivateData": {
3256+ "$ref": "PrivateData",
3257+ "description": "Private data for buyer. (hidden from seller)."
3258+ },
3259+ "dbmAdvertiserIds": {
3260+ "description": "IDs of DBM advertisers permission to this proposal.",
3261+ "items": {
3262+ "type": "string"
3263+ },
3264+ "type": "array"
3265+ },
3266+ "hasBuyerSignedOff": {
3267+ "description": "When an proposal is in an accepted state, indicates whether the buyer has signed off. Once both sides have signed off on a deal, the proposal can be finalized by the seller. (seller-readonly)",
3268+ "type": "boolean"
3269+ },
3270+ "hasSellerSignedOff": {
3271+ "description": "When an proposal is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the proposal can be finalized by the seller. (buyer-readonly)",
3272+ "type": "boolean"
3273+ },
3274+ "inventorySource": {
3275+ "description": "What exchange will provide this inventory (readonly, except on create).",
3276+ "type": "string"
3277+ },
3278+ "isRenegotiating": {
3279+ "description": "True if the proposal is being renegotiated (readonly).",
3280+ "type": "boolean"
3281+ },
3282+ "isSetupComplete": {
3283+ "description": "True, if the buyside inventory setup is complete for this proposal. (readonly, except via OrderSetupCompleted action) Deprecated in favor of deal level setup complete flag.",
3284+ "type": "boolean"
3285+ },
3286+ "kind": {
3287+ "default": "adexchangebuyer#proposal",
3288+ "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#proposal\".",
3289+ "type": "string"
3290+ },
3291+ "labels": {
3292+ "description": "List of labels associated with the proposal. (readonly)",
3293+ "items": {
3294+ "$ref": "MarketplaceLabel"
3295+ },
3296+ "type": "array"
3297+ },
3298+ "lastUpdaterOrCommentorRole": {
3299+ "description": "The role of the last user that either updated the proposal or left a comment. (readonly)",
3300+ "type": "string"
3301+ },
3302+ "name": {
3303+ "description": "The name for the proposal (updatable)",
3304+ "type": "string"
3305+ },
3306+ "negotiationId": {
3307+ "description": "Optional negotiation id if this proposal is a preferred deal proposal.",
3308+ "type": "string"
3309+ },
3310+ "originatorRole": {
3311+ "description": "Indicates whether the buyer/seller created the proposal.(readonly)",
3312+ "type": "string"
3313+ },
3314+ "privateAuctionId": {
3315+ "description": "Optional private auction id if this proposal is a private auction proposal.",
3316+ "type": "string"
3317+ },
3318+ "proposalId": {
3319+ "description": "The unique id of the proposal. (readonly).",
3320+ "type": "string"
3321+ },
3322+ "proposalState": {
3323+ "description": "The current state of the proposal. (readonly)",
3324+ "type": "string"
3325+ },
3326+ "revisionNumber": {
3327+ "description": "The revision number for the proposal (readonly).",
3328+ "format": "int64",
3329+ "type": "string"
3330+ },
3331+ "revisionTimeMs": {
3332+ "description": "The time (ms since epoch) when the proposal was last revised (readonly).",
3333+ "format": "int64",
3334+ "type": "string"
3335+ },
3336+ "seller": {
3337+ "$ref": "Seller",
3338+ "description": "Reference to the seller on the proposal. (readonly, except on create)"
3339+ },
3340+ "sellerContacts": {
3341+ "description": "Optional contact information of the seller (buyer-readonly).",
3342+ "items": {
3343+ "$ref": "ContactInformation"
3344+ },
3345+ "type": "array"
3346+ }
31213347 },
3122− "maxResults": {
3123− "type": "integer",
3124− "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.",
3125− "format": "uint32",
3126− "minimum": "1",
3127− "maximum": "1000",
3128− "location": "query"
3348+ "type": "object"
3349+ },
3350+ "PublisherProfileApiProto": {
3351+ "id": "PublisherProfileApiProto",
3352+ "properties": {
3353+ "audience": {
3354+ "description": "Publisher provided info on its audience.",
3355+ "type": "string"
3356+ },
3357+ "buyerPitchStatement": {
3358+ "description": "A pitch statement for the buyer",
3359+ "type": "string"
3360+ },
3361+ "directContact": {
3362+ "description": "Direct contact for the publisher profile.",
3363+ "type": "string"
3364+ },
3365+ "exchange": {
3366+ "description": "Exchange where this publisher profile is from. E.g. AdX, Rubicon etc...",
3367+ "type": "string"
3368+ },
3369+ "googlePlusLink": {
3370+ "description": "Link to publisher's Google+ page.",
3371+ "type": "string"
3372+ },
3373+ "isParent": {
3374+ "description": "True, if this is the parent profile, which represents all domains owned by the publisher.",
3375+ "type": "boolean"
3376+ },
3377+ "isPublished": {
3378+ "description": "True, if this profile is published. Deprecated for state.",
3379+ "type": "boolean"
3380+ },
3381+ "kind": {
3382+ "default": "adexchangebuyer#publisherProfileApiProto",
3383+ "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#publisherProfileApiProto\".",
3384+ "type": "string"
3385+ },
3386+ "logoUrl": {
3387+ "description": "The url to the logo for the publisher.",
3388+ "type": "string"
3389+ },
3390+ "mediaKitLink": {
3391+ "description": "The url for additional marketing and sales materials.",
3392+ "type": "string"
3393+ },
3394+ "name": {
3395+ "type": "string"
3396+ },
3397+ "overview": {
3398+ "description": "Publisher provided overview.",
3399+ "type": "string"
3400+ },
3401+ "profileId": {
3402+ "description": "The pair of (seller.account_id, profile_id) uniquely identifies a publisher profile for a given publisher.",
3403+ "format": "int32",
3404+ "type": "integer"
3405+ },
3406+ "programmaticContact": {
3407+ "description": "Programmatic contact for the publisher profile.",
3408+ "type": "string"
3409+ },
3410+ "publisherDomains": {
3411+ "description": "The list of domains represented in this publisher profile. Empty if this is a parent profile.",
3412+ "items": {
3413+ "type": "string"
3414+ },
3415+ "type": "array"
3416+ },
3417+ "publisherProfileId": {
3418+ "description": "Unique Id for publisher profile.",
3419+ "type": "string"
3420+ },
3421+ "publisherProvidedForecast": {
3422+ "$ref": "PublisherProvidedForecast",
3423+ "description": "Publisher provided forecasting information."
3424+ },
3425+ "rateCardInfoLink": {
3426+ "description": "Link to publisher rate card",
3427+ "type": "string"
3428+ },
3429+ "samplePageLink": {
3430+ "description": "Link for a sample content page.",
3431+ "type": "string"
3432+ },
3433+ "seller": {
3434+ "$ref": "Seller",
3435+ "description": "Seller of the publisher profile."
3436+ },
3437+ "state": {
3438+ "description": "State of the publisher profile.",
3439+ "type": "string"
3440+ },
3441+ "topHeadlines": {
3442+ "description": "Publisher provided key metrics and rankings.",
3443+ "items": {
3444+ "type": "string"
3445+ },
3446+ "type": "array"
3447+ }
31293448 },
3130− "pageToken": {
3131− "type": "string",
3132− "description": "A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.",
3133− "location": "query"
3449+ "type": "object"
3450+ },
3451+ "PublisherProvidedForecast": {
3452+ "description": "This message carries publisher provided forecasting information.",
3453+ "id": "PublisherProvidedForecast",
3454+ "properties": {
3455+ "dimensions": {
3456+ "description": "Publisher provided dimensions. E.g. geo, sizes etc...",
3457+ "items": {
3458+ "$ref": "Dimension"
3459+ },
3460+ "type": "array"
3461+ },
3462+ "weeklyImpressions": {
3463+ "description": "Publisher provided weekly impressions.",
3464+ "format": "int64",
3465+ "type": "string"
3466+ },
3467+ "weeklyUniques": {
3468+ "description": "Publisher provided weekly uniques.",
3469+ "format": "int64",
3470+ "type": "string"
3471+ }
31343472 },
3135− "startDateTime": {
3136− "type": "string",
3137− "description": "The start time of the report in ISO 8601 timestamp format using UTC.",
3138− "required": true,
3139− "location": "query"
3140− }
3141− },
3142− "parameterOrder": [
3143− "accountId",
3144− "endDateTime",
3145− "startDateTime"
3146− ],
3147− "response": {
3148− "$ref": "PerformanceReportList"
3149− },
3150− "scopes": [
3151− "https://www.googleapis.com/auth/adexchange.buyer"
3152− ]
3153− }
3154− }
3155− },
3156− "pretargetingConfig": {
3157− "methods": {
3158− "delete": {
3159− "id": "adexchangebuyer.pretargetingConfig.delete",
3160− "path": "pretargetingconfigs/{accountId}/{configId}",
3161− "httpMethod": "DELETE",
3162− "description": "Deletes an existing pretargeting config.",
3163− "parameters": {
3164− "accountId": {
3165− "type": "string",
3166− "description": "The account id to delete the pretargeting config for.",
3167− "required": true,
3168− "format": "int64",
3169− "location": "path"
3473+ "type": "object"
3474+ },
3475+ "Seller": {
3476+ "id": "Seller",
3477+ "properties": {
3478+ "accountId": {
3479+ "description": "The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the product.",
3480+ "type": "string"
3481+ },
3482+ "subAccountId": {
3483+ "description": "Optional sub-account id for the seller.",
3484+ "type": "string"
3485+ }
31703486 },
3171− "configId": {
3172− "type": "string",
3173− "description": "The specific id of the configuration to delete.",
3174− "required": true,
3175− "format": "int64",
3176− "location": "path"
3177− }
3178− },
3179− "parameterOrder": [
3180− "accountId",
3181− "configId"
3182− ],
3183− "scopes": [
3184− "https://www.googleapis.com/auth/adexchange.buyer"
3185− ]
3186− },
3187− "get": {
3188− "id": "adexchangebuyer.pretargetingConfig.get",
3189− "path": "pretargetingconfigs/{accountId}/{configId}",
3190− "httpMethod": "GET",
3191− "description": "Gets a specific pretargeting configuration",
3192− "parameters": {
3193− "accountId": {
3194− "type": "string",
3195− "description": "The account id to get the pretargeting config for.",
3196− "required": true,
3197− "format": "int64",
3198− "location": "path"
3487+ "type": "object"
3488+ },
3489+ "SharedTargeting": {
3490+ "id": "SharedTargeting",
3491+ "properties": {
3492+ "exclusions": {
3493+ "description": "The list of values to exclude from targeting. Each value is AND'd together.",
3494+ "items": {
3495+ "$ref": "TargetingValue"
3496+ },
3497+ "type": "array"
3498+ },
3499+ "inclusions": {
3500+ "description": "The list of value to include as part of the targeting. Each value is OR'd together.",
3501+ "items": {
3502+ "$ref": "TargetingValue"
3503+ },
3504+ "type": "array"
3505+ },
3506+ "key": {
3507+ "description": "The key representing the shared targeting criterion.",
3508+ "type": "string"
3509+ }
31993510 },
3200− "configId": {
3201− "type": "string",
3202− "description": "The specific id of the configuration to retrieve.",
3203− "required": true,
3204− "format": "int64",
3205− "location": "path"
3206− }
3207− },
3208− "parameterOrder": [
3209− "accountId",
3210− "configId"
3211− ],
3212− "response": {
3213− "$ref": "PretargetingConfig"
3214− },
3215− "scopes": [
3216− "https://www.googleapis.com/auth/adexchange.buyer"
3217− ]
3218− },
3219− "insert": {
3220− "id": "adexchangebuyer.pretargetingConfig.insert",
3221− "path": "pretargetingconfigs/{accountId}",
3222− "httpMethod": "POST",
3223− "description": "Inserts a new pretargeting configuration.",
3224− "parameters": {
3225− "accountId": {
3226− "type": "string",
3227− "description": "The account id to insert the pretargeting config for.",
3228− "required": true,
3229− "format": "int64",
3230− "location": "path"
3231− }
3232− },
3233− "parameterOrder": [
3234− "accountId"
3235− ],
3236− "request": {
3237− "$ref": "PretargetingConfig"
3238− },
3239− "response": {
3240− "$ref": "PretargetingConfig"
3241− },
3242− "scopes": [
3243− "https://www.googleapis.com/auth/adexchange.buyer"
3244− ]
3245− },
3246− "list": {
3247− "id": "adexchangebuyer.pretargetingConfig.list",
3248− "path": "pretargetingconfigs/{accountId}",
3249− "httpMethod": "GET",
3250− "description": "Retrieves a list of the authenticated user's pretargeting configurations.",
3251− "parameters": {
3252− "accountId": {
3253− "type": "string",
3254− "description": "The account id to get the pretargeting configs for.",
3255− "required": true,
3256− "format": "int64",
3257− "location": "path"
3258− }
3259− },
3260− "parameterOrder": [
3261− "accountId"
3262− ],
3263− "response": {
3264− "$ref": "PretargetingConfigList"
3265− },
3266− "scopes": [
3267− "https://www.googleapis.com/auth/adexchange.buyer"
3268− ]
3269− },
3270− "patch": {
3271− "id": "adexchangebuyer.pretargetingConfig.patch",
3272− "path": "pretargetingconfigs/{accountId}/{configId}",
3273− "httpMethod": "PATCH",
3274− "description": "Updates an existing pretargeting config. This method supports patch semantics.",
3275− "parameters": {
3276− "accountId": {
3277− "type": "string",
3278− "description": "The account id to update the pretargeting config for.",
3279− "required": true,
3280− "format": "int64",
3281− "location": "path"
3511+ "type": "object"
3512+ },
3513+ "TargetingValue": {
3514+ "id": "TargetingValue",
3515+ "properties": {
3516+ "creativeSizeValue": {
3517+ "$ref": "TargetingValueCreativeSize",
3518+ "description": "The creative size value to exclude/include."
3519+ },
3520+ "dayPartTargetingValue": {
3521+ "$ref": "TargetingValueDayPartTargeting",
3522+ "description": "The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING."
3523+ },
3524+ "demogAgeCriteriaValue": {
3525+ "$ref": "TargetingValueDemogAgeCriteria"
3526+ },
3527+ "demogGenderCriteriaValue": {
3528+ "$ref": "TargetingValueDemogGenderCriteria"
3529+ },
3530+ "longValue": {
3531+ "description": "The long value to exclude/include.",
3532+ "format": "int64",
3533+ "type": "string"
3534+ },
3535+ "stringValue": {
3536+ "description": "The string value to exclude/include.",
3537+ "type": "string"
3538+ }
32823539 },
3283− "configId": {
3284− "type": "string",
3285− "description": "The specific id of the configuration to update.",
3286− "required": true,
3287− "format": "int64",
3288− "location": "path"
3289− }
3290− },
3291− "parameterOrder": [
3292− "accountId",
3293− "configId"
3294− ],
3295− "request": {
3296− "$ref": "PretargetingConfig"
3297− },
3298− "response": {
3299− "$ref": "PretargetingConfig"
3300− },
3301− "scopes": [
3302− "https://www.googleapis.com/auth/adexchange.buyer"
3303− ]
3304− },
3305− "update": {
3306− "id": "adexchangebuyer.pretargetingConfig.update",
3307− "path": "pretargetingconfigs/{accountId}/{configId}",
3308− "httpMethod": "PUT",
3309− "description": "Updates an existing pretargeting config.",
3310− "parameters": {
3311− "accountId": {
3312− "type": "string",
3313− "description": "The account id to update the pretargeting config for.",
3314− "required": true,
3315− "format": "int64",
3316− "location": "path"
3540+ "type": "object"
3541+ },
3542+ "TargetingValueCreativeSize": {
3543+ "description": "Next Id: 7",
3544+ "id": "TargetingValueCreativeSize",
3545+ "properties": {
3546+ "allowedFormats": {
3547+ "description": "The formats allowed by the publisher.",
3548+ "items": {
3549+ "type": "string"
3550+ },
3551+ "type": "array"
3552+ },
3553+ "companionSizes": {
3554+ "description": "For video size type, the list of companion sizes.",
3555+ "items": {
3556+ "$ref": "TargetingValueSize"
3557+ },
3558+ "type": "array"
3559+ },
3560+ "creativeSizeType": {
3561+ "description": "The Creative size type.",
3562+ "type": "string"
3563+ },
3564+ "nativeTemplate": {
3565+ "description": "The native template for native ad.",
3566+ "type": "string"
3567+ },
3568+ "size": {
3569+ "$ref": "TargetingValueSize",
3570+ "description": "For regular or video creative size type, specifies the size of the creative."
3571+ },
3572+ "skippableAdType": {
3573+ "description": "The skippable ad type for video size.",
3574+ "type": "string"
3575+ }
33173576 },
3318− "configId": {
3319− "type": "string",
3320− "description": "The specific id of the configuration to update.",
3321− "required": true,
3322− "format": "int64",
3323− "location": "path"
3324− }
3325− },
3326− "parameterOrder": [
3327− "accountId",
3328− "configId"
3329− ],
3330− "request": {
3331− "$ref": "PretargetingConfig"
3332− },
3333− "response": {
3334− "$ref": "PretargetingConfig"
3335− },
3336− "scopes": [
3337− "https://www.googleapis.com/auth/adexchange.buyer"
3338− ]
3339− }
3340− }
3341− },
3342− "products": {
3343− "methods": {
3344− "get": {
3345− "id": "adexchangebuyer.products.get",
3346− "path": "products/{productId}",
3347− "httpMethod": "GET",
3348− "description": "Gets the requested product by id.",
3349− "parameters": {
3350− "productId": {
3351− "type": "string",
3352− "description": "The id for the product to get the head revision for.",
3353− "required": true,
3354− "location": "path"
3355− }
3356− },
3357− "parameterOrder": [
3358− "productId"
3359− ],
3360− "response": {
3361− "$ref": "Product"
3362− },
3363− "scopes": [
3364− "https://www.googleapis.com/auth/adexchange.buyer"
3365− ]
3366− },
3367− "search": {
3368− "id": "adexchangebuyer.products.search",
3369− "path": "products/search",
3370− "httpMethod": "GET",
3371− "description": "Gets the requested product.",
3372− "parameters": {
3373− "pqlQuery": {
3374− "type": "string",
3375− "description": "The pql query used to query for products.",
3376− "location": "query"
3377− }
3378− },
3379− "response": {
3380− "$ref": "GetOffersResponse"
3381− },
3382− "scopes": [
3383− "https://www.googleapis.com/auth/adexchange.buyer"
3384− ]
3385− }
3386− }
3387− },
3388− "proposals": {
3389− "methods": {
3390− "get": {
3391− "id": "adexchangebuyer.proposals.get",
3392− "path": "proposals/{proposalId}",
3393− "httpMethod": "GET",
3394− "description": "Get a proposal given its id",
3395− "parameters": {
3396− "proposalId": {
3397− "type": "string",
3398− "description": "Id of the proposal to retrieve.",
3399− "required": true,
3400− "location": "path"
3401− }
3402− },
3403− "parameterOrder": [
3404− "proposalId"
3405− ],
3406− "response": {
3407− "$ref": "Proposal"
3408− },
3409− "scopes": [
3410− "https://www.googleapis.com/auth/adexchange.buyer"
3411− ]
3412− },
3413− "insert": {
3414− "id": "adexchangebuyer.proposals.insert",
3415− "path": "proposals/insert",
3416− "httpMethod": "POST",
3417− "description": "Create the given list of proposals",
3418− "request": {
3419− "$ref": "CreateOrdersRequest"
3420− },
3421− "response": {
3422− "$ref": "CreateOrdersResponse"
3423− },
3424− "scopes": [
3425− "https://www.googleapis.com/auth/adexchange.buyer"
3426− ]
3427− },
3428− "patch": {
3429− "id": "adexchangebuyer.proposals.patch",
3430− "path": "proposals/{proposalId}/{revisionNumber}/{updateAction}",
3431− "httpMethod": "PATCH",
3432− "description": "Update the given proposal. This method supports patch semantics.",
3433− "parameters": {
3434− "proposalId": {
3435− "type": "string",
3436− "description": "The proposal id to update.",
3437− "required": true,
3438− "location": "path"
3577+ "type": "object"
3578+ },
3579+ "TargetingValueDayPartTargeting": {
3580+ "id": "TargetingValueDayPartTargeting",
3581+ "properties": {
3582+ "dayParts": {
3583+ "items": {
3584+ "$ref": "TargetingValueDayPartTargetingDayPart"
3585+ },
3586+ "type": "array"
3587+ },
3588+ "timeZoneType": {
3589+ "type": "string"
3590+ }
34393591 },
3440− "revisionNumber": {
3441− "type": "string",
3442− "description": "The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.",
3443− "required": true,
3444− "format": "int64",
3445− "location": "path"
3592+ "type": "object"
3593+ },
3594+ "TargetingValueDayPartTargetingDayPart": {
3595+ "id": "TargetingValueDayPartTargetingDayPart",
3596+ "properties": {
3597+ "dayOfWeek": {
3598+ "type": "string"
3599+ },
3600+ "endHour": {
3601+ "format": "int32",
3602+ "type": "integer"
3603+ },
3604+ "endMinute": {
3605+ "format": "int32",
3606+ "type": "integer"
3607+ },
3608+ "startHour": {
3609+ "format": "int32",
3610+ "type": "integer"
3611+ },
3612+ "startMinute": {
3613+ "format": "int32",
3614+ "type": "integer"
3615+ }
34463616 },
3447− "updateAction": {
3448− "type": "string",
3449− "description": "The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.",
3450− "required": true,
3451− "enum": [
3452− "accept",
3453− "cancel",
3454− "propose",
3455− "proposeAndAccept",
3456− "unknownAction",
3457− "updateNonTerms"
3458− ],
3459− "enumDescriptions": [
3460− "",
3461− "",
3462− "",
3463− "",
3464− "",
3465− ""
3466− ],
3467− "location": "path"
3468− }
3469− },
3470− "parameterOrder": [
3471− "proposalId",
3472− "revisionNumber",
3473− "updateAction"
3474− ],
3475− "request": {
3476− "$ref": "Proposal"
3477− },
3478− "response": {
3479− "$ref": "Proposal"
3480− },
3481− "scopes": [
3482− "https://www.googleapis.com/auth/adexchange.buyer"
3483− ]
3484− },
3485− "search": {
3486− "id": "adexchangebuyer.proposals.search",
3487− "path": "proposals/search",
3488− "httpMethod": "GET",
3489− "description": "Search for proposals using pql query",
3490− "parameters": {
3491− "pqlQuery": {
3492− "type": "string",
3493− "description": "Query string to retrieve specific proposals.",
3494− "location": "query"
3495− }
3496− },
3497− "response": {
3498− "$ref": "GetOrdersResponse"
3499− },
3500− "scopes": [
3501− "https://www.googleapis.com/auth/adexchange.buyer"
3502− ]
3503− },
3504− "setupcomplete": {
3505− "id": "adexchangebuyer.proposals.setupcomplete",
3506− "path": "proposals/{proposalId}/setupcomplete",
3507− "httpMethod": "POST",
3508− "description": "Update the given proposal to indicate that setup has been completed.",
3509− "parameters": {
3510− "proposalId": {
3511− "type": "string",
3512− "description": "The proposal id for which the setup is complete",
3513− "required": true,
3514− "location": "path"
3515− }
3516− },
3517− "parameterOrder": [
3518− "proposalId"
3519− ],
3520− "scopes": [
3521− "https://www.googleapis.com/auth/adexchange.buyer"
3522− ]
3523− },
3524− "update": {
3525− "id": "adexchangebuyer.proposals.update",
3526− "path": "proposals/{proposalId}/{revisionNumber}/{updateAction}",
3527− "httpMethod": "PUT",
3528− "description": "Update the given proposal",
3529− "parameters": {
3530− "proposalId": {
3531− "type": "string",
3532− "description": "The proposal id to update.",
3533− "required": true,
3534− "location": "path"
3617+ "type": "object"
3618+ },
3619+ "TargetingValueDemogAgeCriteria": {
3620+ "id": "TargetingValueDemogAgeCriteria",
3621+ "properties": {
3622+ "demogAgeCriteriaIds": {
3623+ "items": {
3624+ "type": "string"
3625+ },
3626+ "type": "array"
3627+ }
35353628 },
3536− "revisionNumber": {
3537− "type": "string",
3538− "description": "The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.",
3539− "required": true,
3540− "format": "int64",
3541− "location": "path"
3629+ "type": "object"
3630+ },
3631+ "TargetingValueDemogGenderCriteria": {
3632+ "id": "TargetingValueDemogGenderCriteria",
3633+ "properties": {
3634+ "demogGenderCriteriaIds": {
3635+ "items": {
3636+ "type": "string"
3637+ },
3638+ "type": "array"
3639+ }
35423640 },
3543− "updateAction": {
3544− "type": "string",
3545− "description": "The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.",
3546− "required": true,
3547− "enum": [
3548− "accept",
3549− "cancel",
3550− "propose",
3551− "proposeAndAccept",
3552− "unknownAction",
3553− "updateNonTerms"
3554− ],
3555− "enumDescriptions": [
3556− "",
3557− "",
3558− "",
3559− "",
3560− "",
3561− ""
3562− ],
3563− "location": "path"
3564− }
3565− },
3566− "parameterOrder": [
3567− "proposalId",
3568− "revisionNumber",
3569− "updateAction"
3570− ],
3571− "request": {
3572− "$ref": "Proposal"
3573− },
3574− "response": {
3575− "$ref": "Proposal"
3576− },
3577− "scopes": [
3578− "https://www.googleapis.com/auth/adexchange.buyer"
3579− ]
3641+ "type": "object"
3642+ },
3643+ "TargetingValueSize": {
3644+ "id": "TargetingValueSize",
3645+ "properties": {
3646+ "height": {
3647+ "description": "The height of the creative.",
3648+ "format": "int32",
3649+ "type": "integer"
3650+ },
3651+ "width": {
3652+ "description": "The width of the creative.",
3653+ "format": "int32",
3654+ "type": "integer"
3655+ }
3656+ },
3657+ "type": "object"
3658+ },
3659+ "UpdatePrivateAuctionProposalRequest": {
3660+ "id": "UpdatePrivateAuctionProposalRequest",
3661+ "properties": {
3662+ "externalDealId": {
3663+ "description": "The externalDealId of the deal to be updated.",
3664+ "type": "string"
3665+ },
3666+ "note": {
3667+ "$ref": "MarketplaceNote",
3668+ "description": "Optional note to be added."
3669+ },
3670+ "proposalRevisionNumber": {
3671+ "description": "The current revision number of the proposal to be updated.",
3672+ "format": "int64",
3673+ "type": "string"
3674+ },
3675+ "updateAction": {
3676+ "description": "The proposed action on the private auction proposal.",
3677+ "type": "string"
3678+ }
3679+ },
3680+ "type": "object"
35803681 }
3581− }
35823682 },
3583− "pubprofiles": {
3584− "methods": {
3585− "list": {
3586− "id": "adexchangebuyer.pubprofiles.list",
3587− "path": "publisher/{accountId}/profiles",
3588− "httpMethod": "GET",
3589− "description": "Gets the requested publisher profile(s) by publisher accountId.",
3590− "parameters": {
3591− "accountId": {
3592− "type": "integer",
3593− "description": "The accountId of the publisher to get profiles for.",
3594− "required": true,
3595− "format": "int32",
3596− "location": "path"
3597− }
3598− },
3599− "parameterOrder": [
3600− "accountId"
3601− ],
3602− "response": {
3603− "$ref": "GetPublisherProfilesByAccountIdResponse"
3604− },
3605− "scopes": [
3606− "https://www.googleapis.com/auth/adexchange.buyer"
3607− ]
3608− }
3609− }
3610− }
3611− }
3612−}
3683+ "servicePath": "adexchangebuyer/v1.4/",
3684+ "title": "Ad Exchange Buyer API",
3685+ "version": "v1.4"
3686+}
gen/model/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json+5634−464
@@ -1,5 +1,4 @@
11{
2− "id": "adexchangebuyer2:v2beta1",
32 "auth": {
43 "oauth2": {
54 "scopes": {
@@ -9,433 +8,2854 @@
98 }
109 }
1110 },
12− "description": "Accesses the latest features for managing Ad Exchange accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.",
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+ "name": "adexchangebuyer2",
25+ "ownerDomain": "google.com",
26+ "ownerName": "Google",
27+ "parameters": {
28+ "$.xgafv": {
29+ "description": "V1 error format.",
30+ "enum": [
31+ "1",
32+ "2"
33+ ],
34+ "enumDescriptions": [
35+ "v1 error format",
36+ "v2 error format"
37+ ],
38+ "location": "query",
39+ "type": "string"
40+ },
41+ "access_token": {
42+ "description": "OAuth access token.",
43+ "location": "query",
44+ "type": "string"
45+ },
46+ "alt": {
47+ "default": "json",
48+ "description": "Data format for response.",
49+ "enum": [
50+ "json",
51+ "media",
52+ "proto"
53+ ],
54+ "enumDescriptions": [
55+ "Responses with Content-Type of application/json",
56+ "Media download with context-dependent Content-Type",
57+ "Responses with Content-Type of application/x-protobuf"
58+ ],
59+ "location": "query",
60+ "type": "string"
61+ },
62+ "callback": {
63+ "description": "JSONP",
64+ "location": "query",
65+ "type": "string"
66+ },
67+ "fields": {
68+ "description": "Selector specifying which fields to include in a partial response.",
69+ "location": "query",
70+ "type": "string"
71+ },
72+ "key": {
73+ "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.",
74+ "location": "query",
75+ "type": "string"
76+ },
77+ "oauth_token": {
78+ "description": "OAuth 2.0 token for the current user.",
79+ "location": "query",
80+ "type": "string"
81+ },
82+ "prettyPrint": {
83+ "default": "true",
84+ "description": "Returns response with indentations and line breaks.",
85+ "location": "query",
86+ "type": "boolean"
87+ },
88+ "quotaUser": {
89+ "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.",
90+ "location": "query",
91+ "type": "string"
92+ },
93+ "uploadType": {
94+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
95+ "location": "query",
96+ "type": "string"
97+ },
98+ "upload_protocol": {
99+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
100+ "location": "query",
101+ "type": "string"
102+ }
103+ },
13104 "protocol": "rest",
14− "title": "Ad Exchange Buyer API II",
15105 "resources": {
16106 "accounts": {
17107 "resources": {
18108 "clients": {
109+ "methods": {
110+ "create": {
111+ "description": "Creates a new client buyer.",
112+ "flatPath": "v2beta1/accounts/{accountId}/clients",
113+ "httpMethod": "POST",
114+ "id": "adexchangebuyer2.accounts.clients.create",
115+ "parameterOrder": [
116+ "accountId"
117+ ],
118+ "parameters": {
119+ "accountId": {
120+ "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)",
121+ "format": "int64",
122+ "location": "path",
123+ "required": true,
124+ "type": "string"
125+ }
126+ },
127+ "path": "v2beta1/accounts/{accountId}/clients",
128+ "request": {
129+ "$ref": "Client"
130+ },
131+ "response": {
132+ "$ref": "Client"
133+ },
134+ "scopes": [
135+ "https://www.googleapis.com/auth/adexchange.buyer"
136+ ]
137+ },
138+ "get": {
139+ "description": "Gets a client buyer with a given client account ID.",
140+ "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
141+ "httpMethod": "GET",
142+ "id": "adexchangebuyer2.accounts.clients.get",
143+ "parameterOrder": [
144+ "accountId",
145+ "clientAccountId"
146+ ],
147+ "parameters": {
148+ "accountId": {
149+ "description": "Numerical account ID of the client's sponsor buyer. (required)",
150+ "format": "int64",
151+ "location": "path",
152+ "required": true,
153+ "type": "string"
154+ },
155+ "clientAccountId": {
156+ "description": "Numerical account ID of the client buyer to retrieve. (required)",
157+ "format": "int64",
158+ "location": "path",
159+ "required": true,
160+ "type": "string"
161+ }
162+ },
163+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
164+ "response": {
165+ "$ref": "Client"
166+ },
167+ "scopes": [
168+ "https://www.googleapis.com/auth/adexchange.buyer"
169+ ]
170+ },
171+ "list": {
172+ "description": "Lists all the clients for the current sponsor buyer.",
173+ "flatPath": "v2beta1/accounts/{accountId}/clients",
174+ "httpMethod": "GET",
175+ "id": "adexchangebuyer2.accounts.clients.list",
176+ "parameterOrder": [
177+ "accountId"
178+ ],
179+ "parameters": {
180+ "accountId": {
181+ "description": "Unique numerical account ID of the sponsor buyer to list the clients for.",
182+ "format": "int64",
183+ "location": "path",
184+ "required": true,
185+ "type": "string"
186+ },
187+ "pageSize": {
188+ "description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.",
189+ "format": "int32",
190+ "location": "query",
191+ "type": "integer"
192+ },
193+ "pageToken": {
194+ "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.",
195+ "location": "query",
196+ "type": "string"
197+ },
198+ "partnerClientId": {
199+ "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.",
200+ "location": "query",
201+ "type": "string"
202+ }
203+ },
204+ "path": "v2beta1/accounts/{accountId}/clients",
205+ "response": {
206+ "$ref": "ListClientsResponse"
207+ },
208+ "scopes": [
209+ "https://www.googleapis.com/auth/adexchange.buyer"
210+ ]
211+ },
212+ "update": {
213+ "description": "Updates an existing client buyer.",
214+ "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
215+ "httpMethod": "PUT",
216+ "id": "adexchangebuyer2.accounts.clients.update",
217+ "parameterOrder": [
218+ "accountId",
219+ "clientAccountId"
220+ ],
221+ "parameters": {
222+ "accountId": {
223+ "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)",
224+ "format": "int64",
225+ "location": "path",
226+ "required": true,
227+ "type": "string"
228+ },
229+ "clientAccountId": {
230+ "description": "Unique numerical account ID of the client to update. (required)",
231+ "format": "int64",
232+ "location": "path",
233+ "required": true,
234+ "type": "string"
235+ }
236+ },
237+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
238+ "request": {
239+ "$ref": "Client"
240+ },
241+ "response": {
242+ "$ref": "Client"
243+ },
244+ "scopes": [
245+ "https://www.googleapis.com/auth/adexchange.buyer"
246+ ]
247+ }
248+ },
19249 "resources": {
20− "users": {
250+ "invitations": {
21251 "methods": {
22− "update": {
23− "id": "adexchangebuyer2.accounts.clients.users.update",
24− "response": {
25− "$ref": "ClientUser"
26− },
252+ "create": {
253+ "description": "Creates and sends out an email invitation to access\nan Ad Exchange client buyer account.",
254+ "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
255+ "httpMethod": "POST",
256+ "id": "adexchangebuyer2.accounts.clients.invitations.create",
27257 "parameterOrder": [
28258 "accountId",
29− "clientAccountId",
30− "userId"
259+ "clientAccountId"
31260 ],
32− "description": "Updates an existing client user.\nOnly the user status can be changed on update.",
33− "request": {
34− "$ref": "ClientUser"
35− },
36− "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
37− "httpMethod": "PUT",
38261 "parameters": {
39− "clientAccountId": {
40− "description": "Numerical account ID of the client buyer that the user to be retrieved\nis associated with. (required)",
41− "required": true,
42− "location": "path",
43− "type": "string",
44− "format": "int64"
45− },
46− "userId": {
47− "description": "Numerical identifier of the user to retrieve. (required)",
48− "required": true,
49− "location": "path",
50− "type": "string",
51− "format": "int64"
52− },
53262 "accountId": {
54263 "description": "Numerical account ID of the client's sponsor buyer. (required)",
264+ "format": "int64",
265+ "location": "path",
55266 "required": true,
267+ "type": "string"
268+ },
269+ "clientAccountId": {
270+ "description": "Numerical account ID of the client buyer that the user\nshould be associated with. (required)",
271+ "format": "int64",
56272 "location": "path",
57− "type": "string",
58− "format": "int64"
273+ "required": true,
274+ "type": "string"
59275 }
60276 },
61− "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
277+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
278+ "request": {
279+ "$ref": "ClientUserInvitation"
280+ },
281+ "response": {
282+ "$ref": "ClientUserInvitation"
283+ },
62284 "scopes": [
63285 "https://www.googleapis.com/auth/adexchange.buyer"
64286 ]
65287 },
66288 "get": {
67− "id": "adexchangebuyer2.accounts.clients.users.get",
68− "response": {
69− "$ref": "ClientUser"
70− },
289+ "description": "Retrieves an existing client user invitation.",
290+ "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}",
291+ "httpMethod": "GET",
292+ "id": "adexchangebuyer2.accounts.clients.invitations.get",
71293 "parameterOrder": [
72294 "accountId",
73295 "clientAccountId",
74− "userId"
296+ "invitationId"
75297 ],
76− "description": "Retrieves an existing client user.",
77− "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
78− "httpMethod": "GET",
79298 "parameters": {
80− "clientAccountId": {
81− "description": "Numerical account ID of the client buyer\nthat the user to be retrieved is associated with. (required)",
82− "required": true,
299+ "accountId": {
300+ "description": "Numerical account ID of the client's sponsor buyer. (required)",
301+ "format": "int64",
83302 "location": "path",
84− "type": "string",
85− "format": "int64"
86− },
87− "userId": {
88− "description": "Numerical identifier of the user to retrieve. (required)",
89303 "required": true,
90− "location": "path",
91− "type": "string",
92− "format": "int64"
304+ "type": "string"
93305 },
94− "accountId": {
95− "description": "Numerical account ID of the client's sponsor buyer. (required)",
306+ "clientAccountId": {
307+ "description": "Numerical account ID of the client buyer that the user invitation\nto be retrieved is associated with. (required)",
308+ "format": "int64",
309+ "location": "path",
96310 "required": true,
311+ "type": "string"
312+ },
313+ "invitationId": {
314+ "description": "Numerical identifier of the user invitation to retrieve. (required)",
315+ "format": "int64",
97316 "location": "path",
98− "type": "string",
99− "format": "int64"
317+ "required": true,
318+ "type": "string"
100319 }
101320 },
102− "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
321+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}",
322+ "response": {
323+ "$ref": "ClientUserInvitation"
324+ },
103325 "scopes": [
104326 "https://www.googleapis.com/auth/adexchange.buyer"
105327 ]
106328 },
107329 "list": {
108− "id": "adexchangebuyer2.accounts.clients.users.list",
109− "response": {
110− "$ref": "ListClientUsersResponse"
111− },
330+ "description": "Lists all the client users invitations for a client\nwith a given account ID.",
331+ "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
332+ "httpMethod": "GET",
333+ "id": "adexchangebuyer2.accounts.clients.invitations.list",
112334 "parameterOrder": [
113335 "accountId",
114336 "clientAccountId"
115337 ],
116− "description": "Lists all the known client users for a specified\nsponsor buyer account ID.",
117− "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users",
118− "httpMethod": "GET",
119338 "parameters": {
120− "clientAccountId": {
121− "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.",
339+ "accountId": {
340+ "description": "Numerical account ID of the client's sponsor buyer. (required)",
341+ "format": "int64",
342+ "location": "path",
122343 "required": true,
344+ "type": "string"
345+ },
346+ "clientAccountId": {
347+ "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.",
123348 "location": "path",
349+ "required": true,
124350 "type": "string"
125351 },
126352 "pageSize": {
127− "description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.",
353+ "description": "Requested page size. Server may return fewer clients than requested.\nIf unspecified, server will pick an appropriate default.",
354+ "format": "int32",
128355 "location": "query",
129− "type": "integer",
130− "format": "int32"
131− },
132− "accountId": {
133− "description": "Numerical account ID of the sponsor buyer of the client to list users for.\n(required)",
134− "required": true,
135− "location": "path",
136− "type": "string",
137− "format": "int64"
356+ "type": "integer"
138357 },
139358 "pageToken": {
140− "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 method.",
359+ "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.",
141360 "location": "query",
142361 "type": "string"
143362 }
144363 },
145− "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users",
364+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
365+ "response": {
366+ "$ref": "ListClientUserInvitationsResponse"
367+ },
146368 "scopes": [
147369 "https://www.googleapis.com/auth/adexchange.buyer"
148370 ]
149371 }
150372 }
151373 },
152− "invitations": {
374+ "users": {
153375 "methods": {
154− "create": {
155− "id": "adexchangebuyer2.accounts.clients.invitations.create",
156− "response": {
157− "$ref": "ClientUserInvitation"
158− },
376+ "get": {
377+ "description": "Retrieves an existing client user.",
378+ "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
379+ "httpMethod": "GET",
380+ "id": "adexchangebuyer2.accounts.clients.users.get",
159381 "parameterOrder": [
160382 "accountId",
161− "clientAccountId"
383+ "clientAccountId",
384+ "userId"
162385 ],
163− "description": "Creates and sends out an email invitation to access\nan Ad Exchange client buyer account.",
164− "request": {
165− "$ref": "ClientUserInvitation"
166− },
167− "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
168− "httpMethod": "POST",
169386 "parameters": {
170− "clientAccountId": {
171− "description": "Numerical account ID of the client buyer that the user\nshould be associated with. (required)",
172− "required": true,
173− "location": "path",
174− "type": "string",
175− "format": "int64"
176− },
177387 "accountId": {
178388 "description": "Numerical account ID of the client's sponsor buyer. (required)",
389+ "format": "int64",
390+ "location": "path",
391+ "required": true,
392+ "type": "string"
393+ },
394+ "clientAccountId": {
395+ "description": "Numerical account ID of the client buyer\nthat the user to be retrieved is associated with. (required)",
396+ "format": "int64",
397+ "location": "path",
179398 "required": true,
399+ "type": "string"
400+ },
401+ "userId": {
402+ "description": "Numerical identifier of the user to retrieve. (required)",
403+ "format": "int64",
180404 "location": "path",
181− "type": "string",
182− "format": "int64"
405+ "required": true,
406+ "type": "string"
183407 }
184408 },
185− "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
409+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
410+ "response": {
411+ "$ref": "ClientUser"
412+ },
186413 "scopes": [
187414 "https://www.googleapis.com/auth/adexchange.buyer"
188415 ]
189416 },
190− "get": {
191− "id": "adexchangebuyer2.accounts.clients.invitations.get",
192− "response": {
193− "$ref": "ClientUserInvitation"
194− },
417+ "list": {
418+ "description": "Lists all the known client users for a specified\nsponsor buyer account ID.",
419+ "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users",
420+ "httpMethod": "GET",
421+ "id": "adexchangebuyer2.accounts.clients.users.list",
195422 "parameterOrder": [
196423 "accountId",
197− "clientAccountId",
198− "invitationId"
424+ "clientAccountId"
199425 ],
200− "description": "Retrieves an existing client user invitation.",
201− "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}",
202− "httpMethod": "GET",
203426 "parameters": {
204− "clientAccountId": {
205− "description": "Numerical account ID of the client buyer that the user invitation\nto be retrieved is associated with. (required)",
206− "required": true,
427+ "accountId": {
428+ "description": "Numerical account ID of the sponsor buyer of the client to list users for.\n(required)",
429+ "format": "int64",
207430 "location": "path",
208− "type": "string",
209− "format": "int64"
210− },
211− "invitationId": {
212− "description": "Numerical identifier of the user invitation to retrieve. (required)",
213431 "required": true,
214− "location": "path",
215− "type": "string",
216− "format": "int64"
432+ "type": "string"
217433 },
218− "accountId": {
219− "description": "Numerical account ID of the client's sponsor buyer. (required)",
220− "required": true,
434+ "clientAccountId": {
435+ "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.",
221436 "location": "path",
222− "type": "string",
223− "format": "int64"
437+ "required": true,
438+ "type": "string"
439+ },
440+ "pageSize": {
441+ "description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.",
442+ "format": "int32",
443+ "location": "query",
444+ "type": "integer"
445+ },
446+ "pageToken": {
447+ "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 method.",
448+ "location": "query",
449+ "type": "string"
224450 }
225451 },
226− "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}",
452+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users",
453+ "response": {
454+ "$ref": "ListClientUsersResponse"
455+ },
227456 "scopes": [
228457 "https://www.googleapis.com/auth/adexchange.buyer"
229458 ]
230459 },
231− "list": {
232− "id": "adexchangebuyer2.accounts.clients.invitations.list",
233− "response": {
234− "$ref": "ListClientUserInvitationsResponse"
235− },
460+ "update": {
461+ "description": "Updates an existing client user.\nOnly the user status can be changed on update.",
462+ "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
463+ "httpMethod": "PUT",
464+ "id": "adexchangebuyer2.accounts.clients.users.update",
236465 "parameterOrder": [
237466 "accountId",
238− "clientAccountId"
467+ "clientAccountId",
468+ "userId"
239469 ],
240− "description": "Lists all the client users invitations for a client\nwith a given account ID.",
241− "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
242− "httpMethod": "GET",
243470 "parameters": {
244− "clientAccountId": {
245− "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.",
246− "required": true,
247− "location": "path",
248− "type": "string"
249− },
250− "pageSize": {
251− "description": "Requested page size. Server may return fewer clients than requested.\nIf unspecified, server will pick an appropriate default.",
252− "location": "query",
253− "type": "integer",
254− "format": "int32"
255− },
256471 "accountId": {
257472 "description": "Numerical account ID of the client's sponsor buyer. (required)",
473+ "format": "int64",
474+ "location": "path",
258475 "required": true,
476+ "type": "string"
477+ },
478+ "clientAccountId": {
479+ "description": "Numerical account ID of the client buyer that the user to be retrieved\nis associated with. (required)",
480+ "format": "int64",
259481 "location": "path",
260− "type": "string",
261− "format": "int64"
482+ "required": true,
483+ "type": "string"
262484 },
263− "pageToken": {
264− "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.",
265− "location": "query",
485+ "userId": {
486+ "description": "Numerical identifier of the user to retrieve. (required)",
487+ "format": "int64",
488+ "location": "path",
489+ "required": true,
266490 "type": "string"
267491 }
268492 },
269− "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
493+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
494+ "request": {
495+ "$ref": "ClientUser"
496+ },
497+ "response": {
498+ "$ref": "ClientUser"
499+ },
270500 "scopes": [
271501 "https://www.googleapis.com/auth/adexchange.buyer"
272502 ]
273503 }
274504 }
275505 }
276− },
506+ }
507+ },
508+ "creatives": {
277509 "methods": {
278− "update": {
279− "id": "adexchangebuyer2.accounts.clients.update",
280− "response": {
281− "$ref": "Client"
282− },
510+ "create": {
511+ "description": "Creates a creative.",
512+ "flatPath": "v2beta1/accounts/{accountId}/creatives",
513+ "httpMethod": "POST",
514+ "id": "adexchangebuyer2.accounts.creatives.create",
283515 "parameterOrder": [
284− "accountId",
285− "clientAccountId"
516+ "accountId"
286517 ],
287− "description": "Updates an existing client buyer.",
288− "request": {
289− "$ref": "Client"
290− },
291− "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
292− "httpMethod": "PUT",
293518 "parameters": {
294− "clientAccountId": {
295− "description": "Unique numerical account ID of the client to update. (required)",
296− "required": true,
297− "location": "path",
298− "type": "string",
299− "format": "int64"
300− },
301519 "accountId": {
302− "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)",
303− "required": true,
520+ "description": "The account that this creative belongs to.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
304521 "location": "path",
305− "type": "string",
306− "format": "int64"
522+ "required": true,
523+ "type": "string"
524+ },
525+ "duplicateIdMode": {
526+ "description": "Indicates if multiple creatives can share an ID or not. Default is\nNO_DUPLICATES (one ID per creative).",
527+ "enum": [
528+ "NO_DUPLICATES",
529+ "FORCE_ENABLE_DUPLICATE_IDS"
530+ ],
531+ "location": "query",
532+ "type": "string"
307533 }
308534 },
309− "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
310− "scopes": [
311− "https://www.googleapis.com/auth/adexchange.buyer"
535+ "path": "v2beta1/accounts/{accountId}/creatives",
536+ "request": {
537+ "$ref": "Creative"
538+ },
539+ "response": {
540+ "$ref": "Creative"
541+ },
542+ "scopes": [
543+ "https://www.googleapis.com/auth/adexchange.buyer"
312544 ]
313545 },
314546 "get": {
315− "id": "adexchangebuyer2.accounts.clients.get",
316− "response": {
317− "$ref": "Client"
318− },
547+ "description": "Gets a creative.",
548+ "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}",
549+ "httpMethod": "GET",
550+ "id": "adexchangebuyer2.accounts.creatives.get",
319551 "parameterOrder": [
320552 "accountId",
321− "clientAccountId"
553+ "creativeId"
322554 ],
323− "description": "Gets a client buyer with a given client account ID.",
324− "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
325− "httpMethod": "GET",
326555 "parameters": {
327− "clientAccountId": {
328− "description": "Numerical account ID of the client buyer to retrieve. (required)",
329− "required": true,
330− "location": "path",
331− "type": "string",
332− "format": "int64"
333− },
334556 "accountId": {
335− "description": "Numerical account ID of the client's sponsor buyer. (required)",
557+ "description": "The account the creative belongs to.",
558+ "location": "path",
336559 "required": true,
560+ "type": "string"
561+ },
562+ "creativeId": {
563+ "description": "The ID of the creative to retrieve.",
337564 "location": "path",
338− "type": "string",
339− "format": "int64"
565+ "required": true,
566+ "type": "string"
340567 }
341568 },
342− "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
569+ "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}",
570+ "response": {
571+ "$ref": "Creative"
572+ },
343573 "scopes": [
344574 "https://www.googleapis.com/auth/adexchange.buyer"
345575 ]
346576 },
347− "create": {
348− "id": "adexchangebuyer2.accounts.clients.create",
577+ "list": {
578+ "description": "Lists creatives.",
579+ "flatPath": "v2beta1/accounts/{accountId}/creatives",
580+ "httpMethod": "GET",
581+ "id": "adexchangebuyer2.accounts.creatives.list",
582+ "parameterOrder": [
583+ "accountId"
584+ ],
585+ "parameters": {
586+ "accountId": {
587+ "description": "The account to list the creatives from.\nSpecify \"-\" to list all creatives the current user has access to.",
588+ "location": "path",
589+ "required": true,
590+ "type": "string"
591+ },
592+ "pageSize": {
593+ "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.",
594+ "format": "int32",
595+ "location": "query",
596+ "type": "integer"
597+ },
598+ "pageToken": {
599+ "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.",
600+ "location": "query",
601+ "type": "string"
602+ },
603+ "query": {
604+ "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'",
605+ "location": "query",
606+ "type": "string"
607+ }
608+ },
609+ "path": "v2beta1/accounts/{accountId}/creatives",
349610 "response": {
350− "$ref": "Client"
611+ "$ref": "ListCreativesResponse"
351612 },
613+ "scopes": [
614+ "https://www.googleapis.com/auth/adexchange.buyer"
615+ ]
616+ },
617+ "stopWatching": {
618+ "description": "Stops watching a creative. Will stop push notifications being sent to the\ntopics when the creative changes status.",
619+ "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching",
620+ "httpMethod": "POST",
621+ "id": "adexchangebuyer2.accounts.creatives.stopWatching",
352622 "parameterOrder": [
353− "accountId"
623+ "accountId",
624+ "creativeId"
354625 ],
355− "description": "Creates a new client buyer.",
626+ "parameters": {
627+ "accountId": {
628+ "description": "The account of the creative to stop notifications for.",
629+ "location": "path",
630+ "required": true,
631+ "type": "string"
632+ },
633+ "creativeId": {
634+ "description": "The creative ID of the creative to stop notifications for.\nSpecify \"-\" to specify stopping account level notifications.",
635+ "location": "path",
636+ "required": true,
637+ "type": "string"
638+ }
639+ },
640+ "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching",
356641 "request": {
357− "$ref": "Client"
642+ "$ref": "StopWatchingCreativeRequest"
358643 },
359− "flatPath": "v2beta1/accounts/{accountId}/clients",
360− "httpMethod": "POST",
644+ "response": {
645+ "$ref": "Empty"
646+ },
647+ "scopes": [
648+ "https://www.googleapis.com/auth/adexchange.buyer"
649+ ]
650+ },
651+ "update": {
652+ "description": "Updates a creative.",
653+ "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}",
654+ "httpMethod": "PUT",
655+ "id": "adexchangebuyer2.accounts.creatives.update",
656+ "parameterOrder": [
657+ "accountId",
658+ "creativeId"
659+ ],
361660 "parameters": {
362661 "accountId": {
363− "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)",
662+ "description": "The account that this creative belongs to.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
663+ "location": "path",
364664 "required": true,
665+ "type": "string"
666+ },
667+ "creativeId": {
668+ "description": "The buyer-defined creative ID of this creative.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
365669 "location": "path",
366− "type": "string",
367− "format": "int64"
670+ "required": true,
671+ "type": "string"
368672 }
369673 },
370− "path": "v2beta1/accounts/{accountId}/clients",
674+ "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}",
675+ "request": {
676+ "$ref": "Creative"
677+ },
678+ "response": {
679+ "$ref": "Creative"
680+ },
371681 "scopes": [
372682 "https://www.googleapis.com/auth/adexchange.buyer"
373683 ]
374684 },
375− "list": {
376− "id": "adexchangebuyer2.accounts.clients.list",
685+ "watch": {
686+ "description": "Watches a creative. Will result in push notifications being sent to the\ntopic when the creative changes status.",
687+ "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}:watch",
688+ "httpMethod": "POST",
689+ "id": "adexchangebuyer2.accounts.creatives.watch",
690+ "parameterOrder": [
691+ "accountId",
692+ "creativeId"
693+ ],
694+ "parameters": {
695+ "accountId": {
696+ "description": "The account of the creative to watch.",
697+ "location": "path",
698+ "required": true,
699+ "type": "string"
700+ },
701+ "creativeId": {
702+ "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.",
703+ "location": "path",
704+ "required": true,
705+ "type": "string"
706+ }
707+ },
708+ "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}:watch",
709+ "request": {
710+ "$ref": "WatchCreativeRequest"
711+ },
377712 "response": {
378− "$ref": "ListClientsResponse"
713+ "$ref": "Empty"
379714 },
715+ "scopes": [
716+ "https://www.googleapis.com/auth/adexchange.buyer"
717+ ]
718+ }
719+ },
720+ "resources": {
721+ "dealAssociations": {
722+ "methods": {
723+ "add": {
724+ "description": "Associate an existing deal with a creative.",
725+ "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add",
726+ "httpMethod": "POST",
727+ "id": "adexchangebuyer2.accounts.creatives.dealAssociations.add",
728+ "parameterOrder": [
729+ "accountId",
730+ "creativeId"
731+ ],
732+ "parameters": {
733+ "accountId": {
734+ "description": "The account the creative belongs to.",
735+ "location": "path",
736+ "required": true,
737+ "type": "string"
738+ },
739+ "creativeId": {
740+ "description": "The ID of the creative associated with the deal.",
741+ "location": "path",
742+ "required": true,
743+ "type": "string"
744+ }
745+ },
746+ "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add",
747+ "request": {
748+ "$ref": "AddDealAssociationRequest"
749+ },
750+ "response": {
751+ "$ref": "Empty"
752+ },
753+ "scopes": [
754+ "https://www.googleapis.com/auth/adexchange.buyer"
755+ ]
756+ },
757+ "list": {
758+ "description": "List all creative-deal associations.",
759+ "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations",
760+ "httpMethod": "GET",
761+ "id": "adexchangebuyer2.accounts.creatives.dealAssociations.list",
762+ "parameterOrder": [
763+ "accountId",
764+ "creativeId"
765+ ],
766+ "parameters": {
767+ "accountId": {
768+ "description": "The account to list the associations from.\nSpecify \"-\" to list all creatives the current user has access to.",
769+ "location": "path",
770+ "required": true,
771+ "type": "string"
772+ },
773+ "creativeId": {
774+ "description": "The creative ID to list the associations from.\nSpecify \"-\" to list all creatives under the above account.",
775+ "location": "path",
776+ "required": true,
777+ "type": "string"
778+ },
779+ "pageSize": {
780+ "description": "Requested page size. Server may return fewer associations than requested.\nIf unspecified, server will pick an appropriate default.",
781+ "format": "int32",
782+ "location": "query",
783+ "type": "integer"
784+ },
785+ "pageToken": {
786+ "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.",
787+ "location": "query",
788+ "type": "string"
789+ },
790+ "query": {
791+ "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'",
792+ "location": "query",
793+ "type": "string"
794+ }
795+ },
796+ "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations",
797+ "response": {
798+ "$ref": "ListDealAssociationsResponse"
799+ },
800+ "scopes": [
801+ "https://www.googleapis.com/auth/adexchange.buyer"
802+ ]
803+ },
804+ "remove": {
805+ "description": "Remove the association between a deal and a creative.",
806+ "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove",
807+ "httpMethod": "POST",
808+ "id": "adexchangebuyer2.accounts.creatives.dealAssociations.remove",
809+ "parameterOrder": [
810+ "accountId",
811+ "creativeId"
812+ ],
813+ "parameters": {
814+ "accountId": {
815+ "description": "The account the creative belongs to.",
816+ "location": "path",
817+ "required": true,
818+ "type": "string"
819+ },
820+ "creativeId": {
821+ "description": "The ID of the creative associated with the deal.",
822+ "location": "path",
823+ "required": true,
824+ "type": "string"
825+ }
826+ },
827+ "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove",
828+ "request": {
829+ "$ref": "RemoveDealAssociationRequest"
830+ },
831+ "response": {
832+ "$ref": "Empty"
833+ },
834+ "scopes": [
835+ "https://www.googleapis.com/auth/adexchange.buyer"
836+ ]
837+ }
838+ }
839+ }
840+ }
841+ },
842+ "finalizedProposals": {
843+ "methods": {
844+ "list": {
845+ "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.",
846+ "flatPath": "v2beta1/accounts/{accountId}/finalizedProposals",
847+ "httpMethod": "GET",
848+ "id": "adexchangebuyer2.accounts.finalizedProposals.list",
380849 "parameterOrder": [
381850 "accountId"
382851 ],
383− "description": "Lists all the clients for the current sponsor buyer.",
384− "flatPath": "v2beta1/accounts/{accountId}/clients",
385− "httpMethod": "GET",
386852 "parameters": {
387− "pageSize": {
388− "description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.",
389− "location": "query",
390− "type": "integer",
391− "format": "int32"
392− },
393853 "accountId": {
394− "description": "Unique numerical account ID of the sponsor buyer to list the clients for.",
395− "required": true,
854+ "description": "Account ID of the buyer.",
396855 "location": "path",
397− "type": "string",
398− "format": "int64"
856+ "required": true,
857+ "type": "string"
858+ },
859+ "filter": {
860+ "description": "An optional PQL filter query used to query for proposals.\n\nNested repeated fields, such as proposal.deals.targetingCriterion,\ncannot be filtered.",
861+ "location": "query",
862+ "type": "string"
863+ },
864+ "filterSyntax": {
865+ "description": "Syntax the filter is written in. Current implementation defaults to PQL\nbut in the future it will be LIST_FILTER.",
866+ "enum": [
867+ "FILTER_SYNTAX_UNSPECIFIED",
868+ "PQL",
869+ "LIST_FILTER"
870+ ],
871+ "location": "query",
872+ "type": "string"
873+ },
874+ "pageSize": {
875+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
876+ "format": "int32",
877+ "location": "query",
878+ "type": "integer"
399879 },
400880 "pageToken": {
401− "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 method.",
881+ "description": "The page token as returned from ListProposalsResponse.",
402882 "location": "query",
403883 "type": "string"
404884 }
405885 },
406− "path": "v2beta1/accounts/{accountId}/clients",
886+ "path": "v2beta1/accounts/{accountId}/finalizedProposals",
887+ "response": {
888+ "$ref": "ListProposalsResponse"
889+ },
407890 "scopes": [
408891 "https://www.googleapis.com/auth/adexchange.buyer"
409892 ]
410893 }
411894 }
412− }
413− }
414− }
415− },
416− "schemas": {
417− "ClientUser": {
418− "description": "A client user is created under a client buyer and has restricted access to\nthe Ad Exchange Marketplace and certain other sections\nof the Ad Exchange Buyer UI based on the role\ngranted 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.",
419− "type": "object",
420− "properties": {
421− "email": {
422− "description": "User's email address. The value of this field\nis ignored in an update operation.",
423− "type": "string"
424895 },
425− "clientAccountId": {
426− "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.",
427− "type": "string",
428− "format": "int64"
429− },
430− "status": {
431− "description": "The status of the client user.",
432− "enum": [
433− "USER_STATUS_UNSPECIFIED",
434− "PENDING",
435− "ACTIVE",
436− "DISABLED"
437− ],
438− "enumDescriptions": [
896+ "products": {
897+ "methods": {
898+ "get": {
899+ "description": "Gets the requested product by ID.",
900+ "flatPath": "v2beta1/accounts/{accountId}/products/{productId}",
901+ "httpMethod": "GET",
902+ "id": "adexchangebuyer2.accounts.products.get",
903+ "parameterOrder": [
904+ "accountId",
905+ "productId"
906+ ],
907+ "parameters": {
908+ "accountId": {
909+ "description": "Account ID of the buyer.",
910+ "location": "path",
911+ "required": true,
912+ "type": "string"
913+ },
914+ "productId": {
915+ "description": "The ID for the product to get the head revision for.",
916+ "location": "path",
917+ "required": true,
918+ "type": "string"
919+ }
920+ },
921+ "path": "v2beta1/accounts/{accountId}/products/{productId}",
922+ "response": {
923+ "$ref": "Product"
924+ },
925+ "scopes": [
926+ "https://www.googleapis.com/auth/adexchange.buyer"
927+ ]
928+ },
929+ "list": {
930+ "description": "List all products visible to the buyer (optionally filtered by the\nspecified PQL query).",
931+ "flatPath": "v2beta1/accounts/{accountId}/products",
932+ "httpMethod": "GET",
933+ "id": "adexchangebuyer2.accounts.products.list",
934+ "parameterOrder": [
935+ "accountId"
936+ ],
937+ "parameters": {
938+ "accountId": {
939+ "description": "Account ID of the buyer.",
940+ "location": "path",
941+ "required": true,
942+ "type": "string"
943+ },
944+ "filter": {
945+ "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.",
946+ "location": "query",
947+ "type": "string"
948+ },
949+ "pageSize": {
950+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
951+ "format": "int32",
952+ "location": "query",
953+ "type": "integer"
954+ },
955+ "pageToken": {
956+ "description": "The page token as returned from ListProductsResponse.",
957+ "location": "query",
958+ "type": "string"
959+ }
960+ },
961+ "path": "v2beta1/accounts/{accountId}/products",
962+ "response": {
963+ "$ref": "ListProductsResponse"
964+ },
965+ "scopes": [
966+ "https://www.googleapis.com/auth/adexchange.buyer"
967+ ]
968+ }
969+ }
970+ },
971+ "proposals": {
972+ "methods": {
973+ "accept": {
974+ "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`.",
975+ "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}:accept",
976+ "httpMethod": "POST",
977+ "id": "adexchangebuyer2.accounts.proposals.accept",
978+ "parameterOrder": [
979+ "accountId",
980+ "proposalId"
981+ ],
982+ "parameters": {
983+ "accountId": {
984+ "description": "Account ID of the buyer.",
985+ "location": "path",
986+ "required": true,
987+ "type": "string"
988+ },
989+ "proposalId": {
990+ "description": "The ID of the proposal to accept.",
991+ "location": "path",
992+ "required": true,
993+ "type": "string"
994+ }
995+ },
996+ "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}:accept",
997+ "request": {
998+ "$ref": "AcceptProposalRequest"
999+ },
1000+ "response": {
1001+ "$ref": "Proposal"
1002+ },
1003+ "scopes": [
1004+ "https://www.googleapis.com/auth/adexchange.buyer"
1005+ ]
1006+ },
1007+ "addNote": {
1008+ "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.",
1009+ "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote",
1010+ "httpMethod": "POST",
1011+ "id": "adexchangebuyer2.accounts.proposals.addNote",
1012+ "parameterOrder": [
1013+ "accountId",
1014+ "proposalId"
1015+ ],
1016+ "parameters": {
1017+ "accountId": {
1018+ "description": "Account ID of the buyer.",
1019+ "location": "path",
1020+ "required": true,
1021+ "type": "string"
1022+ },
1023+ "proposalId": {
1024+ "description": "The ID of the proposal to attach the note to.",
1025+ "location": "path",
1026+ "required": true,
1027+ "type": "string"
1028+ }
1029+ },
1030+ "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote",
1031+ "request": {
1032+ "$ref": "AddNoteRequest"
1033+ },
1034+ "response": {
1035+ "$ref": "Note"
1036+ },
1037+ "scopes": [
1038+ "https://www.googleapis.com/auth/adexchange.buyer"
1039+ ]
1040+ },
1041+ "cancelNegotiation": {
1042+ "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.",
1043+ "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation",
1044+ "httpMethod": "POST",
1045+ "id": "adexchangebuyer2.accounts.proposals.cancelNegotiation",
1046+ "parameterOrder": [
1047+ "accountId",
1048+ "proposalId"
1049+ ],
1050+ "parameters": {
1051+ "accountId": {
1052+ "description": "Account ID of the buyer.",
1053+ "location": "path",
1054+ "required": true,
1055+ "type": "string"
1056+ },
1057+ "proposalId": {
1058+ "description": "The ID of the proposal to cancel negotiation for.",
1059+ "location": "path",
1060+ "required": true,
1061+ "type": "string"
1062+ }
1063+ },
1064+ "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation",
1065+ "request": {
1066+ "$ref": "CancelNegotiationRequest"
1067+ },
1068+ "response": {
1069+ "$ref": "Proposal"
1070+ },
1071+ "scopes": [
1072+ "https://www.googleapis.com/auth/adexchange.buyer"
1073+ ]
1074+ },
1075+ "completeSetup": {
1076+ "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.",
1077+ "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup",
1078+ "httpMethod": "POST",
1079+ "id": "adexchangebuyer2.accounts.proposals.completeSetup",
1080+ "parameterOrder": [
1081+ "accountId",
1082+ "proposalId"
1083+ ],
1084+ "parameters": {
1085+ "accountId": {
1086+ "description": "Account ID of the buyer.",
1087+ "location": "path",
1088+ "required": true,
1089+ "type": "string"
1090+ },
1091+ "proposalId": {
1092+ "description": "The ID of the proposal to mark as setup completed.",
1093+ "location": "path",
1094+ "required": true,
1095+ "type": "string"
1096+ }
1097+ },
1098+ "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup",
1099+ "request": {
1100+ "$ref": "CompleteSetupRequest"
1101+ },
1102+ "response": {
1103+ "$ref": "Proposal"
1104+ },
1105+ "scopes": [
1106+ "https://www.googleapis.com/auth/adexchange.buyer"
1107+ ]
1108+ },
1109+ "create": {
1110+ "description": "Create the given proposal. Each created proposal and any deals it contains\nare assigned a unique ID by the server.",
1111+ "flatPath": "v2beta1/accounts/{accountId}/proposals",
1112+ "httpMethod": "POST",
1113+ "id": "adexchangebuyer2.accounts.proposals.create",
1114+ "parameterOrder": [
1115+ "accountId"
1116+ ],
1117+ "parameters": {
1118+ "accountId": {
1119+ "description": "Account ID of the buyer.",
1120+ "location": "path",
1121+ "required": true,
1122+ "type": "string"
1123+ }
1124+ },
1125+ "path": "v2beta1/accounts/{accountId}/proposals",
1126+ "request": {
1127+ "$ref": "Proposal"
1128+ },
1129+ "response": {
1130+ "$ref": "Proposal"
1131+ },
1132+ "scopes": [
1133+ "https://www.googleapis.com/auth/adexchange.buyer"
1134+ ]
1135+ },
1136+ "get": {
1137+ "description": "Gets a proposal given its ID. The proposal is returned at its head\nrevision.",
1138+ "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}",
1139+ "httpMethod": "GET",
1140+ "id": "adexchangebuyer2.accounts.proposals.get",
1141+ "parameterOrder": [
1142+ "accountId",
1143+ "proposalId"
1144+ ],
1145+ "parameters": {
1146+ "accountId": {
1147+ "description": "Account ID of the buyer.",
1148+ "location": "path",
1149+ "required": true,
1150+ "type": "string"
1151+ },
1152+ "proposalId": {
1153+ "description": "The unique ID of the proposal",
1154+ "location": "path",
1155+ "required": true,
1156+ "type": "string"
1157+ }
1158+ },
1159+ "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}",
1160+ "response": {
1161+ "$ref": "Proposal"
1162+ },
1163+ "scopes": [
1164+ "https://www.googleapis.com/auth/adexchange.buyer"
1165+ ]
1166+ },
1167+ "list": {
1168+ "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.",
1169+ "flatPath": "v2beta1/accounts/{accountId}/proposals",
1170+ "httpMethod": "GET",
1171+ "id": "adexchangebuyer2.accounts.proposals.list",
1172+ "parameterOrder": [
1173+ "accountId"
1174+ ],
1175+ "parameters": {
1176+ "accountId": {
1177+ "description": "Account ID of the buyer.",
1178+ "location": "path",
1179+ "required": true,
1180+ "type": "string"
1181+ },
1182+ "filter": {
1183+ "description": "An optional PQL filter query used to query for proposals.\n\nNested repeated fields, such as proposal.deals.targetingCriterion,\ncannot be filtered.",
1184+ "location": "query",
1185+ "type": "string"
1186+ },
1187+ "filterSyntax": {
1188+ "description": "Syntax the filter is written in. Current implementation defaults to PQL\nbut in the future it will be LIST_FILTER.",
1189+ "enum": [
1190+ "FILTER_SYNTAX_UNSPECIFIED",
1191+ "PQL",
1192+ "LIST_FILTER"
1193+ ],
1194+ "location": "query",
1195+ "type": "string"
1196+ },
1197+ "pageSize": {
1198+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1199+ "format": "int32",
1200+ "location": "query",
1201+ "type": "integer"
1202+ },
1203+ "pageToken": {
1204+ "description": "The page token as returned from ListProposalsResponse.",
1205+ "location": "query",
1206+ "type": "string"
1207+ }
1208+ },
1209+ "path": "v2beta1/accounts/{accountId}/proposals",
1210+ "response": {
1211+ "$ref": "ListProposalsResponse"
1212+ },
1213+ "scopes": [
1214+ "https://www.googleapis.com/auth/adexchange.buyer"
1215+ ]
1216+ },
1217+ "pause": {
1218+ "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.",
1219+ "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}:pause",
1220+ "httpMethod": "POST",
1221+ "id": "adexchangebuyer2.accounts.proposals.pause",
1222+ "parameterOrder": [
1223+ "accountId",
1224+ "proposalId"
1225+ ],
1226+ "parameters": {
1227+ "accountId": {
1228+ "description": "Account ID of the buyer.",
1229+ "location": "path",
1230+ "required": true,
1231+ "type": "string"
1232+ },
1233+ "proposalId": {
1234+ "description": "The ID of the proposal to pause.",
1235+ "location": "path",
1236+ "required": true,
1237+ "type": "string"
1238+ }
1239+ },
1240+ "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}:pause",
1241+ "request": {
1242+ "$ref": "PauseProposalRequest"
1243+ },
1244+ "response": {
1245+ "$ref": "Proposal"
1246+ },
1247+ "scopes": [
1248+ "https://www.googleapis.com/auth/adexchange.buyer"
1249+ ]
1250+ },
1251+ "resume": {
1252+ "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.",
1253+ "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}:resume",
1254+ "httpMethod": "POST",
1255+ "id": "adexchangebuyer2.accounts.proposals.resume",
1256+ "parameterOrder": [
1257+ "accountId",
1258+ "proposalId"
1259+ ],
1260+ "parameters": {
1261+ "accountId": {
1262+ "description": "Account ID of the buyer.",
1263+ "location": "path",
1264+ "required": true,
1265+ "type": "string"
1266+ },
1267+ "proposalId": {
1268+ "description": "The ID of the proposal to resume.",
1269+ "location": "path",
1270+ "required": true,
1271+ "type": "string"
1272+ }
1273+ },
1274+ "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}:resume",
1275+ "request": {
1276+ "$ref": "ResumeProposalRequest"
1277+ },
1278+ "response": {
1279+ "$ref": "Proposal"
1280+ },
1281+ "scopes": [
1282+ "https://www.googleapis.com/auth/adexchange.buyer"
1283+ ]
1284+ },
1285+ "update": {
1286+ "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.",
1287+ "flatPath": "v2beta1/accounts/{accountId}/proposals/{proposalId}",
1288+ "httpMethod": "PUT",
1289+ "id": "adexchangebuyer2.accounts.proposals.update",
1290+ "parameterOrder": [
1291+ "accountId",
1292+ "proposalId"
1293+ ],
1294+ "parameters": {
1295+ "accountId": {
1296+ "description": "Account ID of the buyer.",
1297+ "location": "path",
1298+ "required": true,
1299+ "type": "string"
1300+ },
1301+ "proposalId": {
1302+ "description": "The unique ID of the proposal.",
1303+ "location": "path",
1304+ "required": true,
1305+ "type": "string"
1306+ }
1307+ },
1308+ "path": "v2beta1/accounts/{accountId}/proposals/{proposalId}",
1309+ "request": {
1310+ "$ref": "Proposal"
1311+ },
1312+ "response": {
1313+ "$ref": "Proposal"
1314+ },
1315+ "scopes": [
1316+ "https://www.googleapis.com/auth/adexchange.buyer"
1317+ ]
1318+ }
1319+ }
1320+ },
1321+ "publisherProfiles": {
1322+ "methods": {
1323+ "get": {
1324+ "description": "Gets the requested publisher profile by id.",
1325+ "flatPath": "v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId}",
1326+ "httpMethod": "GET",
1327+ "id": "adexchangebuyer2.accounts.publisherProfiles.get",
1328+ "parameterOrder": [
1329+ "accountId",
1330+ "publisherProfileId"
1331+ ],
1332+ "parameters": {
1333+ "accountId": {
1334+ "description": "Account ID of the buyer.",
1335+ "location": "path",
1336+ "required": true,
1337+ "type": "string"
1338+ },
1339+ "publisherProfileId": {
1340+ "description": "The id for the publisher profile to get.",
1341+ "location": "path",
1342+ "required": true,
1343+ "type": "string"
1344+ }
1345+ },
1346+ "path": "v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId}",
1347+ "response": {
1348+ "$ref": "PublisherProfile"
1349+ },
1350+ "scopes": [
1351+ "https://www.googleapis.com/auth/adexchange.buyer"
1352+ ]
1353+ },
1354+ "list": {
1355+ "description": "List all publisher profiles visible to the buyer",
1356+ "flatPath": "v2beta1/accounts/{accountId}/publisherProfiles",
1357+ "httpMethod": "GET",
1358+ "id": "adexchangebuyer2.accounts.publisherProfiles.list",
1359+ "parameterOrder": [
1360+ "accountId"
1361+ ],
1362+ "parameters": {
1363+ "accountId": {
1364+ "description": "Account ID of the buyer.",
1365+ "location": "path",
1366+ "required": true,
1367+ "type": "string"
1368+ },
1369+ "pageSize": {
1370+ "description": "Specify the number of results to include per page.",
1371+ "format": "int32",
1372+ "location": "query",
1373+ "type": "integer"
1374+ },
1375+ "pageToken": {
1376+ "description": "The page token as return from ListPublisherProfilesResponse.",
1377+ "location": "query",
1378+ "type": "string"
1379+ }
1380+ },
1381+ "path": "v2beta1/accounts/{accountId}/publisherProfiles",
1382+ "response": {
1383+ "$ref": "ListPublisherProfilesResponse"
1384+ },
1385+ "scopes": [
1386+ "https://www.googleapis.com/auth/adexchange.buyer"
1387+ ]
1388+ }
1389+ }
1390+ }
1391+ }
1392+ },
1393+ "bidders": {
1394+ "resources": {
1395+ "accounts": {
1396+ "resources": {
1397+ "creatives": {
1398+ "methods": {
1399+ "delete": {
1400+ "description": "Deletes a single creative.\n\nA creative is deactivated upon deletion and does not count against active\nsnippet quota. A deleted creative should not be used in bidding (all bids\nwith that creative will be rejected).",
1401+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/creatives/{creativeId}",
1402+ "httpMethod": "DELETE",
1403+ "id": "adexchangebuyer2.bidders.accounts.creatives.delete",
1404+ "parameterOrder": [
1405+ "ownerName",
1406+ "creativeId"
1407+ ],
1408+ "parameters": {
1409+ "creativeId": {
1410+ "description": "The ID of the creative to delete.",
1411+ "location": "path",
1412+ "required": true,
1413+ "type": "string"
1414+ },
1415+ "ownerName": {
1416+ "description": "Name of the owner (bidder or account) of the creative to be deleted.\nFor example:\n\n- For an account-level creative for the buyer account representing bidder\n 123: `bidders/123/accounts/123`\n\n- For an account-level creative for the child seat buyer account 456\n whose bidder is 123: `bidders/123/accounts/456`",
1417+ "location": "path",
1418+ "pattern": "^bidders/[^/]+/accounts/[^/]+$",
1419+ "required": true,
1420+ "type": "string"
1421+ }
1422+ },
1423+ "path": "v2beta1/{+ownerName}/creatives/{creativeId}",
1424+ "response": {
1425+ "$ref": "Empty"
1426+ },
1427+ "scopes": [
1428+ "https://www.googleapis.com/auth/adexchange.buyer"
1429+ ]
1430+ }
1431+ }
1432+ },
1433+ "filterSets": {
1434+ "methods": {
1435+ "create": {
1436+ "description": "Creates the specified filter set for the account with the given account ID.",
1437+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets",
1438+ "httpMethod": "POST",
1439+ "id": "adexchangebuyer2.bidders.accounts.filterSets.create",
1440+ "parameterOrder": [
1441+ "ownerName"
1442+ ],
1443+ "parameters": {
1444+ "isTransient": {
1445+ "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.",
1446+ "location": "query",
1447+ "type": "boolean"
1448+ },
1449+ "ownerName": {
1450+ "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`",
1451+ "location": "path",
1452+ "pattern": "^bidders/[^/]+/accounts/[^/]+$",
1453+ "required": true,
1454+ "type": "string"
1455+ }
1456+ },
1457+ "path": "v2beta1/{+ownerName}/filterSets",
1458+ "request": {
1459+ "$ref": "FilterSet"
1460+ },
1461+ "response": {
1462+ "$ref": "FilterSet"
1463+ },
1464+ "scopes": [
1465+ "https://www.googleapis.com/auth/adexchange.buyer"
1466+ ]
1467+ },
1468+ "delete": {
1469+ "description": "Deletes the requested filter set from the account with the given account\nID.",
1470+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}",
1471+ "httpMethod": "DELETE",
1472+ "id": "adexchangebuyer2.bidders.accounts.filterSets.delete",
1473+ "parameterOrder": [
1474+ "name"
1475+ ],
1476+ "parameters": {
1477+ "name": {
1478+ "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`",
1479+ "location": "path",
1480+ "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1481+ "required": true,
1482+ "type": "string"
1483+ }
1484+ },
1485+ "path": "v2beta1/{+name}",
1486+ "response": {
1487+ "$ref": "Empty"
1488+ },
1489+ "scopes": [
1490+ "https://www.googleapis.com/auth/adexchange.buyer"
1491+ ]
1492+ },
1493+ "get": {
1494+ "description": "Retrieves the requested filter set for the account with the given account\nID.",
1495+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}",
1496+ "httpMethod": "GET",
1497+ "id": "adexchangebuyer2.bidders.accounts.filterSets.get",
1498+ "parameterOrder": [
1499+ "name"
1500+ ],
1501+ "parameters": {
1502+ "name": {
1503+ "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`",
1504+ "location": "path",
1505+ "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1506+ "required": true,
1507+ "type": "string"
1508+ }
1509+ },
1510+ "path": "v2beta1/{+name}",
1511+ "response": {
1512+ "$ref": "FilterSet"
1513+ },
1514+ "scopes": [
1515+ "https://www.googleapis.com/auth/adexchange.buyer"
1516+ ]
1517+ },
1518+ "list": {
1519+ "description": "Lists all filter sets for the account with the given account ID.",
1520+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets",
1521+ "httpMethod": "GET",
1522+ "id": "adexchangebuyer2.bidders.accounts.filterSets.list",
1523+ "parameterOrder": [
1524+ "ownerName"
1525+ ],
1526+ "parameters": {
1527+ "ownerName": {
1528+ "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`",
1529+ "location": "path",
1530+ "pattern": "^bidders/[^/]+/accounts/[^/]+$",
1531+ "required": true,
1532+ "type": "string"
1533+ },
1534+ "pageSize": {
1535+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1536+ "format": "int32",
1537+ "location": "query",
1538+ "type": "integer"
1539+ },
1540+ "pageToken": {
1541+ "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.",
1542+ "location": "query",
1543+ "type": "string"
1544+ }
1545+ },
1546+ "path": "v2beta1/{+ownerName}/filterSets",
1547+ "response": {
1548+ "$ref": "ListFilterSetsResponse"
1549+ },
1550+ "scopes": [
1551+ "https://www.googleapis.com/auth/adexchange.buyer"
1552+ ]
1553+ }
1554+ },
1555+ "resources": {
1556+ "bidMetrics": {
1557+ "methods": {
1558+ "list": {
1559+ "description": "Lists all metrics that are measured in terms of number of bids.",
1560+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/bidMetrics",
1561+ "httpMethod": "GET",
1562+ "id": "adexchangebuyer2.bidders.accounts.filterSets.bidMetrics.list",
1563+ "parameterOrder": [
1564+ "filterSetName"
1565+ ],
1566+ "parameters": {
1567+ "filterSetName": {
1568+ "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`",
1569+ "location": "path",
1570+ "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1571+ "required": true,
1572+ "type": "string"
1573+ },
1574+ "pageSize": {
1575+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1576+ "format": "int32",
1577+ "location": "query",
1578+ "type": "integer"
1579+ },
1580+ "pageToken": {
1581+ "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.",
1582+ "location": "query",
1583+ "type": "string"
1584+ }
1585+ },
1586+ "path": "v2beta1/{+filterSetName}/bidMetrics",
1587+ "response": {
1588+ "$ref": "ListBidMetricsResponse"
1589+ },
1590+ "scopes": [
1591+ "https://www.googleapis.com/auth/adexchange.buyer"
1592+ ]
1593+ }
1594+ }
1595+ },
1596+ "bidResponseErrors": {
1597+ "methods": {
1598+ "list": {
1599+ "description": "List all errors that occurred in bid responses, with the number of bid\nresponses affected for each reason.",
1600+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/bidResponseErrors",
1601+ "httpMethod": "GET",
1602+ "id": "adexchangebuyer2.bidders.accounts.filterSets.bidResponseErrors.list",
1603+ "parameterOrder": [
1604+ "filterSetName"
1605+ ],
1606+ "parameters": {
1607+ "filterSetName": {
1608+ "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`",
1609+ "location": "path",
1610+ "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1611+ "required": true,
1612+ "type": "string"
1613+ },
1614+ "pageSize": {
1615+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1616+ "format": "int32",
1617+ "location": "query",
1618+ "type": "integer"
1619+ },
1620+ "pageToken": {
1621+ "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.",
1622+ "location": "query",
1623+ "type": "string"
1624+ }
1625+ },
1626+ "path": "v2beta1/{+filterSetName}/bidResponseErrors",
1627+ "response": {
1628+ "$ref": "ListBidResponseErrorsResponse"
1629+ },
1630+ "scopes": [
1631+ "https://www.googleapis.com/auth/adexchange.buyer"
1632+ ]
1633+ }
1634+ }
1635+ },
1636+ "bidResponsesWithoutBids": {
1637+ "methods": {
1638+ "list": {
1639+ "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.",
1640+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/bidResponsesWithoutBids",
1641+ "httpMethod": "GET",
1642+ "id": "adexchangebuyer2.bidders.accounts.filterSets.bidResponsesWithoutBids.list",
1643+ "parameterOrder": [
1644+ "filterSetName"
1645+ ],
1646+ "parameters": {
1647+ "filterSetName": {
1648+ "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`",
1649+ "location": "path",
1650+ "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1651+ "required": true,
1652+ "type": "string"
1653+ },
1654+ "pageSize": {
1655+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1656+ "format": "int32",
1657+ "location": "query",
1658+ "type": "integer"
1659+ },
1660+ "pageToken": {
1661+ "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.",
1662+ "location": "query",
1663+ "type": "string"
1664+ }
1665+ },
1666+ "path": "v2beta1/{+filterSetName}/bidResponsesWithoutBids",
1667+ "response": {
1668+ "$ref": "ListBidResponsesWithoutBidsResponse"
1669+ },
1670+ "scopes": [
1671+ "https://www.googleapis.com/auth/adexchange.buyer"
1672+ ]
1673+ }
1674+ }
1675+ },
1676+ "filteredBidRequests": {
1677+ "methods": {
1678+ "list": {
1679+ "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.",
1680+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/filteredBidRequests",
1681+ "httpMethod": "GET",
1682+ "id": "adexchangebuyer2.bidders.accounts.filterSets.filteredBidRequests.list",
1683+ "parameterOrder": [
1684+ "filterSetName"
1685+ ],
1686+ "parameters": {
1687+ "filterSetName": {
1688+ "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`",
1689+ "location": "path",
1690+ "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1691+ "required": true,
1692+ "type": "string"
1693+ },
1694+ "pageSize": {
1695+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1696+ "format": "int32",
1697+ "location": "query",
1698+ "type": "integer"
1699+ },
1700+ "pageToken": {
1701+ "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.",
1702+ "location": "query",
1703+ "type": "string"
1704+ }
1705+ },
1706+ "path": "v2beta1/{+filterSetName}/filteredBidRequests",
1707+ "response": {
1708+ "$ref": "ListFilteredBidRequestsResponse"
1709+ },
1710+ "scopes": [
1711+ "https://www.googleapis.com/auth/adexchange.buyer"
1712+ ]
1713+ }
1714+ }
1715+ },
1716+ "filteredBids": {
1717+ "methods": {
1718+ "list": {
1719+ "description": "List all reasons for which bids were filtered, with the number of bids\nfiltered for each reason.",
1720+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/filteredBids",
1721+ "httpMethod": "GET",
1722+ "id": "adexchangebuyer2.bidders.accounts.filterSets.filteredBids.list",
1723+ "parameterOrder": [
1724+ "filterSetName"
1725+ ],
1726+ "parameters": {
1727+ "filterSetName": {
1728+ "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`",
1729+ "location": "path",
1730+ "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1731+ "required": true,
1732+ "type": "string"
1733+ },
1734+ "pageSize": {
1735+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1736+ "format": "int32",
1737+ "location": "query",
1738+ "type": "integer"
1739+ },
1740+ "pageToken": {
1741+ "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.",
1742+ "location": "query",
1743+ "type": "string"
1744+ }
1745+ },
1746+ "path": "v2beta1/{+filterSetName}/filteredBids",
1747+ "response": {
1748+ "$ref": "ListFilteredBidsResponse"
1749+ },
1750+ "scopes": [
1751+ "https://www.googleapis.com/auth/adexchange.buyer"
1752+ ]
1753+ }
1754+ },
1755+ "resources": {
1756+ "creatives": {
1757+ "methods": {
1758+ "list": {
1759+ "description": "List all creatives associated with a specific reason for which bids were\nfiltered, with the number of bids filtered for each creative.",
1760+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/filteredBids/{creativeStatusId}/creatives",
1761+ "httpMethod": "GET",
1762+ "id": "adexchangebuyer2.bidders.accounts.filterSets.filteredBids.creatives.list",
1763+ "parameterOrder": [
1764+ "filterSetName",
1765+ "creativeStatusId"
1766+ ],
1767+ "parameters": {
1768+ "creativeStatusId": {
1769+ "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).",
1770+ "format": "int32",
1771+ "location": "path",
1772+ "required": true,
1773+ "type": "integer"
1774+ },
1775+ "filterSetName": {
1776+ "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`",
1777+ "location": "path",
1778+ "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1779+ "required": true,
1780+ "type": "string"
1781+ },
1782+ "pageSize": {
1783+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1784+ "format": "int32",
1785+ "location": "query",
1786+ "type": "integer"
1787+ },
1788+ "pageToken": {
1789+ "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.",
1790+ "location": "query",
1791+ "type": "string"
1792+ }
1793+ },
1794+ "path": "v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives",
1795+ "response": {
1796+ "$ref": "ListCreativeStatusBreakdownByCreativeResponse"
1797+ },
1798+ "scopes": [
1799+ "https://www.googleapis.com/auth/adexchange.buyer"
1800+ ]
1801+ }
1802+ }
1803+ },
1804+ "details": {
1805+ "methods": {
1806+ "list": {
1807+ "description": "List all details associated with a specific reason for which bids were\nfiltered, with the number of bids filtered for each detail.",
1808+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/filteredBids/{creativeStatusId}/details",
1809+ "httpMethod": "GET",
1810+ "id": "adexchangebuyer2.bidders.accounts.filterSets.filteredBids.details.list",
1811+ "parameterOrder": [
1812+ "filterSetName",
1813+ "creativeStatusId"
1814+ ],
1815+ "parameters": {
1816+ "creativeStatusId": {
1817+ "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.",
1818+ "format": "int32",
1819+ "location": "path",
1820+ "required": true,
1821+ "type": "integer"
1822+ },
1823+ "filterSetName": {
1824+ "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`",
1825+ "location": "path",
1826+ "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1827+ "required": true,
1828+ "type": "string"
1829+ },
1830+ "pageSize": {
1831+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1832+ "format": "int32",
1833+ "location": "query",
1834+ "type": "integer"
1835+ },
1836+ "pageToken": {
1837+ "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.",
1838+ "location": "query",
1839+ "type": "string"
1840+ }
1841+ },
1842+ "path": "v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details",
1843+ "response": {
1844+ "$ref": "ListCreativeStatusBreakdownByDetailResponse"
1845+ },
1846+ "scopes": [
1847+ "https://www.googleapis.com/auth/adexchange.buyer"
1848+ ]
1849+ }
1850+ }
1851+ }
1852+ }
1853+ },
1854+ "impressionMetrics": {
1855+ "methods": {
1856+ "list": {
1857+ "description": "Lists all metrics that are measured in terms of number of impressions.",
1858+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/impressionMetrics",
1859+ "httpMethod": "GET",
1860+ "id": "adexchangebuyer2.bidders.accounts.filterSets.impressionMetrics.list",
1861+ "parameterOrder": [
1862+ "filterSetName"
1863+ ],
1864+ "parameters": {
1865+ "filterSetName": {
1866+ "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`",
1867+ "location": "path",
1868+ "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1869+ "required": true,
1870+ "type": "string"
1871+ },
1872+ "pageSize": {
1873+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1874+ "format": "int32",
1875+ "location": "query",
1876+ "type": "integer"
1877+ },
1878+ "pageToken": {
1879+ "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.",
1880+ "location": "query",
1881+ "type": "string"
1882+ }
1883+ },
1884+ "path": "v2beta1/{+filterSetName}/impressionMetrics",
1885+ "response": {
1886+ "$ref": "ListImpressionMetricsResponse"
1887+ },
1888+ "scopes": [
1889+ "https://www.googleapis.com/auth/adexchange.buyer"
1890+ ]
1891+ }
1892+ }
1893+ },
1894+ "losingBids": {
1895+ "methods": {
1896+ "list": {
1897+ "description": "List all reasons for which bids lost in the auction, with the number of\nbids that lost for each reason.",
1898+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/losingBids",
1899+ "httpMethod": "GET",
1900+ "id": "adexchangebuyer2.bidders.accounts.filterSets.losingBids.list",
1901+ "parameterOrder": [
1902+ "filterSetName"
1903+ ],
1904+ "parameters": {
1905+ "filterSetName": {
1906+ "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`",
1907+ "location": "path",
1908+ "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1909+ "required": true,
1910+ "type": "string"
1911+ },
1912+ "pageSize": {
1913+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1914+ "format": "int32",
1915+ "location": "query",
1916+ "type": "integer"
1917+ },
1918+ "pageToken": {
1919+ "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.",
1920+ "location": "query",
1921+ "type": "string"
1922+ }
1923+ },
1924+ "path": "v2beta1/{+filterSetName}/losingBids",
1925+ "response": {
1926+ "$ref": "ListLosingBidsResponse"
1927+ },
1928+ "scopes": [
1929+ "https://www.googleapis.com/auth/adexchange.buyer"
1930+ ]
1931+ }
1932+ }
1933+ },
1934+ "nonBillableWinningBids": {
1935+ "methods": {
1936+ "list": {
1937+ "description": "List all reasons for which winning bids were not billable, with the number\nof bids not billed for each reason.",
1938+ "flatPath": "v2beta1/bidders/{biddersId}/accounts/{accountsId}/filterSets/{filterSetsId}/nonBillableWinningBids",
1939+ "httpMethod": "GET",
1940+ "id": "adexchangebuyer2.bidders.accounts.filterSets.nonBillableWinningBids.list",
1941+ "parameterOrder": [
1942+ "filterSetName"
1943+ ],
1944+ "parameters": {
1945+ "filterSetName": {
1946+ "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`",
1947+ "location": "path",
1948+ "pattern": "^bidders/[^/]+/accounts/[^/]+/filterSets/[^/]+$",
1949+ "required": true,
1950+ "type": "string"
1951+ },
1952+ "pageSize": {
1953+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
1954+ "format": "int32",
1955+ "location": "query",
1956+ "type": "integer"
1957+ },
1958+ "pageToken": {
1959+ "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.",
1960+ "location": "query",
1961+ "type": "string"
1962+ }
1963+ },
1964+ "path": "v2beta1/{+filterSetName}/nonBillableWinningBids",
1965+ "response": {
1966+ "$ref": "ListNonBillableWinningBidsResponse"
1967+ },
1968+ "scopes": [
1969+ "https://www.googleapis.com/auth/adexchange.buyer"
1970+ ]
1971+ }
1972+ }
1973+ }
1974+ }
1975+ }
1976+ }
1977+ },
1978+ "filterSets": {
1979+ "methods": {
1980+ "create": {
1981+ "description": "Creates the specified filter set for the account with the given account ID.",
1982+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets",
1983+ "httpMethod": "POST",
1984+ "id": "adexchangebuyer2.bidders.filterSets.create",
1985+ "parameterOrder": [
1986+ "ownerName"
1987+ ],
1988+ "parameters": {
1989+ "isTransient": {
1990+ "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.",
1991+ "location": "query",
1992+ "type": "boolean"
1993+ },
1994+ "ownerName": {
1995+ "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`",
1996+ "location": "path",
1997+ "pattern": "^bidders/[^/]+$",
1998+ "required": true,
1999+ "type": "string"
2000+ }
2001+ },
2002+ "path": "v2beta1/{+ownerName}/filterSets",
2003+ "request": {
2004+ "$ref": "FilterSet"
2005+ },
2006+ "response": {
2007+ "$ref": "FilterSet"
2008+ },
2009+ "scopes": [
2010+ "https://www.googleapis.com/auth/adexchange.buyer"
2011+ ]
2012+ },
2013+ "delete": {
2014+ "description": "Deletes the requested filter set from the account with the given account\nID.",
2015+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}",
2016+ "httpMethod": "DELETE",
2017+ "id": "adexchangebuyer2.bidders.filterSets.delete",
2018+ "parameterOrder": [
2019+ "name"
2020+ ],
2021+ "parameters": {
2022+ "name": {
2023+ "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`",
2024+ "location": "path",
2025+ "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2026+ "required": true,
2027+ "type": "string"
2028+ }
2029+ },
2030+ "path": "v2beta1/{+name}",
2031+ "response": {
2032+ "$ref": "Empty"
2033+ },
2034+ "scopes": [
2035+ "https://www.googleapis.com/auth/adexchange.buyer"
2036+ ]
2037+ },
2038+ "get": {
2039+ "description": "Retrieves the requested filter set for the account with the given account\nID.",
2040+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}",
2041+ "httpMethod": "GET",
2042+ "id": "adexchangebuyer2.bidders.filterSets.get",
2043+ "parameterOrder": [
2044+ "name"
2045+ ],
2046+ "parameters": {
2047+ "name": {
2048+ "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`",
2049+ "location": "path",
2050+ "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2051+ "required": true,
2052+ "type": "string"
2053+ }
2054+ },
2055+ "path": "v2beta1/{+name}",
2056+ "response": {
2057+ "$ref": "FilterSet"
2058+ },
2059+ "scopes": [
2060+ "https://www.googleapis.com/auth/adexchange.buyer"
2061+ ]
2062+ },
2063+ "list": {
2064+ "description": "Lists all filter sets for the account with the given account ID.",
2065+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets",
2066+ "httpMethod": "GET",
2067+ "id": "adexchangebuyer2.bidders.filterSets.list",
2068+ "parameterOrder": [
2069+ "ownerName"
2070+ ],
2071+ "parameters": {
2072+ "ownerName": {
2073+ "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`",
2074+ "location": "path",
2075+ "pattern": "^bidders/[^/]+$",
2076+ "required": true,
2077+ "type": "string"
2078+ },
2079+ "pageSize": {
2080+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2081+ "format": "int32",
2082+ "location": "query",
2083+ "type": "integer"
2084+ },
2085+ "pageToken": {
2086+ "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.",
2087+ "location": "query",
2088+ "type": "string"
2089+ }
2090+ },
2091+ "path": "v2beta1/{+ownerName}/filterSets",
2092+ "response": {
2093+ "$ref": "ListFilterSetsResponse"
2094+ },
2095+ "scopes": [
2096+ "https://www.googleapis.com/auth/adexchange.buyer"
2097+ ]
2098+ }
2099+ },
2100+ "resources": {
2101+ "bidMetrics": {
2102+ "methods": {
2103+ "list": {
2104+ "description": "Lists all metrics that are measured in terms of number of bids.",
2105+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/bidMetrics",
2106+ "httpMethod": "GET",
2107+ "id": "adexchangebuyer2.bidders.filterSets.bidMetrics.list",
2108+ "parameterOrder": [
2109+ "filterSetName"
2110+ ],
2111+ "parameters": {
2112+ "filterSetName": {
2113+ "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`",
2114+ "location": "path",
2115+ "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2116+ "required": true,
2117+ "type": "string"
2118+ },
2119+ "pageSize": {
2120+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2121+ "format": "int32",
2122+ "location": "query",
2123+ "type": "integer"
2124+ },
2125+ "pageToken": {
2126+ "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.",
2127+ "location": "query",
2128+ "type": "string"
2129+ }
2130+ },
2131+ "path": "v2beta1/{+filterSetName}/bidMetrics",
2132+ "response": {
2133+ "$ref": "ListBidMetricsResponse"
2134+ },
2135+ "scopes": [
2136+ "https://www.googleapis.com/auth/adexchange.buyer"
2137+ ]
2138+ }
2139+ }
2140+ },
2141+ "bidResponseErrors": {
2142+ "methods": {
2143+ "list": {
2144+ "description": "List all errors that occurred in bid responses, with the number of bid\nresponses affected for each reason.",
2145+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/bidResponseErrors",
2146+ "httpMethod": "GET",
2147+ "id": "adexchangebuyer2.bidders.filterSets.bidResponseErrors.list",
2148+ "parameterOrder": [
2149+ "filterSetName"
2150+ ],
2151+ "parameters": {
2152+ "filterSetName": {
2153+ "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`",
2154+ "location": "path",
2155+ "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2156+ "required": true,
2157+ "type": "string"
2158+ },
2159+ "pageSize": {
2160+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2161+ "format": "int32",
2162+ "location": "query",
2163+ "type": "integer"
2164+ },
2165+ "pageToken": {
2166+ "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.",
2167+ "location": "query",
2168+ "type": "string"
2169+ }
2170+ },
2171+ "path": "v2beta1/{+filterSetName}/bidResponseErrors",
2172+ "response": {
2173+ "$ref": "ListBidResponseErrorsResponse"
2174+ },
2175+ "scopes": [
2176+ "https://www.googleapis.com/auth/adexchange.buyer"
2177+ ]
2178+ }
2179+ }
2180+ },
2181+ "bidResponsesWithoutBids": {
2182+ "methods": {
2183+ "list": {
2184+ "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.",
2185+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/bidResponsesWithoutBids",
2186+ "httpMethod": "GET",
2187+ "id": "adexchangebuyer2.bidders.filterSets.bidResponsesWithoutBids.list",
2188+ "parameterOrder": [
2189+ "filterSetName"
2190+ ],
2191+ "parameters": {
2192+ "filterSetName": {
2193+ "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`",
2194+ "location": "path",
2195+ "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2196+ "required": true,
2197+ "type": "string"
2198+ },
2199+ "pageSize": {
2200+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2201+ "format": "int32",
2202+ "location": "query",
2203+ "type": "integer"
2204+ },
2205+ "pageToken": {
2206+ "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.",
2207+ "location": "query",
2208+ "type": "string"
2209+ }
2210+ },
2211+ "path": "v2beta1/{+filterSetName}/bidResponsesWithoutBids",
2212+ "response": {
2213+ "$ref": "ListBidResponsesWithoutBidsResponse"
2214+ },
2215+ "scopes": [
2216+ "https://www.googleapis.com/auth/adexchange.buyer"
2217+ ]
2218+ }
2219+ }
2220+ },
2221+ "filteredBidRequests": {
2222+ "methods": {
2223+ "list": {
2224+ "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.",
2225+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/filteredBidRequests",
2226+ "httpMethod": "GET",
2227+ "id": "adexchangebuyer2.bidders.filterSets.filteredBidRequests.list",
2228+ "parameterOrder": [
2229+ "filterSetName"
2230+ ],
2231+ "parameters": {
2232+ "filterSetName": {
2233+ "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`",
2234+ "location": "path",
2235+ "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2236+ "required": true,
2237+ "type": "string"
2238+ },
2239+ "pageSize": {
2240+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2241+ "format": "int32",
2242+ "location": "query",
2243+ "type": "integer"
2244+ },
2245+ "pageToken": {
2246+ "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.",
2247+ "location": "query",
2248+ "type": "string"
2249+ }
2250+ },
2251+ "path": "v2beta1/{+filterSetName}/filteredBidRequests",
2252+ "response": {
2253+ "$ref": "ListFilteredBidRequestsResponse"
2254+ },
2255+ "scopes": [
2256+ "https://www.googleapis.com/auth/adexchange.buyer"
2257+ ]
2258+ }
2259+ }
2260+ },
2261+ "filteredBids": {
2262+ "methods": {
2263+ "list": {
2264+ "description": "List all reasons for which bids were filtered, with the number of bids\nfiltered for each reason.",
2265+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/filteredBids",
2266+ "httpMethod": "GET",
2267+ "id": "adexchangebuyer2.bidders.filterSets.filteredBids.list",
2268+ "parameterOrder": [
2269+ "filterSetName"
2270+ ],
2271+ "parameters": {
2272+ "filterSetName": {
2273+ "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`",
2274+ "location": "path",
2275+ "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2276+ "required": true,
2277+ "type": "string"
2278+ },
2279+ "pageSize": {
2280+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2281+ "format": "int32",
2282+ "location": "query",
2283+ "type": "integer"
2284+ },
2285+ "pageToken": {
2286+ "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.",
2287+ "location": "query",
2288+ "type": "string"
2289+ }
2290+ },
2291+ "path": "v2beta1/{+filterSetName}/filteredBids",
2292+ "response": {
2293+ "$ref": "ListFilteredBidsResponse"
2294+ },
2295+ "scopes": [
2296+ "https://www.googleapis.com/auth/adexchange.buyer"
2297+ ]
2298+ }
2299+ },
2300+ "resources": {
2301+ "creatives": {
2302+ "methods": {
2303+ "list": {
2304+ "description": "List all creatives associated with a specific reason for which bids were\nfiltered, with the number of bids filtered for each creative.",
2305+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/filteredBids/{creativeStatusId}/creatives",
2306+ "httpMethod": "GET",
2307+ "id": "adexchangebuyer2.bidders.filterSets.filteredBids.creatives.list",
2308+ "parameterOrder": [
2309+ "filterSetName",
2310+ "creativeStatusId"
2311+ ],
2312+ "parameters": {
2313+ "creativeStatusId": {
2314+ "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).",
2315+ "format": "int32",
2316+ "location": "path",
2317+ "required": true,
2318+ "type": "integer"
2319+ },
2320+ "filterSetName": {
2321+ "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`",
2322+ "location": "path",
2323+ "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2324+ "required": true,
2325+ "type": "string"
2326+ },
2327+ "pageSize": {
2328+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2329+ "format": "int32",
2330+ "location": "query",
2331+ "type": "integer"
2332+ },
2333+ "pageToken": {
2334+ "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.",
2335+ "location": "query",
2336+ "type": "string"
2337+ }
2338+ },
2339+ "path": "v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives",
2340+ "response": {
2341+ "$ref": "ListCreativeStatusBreakdownByCreativeResponse"
2342+ },
2343+ "scopes": [
2344+ "https://www.googleapis.com/auth/adexchange.buyer"
2345+ ]
2346+ }
2347+ }
2348+ },
2349+ "details": {
2350+ "methods": {
2351+ "list": {
2352+ "description": "List all details associated with a specific reason for which bids were\nfiltered, with the number of bids filtered for each detail.",
2353+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/filteredBids/{creativeStatusId}/details",
2354+ "httpMethod": "GET",
2355+ "id": "adexchangebuyer2.bidders.filterSets.filteredBids.details.list",
2356+ "parameterOrder": [
2357+ "filterSetName",
2358+ "creativeStatusId"
2359+ ],
2360+ "parameters": {
2361+ "creativeStatusId": {
2362+ "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.",
2363+ "format": "int32",
2364+ "location": "path",
2365+ "required": true,
2366+ "type": "integer"
2367+ },
2368+ "filterSetName": {
2369+ "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`",
2370+ "location": "path",
2371+ "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2372+ "required": true,
2373+ "type": "string"
2374+ },
2375+ "pageSize": {
2376+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2377+ "format": "int32",
2378+ "location": "query",
2379+ "type": "integer"
2380+ },
2381+ "pageToken": {
2382+ "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.",
2383+ "location": "query",
2384+ "type": "string"
2385+ }
2386+ },
2387+ "path": "v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details",
2388+ "response": {
2389+ "$ref": "ListCreativeStatusBreakdownByDetailResponse"
2390+ },
2391+ "scopes": [
2392+ "https://www.googleapis.com/auth/adexchange.buyer"
2393+ ]
2394+ }
2395+ }
2396+ }
2397+ }
2398+ },
2399+ "impressionMetrics": {
2400+ "methods": {
2401+ "list": {
2402+ "description": "Lists all metrics that are measured in terms of number of impressions.",
2403+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/impressionMetrics",
2404+ "httpMethod": "GET",
2405+ "id": "adexchangebuyer2.bidders.filterSets.impressionMetrics.list",
2406+ "parameterOrder": [
2407+ "filterSetName"
2408+ ],
2409+ "parameters": {
2410+ "filterSetName": {
2411+ "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`",
2412+ "location": "path",
2413+ "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2414+ "required": true,
2415+ "type": "string"
2416+ },
2417+ "pageSize": {
2418+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2419+ "format": "int32",
2420+ "location": "query",
2421+ "type": "integer"
2422+ },
2423+ "pageToken": {
2424+ "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.",
2425+ "location": "query",
2426+ "type": "string"
2427+ }
2428+ },
2429+ "path": "v2beta1/{+filterSetName}/impressionMetrics",
2430+ "response": {
2431+ "$ref": "ListImpressionMetricsResponse"
2432+ },
2433+ "scopes": [
2434+ "https://www.googleapis.com/auth/adexchange.buyer"
2435+ ]
2436+ }
2437+ }
2438+ },
2439+ "losingBids": {
2440+ "methods": {
2441+ "list": {
2442+ "description": "List all reasons for which bids lost in the auction, with the number of\nbids that lost for each reason.",
2443+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/losingBids",
2444+ "httpMethod": "GET",
2445+ "id": "adexchangebuyer2.bidders.filterSets.losingBids.list",
2446+ "parameterOrder": [
2447+ "filterSetName"
2448+ ],
2449+ "parameters": {
2450+ "filterSetName": {
2451+ "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`",
2452+ "location": "path",
2453+ "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2454+ "required": true,
2455+ "type": "string"
2456+ },
2457+ "pageSize": {
2458+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2459+ "format": "int32",
2460+ "location": "query",
2461+ "type": "integer"
2462+ },
2463+ "pageToken": {
2464+ "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.",
2465+ "location": "query",
2466+ "type": "string"
2467+ }
2468+ },
2469+ "path": "v2beta1/{+filterSetName}/losingBids",
2470+ "response": {
2471+ "$ref": "ListLosingBidsResponse"
2472+ },
2473+ "scopes": [
2474+ "https://www.googleapis.com/auth/adexchange.buyer"
2475+ ]
2476+ }
2477+ }
2478+ },
2479+ "nonBillableWinningBids": {
2480+ "methods": {
2481+ "list": {
2482+ "description": "List all reasons for which winning bids were not billable, with the number\nof bids not billed for each reason.",
2483+ "flatPath": "v2beta1/bidders/{biddersId}/filterSets/{filterSetsId}/nonBillableWinningBids",
2484+ "httpMethod": "GET",
2485+ "id": "adexchangebuyer2.bidders.filterSets.nonBillableWinningBids.list",
2486+ "parameterOrder": [
2487+ "filterSetName"
2488+ ],
2489+ "parameters": {
2490+ "filterSetName": {
2491+ "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`",
2492+ "location": "path",
2493+ "pattern": "^bidders/[^/]+/filterSets/[^/]+$",
2494+ "required": true,
2495+ "type": "string"
2496+ },
2497+ "pageSize": {
2498+ "description": "Requested page size. The server may return fewer results than requested.\nIf unspecified, the server will pick an appropriate default.",
2499+ "format": "int32",
2500+ "location": "query",
2501+ "type": "integer"
2502+ },
2503+ "pageToken": {
2504+ "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.",
2505+ "location": "query",
2506+ "type": "string"
2507+ }
2508+ },
2509+ "path": "v2beta1/{+filterSetName}/nonBillableWinningBids",
2510+ "response": {
2511+ "$ref": "ListNonBillableWinningBidsResponse"
2512+ },
2513+ "scopes": [
2514+ "https://www.googleapis.com/auth/adexchange.buyer"
2515+ ]
2516+ }
2517+ }
2518+ }
2519+ }
2520+ }
2521+ }
2522+ }
2523+ },
2524+ "revision": "20181210",
2525+ "rootUrl": "https://adexchangebuyer.googleapis.com/",
2526+ "schemas": {
2527+ "AbsoluteDateRange": {
2528+ "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.",
2529+ "id": "AbsoluteDateRange",
2530+ "properties": {
2531+ "endDate": {
2532+ "$ref": "Date",
2533+ "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."
2534+ },
2535+ "startDate": {
2536+ "$ref": "Date",
2537+ "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."
2538+ }
2539+ },
2540+ "type": "object"
2541+ },
2542+ "AcceptProposalRequest": {
2543+ "description": "Request to accept a proposal.",
2544+ "id": "AcceptProposalRequest",
2545+ "properties": {
2546+ "proposalRevision": {
2547+ "description": "The last known client revision number of the proposal.",
2548+ "format": "int64",
2549+ "type": "string"
2550+ }
2551+ },
2552+ "type": "object"
2553+ },
2554+ "AdSize": {
2555+ "description": "Represents size of a single ad slot, or a creative.",
2556+ "id": "AdSize",
2557+ "properties": {
2558+ "height": {
2559+ "description": "The height of the ad slot in pixels.\nThis field will be present only when size type is `PIXEL`.",
2560+ "format": "int64",
2561+ "type": "string"
2562+ },
2563+ "sizeType": {
2564+ "description": "The size type of the ad slot.",
2565+ "enum": [
2566+ "SIZE_TYPE_UNSPECIFIED",
2567+ "PIXEL",
2568+ "INTERSTITIAL",
2569+ "NATIVE",
2570+ "FLUID"
2571+ ],
2572+ "enumDescriptions": [
2573+ "A placeholder for an undefined size type.",
2574+ "Ad slot with size specified by height and width in pixels.",
2575+ "Special size to describe an interstitial ad slot.",
2576+ "Native (mobile) ads rendered by the publisher.",
2577+ "Fluid size (i.e., responsive size) can be resized automatically with the\nchange of outside environment."
2578+ ],
2579+ "type": "string"
2580+ },
2581+ "width": {
2582+ "description": "The width of the ad slot in pixels.\nThis field will be present only when size type is `PIXEL`.",
2583+ "format": "int64",
2584+ "type": "string"
2585+ }
2586+ },
2587+ "type": "object"
2588+ },
2589+ "AddDealAssociationRequest": {
2590+ "description": "A request for associating a deal and a creative.",
2591+ "id": "AddDealAssociationRequest",
2592+ "properties": {
2593+ "association": {
2594+ "$ref": "CreativeDealAssociation",
2595+ "description": "The association between a creative and a deal that should be added."
2596+ }
2597+ },
2598+ "type": "object"
2599+ },
2600+ "AddNoteRequest": {
2601+ "description": "Request message for adding a note to a given proposal.",
2602+ "id": "AddNoteRequest",
2603+ "properties": {
2604+ "note": {
2605+ "$ref": "Note",
2606+ "description": "Details of the note to add."
2607+ }
2608+ },
2609+ "type": "object"
2610+ },
2611+ "AppContext": {
2612+ "description": "@OutputOnly The app type the restriction applies to for mobile device.",
2613+ "id": "AppContext",
2614+ "properties": {
2615+ "appTypes": {
2616+ "description": "The app types this restriction applies to.",
2617+ "enumDescriptions": [
2618+ "Native app context.",
2619+ "Mobile web app context."
2620+ ],
2621+ "items": {
2622+ "enum": [
2623+ "NATIVE",
2624+ "WEB"
2625+ ],
2626+ "type": "string"
2627+ },
2628+ "type": "array"
2629+ }
2630+ },
2631+ "type": "object"
2632+ },
2633+ "AuctionContext": {
2634+ "description": "@OutputOnly The auction type the restriction applies to.",
2635+ "id": "AuctionContext",
2636+ "properties": {
2637+ "auctionTypes": {
2638+ "description": "The auction types this restriction applies to.",
2639+ "enumDescriptions": [
2640+ "The restriction applies to open auction.",
2641+ "The restriction applies to direct deals."
2642+ ],
2643+ "items": {
2644+ "enum": [
2645+ "OPEN_AUCTION",
2646+ "DIRECT_DEALS"
2647+ ],
2648+ "type": "string"
2649+ },
2650+ "type": "array"
2651+ }
2652+ },
2653+ "type": "object"
2654+ },
2655+ "BidMetricsRow": {
2656+ "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;",
2657+ "id": "BidMetricsRow",
2658+ "properties": {
2659+ "bids": {
2660+ "$ref": "MetricValue",
2661+ "description": "The number of bids that Ad Exchange received from the buyer."
2662+ },
2663+ "bidsInAuction": {
2664+ "$ref": "MetricValue",
2665+ "description": "The number of bids that were permitted to compete in the auction."
2666+ },
2667+ "billedImpressions": {
2668+ "$ref": "MetricValue",
2669+ "description": "The number of bids for which the buyer was billed."
2670+ },
2671+ "impressionsWon": {
2672+ "$ref": "MetricValue",
2673+ "description": "The number of bids that won an impression."
2674+ },
2675+ "measurableImpressions": {
2676+ "$ref": "MetricValue",
2677+ "description": "The number of bids for which the corresponding impression was measurable\nfor viewability (as defined by Active View)."
2678+ },
2679+ "rowDimensions": {
2680+ "$ref": "RowDimensions",
2681+ "description": "The values of all dimensions associated with metric values in this row."
2682+ },
2683+ "viewableImpressions": {
2684+ "$ref": "MetricValue",
2685+ "description": "The number of bids for which the corresponding impression was viewable (as\ndefined by Active View)."
2686+ }
2687+ },
2688+ "type": "object"
2689+ },
2690+ "BidResponseWithoutBidsStatusRow": {
2691+ "description": "The number of impressions with the specified dimension values that were\nconsidered to have no applicable bids, as described by the specified status.",
2692+ "id": "BidResponseWithoutBidsStatusRow",
2693+ "properties": {
2694+ "impressionCount": {
2695+ "$ref": "MetricValue",
2696+ "description": "The number of impressions for which there was a bid response with the\nspecified status."
2697+ },
2698+ "rowDimensions": {
2699+ "$ref": "RowDimensions",
2700+ "description": "The values of all dimensions associated with metric values in this row."
2701+ },
2702+ "status": {
2703+ "description": "The status specifying why the bid responses were considered to have no\napplicable bids.",
2704+ "enum": [
2705+ "STATUS_UNSPECIFIED",
2706+ "RESPONSES_WITHOUT_BIDS",
2707+ "RESPONSES_WITHOUT_BIDS_FOR_ACCOUNT",
2708+ "RESPONSES_WITHOUT_BIDS_FOR_DEAL"
2709+ ],
2710+ "enumDescriptions": [
2711+ "A placeholder for an undefined status.\nThis value will never be returned in responses.",
2712+ "The response had no bids.",
2713+ "The response had no bids for the specified account, though it may have\nincluded bids on behalf of other accounts.",
2714+ "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."
2715+ ],
2716+ "type": "string"
2717+ }
2718+ },
2719+ "type": "object"
2720+ },
2721+ "Buyer": {
2722+ "description": "Represents a buyer of inventory. Each buyer is identified by a unique\nAuthorized Buyers account ID.",
2723+ "id": "Buyer",
2724+ "properties": {
2725+ "accountId": {
2726+ "description": "Authorized Buyers account ID of the buyer.",
2727+ "type": "string"
2728+ }
2729+ },
2730+ "type": "object"
2731+ },
2732+ "CalloutStatusRow": {
2733+ "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.",
2734+ "id": "CalloutStatusRow",
2735+ "properties": {
2736+ "calloutStatusId": {
2737+ "description": "The ID of the callout status.\nSee [callout-status-codes](https://developers.google.com/authorized-buyers/rtb/downloads/callout-status-codes).",
2738+ "format": "int32",
2739+ "type": "integer"
2740+ },
2741+ "impressionCount": {
2742+ "$ref": "MetricValue",
2743+ "description": "The number of impressions for which there was a bid request or bid response\nwith the specified callout status."
2744+ },
2745+ "rowDimensions": {
2746+ "$ref": "RowDimensions",
2747+ "description": "The values of all dimensions associated with metric values in this row."
2748+ }
2749+ },
2750+ "type": "object"
2751+ },
2752+ "CancelNegotiationRequest": {
2753+ "description": "Request to cancel an ongoing negotiation.",
2754+ "id": "CancelNegotiationRequest",
2755+ "properties": {},
2756+ "type": "object"
2757+ },
2758+ "Client": {
2759+ "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.",
2760+ "id": "Client",
2761+ "properties": {
2762+ "clientAccountId": {
2763+ "description": "The globally-unique numerical ID of the client.\nThe value of this field is ignored in create and update operations.",
2764+ "format": "int64",
2765+ "type": "string"
2766+ },
2767+ "clientName": {
2768+ "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.",
2769+ "type": "string"
2770+ },
2771+ "entityId": {
2772+ "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.",
2773+ "format": "int64",
2774+ "type": "string"
2775+ },
2776+ "entityName": {
2777+ "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.",
2778+ "type": "string"
2779+ },
2780+ "entityType": {
2781+ "description": "The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.",
2782+ "enum": [
2783+ "ENTITY_TYPE_UNSPECIFIED",
2784+ "ADVERTISER",
2785+ "BRAND",
2786+ "AGENCY"
2787+ ],
2788+ "enumDescriptions": [
2789+ "A placeholder for an undefined client entity type. Should not be used.",
2790+ "An advertiser.",
2791+ "A brand.",
2792+ "An advertising agency."
2793+ ],
2794+ "type": "string"
2795+ },
2796+ "partnerClientId": {
2797+ "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.",
2798+ "type": "string"
2799+ },
2800+ "role": {
2801+ "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`.",
2802+ "enum": [
2803+ "CLIENT_ROLE_UNSPECIFIED",
2804+ "CLIENT_DEAL_VIEWER",
2805+ "CLIENT_DEAL_NEGOTIATOR",
2806+ "CLIENT_DEAL_APPROVER"
2807+ ],
2808+ "enumDescriptions": [
2809+ "A placeholder for an undefined client role.",
2810+ "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.",
2811+ "Users associated with this client can respond to deal proposals\nsent to them by publishers. They can also initiate deal proposals\nof their own.",
2812+ "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."
2813+ ],
2814+ "type": "string"
2815+ },
2816+ "status": {
2817+ "description": "The status of the client buyer.",
2818+ "enum": [
2819+ "CLIENT_STATUS_UNSPECIFIED",
2820+ "DISABLED",
2821+ "ACTIVE"
2822+ ],
2823+ "enumDescriptions": [
2824+ "A placeholder for an undefined client status.",
2825+ "A client that is currently disabled.",
2826+ "A client that is currently active."
2827+ ],
2828+ "type": "string"
2829+ },
2830+ "visibleToSeller": {
2831+ "description": "Whether the client buyer will be visible to sellers.",
2832+ "type": "boolean"
2833+ }
2834+ },
2835+ "type": "object"
2836+ },
2837+ "ClientUser": {
2838+ "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.",
2839+ "id": "ClientUser",
2840+ "properties": {
2841+ "clientAccountId": {
2842+ "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.",
2843+ "format": "int64",
2844+ "type": "string"
2845+ },
2846+ "email": {
2847+ "description": "User's email address. The value of this field\nis ignored in an update operation.",
2848+ "type": "string"
2849+ },
2850+ "status": {
2851+ "description": "The status of the client user.",
2852+ "enum": [
2853+ "USER_STATUS_UNSPECIFIED",
2854+ "PENDING",
2855+ "ACTIVE",
2856+ "DISABLED"
2857+ ],
2858+ "enumDescriptions": [
4392859 "A placeholder for an undefined user status.",
4402860 "A user who was already created but hasn't accepted the invitation yet.",
4412861 "A user that is currently active.",
@@ -443,267 +2863,3017 @@
4432863 ],
4442864 "type": "string"
4452865 },
446− "userId": {
447− "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.",
448− "type": "string",
449− "format": "int64"
2866+ "userId": {
2867+ "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.",
2868+ "format": "int64",
2869+ "type": "string"
2870+ }
2871+ },
2872+ "type": "object"
2873+ },
2874+ "ClientUserInvitation": {
2875+ "description": "An invitation for a new client user to get access to the Authorized Buyers\nUI. All fields are required unless otherwise specified.",
2876+ "id": "ClientUserInvitation",
2877+ "properties": {
2878+ "clientAccountId": {
2879+ "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.",
2880+ "format": "int64",
2881+ "type": "string"
2882+ },
2883+ "email": {
2884+ "description": "The email address to which the invitation is sent. Email\naddresses should be unique among all client users under each sponsor\nbuyer.",
2885+ "type": "string"
2886+ },
2887+ "invitationId": {
2888+ "description": "The unique numerical ID of the invitation that is sent to the user.\nThe value of this field is ignored in create operations.",
2889+ "format": "int64",
2890+ "type": "string"
2891+ }
2892+ },
2893+ "type": "object"
2894+ },
2895+ "CompleteSetupRequest": {
2896+ "description": "Request message for indicating that the proposal's setup step is complete.",
2897+ "id": "CompleteSetupRequest",
2898+ "properties": {},
2899+ "type": "object"
2900+ },
2901+ "ContactInformation": {
2902+ "description": "Contains information on how a buyer or seller can be reached.",
2903+ "id": "ContactInformation",
2904+ "properties": {
2905+ "email": {
2906+ "description": "Email address for the contact.",
2907+ "type": "string"
2908+ },
2909+ "name": {
2910+ "description": "The name of the contact.",
2911+ "type": "string"
2912+ }
2913+ },
2914+ "type": "object"
2915+ },
2916+ "Correction": {
2917+ "description": "@OutputOnly Shows any corrections that were applied to this creative.",
2918+ "id": "Correction",
2919+ "properties": {
2920+ "contexts": {
2921+ "description": "The contexts for the correction.",
2922+ "items": {
2923+ "$ref": "ServingContext"
2924+ },
2925+ "type": "array"
2926+ },
2927+ "details": {
2928+ "description": "Additional details about what was corrected.",
2929+ "items": {
2930+ "type": "string"
2931+ },
2932+ "type": "array"
2933+ },
2934+ "type": {
2935+ "description": "The type of correction that was applied to the creative.",
2936+ "enum": [
2937+ "CORRECTION_TYPE_UNSPECIFIED",
2938+ "VENDOR_IDS_ADDED",
2939+ "SSL_ATTRIBUTE_REMOVED",
2940+ "FLASH_FREE_ATTRIBUTE_REMOVED",
2941+ "FLASH_FREE_ATTRIBUTE_ADDED",
2942+ "REQUIRED_ATTRIBUTE_ADDED",
2943+ "REQUIRED_VENDOR_ADDED",
2944+ "SSL_ATTRIBUTE_ADDED",
2945+ "IN_BANNER_VIDEO_ATTRIBUTE_ADDED",
2946+ "MRAID_ATTRIBUTE_ADDED",
2947+ "FLASH_ATTRIBUTE_REMOVED",
2948+ "VIDEO_IN_SNIPPET_ATTRIBUTE_ADDED"
2949+ ],
2950+ "enumDescriptions": [
2951+ "The correction type is unknown. Refer to the details for more information.",
2952+ "The ad's declared vendors did not match the vendors that were detected.\nThe detected vendors were added.",
2953+ "The ad had the SSL attribute declared but was not SSL-compliant.\nThe SSL attribute was removed.",
2954+ "The ad was declared as Flash-free but contained Flash, so the Flash-free\nattribute was removed.",
2955+ "The ad was not declared as Flash-free but it did not reference any flash\ncontent, so the Flash-free attribute was added.",
2956+ "The ad did not declare a required creative attribute.\nThe attribute was added.",
2957+ "The ad did not declare a required technology vendor.\nThe technology vendor was added.",
2958+ "The ad did not declare the SSL attribute but was SSL-compliant, so the\nSSL attribute was added.",
2959+ "Properties consistent with In-banner video were found, so an\nIn-Banner Video attribute was added.",
2960+ "The ad makes calls to the MRAID API so the MRAID attribute was added.",
2961+ "The ad unnecessarily declared the Flash attribute, so the Flash attribute\nwas removed.",
2962+ "The ad contains video content."
2963+ ],
2964+ "type": "string"
2965+ }
2966+ },
2967+ "type": "object"
2968+ },
2969+ "Creative": {
2970+ "description": "A creative and its classification data.\n\nNext ID: 39",
2971+ "id": "Creative",
2972+ "properties": {
2973+ "accountId": {
2974+ "description": "The account that this creative belongs to.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
2975+ "type": "string"
2976+ },
2977+ "adChoicesDestinationUrl": {
2978+ "description": "The link to AdChoices destination page.",
2979+ "type": "string"
2980+ },
2981+ "advertiserName": {
2982+ "description": "The name of the company being advertised in the creative.",
2983+ "type": "string"
2984+ },
2985+ "agencyId": {
2986+ "description": "The agency ID for this creative.",
2987+ "format": "int64",
2988+ "type": "string"
2989+ },
2990+ "apiUpdateTime": {
2991+ "description": "@OutputOnly The last update timestamp of the creative via API.",
2992+ "format": "google-datetime",
2993+ "type": "string"
2994+ },
2995+ "attributes": {
2996+ "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.",
2997+ "enumDescriptions": [
2998+ "Do not use. This is a placeholder value only.",
2999+ "The creative is tagged.",
3000+ "The creative is cookie targeted.",
3001+ "The creative is user interest targeted.",
3002+ "The creative does not expand.",
3003+ "The creative expands up.",
3004+ "The creative expands down.",
3005+ "The creative expands left.",
3006+ "The creative expands right.",
3007+ "The creative expands up and left.",
3008+ "The creative expands up and right.",
3009+ "The creative expands down and left.",
3010+ "The creative expands down and right.",
3011+ "The creative type is HTML.",
3012+ "The creative type is VAST video.",
3013+ "The creative expands up or down.",
3014+ "The creative expands left or right.",
3015+ "The creative expands on any diagonal.",
3016+ "The creative expands when rolled over.",
3017+ "The instream vast video type is vpaid flash.",
3018+ "The creative is MRAID.",
3019+ "The creative is Flash.",
3020+ "The creative is HTML5.",
3021+ "The creative is SSL.",
3022+ "The creative is non-SSL.",
3023+ "The creative is an interstitial.",
3024+ "The creative is eligible for native.",
3025+ "The creative is not eligible for native.",
3026+ "The video type is in-banner video.",
3027+ "The creative can dynamically resize to fill a variety of slot sizes.",
3028+ "The open measurement SDK is supported."
3029+ ],
3030+ "items": {
3031+ "enum": [
3032+ "ATTRIBUTE_UNSPECIFIED",
3033+ "IS_TAGGED",
3034+ "IS_COOKIE_TARGETED",
3035+ "IS_USER_INTEREST_TARGETED",
3036+ "EXPANDING_DIRECTION_NONE",
3037+ "EXPANDING_DIRECTION_UP",
3038+ "EXPANDING_DIRECTION_DOWN",
3039+ "EXPANDING_DIRECTION_LEFT",
3040+ "EXPANDING_DIRECTION_RIGHT",
3041+ "EXPANDING_DIRECTION_UP_LEFT",
3042+ "EXPANDING_DIRECTION_UP_RIGHT",
3043+ "EXPANDING_DIRECTION_DOWN_LEFT",
3044+ "EXPANDING_DIRECTION_DOWN_RIGHT",
3045+ "CREATIVE_TYPE_HTML",
3046+ "CREATIVE_TYPE_VAST_VIDEO",
3047+ "EXPANDING_DIRECTION_UP_OR_DOWN",
3048+ "EXPANDING_DIRECTION_LEFT_OR_RIGHT",
3049+ "EXPANDING_DIRECTION_ANY_DIAGONAL",
3050+ "EXPANDING_ACTION_ROLLOVER_TO_EXPAND",
3051+ "INSTREAM_VAST_VIDEO_TYPE_VPAID_FLASH",
3052+ "RICH_MEDIA_CAPABILITY_TYPE_MRAID",
3053+ "RICH_MEDIA_CAPABILITY_TYPE_FLASH",
3054+ "RICH_MEDIA_CAPABILITY_TYPE_HTML5",
3055+ "RICH_MEDIA_CAPABILITY_TYPE_SSL",
3056+ "RICH_MEDIA_CAPABILITY_TYPE_NON_SSL",
3057+ "RICH_MEDIA_CAPABILITY_TYPE_INTERSTITIAL",
3058+ "NATIVE_ELIGIBILITY_ELIGIBLE",
3059+ "NATIVE_ELIGIBILITY_NOT_ELIGIBLE",
3060+ "IN_BANNER_VIDEO",
3061+ "RENDERING_SIZELESS_ADX",
3062+ "OMSDK_1_0"
3063+ ],
3064+ "type": "string"
3065+ },
3066+ "type": "array"
3067+ },
3068+ "clickThroughUrls": {
3069+ "description": "The set of destination URLs for the creative.",
3070+ "items": {
3071+ "type": "string"
3072+ },
3073+ "type": "array"
3074+ },
3075+ "corrections": {
3076+ "description": "@OutputOnly Shows any corrections that were applied to this creative.",
3077+ "items": {
3078+ "$ref": "Correction"
3079+ },
3080+ "type": "array"
3081+ },
3082+ "creativeId": {
3083+ "description": "The buyer-defined creative ID of this creative.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
3084+ "type": "string"
3085+ },
3086+ "dealsStatus": {
3087+ "description": "@OutputOnly 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.",
3088+ "enum": [
3089+ "STATUS_UNSPECIFIED",
3090+ "NOT_CHECKED",
3091+ "CONDITIONALLY_APPROVED",
3092+ "APPROVED",
3093+ "DISAPPROVED"
3094+ ],
3095+ "enumDescriptions": [
3096+ "The status is unknown.",
3097+ "The creative has not been checked.",
3098+ "The creative has been conditionally approved.\nSee serving_restrictions for details.",
3099+ "The creative has been approved.",
3100+ "The creative has been disapproved."
3101+ ],
3102+ "type": "string"
3103+ },
3104+ "declaredClickThroughUrls": {
3105+ "description": "The set of declared destination URLs for the creative.",
3106+ "items": {
3107+ "type": "string"
3108+ },
3109+ "type": "array"
3110+ },
3111+ "detectedAdvertiserIds": {
3112+ "description": "@OutputOnly Detected advertiser IDs, if any.",
3113+ "items": {
3114+ "format": "int64",
3115+ "type": "string"
3116+ },
3117+ "type": "array"
3118+ },
3119+ "detectedDomains": {
3120+ "description": "@OutputOnly\nThe detected domains for this creative.",
3121+ "items": {
3122+ "type": "string"
3123+ },
3124+ "type": "array"
3125+ },
3126+ "detectedLanguages": {
3127+ "description": "@OutputOnly\nThe detected languages for this creative. The order is arbitrary. The codes\nare 2 or 5 characters and are documented at\nhttps://developers.google.com/adwords/api/docs/appendix/languagecodes.",
3128+ "items": {
3129+ "type": "string"
3130+ },
3131+ "type": "array"
3132+ },
3133+ "detectedProductCategories": {
3134+ "description": "@OutputOnly Detected product categories, if any.\nSee the ad-product-categories.txt file in the technical documentation\nfor a list of IDs.",
3135+ "items": {
3136+ "format": "int32",
3137+ "type": "integer"
3138+ },
3139+ "type": "array"
3140+ },
3141+ "detectedSensitiveCategories": {
3142+ "description": "@OutputOnly 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.",
3143+ "items": {
3144+ "format": "int32",
3145+ "type": "integer"
3146+ },
3147+ "type": "array"
3148+ },
3149+ "filteringStats": {
3150+ "$ref": "FilteringStats",
3151+ "description": "@OutputOnly The filtering stats for this creative."
3152+ },
3153+ "html": {
3154+ "$ref": "HtmlContent",
3155+ "description": "An HTML creative."
3156+ },
3157+ "impressionTrackingUrls": {
3158+ "description": "The set of URLs to be called to record an impression.",
3159+ "items": {
3160+ "type": "string"
3161+ },
3162+ "type": "array"
3163+ },
3164+ "native": {
3165+ "$ref": "NativeContent",
3166+ "description": "A native creative."
3167+ },
3168+ "openAuctionStatus": {
3169+ "description": "@OutputOnly 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.",
3170+ "enum": [
3171+ "STATUS_UNSPECIFIED",
3172+ "NOT_CHECKED",
3173+ "CONDITIONALLY_APPROVED",
3174+ "APPROVED",
3175+ "DISAPPROVED"
3176+ ],
3177+ "enumDescriptions": [
3178+ "The status is unknown.",
3179+ "The creative has not been checked.",
3180+ "The creative has been conditionally approved.\nSee serving_restrictions for details.",
3181+ "The creative has been approved.",
3182+ "The creative has been disapproved."
3183+ ],
3184+ "type": "string"
3185+ },
3186+ "restrictedCategories": {
3187+ "description": "All restricted categories for the ads that may be shown from this creative.",
3188+ "enumDescriptions": [
3189+ "The ad has no restricted categories",
3190+ "The alcohol restricted category."
3191+ ],
3192+ "items": {
3193+ "enum": [
3194+ "NO_RESTRICTED_CATEGORIES",
3195+ "ALCOHOL"
3196+ ],
3197+ "type": "string"
3198+ },
3199+ "type": "array"
3200+ },
3201+ "servingRestrictions": {
3202+ "description": "@OutputOnly 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).",
3203+ "items": {
3204+ "$ref": "ServingRestriction"
3205+ },
3206+ "type": "array"
3207+ },
3208+ "vendorIds": {
3209+ "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.",
3210+ "items": {
3211+ "format": "int32",
3212+ "type": "integer"
3213+ },
3214+ "type": "array"
3215+ },
3216+ "version": {
3217+ "description": "@OutputOnly The version of this creative.",
3218+ "format": "int32",
3219+ "type": "integer"
3220+ },
3221+ "video": {
3222+ "$ref": "VideoContent",
3223+ "description": "A video creative."
3224+ }
3225+ },
3226+ "type": "object"
3227+ },
3228+ "CreativeDealAssociation": {
3229+ "description": "The association between a creative and a deal.",
3230+ "id": "CreativeDealAssociation",
3231+ "properties": {
3232+ "accountId": {
3233+ "description": "The account the creative belongs to.",
3234+ "type": "string"
3235+ },
3236+ "creativeId": {
3237+ "description": "The ID of the creative associated with the deal.",
3238+ "type": "string"
3239+ },
3240+ "dealsId": {
3241+ "description": "The externalDealId for the deal associated with the creative.",
3242+ "type": "string"
3243+ }
3244+ },
3245+ "type": "object"
3246+ },
3247+ "CreativeRestrictions": {
3248+ "description": "Represents creative restrictions associated to Programmatic Guaranteed/\nPreferred Deal in Ad Manager.\nThis doesn't apply to Private Auction and AdX Preferred Deals.",
3249+ "id": "CreativeRestrictions",
3250+ "properties": {
3251+ "creativeFormat": {
3252+ "description": "The format of the environment that the creatives will be displayed in.",
3253+ "enum": [
3254+ "CREATIVE_FORMAT_UNSPECIFIED",
3255+ "DISPLAY",
3256+ "VIDEO"
3257+ ],
3258+ "enumDescriptions": [
3259+ "A placeholder for an undefined creative format.",
3260+ "A creative that will be displayed in environments such as a browser.",
3261+ "A video creative that will be displayed in environments such as a video\nplayer."
3262+ ],
3263+ "type": "string"
3264+ },
3265+ "creativeSpecifications": {
3266+ "items": {
3267+ "$ref": "CreativeSpecification"
3268+ },
3269+ "type": "array"
3270+ },
3271+ "skippableAdType": {
3272+ "description": "Skippable video ads allow viewers to skip ads after 5 seconds.",
3273+ "enum": [
3274+ "SKIPPABLE_AD_TYPE_UNSPECIFIED",
3275+ "SKIPPABLE",
3276+ "INSTREAM_SELECT",
3277+ "NOT_SKIPPABLE"
3278+ ],
3279+ "enumDescriptions": [
3280+ "A placeholder for an undefined skippable ad type.",
3281+ "This video ad can be skipped after 5 seconds.",
3282+ "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.",
3283+ "This video ad is not skippable."
3284+ ],
3285+ "type": "string"
3286+ }
3287+ },
3288+ "type": "object"
3289+ },
3290+ "CreativeSize": {
3291+ "description": "Specifies the size of the creative.",
3292+ "id": "CreativeSize",
3293+ "properties": {
3294+ "allowedFormats": {
3295+ "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).",
3296+ "enumDescriptions": [
3297+ "A placeholder for an undefined allowed format.",
3298+ "An audio-only ad (without any video)."
3299+ ],
3300+ "items": {
3301+ "enum": [
3302+ "UNKNOWN",
3303+ "AUDIO"
3304+ ],
3305+ "type": "string"
3306+ },
3307+ "type": "array"
3308+ },
3309+ "companionSizes": {
3310+ "description": "For video creatives specifies the sizes of companion ads (if present).\nCompanion sizes may be filled in only when creative_size_type = VIDEO",
3311+ "items": {
3312+ "$ref": "Size"
3313+ },
3314+ "type": "array"
3315+ },
3316+ "creativeSizeType": {
3317+ "description": "The creative size type.",
3318+ "enum": [
3319+ "CREATIVE_SIZE_TYPE_UNSPECIFIED",
3320+ "REGULAR",
3321+ "INTERSTITIAL",
3322+ "VIDEO",
3323+ "NATIVE"
3324+ ],
3325+ "enumDescriptions": [
3326+ "A placeholder for an undefined creative size type.",
3327+ "The creative is a regular desktop creative.",
3328+ "The creative is an interstitial creative.",
3329+ "The creative is a video creative.",
3330+ "The creative is a native (mobile) creative."
3331+ ],
3332+ "type": "string"
3333+ },
3334+ "nativeTemplate": {
3335+ "description": "The native template for this creative. It will have a value only if\ncreative_size_type = CreativeSizeType.NATIVE.\n@OutputOnly",
3336+ "enum": [
3337+ "UNKNOWN_NATIVE_TEMPLATE",
3338+ "NATIVE_CONTENT_AD",
3339+ "NATIVE_APP_INSTALL_AD",
3340+ "NATIVE_VIDEO_CONTENT_AD",
3341+ "NATIVE_VIDEO_APP_INSTALL_AD"
3342+ ],
3343+ "enumDescriptions": [
3344+ "A placeholder for an undefined native template.",
3345+ "The creative is linked to native content ad.",
3346+ "The creative is linked to native app install ad.",
3347+ "The creative is linked to native video content ad.",
3348+ "The creative is linked to native video app install ad."
3349+ ],
3350+ "type": "string"
3351+ },
3352+ "size": {
3353+ "$ref": "Size",
3354+ "description": "For regular or video creative size type, specifies the size\nof the creative"
3355+ },
3356+ "skippableAdType": {
3357+ "description": "The type of skippable ad for this creative. It will have a value only if\ncreative_size_type = CreativeSizeType.VIDEO.",
3358+ "enum": [
3359+ "SKIPPABLE_AD_TYPE_UNSPECIFIED",
3360+ "GENERIC",
3361+ "INSTREAM_SELECT",
3362+ "NOT_SKIPPABLE"
3363+ ],
3364+ "enumDescriptions": [
3365+ "A placeholder for an undefined skippable ad type.",
3366+ "This video ad can be skipped after 5 seconds.",
3367+ "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.",
3368+ "This video ad is not skippable."
3369+ ],
3370+ "type": "string"
3371+ }
3372+ },
3373+ "type": "object"
3374+ },
3375+ "CreativeSpecification": {
3376+ "description": "Represents information for a creative that is associated with a Programmatic\nGuaranteed/Preferred Deal in Ad Manager.",
3377+ "id": "CreativeSpecification",
3378+ "properties": {
3379+ "creativeCompanionSizes": {
3380+ "description": "Companion sizes may be filled in only when this is a video creative.",
3381+ "items": {
3382+ "$ref": "AdSize"
3383+ },
3384+ "type": "array"
3385+ },
3386+ "creativeSize": {
3387+ "$ref": "AdSize",
3388+ "description": "The size of the creative."
3389+ }
3390+ },
3391+ "type": "object"
3392+ },
3393+ "CreativeStatusRow": {
3394+ "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.",
3395+ "id": "CreativeStatusRow",
3396+ "properties": {
3397+ "bidCount": {
3398+ "$ref": "MetricValue",
3399+ "description": "The number of bids with the specified status."
3400+ },
3401+ "creativeStatusId": {
3402+ "description": "The ID of the creative status.\nSee [creative-status-codes](https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).",
3403+ "format": "int32",
3404+ "type": "integer"
3405+ },
3406+ "rowDimensions": {
3407+ "$ref": "RowDimensions",
3408+ "description": "The values of all dimensions associated with metric values in this row."
3409+ }
3410+ },
3411+ "type": "object"
3412+ },
3413+ "CriteriaTargeting": {
3414+ "description": "Generic targeting used for targeting dimensions that contains a list of\nincluded and excluded numeric IDs.",
3415+ "id": "CriteriaTargeting",
3416+ "properties": {
3417+ "excludedCriteriaIds": {
3418+ "description": "A list of numeric IDs to be excluded.",
3419+ "items": {
3420+ "format": "int64",
3421+ "type": "string"
3422+ },
3423+ "type": "array"
3424+ },
3425+ "targetedCriteriaIds": {
3426+ "description": "A list of numeric IDs to be included.",
3427+ "items": {
3428+ "format": "int64",
3429+ "type": "string"
3430+ },
3431+ "type": "array"
3432+ }
3433+ },
3434+ "type": "object"
3435+ },
3436+ "Date": {
3437+ "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`.",
3438+ "id": "Date",
3439+ "properties": {
3440+ "day": {
3441+ "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.",
3442+ "format": "int32",
3443+ "type": "integer"
3444+ },
3445+ "month": {
3446+ "description": "Month of year. Must be from 1 to 12, or 0 if specifying a year without a\nmonth and day.",
3447+ "format": "int32",
3448+ "type": "integer"
3449+ },
3450+ "year": {
3451+ "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.",
3452+ "format": "int32",
3453+ "type": "integer"
3454+ }
3455+ },
3456+ "type": "object"
3457+ },
3458+ "DayPart": {
3459+ "description": "Daypart targeting message that specifies if the ad can be shown\nonly during certain parts of a day/week.",
3460+ "id": "DayPart",
3461+ "properties": {
3462+ "dayOfWeek": {
3463+ "description": "The day of the week to target. If unspecified, applicable to all days.",
3464+ "enum": [
3465+ "DAY_OF_WEEK_UNSPECIFIED",
3466+ "MONDAY",
3467+ "TUESDAY",
3468+ "WEDNESDAY",
3469+ "THURSDAY",
3470+ "FRIDAY",
3471+ "SATURDAY",
3472+ "SUNDAY"
3473+ ],
3474+ "enumDescriptions": [
3475+ "A placeholder for when the day of the week is not specified.",
3476+ "Monday",
3477+ "Tuesday",
3478+ "Wednesday",
3479+ "Thursday",
3480+ "Friday",
3481+ "Saturday",
3482+ "Sunday"
3483+ ],
3484+ "type": "string"
3485+ },
3486+ "endTime": {
3487+ "$ref": "TimeOfDay",
3488+ "description": "The ending time of the day for the ad to show (minute level granularity).\nThe end time is exclusive.\nThis field is not available for filtering in PQL queries."
3489+ },
3490+ "startTime": {
3491+ "$ref": "TimeOfDay",
3492+ "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."
3493+ }
3494+ },
3495+ "type": "object"
3496+ },
3497+ "DayPartTargeting": {
3498+ "description": "Specifies the day part targeting criteria.",
3499+ "id": "DayPartTargeting",
3500+ "properties": {
3501+ "dayParts": {
3502+ "description": "A list of day part targeting criterion.",
3503+ "items": {
3504+ "$ref": "DayPart"
3505+ },
3506+ "type": "array"
3507+ },
3508+ "timeZoneType": {
3509+ "description": "The timezone to use for interpreting the day part targeting.",
3510+ "enum": [
3511+ "TIME_ZONE_SOURCE_UNSPECIFIED",
3512+ "PUBLISHER",
3513+ "USER"
3514+ ],
3515+ "enumDescriptions": [
3516+ "A placeholder for an undefined time zone source.",
3517+ "Use publisher's time zone setting.",
3518+ "Use the user's time zone setting."
3519+ ],
3520+ "type": "string"
3521+ }
3522+ },
3523+ "type": "object"
3524+ },
3525+ "Deal": {
3526+ "description": "A deal represents a segment of inventory for displaying ads on.\nA proposal can contain multiple deals. A deal contains the terms and targeting information that\nis used for serving.",
3527+ "id": "Deal",
3528+ "properties": {
3529+ "availableEndTime": {
3530+ "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.",
3531+ "format": "google-datetime",
3532+ "type": "string"
3533+ },
3534+ "availableStartTime": {
3535+ "description": "Optional proposed flight start time of the deal.\nThis will generally be stored in the granularity of one second since deal serving\nstarts at seconds boundary. Any time specified with more granularity\n(e.g., in milliseconds) will be truncated towards the start of time in seconds.",
3536+ "format": "google-datetime",
3537+ "type": "string"
3538+ },
3539+ "buyerPrivateData": {
3540+ "$ref": "PrivateData",
3541+ "description": "Buyer private data (hidden from seller)."
3542+ },
3543+ "createProductId": {
3544+ "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.",
3545+ "type": "string"
3546+ },
3547+ "createProductRevision": {
3548+ "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.",
3549+ "format": "int64",
3550+ "type": "string"
3551+ },
3552+ "createTime": {
3553+ "description": "The time of the deal creation.\n@OutputOnly",
3554+ "format": "google-datetime",
3555+ "type": "string"
3556+ },
3557+ "creativePreApprovalPolicy": {
3558+ "description": "Specifies the creative pre-approval policy.\n@OutputOnly",
3559+ "enum": [
3560+ "CREATIVE_PRE_APPROVAL_POLICY_UNSPECIFIED",
3561+ "SELLER_PRE_APPROVAL_REQUIRED",
3562+ "SELLER_PRE_APPROVAL_NOT_REQUIRED"
3563+ ],
3564+ "enumDescriptions": [
3565+ "A placeholder for an undefined creative pre-approval policy.",
3566+ "The seller needs to approve each creative before it can serve.",
3567+ "The seller does not need to approve each creative before it can serve."
3568+ ],
3569+ "type": "string"
3570+ },
3571+ "creativeRestrictions": {
3572+ "$ref": "CreativeRestrictions",
3573+ "description": "Restricitions about the creatives associated with the deal (i.e., size)\nThis is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.\n@OutputOnly"
3574+ },
3575+ "creativeSafeFrameCompatibility": {
3576+ "description": "Specifies whether the creative is safeFrame compatible.\n@OutputOnly",
3577+ "enum": [
3578+ "CREATIVE_SAFE_FRAME_COMPATIBILITY_UNSPECIFIED",
3579+ "COMPATIBLE",
3580+ "INCOMPATIBLE"
3581+ ],
3582+ "enumDescriptions": [
3583+ "A placeholder for an undefined creative safe-frame compatibility.",
3584+ "The creatives need to be compatible with the safe frame option.",
3585+ "The creatives can be incompatible with the safe frame option."
3586+ ],
3587+ "type": "string"
3588+ },
3589+ "dealId": {
3590+ "description": "A unique deal ID for the deal (server-assigned).\n@OutputOnly",
3591+ "type": "string"
3592+ },
3593+ "dealServingMetadata": {
3594+ "$ref": "DealServingMetadata",
3595+ "description": "Metadata about the serving status of this deal.\n@OutputOnly"
3596+ },
3597+ "dealTerms": {
3598+ "$ref": "DealTerms",
3599+ "description": "The negotiable terms of the deal."
3600+ },
3601+ "deliveryControl": {
3602+ "$ref": "DeliveryControl",
3603+ "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."
3604+ },
3605+ "description": {
3606+ "description": "Description for the deal terms.",
3607+ "type": "string"
3608+ },
3609+ "displayName": {
3610+ "description": "The name of the deal.",
3611+ "type": "string"
3612+ },
3613+ "externalDealId": {
3614+ "description": "The external deal ID assigned to this deal once the deal is finalized.\nThis is the deal ID that shows up in serving/reporting etc.\n@OutputOnly",
3615+ "type": "string"
3616+ },
3617+ "isSetupComplete": {
3618+ "description": "True, if the buyside inventory setup is complete for this deal.\n@OutputOnly",
3619+ "type": "boolean"
3620+ },
3621+ "programmaticCreativeSource": {
3622+ "description": "Specifies the creative source for programmatic deals. PUBLISHER means\ncreative is provided by seller and ADVERTISER means creative is\nprovided by buyer.\n@OutputOnly",
3623+ "enum": [
3624+ "PROGRAMMATIC_CREATIVE_SOURCE_UNSPECIFIED",
3625+ "ADVERTISER",
3626+ "PUBLISHER"
3627+ ],
3628+ "enumDescriptions": [
3629+ "A placeholder for an undefined programmatic creative source.",
3630+ "The advertiser provides the creatives.",
3631+ "The publisher provides the creatives to be served."
3632+ ],
3633+ "type": "string"
3634+ },
3635+ "proposalId": {
3636+ "description": "ID of the proposal that this deal is part of.\n@OutputOnly",
3637+ "type": "string"
3638+ },
3639+ "sellerContacts": {
3640+ "description": "Seller contact information for the deal.\n@OutputOnly",
3641+ "items": {
3642+ "$ref": "ContactInformation"
3643+ },
3644+ "type": "array"
3645+ },
3646+ "syndicationProduct": {
3647+ "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.",
3648+ "enum": [
3649+ "SYNDICATION_PRODUCT_UNSPECIFIED",
3650+ "CONTENT",
3651+ "MOBILE",
3652+ "VIDEO",
3653+ "GAMES"
3654+ ],
3655+ "enumDescriptions": [
3656+ "A placeholder for an undefined syndication product.",
3657+ "This typically represents a web page.",
3658+ "This represents a mobile property.",
3659+ "This represents video ad formats.",
3660+ "This represents ads shown within games."
3661+ ],
3662+ "type": "string"
3663+ },
3664+ "targeting": {
3665+ "$ref": "MarketplaceTargeting",
3666+ "description": "Specifies the subset of inventory targeted by the deal.\n@OutputOnly"
3667+ },
3668+ "targetingCriterion": {
3669+ "description": "The shared targeting visible to buyers and sellers. Each shared\ntargeting entity is AND'd together.",
3670+ "items": {
3671+ "$ref": "TargetingCriteria"
3672+ },
3673+ "type": "array"
3674+ },
3675+ "updateTime": {
3676+ "description": "The time when the deal was last updated.\n@OutputOnly",
3677+ "format": "google-datetime",
3678+ "type": "string"
3679+ },
3680+ "webPropertyCode": {
3681+ "description": "The web property code for the seller copied over from the product.",
3682+ "type": "string"
3683+ }
3684+ },
3685+ "type": "object"
3686+ },
3687+ "DealPauseStatus": {
3688+ "description": "Tracks which parties (if any) have paused a deal.\nThe deal is considered paused if either hasBuyerPaused or\nhasSellPaused is true.",
3689+ "id": "DealPauseStatus",
3690+ "properties": {
3691+ "buyerPauseReason": {
3692+ "description": "The buyer's reason for pausing, if the buyer paused the deal.",
3693+ "type": "string"
3694+ },
3695+ "firstPausedBy": {
3696+ "description": "The role of the person who first paused this deal.",
3697+ "enum": [
3698+ "BUYER_SELLER_ROLE_UNSPECIFIED",
3699+ "BUYER",
3700+ "SELLER"
3701+ ],
3702+ "enumDescriptions": [
3703+ "A placeholder for an undefined buyer/seller role.",
3704+ "Specifies the role as buyer.",
3705+ "Specifies the role as seller."
3706+ ],
3707+ "type": "string"
3708+ },
3709+ "hasBuyerPaused": {
3710+ "description": "True, if the buyer has paused the deal unilaterally.",
3711+ "type": "boolean"
3712+ },
3713+ "hasSellerPaused": {
3714+ "description": "True, if the seller has paused the deal unilaterally.",
3715+ "type": "boolean"
3716+ },
3717+ "sellerPauseReason": {
3718+ "description": "The seller's reason for pausing, if the seller paused the deal.",
3719+ "type": "string"
3720+ }
3721+ },
3722+ "type": "object"
3723+ },
3724+ "DealServingMetadata": {
3725+ "description": "Message captures metadata about the serving status of a deal.",
3726+ "id": "DealServingMetadata",
3727+ "properties": {
3728+ "dealPauseStatus": {
3729+ "$ref": "DealPauseStatus",
3730+ "description": "Tracks which parties (if any) have paused a deal.\n@OutputOnly"
3731+ }
3732+ },
3733+ "type": "object"
3734+ },
3735+ "DealTerms": {
3736+ "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.",
3737+ "id": "DealTerms",
3738+ "properties": {
3739+ "brandingType": {
3740+ "description": "Visibility of the URL in bid requests. (default: BRANDED)",
3741+ "enum": [
3742+ "BRANDING_TYPE_UNSPECIFIED",
3743+ "BRANDED",
3744+ "SEMI_TRANSPARENT"
3745+ ],
3746+ "enumDescriptions": [
3747+ "A placeholder for an undefined branding type.",
3748+ "Full URL is included in bid requests.",
3749+ "A TopLevelDomain or masked URL is sent in bid requests\nrather than the full one."
3750+ ],
3751+ "type": "string"
3752+ },
3753+ "description": {
3754+ "description": "Publisher provided description for the terms.",
3755+ "type": "string"
3756+ },
3757+ "estimatedGrossSpend": {
3758+ "$ref": "Price",
3759+ "description": "Non-binding estimate of the estimated gross spend for this deal.\nCan be set by buyer or seller."
3760+ },
3761+ "estimatedImpressionsPerDay": {
3762+ "description": "Non-binding estimate of the impressions served per day.\nCan be set by buyer or seller.",
3763+ "format": "int64",
3764+ "type": "string"
3765+ },
3766+ "guaranteedFixedPriceTerms": {
3767+ "$ref": "GuaranteedFixedPriceTerms",
3768+ "description": "The terms for guaranteed fixed price deals."
3769+ },
3770+ "nonGuaranteedAuctionTerms": {
3771+ "$ref": "NonGuaranteedAuctionTerms",
3772+ "description": "The terms for non-guaranteed auction deals."
3773+ },
3774+ "nonGuaranteedFixedPriceTerms": {
3775+ "$ref": "NonGuaranteedFixedPriceTerms",
3776+ "description": "The terms for non-guaranteed fixed price deals."
3777+ },
3778+ "sellerTimeZone": {
3779+ "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.",
3780+ "type": "string"
3781+ }
3782+ },
3783+ "type": "object"
3784+ },
3785+ "DeliveryControl": {
3786+ "description": "Message contains details about how the deals will be paced.",
3787+ "id": "DeliveryControl",
3788+ "properties": {
3789+ "creativeBlockingLevel": {
3790+ "description": "Specified the creative blocking levels to be applied.\n@OutputOnly",
3791+ "enum": [
3792+ "CREATIVE_BLOCKING_LEVEL_UNSPECIFIED",
3793+ "PUBLISHER_BLOCKING_RULES",
3794+ "ADX_POLICY_BLOCKING_ONLY"
3795+ ],
3796+ "enumDescriptions": [
3797+ "A placeholder for an undefined creative blocking level.",
3798+ "Publisher blocking rules will be applied.",
3799+ "The Ad Exchange policy blocking rules will be applied."
3800+ ],
3801+ "type": "string"
3802+ },
3803+ "deliveryRateType": {
3804+ "description": "Specifies how the impression delivery will be paced.\n@OutputOnly",
3805+ "enum": [
3806+ "DELIVERY_RATE_TYPE_UNSPECIFIED",
3807+ "EVENLY",
3808+ "FRONT_LOADED",
3809+ "AS_FAST_AS_POSSIBLE"
3810+ ],
3811+ "enumDescriptions": [
3812+ "A placeholder for an undefined delivery rate type.",
3813+ "Impressions are served uniformly over the life of the deal.",
3814+ "Impressions are served front-loaded.",
3815+ "Impressions are served as fast as possible."
3816+ ],
3817+ "type": "string"
3818+ },
3819+ "frequencyCaps": {
3820+ "description": "Specifies any frequency caps.\n@OutputOnly",
3821+ "items": {
3822+ "$ref": "FrequencyCap"
3823+ },
3824+ "type": "array"
3825+ }
3826+ },
3827+ "type": "object"
3828+ },
3829+ "Disapproval": {
3830+ "description": "@OutputOnly The reason and details for a disapproval.",
3831+ "id": "Disapproval",
3832+ "properties": {
3833+ "details": {
3834+ "description": "Additional details about the reason for disapproval.",
3835+ "items": {
3836+ "type": "string"
3837+ },
3838+ "type": "array"
3839+ },
3840+ "reason": {
3841+ "description": "The categorized reason for disapproval.",
3842+ "enum": [
3843+ "LENGTH_OF_IMAGE_ANIMATION",
3844+ "BROKEN_URL",
3845+ "MEDIA_NOT_FUNCTIONAL",
3846+ "INVALID_FOURTH_PARTY_CALL",
3847+ "INCORRECT_REMARKETING_DECLARATION",
3848+ "LANDING_PAGE_ERROR",
3849+ "AD_SIZE_DOES_NOT_MATCH_AD_SLOT",
3850+ "NO_BORDER",
3851+ "FOURTH_PARTY_BROWSER_COOKIES",
3852+ "LSO_OBJECTS",
3853+ "BLANK_CREATIVE",
3854+ "DESTINATION_URLS_UNDECLARED",
3855+ "PROBLEM_WITH_CLICK_MACRO",
3856+ "INCORRECT_AD_TECHNOLOGY_DECLARATION",
3857+ "INCORRECT_DESTINATION_URL_DECLARATION",
3858+ "EXPANDABLE_INCORRECT_DIRECTION",
3859+ "EXPANDABLE_DIRECTION_NOT_SUPPORTED",
3860+ "EXPANDABLE_INVALID_VENDOR",
3861+ "EXPANDABLE_FUNCTIONALITY",
3862+ "VIDEO_INVALID_VENDOR",
3863+ "VIDEO_UNSUPPORTED_LENGTH",
3864+ "VIDEO_UNSUPPORTED_FORMAT",
3865+ "VIDEO_FUNCTIONALITY",
3866+ "LANDING_PAGE_DISABLED",
3867+ "MALWARE_SUSPECTED",
3868+ "ADULT_IMAGE_OR_VIDEO",
3869+ "INACCURATE_AD_TEXT",
3870+ "COUNTERFEIT_DESIGNER_GOODS",
3871+ "POP_UP",
3872+ "INVALID_RTB_PROTOCOL_USAGE",
3873+ "RAW_IP_ADDRESS_IN_SNIPPET",
3874+ "UNACCEPTABLE_CONTENT_SOFTWARE",
3875+ "UNAUTHORIZED_COOKIE_ON_GOOGLE_DOMAIN",
3876+ "UNDECLARED_FLASH_OBJECTS",
3877+ "INVALID_SSL_DECLARATION",
3878+ "DIRECT_DOWNLOAD_IN_AD",
3879+ "MAXIMUM_DOWNLOAD_SIZE_EXCEEDED",
3880+ "DESTINATION_URL_SITE_NOT_CRAWLABLE",
3881+ "BAD_URL_LEGAL_DISAPPROVAL",
3882+ "PHARMA_GAMBLING_ALCOHOL_NOT_ALLOWED",
3883+ "DYNAMIC_DNS_AT_DESTINATION_URL",
3884+ "POOR_IMAGE_OR_VIDEO_QUALITY",
3885+ "UNACCEPTABLE_IMAGE_CONTENT",
3886+ "INCORRECT_IMAGE_LAYOUT",
3887+ "IRRELEVANT_IMAGE_OR_VIDEO",
3888+ "DESTINATION_SITE_DOES_NOT_ALLOW_GOING_BACK",
3889+ "MISLEADING_CLAIMS_IN_AD",
3890+ "RESTRICTED_PRODUCTS",
3891+ "UNACCEPTABLE_CONTENT",
3892+ "AUTOMATED_AD_CLICKING",
3893+ "INVALID_URL_PROTOCOL",
3894+ "UNDECLARED_RESTRICTED_CONTENT",
3895+ "INVALID_REMARKETING_LIST_USAGE",
3896+ "DESTINATION_SITE_NOT_CRAWLABLE_ROBOTS_TXT",
3897+ "CLICK_TO_DOWNLOAD_NOT_AN_APP",
3898+ "INACCURATE_REVIEW_EXTENSION",
3899+ "SEXUALLY_EXPLICIT_CONTENT",
3900+ "GAINING_AN_UNFAIR_ADVANTAGE",
3901+ "GAMING_THE_GOOGLE_NETWORK",
3902+ "DANGEROUS_PRODUCTS_KNIVES",
3903+ "DANGEROUS_PRODUCTS_EXPLOSIVES",
3904+ "DANGEROUS_PRODUCTS_GUNS",
3905+ "DANGEROUS_PRODUCTS_DRUGS",
3906+ "DANGEROUS_PRODUCTS_TOBACCO",
3907+ "DANGEROUS_PRODUCTS_WEAPONS",
3908+ "UNCLEAR_OR_IRRELEVANT_AD",
3909+ "PROFESSIONAL_STANDARDS",
3910+ "DYSFUNCTIONAL_PROMOTION",
3911+ "INVALID_INTEREST_BASED_AD",
3912+ "MISUSE_OF_PERSONAL_INFORMATION",
3913+ "OMISSION_OF_RELEVANT_INFORMATION",
3914+ "UNAVAILABLE_PROMOTIONS",
3915+ "MISLEADING_PROMOTIONS",
3916+ "INAPPROPRIATE_CONTENT",
3917+ "SENSITIVE_EVENTS",
3918+ "SHOCKING_CONTENT",
3919+ "ENABLING_DISHONEST_BEHAVIOR",
3920+ "TECHNICAL_REQUIREMENTS",
3921+ "RESTRICTED_POLITICAL_CONTENT",
3922+ "UNSUPPORTED_CONTENT",
3923+ "INVALID_BIDDING_METHOD",
3924+ "VIDEO_TOO_LONG",
3925+ "VIOLATES_JAPANESE_PHARMACY_LAW",
3926+ "UNACCREDITED_PET_PHARMACY",
3927+ "ABORTION",
3928+ "CONTRACEPTIVES",
3929+ "NEED_CERTIFICATES_TO_ADVERTISE_IN_CHINA",
3930+ "KCDSP_REGISTRATION",
3931+ "NOT_FAMILY_SAFE",
3932+ "CLINICAL_TRIAL_RECRUITMENT",
3933+ "MAXIMUM_NUMBER_OF_HTTP_CALLS_EXCEEDED",
3934+ "MAXIMUM_NUMBER_OF_COOKIES_EXCEEDED",
3935+ "PERSONAL_LOANS",
3936+ "UNSUPPORTED_FLASH_CONTENT",
3937+ "MISUSE_BY_OMID_SCRIPT",
3938+ "NON_WHITELISTED_OMID_VENDOR",
3939+ "DESTINATION_EXPERIENCE",
3940+ "UNSUPPORTED_LANGUAGE",
3941+ "NON_SSL_COMPLIANT",
3942+ "TEMPORARY_PAUSE",
3943+ "BAIL_BONDS"
3944+ ],
3945+ "enumDescriptions": [
3946+ "The length of the image animation is longer than allowed.",
3947+ "The click through URL doesn't work properly.",
3948+ "Something is wrong with the creative itself.",
3949+ "The ad makes a fourth party call to an unapproved vendor.",
3950+ "The ad targets consumers using remarketing lists and/or collects\ndata for subsequent use in retargeting, but does not correctly declare\nthat use.",
3951+ "Clicking on the ad leads to an error page.",
3952+ "The ad size when rendered does not match the declaration.",
3953+ "Ads with a white background require a border, which was missing.",
3954+ "The creative attempts to set cookies from a fourth party that is not\ncertified.",
3955+ "The creative sets an LSO object.",
3956+ "The ad serves a blank.",
3957+ "The ad uses rotation, but not all destination URLs were declared.",
3958+ "There is a problem with the way the click macro is used.",
3959+ "The ad technology declaration is not accurate.",
3960+ "The actual destination URL does not match the declared destination URL.",
3961+ "The declared expanding direction does not match the actual direction.",
3962+ "The ad does not expand in a supported direction.",
3963+ "The ad uses an expandable vendor that is not supported.",
3964+ "There was an issue with the expandable ad.",
3965+ "The ad uses a video vendor that is not supported.",
3966+ "The length of the video ad is not supported.",
3967+ "The format of the video ad is not supported.",
3968+ "There was an issue with the video ad.",
3969+ "The landing page does not conform to Ad Exchange policy.",
3970+ "The ad or the landing page may contain malware.",
3971+ "The ad contains adult images or video content.",
3972+ "The ad contains text that is unclear or inaccurate.",
3973+ "The ad promotes counterfeit designer goods.",
3974+ "The ad causes a popup window to appear.",
3975+ "The creative does not follow policies set for the RTB protocol.",
3976+ "The ad contains a URL that uses a numeric IP address for the domain.",
3977+ "The ad or landing page contains unacceptable content because it initiated\na software or executable download.",
3978+ "The ad set an unauthorized cookie on a Google domain.",
3979+ "Flash content found when no flash was declared.",
3980+ "SSL support declared but not working correctly.",
3981+ "Rich Media - Direct Download in Ad (ex. PDF download).",
3982+ "Maximum download size exceeded.",
3983+ "Bad Destination URL: Site Not Crawlable.",
3984+ "Bad URL: Legal disapproval.",
3985+ "Pharmaceuticals, Gambling, Alcohol not allowed and at least one was\ndetected.",
3986+ "Dynamic DNS at Destination URL.",
3987+ "Poor Image / Video Quality.",
3988+ "For example, Image Trick to Click.",
3989+ "Incorrect Image Layout.",
3990+ "Irrelevant Image / Video.",
3991+ "Broken back button.",
3992+ "Misleading/Inaccurate claims in ads.",
3993+ "Restricted Products.",
3994+ "Unacceptable content. For example, malware.",
3995+ "The ad automatically redirects to the destination site without a click,\nor reports a click when none were made.",
3996+ "The ad uses URL protocols that do not exist or are not allowed on AdX.",
3997+ "Restricted content (for example, alcohol) was found in the ad but not\ndeclared.",
3998+ "Violation of the remarketing list policy.",
3999+ "The destination site's robot.txt file prevents it from being crawled.",
4000+ "Click to download must link to an app.",
4001+ "A review extension must be an accurate review.",
4002+ "Sexually explicit content.",
4003+ "The ad tries to gain an unfair traffic advantage.",
4004+ "The ad tries to circumvent Google's advertising systems.",
4005+ "The ad promotes dangerous knives.",
4006+ "The ad promotes explosives.",
4007+ "The ad promotes guns \u0026 parts.",
4008+ "The ad promotes recreational drugs/services \u0026 related equipment.",
4009+ "The ad promotes tobacco products/services \u0026 related equipment.",
4010+ "The ad promotes weapons.",
4011+ "The ad is unclear or irrelevant to the destination site.",
4012+ "The ad does not meet professional standards.",
4013+ "The promotion is unnecessarily difficult to navigate.",
4014+ "Violation of Google's policy for interest-based ads.",
4015+ "Misuse of personal information.",
4016+ "Omission of relevant information.",
4017+ "Unavailable promotions.",
4018+ "Misleading or unrealistic promotions.",
4019+ "Offensive or inappropriate content.",
4020+ "Capitalizing on sensitive events.",
4021+ "Shocking content.",
4022+ "Products \u0026 Services that enable dishonest behavior.",
4023+ "The ad does not meet technical requirements.",
4024+ "Restricted political content.",
4025+ "Unsupported content.",
4026+ "Invalid bidding method.",
4027+ "Video length exceeds limits.",
4028+ "Unacceptable content: Japanese healthcare.",
4029+ "Online pharmacy ID required.",
4030+ "Unacceptable content: Abortion.",
4031+ "Unacceptable content: Birth control.",
4032+ "Restricted in China.",
4033+ "Unacceptable content: Korean healthcare.",
4034+ "Non-family safe or adult content.",
4035+ "Clinical trial recruitment.",
4036+ "Maximum number of HTTP calls exceeded.",
4037+ "Maximum number of cookies exceeded.",
4038+ "Financial service ad does not adhere to specifications.",
4039+ "Flash content was found in an unsupported context.",
4040+ "Misuse by an Open Measurement SDK script.",
4041+ "Use of an Open Measurement SDK vendor not on approved whitelist.",
4042+ "Unacceptable landing page.",
4043+ "Unsupported language.",
4044+ "Non-SSL compliant.",
4045+ "Temporary pausing of creative.",
4046+ "Promotes services related to bail bonds."
4047+ ],
4048+ "type": "string"
4049+ }
4050+ },
4051+ "type": "object"
4052+ },
4053+ "Empty": {
4054+ "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 `{}`.",
4055+ "id": "Empty",
4056+ "properties": {},
4057+ "type": "object"
4058+ },
4059+ "FilterSet": {
4060+ "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)\".",
4061+ "id": "FilterSet",
4062+ "properties": {
4063+ "absoluteDateRange": {
4064+ "$ref": "AbsoluteDateRange",
4065+ "description": "An absolute date range, defined by a start date and an end date.\nInterpreted relative to Pacific time zone."
4066+ },
4067+ "breakdownDimensions": {
4068+ "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.",
4069+ "enumDescriptions": [
4070+ "A placeholder for an unspecified dimension; should not be used.",
4071+ "The response should be broken down by publisher identifier.\nThis option is available only for Open Bidding buyers."
4072+ ],
4073+ "items": {
4074+ "enum": [
4075+ "BREAKDOWN_DIMENSION_UNSPECIFIED",
4076+ "PUBLISHER_IDENTIFIER"
4077+ ],
4078+ "type": "string"
4079+ },
4080+ "type": "array"
4081+ },
4082+ "creativeId": {
4083+ "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.",
4084+ "type": "string"
4085+ },
4086+ "dealId": {
4087+ "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.",
4088+ "format": "int64",
4089+ "type": "string"
4090+ },
4091+ "environment": {
4092+ "description": "The environment on which to filter; optional.",
4093+ "enum": [
4094+ "ENVIRONMENT_UNSPECIFIED",
4095+ "WEB",
4096+ "APP"
4097+ ],
4098+ "enumDescriptions": [
4099+ "A placeholder for an undefined environment; indicates that no environment\nfilter will be applied.",
4100+ "The ad impression appears on the web.",
4101+ "The ad impression appears in an app."
4102+ ],
4103+ "type": "string"
4104+ },
4105+ "formats": {
4106+ "description": "The list of formats on which to filter; may be empty. The filters\nrepresented by multiple formats are ORed together (i.e., if non-empty,\nresults must match any one of the formats).",
4107+ "enumDescriptions": [
4108+ "A placeholder for an undefined format; indicates that no format filter\nwill be applied.",
4109+ "The ad impression is a native ad, and display (i.e., image) format.",
4110+ "The ad impression is a native ad, and video format.",
4111+ "The ad impression is not a native ad, and display (i.e., image) format.",
4112+ "The ad impression is not a native ad, and video format."
4113+ ],
4114+ "items": {
4115+ "enum": [
4116+ "FORMAT_UNSPECIFIED",
4117+ "NATIVE_DISPLAY",
4118+ "NATIVE_VIDEO",
4119+ "NON_NATIVE_DISPLAY",
4120+ "NON_NATIVE_VIDEO"
4121+ ],
4122+ "type": "string"
4123+ },
4124+ "type": "array"
4125+ },
4126+ "name": {
4127+ "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.",
4128+ "type": "string"
4129+ },
4130+ "platforms": {
4131+ "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).",
4132+ "enumDescriptions": [
4133+ "A placeholder for an undefined platform; indicates that no platform\nfilter will be applied.",
4134+ "The ad impression appears on a desktop.",
4135+ "The ad impression appears on a tablet.",
4136+ "The ad impression appears on a mobile device."
4137+ ],
4138+ "items": {
4139+ "enum": [
4140+ "PLATFORM_UNSPECIFIED",
4141+ "DESKTOP",
4142+ "TABLET",
4143+ "MOBILE"
4144+ ],
4145+ "type": "string"
4146+ },
4147+ "type": "array"
4148+ },
4149+ "publisherIdentifiers": {
4150+ "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.",
4151+ "items": {
4152+ "type": "string"
4153+ },
4154+ "type": "array"
4155+ },
4156+ "realtimeTimeRange": {
4157+ "$ref": "RealtimeTimeRange",
4158+ "description": "An open-ended realtime time range, defined by the aggregation start\ntimestamp."
4159+ },
4160+ "relativeDateRange": {
4161+ "$ref": "RelativeDateRange",
4162+ "description": "A relative date range, defined by an offset from today and a duration.\nInterpreted relative to Pacific time zone."
4163+ },
4164+ "sellerNetworkIds": {
4165+ "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.",
4166+ "items": {
4167+ "format": "int32",
4168+ "type": "integer"
4169+ },
4170+ "type": "array"
4171+ },
4172+ "timeSeriesGranularity": {
4173+ "description": "The granularity of time intervals if a time series breakdown is desired;\noptional.",
4174+ "enum": [
4175+ "TIME_SERIES_GRANULARITY_UNSPECIFIED",
4176+ "HOURLY",
4177+ "DAILY"
4178+ ],
4179+ "enumDescriptions": [
4180+ "A placeholder for an unspecified interval; no time series is applied.\nAll rows in response will contain data for the entire requested time range.",
4181+ "Indicates that data will be broken down by the hour.",
4182+ "Indicates that data will be broken down by the day."
4183+ ],
4184+ "type": "string"
4185+ }
4186+ },
4187+ "type": "object"
4188+ },
4189+ "FilteredBidCreativeRow": {
4190+ "description": "The number of filtered bids with the specified dimension values that have the\nspecified creative.",
4191+ "id": "FilteredBidCreativeRow",
4192+ "properties": {
4193+ "bidCount": {
4194+ "$ref": "MetricValue",
4195+ "description": "The number of bids with the specified creative."
4196+ },
4197+ "creativeId": {
4198+ "description": "The ID of the creative.",
4199+ "type": "string"
4200+ },
4201+ "rowDimensions": {
4202+ "$ref": "RowDimensions",
4203+ "description": "The values of all dimensions associated with metric values in this row."
4204+ }
4205+ },
4206+ "type": "object"
4207+ },
4208+ "FilteredBidDetailRow": {
4209+ "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.",
4210+ "id": "FilteredBidDetailRow",
4211+ "properties": {
4212+ "bidCount": {
4213+ "$ref": "MetricValue",
4214+ "description": "The number of bids with the specified detail."
4215+ },
4216+ "detailId": {
4217+ "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.",
4218+ "format": "int32",
4219+ "type": "integer"
4220+ },
4221+ "rowDimensions": {
4222+ "$ref": "RowDimensions",
4223+ "description": "The values of all dimensions associated with metric values in this row."
4224+ }
4225+ },
4226+ "type": "object"
4227+ },
4228+ "FilteringStats": {
4229+ "description": "@OutputOnly Filtering reasons for this creative during a period of a single\nday (from midnight to midnight Pacific).",
4230+ "id": "FilteringStats",
4231+ "properties": {
4232+ "date": {
4233+ "$ref": "Date",
4234+ "description": "The day during which the data was collected.\nThe data is collected from 00:00:00 to 23:59:59 PT.\nDuring switches from PST to PDT and back, the day may\ncontain 23 or 25 hours of data instead of the usual 24."
4235+ },
4236+ "reasons": {
4237+ "description": "The set of filtering reasons for this date.",
4238+ "items": {
4239+ "$ref": "Reason"
4240+ },
4241+ "type": "array"
4242+ }
4243+ },
4244+ "type": "object"
4245+ },
4246+ "FirstPartyMobileApplicationTargeting": {
4247+ "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.",
4248+ "id": "FirstPartyMobileApplicationTargeting",
4249+ "properties": {
4250+ "excludedAppIds": {
4251+ "description": "A list of application IDs to be excluded.",
4252+ "items": {
4253+ "type": "string"
4254+ },
4255+ "type": "array"
4256+ },
4257+ "targetedAppIds": {
4258+ "description": "A list of application IDs to be included.",
4259+ "items": {
4260+ "type": "string"
4261+ },
4262+ "type": "array"
4263+ }
4264+ },
4265+ "type": "object"
4266+ },
4267+ "FrequencyCap": {
4268+ "description": "Frequency cap.",
4269+ "id": "FrequencyCap",
4270+ "properties": {
4271+ "maxImpressions": {
4272+ "description": "The maximum number of impressions that can be served to a user within the\nspecified time period.",
4273+ "format": "int32",
4274+ "type": "integer"
4275+ },
4276+ "numTimeUnits": {
4277+ "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.",
4278+ "format": "int32",
4279+ "type": "integer"
4280+ },
4281+ "timeUnitType": {
4282+ "description": "The time unit. Along with num_time_units defines the amount of time over\nwhich impressions per user are counted and capped.",
4283+ "enum": [
4284+ "TIME_UNIT_TYPE_UNSPECIFIED",
4285+ "MINUTE",
4286+ "HOUR",
4287+ "DAY",
4288+ "WEEK",
4289+ "MONTH",
4290+ "LIFETIME"
4291+ ],
4292+ "enumDescriptions": [
4293+ "A placeholder for an undefined time unit type. This just indicates the\nvariable with this value hasn't been initialized.",
4294+ "Minute",
4295+ "Hour",
4296+ "Day",
4297+ "Week",
4298+ "Month",
4299+ "Lifetime"
4300+ ],
4301+ "type": "string"
4302+ }
4303+ },
4304+ "type": "object"
4305+ },
4306+ "GuaranteedFixedPriceTerms": {
4307+ "description": "Terms for Programmatic Guaranteed Deals.",
4308+ "id": "GuaranteedFixedPriceTerms",
4309+ "properties": {
4310+ "fixedPrices": {
4311+ "description": "Fixed price for the specified buyer.",
4312+ "items": {
4313+ "$ref": "PricePerBuyer"
4314+ },
4315+ "type": "array"
4316+ },
4317+ "guaranteedImpressions": {
4318+ "description": "Guaranteed impressions as a percentage. This is the percentage\nof guaranteed looks that the buyer is guaranteeing to buy.",
4319+ "format": "int64",
4320+ "type": "string"
4321+ },
4322+ "guaranteedLooks": {
4323+ "description": "Count of guaranteed looks. Required for deal, optional for product.",
4324+ "format": "int64",
4325+ "type": "string"
4326+ },
4327+ "minimumDailyLooks": {
4328+ "description": "Daily minimum looks for CPD deal types.",
4329+ "format": "int64",
4330+ "type": "string"
4331+ }
4332+ },
4333+ "type": "object"
4334+ },
4335+ "HtmlContent": {
4336+ "description": "HTML content for a creative.",
4337+ "id": "HtmlContent",
4338+ "properties": {
4339+ "height": {
4340+ "description": "The height of the HTML snippet in pixels.",
4341+ "format": "int32",
4342+ "type": "integer"
4343+ },
4344+ "snippet": {
4345+ "description": "The HTML snippet that displays the ad when inserted in the web page.",
4346+ "type": "string"
4347+ },
4348+ "width": {
4349+ "description": "The width of the HTML snippet in pixels.",
4350+ "format": "int32",
4351+ "type": "integer"
4352+ }
4353+ },
4354+ "type": "object"
4355+ },
4356+ "Image": {
4357+ "description": "An image resource. You may provide a larger image than was requested,\nso long as the aspect ratio is preserved.",
4358+ "id": "Image",
4359+ "properties": {
4360+ "height": {
4361+ "description": "Image height in pixels.",
4362+ "format": "int32",
4363+ "type": "integer"
4364+ },
4365+ "url": {
4366+ "description": "The URL of the image.",
4367+ "type": "string"
4368+ },
4369+ "width": {
4370+ "description": "Image width in pixels.",
4371+ "format": "int32",
4372+ "type": "integer"
4373+ }
4374+ },
4375+ "type": "object"
4376+ },
4377+ "ImpressionMetricsRow": {
4378+ "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.",
4379+ "id": "ImpressionMetricsRow",
4380+ "properties": {
4381+ "availableImpressions": {
4382+ "$ref": "MetricValue",
4383+ "description": "The number of impressions available to the buyer on Ad Exchange.\nIn some cases this value may be unavailable."
4384+ },
4385+ "bidRequests": {
4386+ "$ref": "MetricValue",
4387+ "description": "The number of impressions for which Ad Exchange sent the buyer a bid\nrequest."
4388+ },
4389+ "inventoryMatches": {
4390+ "$ref": "MetricValue",
4391+ "description": "The number of impressions that match the buyer's inventory pretargeting."
4392+ },
4393+ "responsesWithBids": {
4394+ "$ref": "MetricValue",
4395+ "description": "The number of impressions for which Ad Exchange received a response from\nthe buyer that contained at least one applicable bid."
4396+ },
4397+ "rowDimensions": {
4398+ "$ref": "RowDimensions",
4399+ "description": "The values of all dimensions associated with metric values in this row."
4400+ },
4401+ "successfulResponses": {
4402+ "$ref": "MetricValue",
4403+ "description": "The number of impressions for which the buyer successfully sent a response\nto Ad Exchange."
4404+ }
4405+ },
4406+ "type": "object"
4407+ },
4408+ "InventorySizeTargeting": {
4409+ "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.",
4410+ "id": "InventorySizeTargeting",
4411+ "properties": {
4412+ "excludedInventorySizes": {
4413+ "description": "A list of inventory sizes to be excluded.",
4414+ "items": {
4415+ "$ref": "AdSize"
4416+ },
4417+ "type": "array"
4418+ },
4419+ "targetedInventorySizes": {
4420+ "description": "A list of inventory sizes to be included.",
4421+ "items": {
4422+ "$ref": "AdSize"
4423+ },
4424+ "type": "array"
4425+ }
4426+ },
4427+ "type": "object"
4428+ },
4429+ "ListBidMetricsResponse": {
4430+ "description": "Response message for listing the metrics that are measured in number of bids.",
4431+ "id": "ListBidMetricsResponse",
4432+ "properties": {
4433+ "bidMetricsRows": {
4434+ "description": "List of rows, each containing a set of bid metrics.",
4435+ "items": {
4436+ "$ref": "BidMetricsRow"
4437+ },
4438+ "type": "array"
4439+ },
4440+ "nextPageToken": {
4441+ "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.",
4442+ "type": "string"
4443+ }
4444+ },
4445+ "type": "object"
4446+ },
4447+ "ListBidResponseErrorsResponse": {
4448+ "description": "Response message for listing all reasons that bid responses resulted in an\nerror.",
4449+ "id": "ListBidResponseErrorsResponse",
4450+ "properties": {
4451+ "calloutStatusRows": {
4452+ "description": "List of rows, with counts of bid responses aggregated by callout status.",
4453+ "items": {
4454+ "$ref": "CalloutStatusRow"
4455+ },
4456+ "type": "array"
4457+ },
4458+ "nextPageToken": {
4459+ "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.",
4460+ "type": "string"
4461+ }
4462+ },
4463+ "type": "object"
4464+ },
4465+ "ListBidResponsesWithoutBidsResponse": {
4466+ "description": "Response message for listing all reasons that bid responses were considered\nto have no applicable bids.",
4467+ "id": "ListBidResponsesWithoutBidsResponse",
4468+ "properties": {
4469+ "bidResponseWithoutBidsStatusRows": {
4470+ "description": "List of rows, with counts of bid responses without bids aggregated by\nstatus.",
4471+ "items": {
4472+ "$ref": "BidResponseWithoutBidsStatusRow"
4473+ },
4474+ "type": "array"
4475+ },
4476+ "nextPageToken": {
4477+ "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.",
4478+ "type": "string"
4479+ }
4480+ },
4481+ "type": "object"
4482+ },
4483+ "ListClientUserInvitationsResponse": {
4484+ "id": "ListClientUserInvitationsResponse",
4485+ "properties": {
4486+ "invitations": {
4487+ "description": "The returned list of client users.",
4488+ "items": {
4489+ "$ref": "ClientUserInvitation"
4490+ },
4491+ "type": "array"
4492+ },
4493+ "nextPageToken": {
4494+ "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.",
4495+ "type": "string"
4496+ }
4497+ },
4498+ "type": "object"
4499+ },
4500+ "ListClientUsersResponse": {
4501+ "id": "ListClientUsersResponse",
4502+ "properties": {
4503+ "nextPageToken": {
4504+ "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.",
4505+ "type": "string"
4506+ },
4507+ "users": {
4508+ "description": "The returned list of client users.",
4509+ "items": {
4510+ "$ref": "ClientUser"
4511+ },
4512+ "type": "array"
4513+ }
4514+ },
4515+ "type": "object"
4516+ },
4517+ "ListClientsResponse": {
4518+ "id": "ListClientsResponse",
4519+ "properties": {
4520+ "clients": {
4521+ "description": "The returned list of clients.",
4522+ "items": {
4523+ "$ref": "Client"
4524+ },
4525+ "type": "array"
4526+ },
4527+ "nextPageToken": {
4528+ "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.",
4529+ "type": "string"
4530+ }
4531+ },
4532+ "type": "object"
4533+ },
4534+ "ListCreativeStatusBreakdownByCreativeResponse": {
4535+ "description": "Response message for listing all creatives associated with a given filtered\nbid reason.",
4536+ "id": "ListCreativeStatusBreakdownByCreativeResponse",
4537+ "properties": {
4538+ "filteredBidCreativeRows": {
4539+ "description": "List of rows, with counts of bids with a given creative status aggregated\nby creative.",
4540+ "items": {
4541+ "$ref": "FilteredBidCreativeRow"
4542+ },
4543+ "type": "array"
4544+ },
4545+ "nextPageToken": {
4546+ "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.",
4547+ "type": "string"
4548+ }
4549+ },
4550+ "type": "object"
4551+ },
4552+ "ListCreativeStatusBreakdownByDetailResponse": {
4553+ "description": "Response message for listing all details associated with a given filtered bid\nreason.",
4554+ "id": "ListCreativeStatusBreakdownByDetailResponse",
4555+ "properties": {
4556+ "detailType": {
4557+ "description": "The type of detail that the detail IDs represent.",
4558+ "enum": [
4559+ "DETAIL_TYPE_UNSPECIFIED",
4560+ "CREATIVE_ATTRIBUTE",
4561+ "VENDOR",
4562+ "SENSITIVE_CATEGORY",
4563+ "PRODUCT_CATEGORY",
4564+ "DISAPPROVAL_REASON"
4565+ ],
4566+ "enumDescriptions": [
4567+ "A placeholder for an undefined status.\nThis value will never be returned in responses.",
4568+ "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).",
4569+ "Indicates that the detail ID refers to a vendor; see\n[vendors](https://developers.google.com/authorized-buyers/rtb/downloads/vendors).",
4570+ "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).",
4571+ "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).",
4572+ "Indicates that the detail ID refers to a disapproval reason; see\nDisapprovalReason enum in [snippet-status-report-proto](https://developers.google.com/authorized-buyers/rtb/downloads/snippet-status-report-proto)."
4573+ ],
4574+ "type": "string"
4575+ },
4576+ "filteredBidDetailRows": {
4577+ "description": "List of rows, with counts of bids with a given creative status aggregated\nby detail.",
4578+ "items": {
4579+ "$ref": "FilteredBidDetailRow"
4580+ },
4581+ "type": "array"
4582+ },
4583+ "nextPageToken": {
4584+ "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.",
4585+ "type": "string"
4586+ }
4587+ },
4588+ "type": "object"
4589+ },
4590+ "ListCreativesResponse": {
4591+ "description": "A response for listing creatives.",
4592+ "id": "ListCreativesResponse",
4593+ "properties": {
4594+ "creatives": {
4595+ "description": "The list of creatives.",
4596+ "items": {
4597+ "$ref": "Creative"
4598+ },
4599+ "type": "array"
4600+ },
4601+ "nextPageToken": {
4602+ "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.",
4603+ "type": "string"
4604+ }
4605+ },
4606+ "type": "object"
4607+ },
4608+ "ListDealAssociationsResponse": {
4609+ "description": "A response for listing creative and deal associations",
4610+ "id": "ListDealAssociationsResponse",
4611+ "properties": {
4612+ "associations": {
4613+ "description": "The list of associations.",
4614+ "items": {
4615+ "$ref": "CreativeDealAssociation"
4616+ },
4617+ "type": "array"
4618+ },
4619+ "nextPageToken": {
4620+ "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.",
4621+ "type": "string"
4622+ }
4623+ },
4624+ "type": "object"
4625+ },
4626+ "ListFilterSetsResponse": {
4627+ "description": "Response message for listing filter sets.",
4628+ "id": "ListFilterSetsResponse",
4629+ "properties": {
4630+ "filterSets": {
4631+ "description": "The filter sets belonging to the buyer.",
4632+ "items": {
4633+ "$ref": "FilterSet"
4634+ },
4635+ "type": "array"
4636+ },
4637+ "nextPageToken": {
4638+ "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.",
4639+ "type": "string"
4640+ }
4641+ },
4642+ "type": "object"
4643+ },
4644+ "ListFilteredBidRequestsResponse": {
4645+ "description": "Response message for listing all reasons that bid requests were filtered and\nnot sent to the buyer.",
4646+ "id": "ListFilteredBidRequestsResponse",
4647+ "properties": {
4648+ "calloutStatusRows": {
4649+ "description": "List of rows, with counts of filtered bid requests aggregated by callout\nstatus.",
4650+ "items": {
4651+ "$ref": "CalloutStatusRow"
4652+ },
4653+ "type": "array"
4654+ },
4655+ "nextPageToken": {
4656+ "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.",
4657+ "type": "string"
4658+ }
4659+ },
4660+ "type": "object"
4661+ },
4662+ "ListFilteredBidsResponse": {
4663+ "description": "Response message for listing all reasons that bids were filtered from the\nauction.",
4664+ "id": "ListFilteredBidsResponse",
4665+ "properties": {
4666+ "creativeStatusRows": {
4667+ "description": "List of rows, with counts of filtered bids aggregated by filtering reason\n(i.e. creative status).",
4668+ "items": {
4669+ "$ref": "CreativeStatusRow"
4670+ },
4671+ "type": "array"
4672+ },
4673+ "nextPageToken": {
4674+ "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.",
4675+ "type": "string"
4676+ }
4677+ },
4678+ "type": "object"
4679+ },
4680+ "ListImpressionMetricsResponse": {
4681+ "description": "Response message for listing the metrics that are measured in number of\nimpressions.",
4682+ "id": "ListImpressionMetricsResponse",
4683+ "properties": {
4684+ "impressionMetricsRows": {
4685+ "description": "List of rows, each containing a set of impression metrics.",
4686+ "items": {
4687+ "$ref": "ImpressionMetricsRow"
4688+ },
4689+ "type": "array"
4690+ },
4691+ "nextPageToken": {
4692+ "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.",
4693+ "type": "string"
4694+ }
4695+ },
4696+ "type": "object"
4697+ },
4698+ "ListLosingBidsResponse": {
4699+ "description": "Response message for listing all reasons that bids lost in the auction.",
4700+ "id": "ListLosingBidsResponse",
4701+ "properties": {
4702+ "creativeStatusRows": {
4703+ "description": "List of rows, with counts of losing bids aggregated by loss reason (i.e.\ncreative status).",
4704+ "items": {
4705+ "$ref": "CreativeStatusRow"
4706+ },
4707+ "type": "array"
4708+ },
4709+ "nextPageToken": {
4710+ "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.",
4711+ "type": "string"
4712+ }
4713+ },
4714+ "type": "object"
4715+ },
4716+ "ListNonBillableWinningBidsResponse": {
4717+ "description": "Response message for listing all reasons for which a buyer was not billed for\na winning bid.",
4718+ "id": "ListNonBillableWinningBidsResponse",
4719+ "properties": {
4720+ "nextPageToken": {
4721+ "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.",
4722+ "type": "string"
4723+ },
4724+ "nonBillableWinningBidStatusRows": {
4725+ "description": "List of rows, with counts of bids not billed aggregated by reason.",
4726+ "items": {
4727+ "$ref": "NonBillableWinningBidStatusRow"
4728+ },
4729+ "type": "array"
4730+ }
4731+ },
4732+ "type": "object"
4733+ },
4734+ "ListProductsResponse": {
4735+ "description": "Response message for listing products visible to the buyer.",
4736+ "id": "ListProductsResponse",
4737+ "properties": {
4738+ "nextPageToken": {
4739+ "description": "List pagination support.",
4740+ "type": "string"
4741+ },
4742+ "products": {
4743+ "description": "The list of matching products at their head revision number.",
4744+ "items": {
4745+ "$ref": "Product"
4746+ },
4747+ "type": "array"
4748+ }
4749+ },
4750+ "type": "object"
4751+ },
4752+ "ListProposalsResponse": {
4753+ "description": "Response message for listing proposals.",
4754+ "id": "ListProposalsResponse",
4755+ "properties": {
4756+ "nextPageToken": {
4757+ "description": "Continuation token for fetching the next page of results.",
4758+ "type": "string"
4759+ },
4760+ "proposals": {
4761+ "description": "The list of proposals.",
4762+ "items": {
4763+ "$ref": "Proposal"
4764+ },
4765+ "type": "array"
4766+ }
4767+ },
4768+ "type": "object"
4769+ },
4770+ "ListPublisherProfilesResponse": {
4771+ "description": "Response message for profiles visible to the buyer.",
4772+ "id": "ListPublisherProfilesResponse",
4773+ "properties": {
4774+ "nextPageToken": {
4775+ "description": "List pagination support",
4776+ "type": "string"
4777+ },
4778+ "publisherProfiles": {
4779+ "description": "The list of matching publisher profiles.",
4780+ "items": {
4781+ "$ref": "PublisherProfile"
4782+ },
4783+ "type": "array"
4784+ }
4785+ },
4786+ "type": "object"
4787+ },
4788+ "LocationContext": {
4789+ "description": "@OutputOnly The Geo criteria the restriction applies to.",
4790+ "id": "LocationContext",
4791+ "properties": {
4792+ "geoCriteriaIds": {
4793+ "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.",
4794+ "items": {
4795+ "format": "int32",
4796+ "type": "integer"
4797+ },
4798+ "type": "array"
4799+ }
4800+ },
4801+ "type": "object"
4802+ },
4803+ "MarketplaceTargeting": {
4804+ "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.",
4805+ "id": "MarketplaceTargeting",
4806+ "properties": {
4807+ "geoTargeting": {
4808+ "$ref": "CriteriaTargeting",
4809+ "description": "Geo criteria IDs to be included/excluded."
4810+ },
4811+ "inventorySizeTargeting": {
4812+ "$ref": "InventorySizeTargeting",
4813+ "description": "Inventory sizes to be included/excluded."
4814+ },
4815+ "placementTargeting": {
4816+ "$ref": "PlacementTargeting",
4817+ "description": "Placement targeting information, e.g., URL, mobile applications."
4818+ },
4819+ "technologyTargeting": {
4820+ "$ref": "TechnologyTargeting",
4821+ "description": "Technology targeting information, e.g., operating system, device category."
4822+ },
4823+ "videoTargeting": {
4824+ "$ref": "VideoTargeting",
4825+ "description": "Video targeting information."
4826+ }
4827+ },
4828+ "type": "object"
4829+ },
4830+ "MetricValue": {
4831+ "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).",
4832+ "id": "MetricValue",
4833+ "properties": {
4834+ "value": {
4835+ "description": "The expected value of the metric.",
4836+ "format": "int64",
4837+ "type": "string"
4838+ },
4839+ "variance": {
4840+ "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",
4841+ "format": "int64",
4842+ "type": "string"
4843+ }
4844+ },
4845+ "type": "object"
4846+ },
4847+ "MobileApplicationTargeting": {
4848+ "description": "Mobile application targeting settings.",
4849+ "id": "MobileApplicationTargeting",
4850+ "properties": {
4851+ "firstPartyTargeting": {
4852+ "$ref": "FirstPartyMobileApplicationTargeting",
4853+ "description": "Publisher owned apps to be targeted or excluded by the publisher to\ndisplay the ads in."
4854+ }
4855+ },
4856+ "type": "object"
4857+ },
4858+ "Money": {
4859+ "description": "Represents an amount of money with its currency type.",
4860+ "id": "Money",
4861+ "properties": {
4862+ "currencyCode": {
4863+ "description": "The 3-letter currency code defined in ISO 4217.",
4864+ "type": "string"
4865+ },
4866+ "nanos": {
4867+ "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.",
4868+ "format": "int32",
4869+ "type": "integer"
4870+ },
4871+ "units": {
4872+ "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
4873+ "format": "int64",
4874+ "type": "string"
4875+ }
4876+ },
4877+ "type": "object"
4878+ },
4879+ "NativeContent": {
4880+ "description": "Native content for a creative.",
4881+ "id": "NativeContent",
4882+ "properties": {
4883+ "advertiserName": {
4884+ "description": "The name of the advertiser or sponsor, to be displayed in the ad creative.",
4885+ "type": "string"
4886+ },
4887+ "appIcon": {
4888+ "$ref": "Image",
4889+ "description": "The app icon, for app download ads."
4890+ },
4891+ "body": {
4892+ "description": "A long description of the ad.",
4893+ "type": "string"
4894+ },
4895+ "callToAction": {
4896+ "description": "A label for the button that the user is supposed to click.",
4897+ "type": "string"
4898+ },
4899+ "clickLinkUrl": {
4900+ "description": "The URL that the browser/SDK will load when the user clicks the ad.",
4901+ "type": "string"
4902+ },
4903+ "clickTrackingUrl": {
4904+ "description": "The URL to use for click tracking.",
4905+ "type": "string"
4906+ },
4907+ "headline": {
4908+ "description": "A short title for the ad.",
4909+ "type": "string"
4910+ },
4911+ "image": {
4912+ "$ref": "Image",
4913+ "description": "A large image."
4914+ },
4915+ "logo": {
4916+ "$ref": "Image",
4917+ "description": "A smaller image, for the advertiser's logo."
4918+ },
4919+ "priceDisplayText": {
4920+ "description": "The price of the promoted app including currency info.",
4921+ "type": "string"
4922+ },
4923+ "starRating": {
4924+ "description": "The app rating in the app store. Must be in the range [0-5].",
4925+ "format": "double",
4926+ "type": "number"
4927+ },
4928+ "storeUrl": {
4929+ "description": "The URL to the app store to purchase/download the promoted app.",
4930+ "type": "string"
4931+ },
4932+ "videoUrl": {
4933+ "description": "The URL to fetch a native video ad.",
4934+ "type": "string"
4935+ }
4936+ },
4937+ "type": "object"
4938+ },
4939+ "NonBillableWinningBidStatusRow": {
4940+ "description": "The number of winning bids with the specified dimension values for which the\nbuyer was not billed, as described by the specified status.",
4941+ "id": "NonBillableWinningBidStatusRow",
4942+ "properties": {
4943+ "bidCount": {
4944+ "$ref": "MetricValue",
4945+ "description": "The number of bids with the specified status."
4946+ },
4947+ "rowDimensions": {
4948+ "$ref": "RowDimensions",
4949+ "description": "The values of all dimensions associated with metric values in this row."
4950+ },
4951+ "status": {
4952+ "description": "The status specifying why the winning bids were not billed.",
4953+ "enum": [
4954+ "STATUS_UNSPECIFIED",
4955+ "AD_NOT_RENDERED",
4956+ "INVALID_IMPRESSION"
4957+ ],
4958+ "enumDescriptions": [
4959+ "A placeholder for an undefined status.\nThis value will never be returned in responses.",
4960+ "The buyer was not billed because the ad was not rendered by the\npublisher.",
4961+ "The buyer was not billed because the impression won by the bid was\ndetermined to be invalid."
4962+ ],
4963+ "type": "string"
4964+ }
4965+ },
4966+ "type": "object"
4967+ },
4968+ "NonGuaranteedAuctionTerms": {
4969+ "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.",
4970+ "id": "NonGuaranteedAuctionTerms",
4971+ "properties": {
4972+ "autoOptimizePrivateAuction": {
4973+ "description": "True if open auction buyers are allowed to compete with invited buyers\nin this private auction.",
4974+ "type": "boolean"
4975+ },
4976+ "reservePricesPerBuyer": {
4977+ "description": "Reserve price for the specified buyer.",
4978+ "items": {
4979+ "$ref": "PricePerBuyer"
4980+ },
4981+ "type": "array"
4982+ }
4983+ },
4984+ "type": "object"
4985+ },
4986+ "NonGuaranteedFixedPriceTerms": {
4987+ "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.",
4988+ "id": "NonGuaranteedFixedPriceTerms",
4989+ "properties": {
4990+ "fixedPrices": {
4991+ "description": "Fixed price for the specified buyer.",
4992+ "items": {
4993+ "$ref": "PricePerBuyer"
4994+ },
4995+ "type": "array"
4996+ }
4997+ },
4998+ "type": "object"
4999+ },
5000+ "Note": {
5001+ "description": "A proposal may be associated to several notes.",
5002+ "id": "Note",
5003+ "properties": {
5004+ "createTime": {
5005+ "description": "The timestamp for when this note was created.\n@OutputOnly",
5006+ "format": "google-datetime",
5007+ "type": "string"
5008+ },
5009+ "creatorRole": {
5010+ "description": "The role of the person (buyer/seller) creating the note.\n@OutputOnly",
5011+ "enum": [
5012+ "BUYER_SELLER_ROLE_UNSPECIFIED",
5013+ "BUYER",
5014+ "SELLER"
5015+ ],
5016+ "enumDescriptions": [
5017+ "A placeholder for an undefined buyer/seller role.",
5018+ "Specifies the role as buyer.",
5019+ "Specifies the role as seller."
5020+ ],
5021+ "type": "string"
5022+ },
5023+ "note": {
5024+ "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.",
5025+ "type": "string"
5026+ },
5027+ "noteId": {
5028+ "description": "The unique ID for the note.\n@OutputOnly",
5029+ "type": "string"
5030+ },
5031+ "proposalRevision": {
5032+ "description": "The revision number of the proposal when the note is created.\n@OutputOnly",
5033+ "format": "int64",
5034+ "type": "string"
5035+ }
5036+ },
5037+ "type": "object"
5038+ },
5039+ "OperatingSystemTargeting": {
5040+ "description": "Represents targeting information for operating systems.",
5041+ "id": "OperatingSystemTargeting",
5042+ "properties": {
5043+ "operatingSystemCriteria": {
5044+ "$ref": "CriteriaTargeting",
5045+ "description": "IDs of operating systems to be included/excluded."
5046+ },
5047+ "operatingSystemVersionCriteria": {
5048+ "$ref": "CriteriaTargeting",
5049+ "description": "IDs of operating system versions to be included/excluded."
5050+ }
5051+ },
5052+ "type": "object"
5053+ },
5054+ "PauseProposalRequest": {
5055+ "description": "Request message to pause serving for an already-finalized proposal.",
5056+ "id": "PauseProposalRequest",
5057+ "properties": {
5058+ "reason": {
5059+ "description": "The reason why the proposal is being paused.\nThis human readable message will be displayed in the seller's UI.\n(Max length: 100 unicode code units.)",
5060+ "type": "string"
5061+ }
5062+ },
5063+ "type": "object"
5064+ },
5065+ "PlacementTargeting": {
5066+ "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.",
5067+ "id": "PlacementTargeting",
5068+ "properties": {
5069+ "mobileApplicationTargeting": {
5070+ "$ref": "MobileApplicationTargeting",
5071+ "description": "Mobile application targeting information in a deal.\nThis doesn't apply to Auction Packages."
5072+ },
5073+ "urlTargeting": {
5074+ "$ref": "UrlTargeting",
5075+ "description": "URLs to be included/excluded."
5076+ }
5077+ },
5078+ "type": "object"
5079+ },
5080+ "PlatformContext": {
5081+ "description": "@OutputOnly The type of platform the restriction applies to.",
5082+ "id": "PlatformContext",
5083+ "properties": {
5084+ "platforms": {
5085+ "description": "The platforms this restriction applies to.",
5086+ "enumDescriptions": [
5087+ "Desktop platform.",
5088+ "Android platform.",
5089+ "iOS platform."
5090+ ],
5091+ "items": {
5092+ "enum": [
5093+ "DESKTOP",
5094+ "ANDROID",
5095+ "IOS"
5096+ ],
5097+ "type": "string"
5098+ },
5099+ "type": "array"
5100+ }
5101+ },
5102+ "type": "object"
5103+ },
5104+ "Price": {
5105+ "description": "Represents a price and a pricing type for a product / deal.",
5106+ "id": "Price",
5107+ "properties": {
5108+ "amount": {
5109+ "$ref": "Money",
5110+ "description": "The actual price with currency specified."
5111+ },
5112+ "pricingType": {
5113+ "description": "The pricing type for the deal/product. (default: CPM)",
5114+ "enum": [
5115+ "PRICING_TYPE_UNSPECIFIED",
5116+ "COST_PER_MILLE",
5117+ "COST_PER_DAY"
5118+ ],
5119+ "enumDescriptions": [
5120+ "A placeholder for an undefined pricing type. If the pricing type is\nunpsecified, `COST_PER_MILLE` will be used instead.",
5121+ "Cost per thousand impressions.",
5122+ "Cost per day"
5123+ ],
5124+ "type": "string"
5125+ }
5126+ },
5127+ "type": "object"
5128+ },
5129+ "PricePerBuyer": {
5130+ "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.",
5131+ "id": "PricePerBuyer",
5132+ "properties": {
5133+ "advertiserIds": {
5134+ "description": "The list of advertisers for this price when associated with this buyer.\nIf empty, all advertisers with this buyer pay this price.",
5135+ "items": {
5136+ "type": "string"
5137+ },
5138+ "type": "array"
5139+ },
5140+ "buyer": {
5141+ "$ref": "Buyer",
5142+ "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)."
5143+ },
5144+ "price": {
5145+ "$ref": "Price",
5146+ "description": "The specified price."
5147+ }
5148+ },
5149+ "type": "object"
5150+ },
5151+ "PrivateData": {
5152+ "description": "Buyers are allowed to store certain types of private data in a proposal/deal.",
5153+ "id": "PrivateData",
5154+ "properties": {
5155+ "referenceId": {
5156+ "description": "A buyer or seller specified reference ID. This can be queried in the list\noperations (max-length: 1024 unicode code units).",
5157+ "type": "string"
5158+ }
5159+ },
5160+ "type": "object"
5161+ },
5162+ "Product": {
5163+ "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.",
5164+ "id": "Product",
5165+ "properties": {
5166+ "availableEndTime": {
5167+ "description": "The proposed end time for the deal. The field will be truncated to the order of\nseconds during serving.",
5168+ "format": "google-datetime",
5169+ "type": "string"
5170+ },
5171+ "availableStartTime": {
5172+ "description": "Inventory availability dates. The start time will be truncated to seconds during serving.\nThus, a field specified as 3:23:34.456 (HH:mm:ss.SSS) will be truncated to 3:23:34\nwhen serving.",
5173+ "format": "google-datetime",
5174+ "type": "string"
5175+ },
5176+ "createTime": {
5177+ "description": "Creation time.",
5178+ "format": "google-datetime",
5179+ "type": "string"
5180+ },
5181+ "creatorContacts": {
5182+ "description": "Optional contact information for the creator of this product.",
5183+ "items": {
5184+ "$ref": "ContactInformation"
5185+ },
5186+ "type": "array"
5187+ },
5188+ "displayName": {
5189+ "description": "The display name for this product as set by the seller.",
5190+ "type": "string"
5191+ },
5192+ "hasCreatorSignedOff": {
5193+ "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.",
5194+ "type": "boolean"
5195+ },
5196+ "productId": {
5197+ "description": "The unique ID for the product.",
5198+ "type": "string"
5199+ },
5200+ "productRevision": {
5201+ "description": "The revision number of the product (auto-assigned by Marketplace).",
5202+ "format": "int64",
5203+ "type": "string"
5204+ },
5205+ "publisherProfileId": {
5206+ "description": "An ID which can be used by the Publisher Profile API to get more\ninformation about the seller that created this product.",
5207+ "type": "string"
5208+ },
5209+ "seller": {
5210+ "$ref": "Seller",
5211+ "description": "Information about the seller that created this product."
5212+ },
5213+ "syndicationProduct": {
5214+ "description": "The syndication product associated with the deal.",
5215+ "enum": [
5216+ "SYNDICATION_PRODUCT_UNSPECIFIED",
5217+ "CONTENT",
5218+ "MOBILE",
5219+ "VIDEO",
5220+ "GAMES"
5221+ ],
5222+ "enumDescriptions": [
5223+ "A placeholder for an undefined syndication product.",
5224+ "This typically represents a web page.",
5225+ "This represents a mobile property.",
5226+ "This represents video ad formats.",
5227+ "This represents ads shown within games."
5228+ ],
5229+ "type": "string"
5230+ },
5231+ "targetingCriterion": {
5232+ "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.",
5233+ "items": {
5234+ "$ref": "TargetingCriteria"
5235+ },
5236+ "type": "array"
5237+ },
5238+ "terms": {
5239+ "$ref": "DealTerms",
5240+ "description": "The negotiable terms of the deal."
5241+ },
5242+ "updateTime": {
5243+ "description": "Time of last update.",
5244+ "format": "google-datetime",
5245+ "type": "string"
5246+ },
5247+ "webPropertyCode": {
5248+ "description": "The web-property code for the seller. This needs to be copied as is when\nadding a new deal to a proposal.",
5249+ "type": "string"
5250+ }
5251+ },
5252+ "type": "object"
5253+ },
5254+ "Proposal": {
5255+ "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.",
5256+ "id": "Proposal",
5257+ "properties": {
5258+ "billedBuyer": {
5259+ "$ref": "Buyer",
5260+ "description": "Reference to the buyer that will get billed for this proposal.\n@OutputOnly"
5261+ },
5262+ "buyer": {
5263+ "$ref": "Buyer",
5264+ "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."
5265+ },
5266+ "buyerContacts": {
5267+ "description": "Contact information for the buyer.",
5268+ "items": {
5269+ "$ref": "ContactInformation"
5270+ },
5271+ "type": "array"
5272+ },
5273+ "buyerPrivateData": {
5274+ "$ref": "PrivateData",
5275+ "description": "Private data for buyer. (hidden from seller)."
5276+ },
5277+ "deals": {
5278+ "description": "The deals associated with this proposal. For Private Auction proposals (whose deals have\nNonGuaranteedAuctionTerms), there will only be one deal.",
5279+ "items": {
5280+ "$ref": "Deal"
5281+ },
5282+ "type": "array"
5283+ },
5284+ "displayName": {
5285+ "description": "The name for the proposal.",
5286+ "type": "string"
5287+ },
5288+ "isRenegotiating": {
5289+ "description": "True if the proposal is being renegotiated.\n@OutputOnly",
5290+ "type": "boolean"
5291+ },
5292+ "isSetupComplete": {
5293+ "description": "True, if the buyside inventory setup is complete for this proposal.\n@OutputOnly",
5294+ "type": "boolean"
5295+ },
5296+ "lastUpdaterOrCommentorRole": {
5297+ "description": "The role of the last user that either updated the proposal or left a\ncomment.\n@OutputOnly",
5298+ "enum": [
5299+ "BUYER_SELLER_ROLE_UNSPECIFIED",
5300+ "BUYER",
5301+ "SELLER"
5302+ ],
5303+ "enumDescriptions": [
5304+ "A placeholder for an undefined buyer/seller role.",
5305+ "Specifies the role as buyer.",
5306+ "Specifies the role as seller."
5307+ ],
5308+ "type": "string"
5309+ },
5310+ "notes": {
5311+ "description": "The notes associated with this proposal.\n@OutputOnly",
5312+ "items": {
5313+ "$ref": "Note"
5314+ },
5315+ "type": "array"
5316+ },
5317+ "originatorRole": {
5318+ "description": "Indicates whether the buyer/seller created the proposal.\n@OutputOnly",
5319+ "enum": [
5320+ "BUYER_SELLER_ROLE_UNSPECIFIED",
5321+ "BUYER",
5322+ "SELLER"
5323+ ],
5324+ "enumDescriptions": [
5325+ "A placeholder for an undefined buyer/seller role.",
5326+ "Specifies the role as buyer.",
5327+ "Specifies the role as seller."
5328+ ],
5329+ "type": "string"
5330+ },
5331+ "privateAuctionId": {
5332+ "description": "Private auction ID if this proposal is a private auction proposal.\n@OutputOnly",
5333+ "type": "string"
5334+ },
5335+ "proposalId": {
5336+ "description": "The unique ID of the proposal.\n@OutputOnly",
5337+ "type": "string"
5338+ },
5339+ "proposalRevision": {
5340+ "description": "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.\n@OutputOnly",
5341+ "format": "int64",
5342+ "type": "string"
5343+ },
5344+ "proposalState": {
5345+ "description": "The current state of the proposal.\n@OutputOnly",
5346+ "enum": [
5347+ "PROPOSAL_STATE_UNSPECIFIED",
5348+ "PROPOSED",
5349+ "BUYER_ACCEPTED",
5350+ "SELLER_ACCEPTED",
5351+ "CANCELED",
5352+ "FINALIZED"
5353+ ],
5354+ "enumDescriptions": [
5355+ "A placeholder for an undefined proposal state.",
5356+ "The proposal is under negotiation or renegotiation.",
5357+ "The proposal has been accepted by the buyer.",
5358+ "The proposal has been accepted by the seller.",
5359+ "The negotiations on the proposal were canceled and the proposal was never\nfinalized.",
5360+ "The proposal is finalized. During renegotiation, the proposal may\nnot be in this state."
5361+ ],
5362+ "type": "string"
5363+ },
5364+ "seller": {
5365+ "$ref": "Seller",
5366+ "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."
5367+ },
5368+ "sellerContacts": {
5369+ "description": "Contact information for the seller.\n@OutputOnly",
5370+ "items": {
5371+ "$ref": "ContactInformation"
5372+ },
5373+ "type": "array"
5374+ },
5375+ "updateTime": {
5376+ "description": "The time when the proposal was last revised.\n@OutputOnly",
5377+ "format": "google-datetime",
5378+ "type": "string"
5379+ }
5380+ },
5381+ "type": "object"
5382+ },
5383+ "PublisherProfile": {
5384+ "description": "Note: this resource requires whitelisting for access. Please contact your\naccount manager for access to Marketplace resources.\n\nRepresents a publisher profile in Marketplace.\n\nAll fields are read only. All string fields are free-form text entered by the publisher\nunless noted otherwise.",
5385+ "id": "PublisherProfile",
5386+ "properties": {
5387+ "audienceDescription": {
5388+ "description": "Description on the publisher's audience.",
5389+ "type": "string"
5390+ },
5391+ "buyerPitchStatement": {
5392+ "description": "Statement explaining what's unique about publisher's business, and why buyers should\npartner with the publisher.",
5393+ "type": "string"
5394+ },
5395+ "directDealsContact": {
5396+ "description": "Contact information for direct reservation deals. This is free text entered by the publisher\nand may include information like names, phone numbers and email addresses.",
5397+ "type": "string"
5398+ },
5399+ "displayName": {
5400+ "description": "Name of the publisher profile.",
5401+ "type": "string"
5402+ },
5403+ "domains": {
5404+ "description": "The list of domains represented in this publisher profile. Empty if this is a parent profile.\nThese are top private domains, meaning that these will not contain a string like\n\"photos.google.co.uk/123\", but will instead contain \"google.co.uk\".",
5405+ "items": {
5406+ "type": "string"
5407+ },
5408+ "type": "array"
5409+ },
5410+ "googlePlusUrl": {
5411+ "description": "URL to publisher's Google+ page.",
5412+ "type": "string"
5413+ },
5414+ "logoUrl": {
5415+ "description": "A Google public URL to the logo for this publisher profile. The logo is stored as\na PNG, JPG, or GIF image.",
5416+ "type": "string"
5417+ },
5418+ "mediaKitUrl": {
5419+ "description": "URL to additional marketing and sales materials.",
5420+ "type": "string"
5421+ },
5422+ "overview": {
5423+ "description": "Overview of the publisher.",
5424+ "type": "string"
5425+ },
5426+ "programmaticDealsContact": {
5427+ "description": "Contact information for programmatic deals. This is free text entered by the publisher\nand may include information like names, phone numbers and email addresses.",
5428+ "type": "string"
5429+ },
5430+ "publisherProfileId": {
5431+ "description": "Unique ID for publisher profile.",
5432+ "type": "string"
5433+ },
5434+ "rateCardInfoUrl": {
5435+ "description": "URL to a publisher rate card.",
5436+ "type": "string"
5437+ },
5438+ "samplePageUrl": {
5439+ "description": "URL to a sample content page.",
5440+ "type": "string"
5441+ },
5442+ "seller": {
5443+ "$ref": "Seller",
5444+ "description": "Seller of the publisher profile."
5445+ },
5446+ "topHeadlines": {
5447+ "description": "Up to three key metrics and rankings. Max 100 characters each.\nFor example \"#1 Mobile News Site for 20 Straight Months\".",
5448+ "items": {
5449+ "type": "string"
5450+ },
5451+ "type": "array"
4505452 }
4515453 },
452− "id": "ClientUser"
5454+ "type": "object"
4535455 },
454− "ClientUserInvitation": {
455− "description": "An invitation for a new client user to get access to the Ad Exchange\nBuyer UI.\nAll fields are required unless otherwise specified.",
456− "type": "object",
5456+ "RealtimeTimeRange": {
5457+ "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.",
5458+ "id": "RealtimeTimeRange",
4575459 "properties": {
458− "email": {
459− "description": "The email address to which the invitation is sent. Email\naddresses should be unique among all client users under each sponsor\nbuyer.",
5460+ "startTimestamp": {
5461+ "description": "The start timestamp of the real-time RTB metrics aggregation.",
5462+ "format": "google-datetime",
4605463 "type": "string"
461− },
462− "clientAccountId": {
463− "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.",
464− "type": "string",
465− "format": "int64"
466− },
467− "invitationId": {
468− "description": "The unique numerical ID of the invitation that is sent to the user.\nThe value of this field is ignored in create operations.",
469− "type": "string",
470− "format": "int64"
4715464 }
4725465 },
473− "id": "ClientUserInvitation"
5466+ "type": "object"
4745467 },
475− "ListClientUserInvitationsResponse": {
476− "type": "object",
5468+ "Reason": {
5469+ "description": "A specific filtering status and how many times it occurred.",
5470+ "id": "Reason",
4775471 "properties": {
478− "nextPageToken": {
479− "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.",
5472+ "count": {
5473+ "description": "The number of times the creative was filtered for the status. The\ncount is aggregated across all publishers on the exchange.",
5474+ "format": "int64",
4805475 "type": "string"
4815476 },
482− "invitations": {
483− "description": "The returned list of client users.",
484− "type": "array",
485− "items": {
486− "$ref": "ClientUserInvitation"
487− }
5477+ "status": {
5478+ "description": "The filtering status code. Please refer to the\n[creative-status-codes.txt](https://storage.googleapis.com/adx-rtb-dictionaries/creative-status-codes.txt)\nfile for different statuses.",
5479+ "format": "int32",
5480+ "type": "integer"
4885481 }
4895482 },
490− "id": "ListClientUserInvitationsResponse"
5483+ "type": "object"
4915484 },
492− "ListClientUsersResponse": {
493− "type": "object",
5485+ "RelativeDateRange": {
5486+ "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",
5487+ "id": "RelativeDateRange",
4945488 "properties": {
495− "users": {
496− "description": "The returned list of client users.",
497− "type": "array",
498− "items": {
499− "$ref": "ClientUser"
500− }
5489+ "durationDays": {
5490+ "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.",
5491+ "format": "int32",
5492+ "type": "integer"
5015493 },
502− "nextPageToken": {
503− "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.",
504− "type": "string"
5494+ "offsetDays": {
5495+ "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.",
5496+ "format": "int32",
5497+ "type": "integer"
5055498 }
5065499 },
507− "id": "ListClientUsersResponse"
5500+ "type": "object"
5085501 },
509− "Client": {
510− "description": "A client resource represents a client buyer&mdash;an agency,\na brand, or an advertiser customer of the sponsor buyer.\nUsers associated with the client buyer have restricted access to\nthe Ad Exchange Marketplace and certain other sections\nof the Ad Exchange Buyer UI based on the role\ngranted to the client buyer.\nAll fields are required unless otherwise specified.",
511− "type": "object",
5502+ "RemoveDealAssociationRequest": {
5503+ "description": "A request for removing the association between a deal and a creative.",
5504+ "id": "RemoveDealAssociationRequest",
5125505 "properties": {
513− "visibleToSeller": {
514− "description": "Whether the client buyer will be visible to sellers.",
515− "type": "boolean"
5506+ "association": {
5507+ "$ref": "CreativeDealAssociation",
5508+ "description": "The association between a creative and a deal that should be removed."
5509+ }
5510+ },
5511+ "type": "object"
5512+ },
5513+ "ResumeProposalRequest": {
5514+ "description": "Request message to resume (unpause) serving for an already-finalized\nproposal.",
5515+ "id": "ResumeProposalRequest",
5516+ "properties": {},
5517+ "type": "object"
5518+ },
5519+ "RowDimensions": {
5520+ "description": "A response may include multiple rows, breaking down along various dimensions.\nEncapsulates the values of all dimensions for a given row.",
5521+ "id": "RowDimensions",
5522+ "properties": {
5523+ "publisherIdentifier": {
5524+ "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.",
5525+ "type": "string"
5165526 },
517− "status": {
518− "description": "The status of the client buyer.",
519− "enum": [
520− "CLIENT_STATUS_UNSPECIFIED",
521− "DISABLED",
522− "ACTIVE"
523− ],
5527+ "timeInterval": {
5528+ "$ref": "TimeInterval",
5529+ "description": "The time interval that this row represents."
5530+ }
5531+ },
5532+ "type": "object"
5533+ },
5534+ "SecurityContext": {
5535+ "description": "@OutputOnly A security context.",
5536+ "id": "SecurityContext",
5537+ "properties": {
5538+ "securities": {
5539+ "description": "The security types in this context.",
5245540 "enumDescriptions": [
525− "A placeholder for an undefined client status.",
526− "A client that is currently disabled.",
527− "A client that is currently active."
5541+ "Matches impressions that require insecure compatibility.",
5542+ "Matches impressions that require SSL compatibility."
5285543 ],
5544+ "items": {
5545+ "enum": [
5546+ "INSECURE",
5547+ "SSL"
5548+ ],
5549+ "type": "string"
5550+ },
5551+ "type": "array"
5552+ }
5553+ },
5554+ "type": "object"
5555+ },
5556+ "Seller": {
5557+ "description": "Represents a seller of inventory. Each seller is identified by a unique\nAd Manager account ID.",
5558+ "id": "Seller",
5559+ "properties": {
5560+ "accountId": {
5561+ "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.",
5295562 "type": "string"
5305563 },
531− "entityType": {
532− "description": "The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.",
5564+ "subAccountId": {
5565+ "description": "Optional sub-account ID for the seller.",
5566+ "type": "string"
5567+ }
5568+ },
5569+ "type": "object"
5570+ },
5571+ "ServingContext": {
5572+ "description": "The serving context for this restriction.",
5573+ "id": "ServingContext",
5574+ "properties": {
5575+ "all": {
5576+ "description": "Matches all contexts.",
5335577 "enum": [
534− "ENTITY_TYPE_UNSPECIFIED",
535− "ADVERTISER",
536− "BRAND",
537− "AGENCY"
5578+ "SIMPLE_CONTEXT"
5385579 ],
5395580 "enumDescriptions": [
540− "A placeholder for an undefined client entity type. Should not be used.",
541− "An advertiser.",
542− "A brand.",
543− "An advertising agency."
5581+ "A simple context."
5445582 ],
5455583 "type": "string"
5465584 },
547− "role": {
548− "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`.",
5585+ "appType": {
5586+ "$ref": "AppContext",
5587+ "description": "Matches impressions for a particular app type."
5588+ },
5589+ "auctionType": {
5590+ "$ref": "AuctionContext",
5591+ "description": "Matches impressions for a particular auction type."
5592+ },
5593+ "location": {
5594+ "$ref": "LocationContext",
5595+ "description": "Matches impressions coming from users *or* publishers in a specific\nlocation."
5596+ },
5597+ "platform": {
5598+ "$ref": "PlatformContext",
5599+ "description": "Matches impressions coming from a particular platform."
5600+ },
5601+ "securityType": {
5602+ "$ref": "SecurityContext",
5603+ "description": "Matches impressions for a particular security type."
5604+ }
5605+ },
5606+ "type": "object"
5607+ },
5608+ "ServingRestriction": {
5609+ "description": "@OutputOnly 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).",
5610+ "id": "ServingRestriction",
5611+ "properties": {
5612+ "contexts": {
5613+ "description": "The contexts for the restriction.",
5614+ "items": {
5615+ "$ref": "ServingContext"
5616+ },
5617+ "type": "array"
5618+ },
5619+ "disapproval": {
5620+ "$ref": "Disapproval",
5621+ "description": "Disapproval bound to this restriction.\nOnly present if status=DISAPPROVED.\nCan be used to filter the response of the\ncreatives.list\nmethod."
5622+ },
5623+ "disapprovalReasons": {
5624+ "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.",
5625+ "items": {
5626+ "$ref": "Disapproval"
5627+ },
5628+ "type": "array"
5629+ },
5630+ "status": {
5631+ "description": "The status of the creative in this context (for example, it has been\nexplicitly disapproved or is pending review).",
5495632 "enum": [
550− "CLIENT_ROLE_UNSPECIFIED",
551− "CLIENT_DEAL_VIEWER",
552− "CLIENT_DEAL_NEGOTIATOR",
553− "CLIENT_DEAL_APPROVER"
5633+ "STATUS_UNSPECIFIED",
5634+ "DISAPPROVAL",
5635+ "PENDING_REVIEW"
5545636 ],
5555637 "enumDescriptions": [
556− "A placeholder for an undefined client role.",
557− "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.",
558− "Users associated with this client can respond to deal proposals\nsent to them by publishers. They can also initiate deal proposals\nof their own.",
559− "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."
5638+ "The status is not known.",
5639+ "The ad was disapproved in this context.",
5640+ "The ad is pending review in this context."
5605641 ],
5615642 "type": "string"
5643+ }
5644+ },
5645+ "type": "object"
5646+ },
5647+ "Size": {
5648+ "description": "Message depicting the size of the creative. The units of width and\nheight depend on the type of the targeting.",
5649+ "id": "Size",
5650+ "properties": {
5651+ "height": {
5652+ "description": "The height of the creative.",
5653+ "format": "int32",
5654+ "type": "integer"
5625655 },
563− "clientName": {
564− "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.",
565− "type": "string"
566− },
567− "clientAccountId": {
568− "description": "The globally-unique numerical ID of the client.\nThe value of this field is ignored in create and update operations.",
569− "type": "string",
570− "format": "int64"
5656+ "width": {
5657+ "description": "The width of the creative",
5658+ "format": "int32",
5659+ "type": "integer"
5660+ }
5661+ },
5662+ "type": "object"
5663+ },
5664+ "StopWatchingCreativeRequest": {
5665+ "description": "A request for stopping notifications for changes to creative Status.",
5666+ "id": "StopWatchingCreativeRequest",
5667+ "properties": {},
5668+ "type": "object"
5669+ },
5670+ "TargetingCriteria": {
5671+ "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.",
5672+ "id": "TargetingCriteria",
5673+ "properties": {
5674+ "exclusions": {
5675+ "description": "The list of values to exclude from targeting. Each value is AND'd\ntogether.",
5676+ "items": {
5677+ "$ref": "TargetingValue"
5678+ },
5679+ "type": "array"
5715680 },
572− "entityId": {
573− "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.",
574− "type": "string",
575− "format": "int64"
5681+ "inclusions": {
5682+ "description": "The list of value to include as part of the targeting. Each value is OR'd\ntogether.",
5683+ "items": {
5684+ "$ref": "TargetingValue"
5685+ },
5686+ "type": "array"
5765687 },
577− "entityName": {
578− "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.",
5688+ "key": {
5689+ "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.",
5795690 "type": "string"
5805691 }
5815692 },
582− "id": "Client"
5693+ "type": "object"
5835694 },
584− "ListClientsResponse": {
585− "type": "object",
5695+ "TargetingValue": {
5696+ "description": "A polymorphic targeting value used as part of Shared Targeting.",
5697+ "id": "TargetingValue",
5865698 "properties": {
587− "nextPageToken": {
588− "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 method\nto retrieve the next page of results.",
5699+ "creativeSizeValue": {
5700+ "$ref": "CreativeSize",
5701+ "description": "The creative size value to include/exclude.\nFilled in when key = GOOG_CREATIVE_SIZE"
5702+ },
5703+ "dayPartTargetingValue": {
5704+ "$ref": "DayPartTargeting",
5705+ "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."
5706+ },
5707+ "longValue": {
5708+ "description": "The long value to include/exclude.",
5709+ "format": "int64",
5895710 "type": "string"
5905711 },
591− "clients": {
592− "description": "The returned list of clients.",
593− "type": "array",
594− "items": {
595− "$ref": "Client"
596− }
5712+ "stringValue": {
5713+ "description": "The string value to include/exclude.",
5714+ "type": "string"
5975715 }
5985716 },
599− "id": "ListClientsResponse"
600− }
601− },
602− "revision": "20161020",
603− "basePath": "",
604− "icons": {
605− "x32": "http://www.google.com/images/icons/product/search-32.gif",
606− "x16": "http://www.google.com/images/icons/product/search-16.gif"
607− },
608− "version_module": "True",
609− "canonicalName": "AdExchangeBuyerII",
610− "discoveryVersion": "v1",
611− "baseUrl": "https://adexchangebuyer.googleapis.com/",
612− "name": "adexchangebuyer2",
613− "parameters": {
614− "access_token": {
615− "description": "OAuth access token.",
616− "type": "string",
617− "location": "query"
618− },
619− "prettyPrint": {
620− "description": "Returns response with indentations and line breaks.",
621− "default": "true",
622− "type": "boolean",
623− "location": "query"
5717+ "type": "object"
6245718 },
625− "key": {
626− "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.",
627− "type": "string",
628− "location": "query"
629− },
630− "quotaUser": {
631− "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.",
632− "type": "string",
633− "location": "query"
634− },
635− "pp": {
636− "description": "Pretty-print response.",
637− "default": "true",
638− "type": "boolean",
639− "location": "query"
640− },
641− "fields": {
642− "description": "Selector specifying which fields to include in a partial response.",
643− "type": "string",
644− "location": "query"
645− },
646− "alt": {
647− "description": "Data format for response.",
648− "location": "query",
649− "enum": [
650− "json",
651− "media",
652− "proto"
653− ],
654− "default": "json",
655− "enumDescriptions": [
656− "Responses with Content-Type of application/json",
657− "Media download with context-dependent Content-Type",
658− "Responses with Content-Type of application/x-protobuf"
659− ],
660− "type": "string"
5719+ "TechnologyTargeting": {
5720+ "description": "Represents targeting about various types of technology.",
5721+ "id": "TechnologyTargeting",
5722+ "properties": {
5723+ "deviceCapabilityTargeting": {
5724+ "$ref": "CriteriaTargeting",
5725+ "description": "IDs of device capabilities to be included/excluded."
5726+ },
5727+ "deviceCategoryTargeting": {
5728+ "$ref": "CriteriaTargeting",
5729+ "description": "IDs of device categories to be included/excluded."
5730+ },
5731+ "operatingSystemTargeting": {
5732+ "$ref": "OperatingSystemTargeting",
5733+ "description": "Operating system related targeting information."
5734+ }
5735+ },
5736+ "type": "object"
6615737 },
662− "$.xgafv": {
663− "description": "V1 error format.",
664− "enum": [
665− "1",
666− "2"
667− ],
668− "enumDescriptions": [
669− "v1 error format",
670− "v2 error format"
671− ],
672− "type": "string",
673− "location": "query"
5738+ "TimeInterval": {
5739+ "description": "An interval of time, with an absolute start and end.",
5740+ "id": "TimeInterval",
5741+ "properties": {
5742+ "endTime": {
5743+ "description": "The timestamp marking the end of the range (exclusive) for which data is\nincluded.",
5744+ "format": "google-datetime",
5745+ "type": "string"
5746+ },
5747+ "startTime": {
5748+ "description": "The timestamp marking the start of the range (inclusive) for which data is\nincluded.",
5749+ "format": "google-datetime",
5750+ "type": "string"
5751+ }
5752+ },
5753+ "type": "object"
6745754 },
675− "callback": {
676− "description": "JSONP",
677− "type": "string",
678− "location": "query"
5755+ "TimeOfDay": {
5756+ "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`.",
5757+ "id": "TimeOfDay",
5758+ "properties": {
5759+ "hours": {
5760+ "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.",
5761+ "format": "int32",
5762+ "type": "integer"
5763+ },
5764+ "minutes": {
5765+ "description": "Minutes of hour of day. Must be from 0 to 59.",
5766+ "format": "int32",
5767+ "type": "integer"
5768+ },
5769+ "nanos": {
5770+ "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
5771+ "format": "int32",
5772+ "type": "integer"
5773+ },
5774+ "seconds": {
5775+ "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.",
5776+ "format": "int32",
5777+ "type": "integer"
5778+ }
5779+ },
5780+ "type": "object"
6795781 },
680− "oauth_token": {
681− "description": "OAuth 2.0 token for the current user.",
682− "type": "string",
683− "location": "query"
5782+ "UrlTargeting": {
5783+ "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.",
5784+ "id": "UrlTargeting",
5785+ "properties": {
5786+ "excludedUrls": {
5787+ "description": "A list of URLs to be excluded.",
5788+ "items": {
5789+ "type": "string"
5790+ },
5791+ "type": "array"
5792+ },
5793+ "targetedUrls": {
5794+ "description": "A list of URLs to be included.",
5795+ "items": {
5796+ "type": "string"
5797+ },
5798+ "type": "array"
5799+ }
5800+ },
5801+ "type": "object"
6845802 },
685− "uploadType": {
686− "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
687− "type": "string",
688− "location": "query"
5803+ "VideoContent": {
5804+ "description": "Video content for a creative.",
5805+ "id": "VideoContent",
5806+ "properties": {
5807+ "videoUrl": {
5808+ "description": "The URL to fetch a video ad.",
5809+ "type": "string"
5810+ },
5811+ "videoVastXml": {
5812+ "description": "The contents of a VAST document for a video ad.\nThis document should conform to the VAST 2.0 or 3.0 standard.",
5813+ "type": "string"
5814+ }
5815+ },
5816+ "type": "object"
6895817 },
690− "bearer_token": {
691− "description": "OAuth bearer token.",
692− "type": "string",
693− "location": "query"
5818+ "VideoTargeting": {
5819+ "description": "Represents targeting information about video.",
5820+ "id": "VideoTargeting",
5821+ "properties": {
5822+ "excludedPositionTypes": {
5823+ "description": "A list of video positions to be excluded.\nPosition types can either be included or excluded (XOR).",
5824+ "enumDescriptions": [
5825+ "A placeholder for an undefined video position.",
5826+ "Ad is played before the video.",
5827+ "Ad is played during the video.",
5828+ "Ad is played after the video."
5829+ ],
5830+ "items": {
5831+ "enum": [
5832+ "POSITION_TYPE_UNSPECIFIED",
5833+ "PREROLL",
5834+ "MIDROLL",
5835+ "POSTROLL"
5836+ ],
5837+ "type": "string"
5838+ },
5839+ "type": "array"
5840+ },
5841+ "targetedPositionTypes": {
5842+ "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.",
5843+ "enumDescriptions": [
5844+ "A placeholder for an undefined video position.",
5845+ "Ad is played before the video.",
5846+ "Ad is played during the video.",
5847+ "Ad is played after the video."
5848+ ],
5849+ "items": {
5850+ "enum": [
5851+ "POSITION_TYPE_UNSPECIFIED",
5852+ "PREROLL",
5853+ "MIDROLL",
5854+ "POSTROLL"
5855+ ],
5856+ "type": "string"
5857+ },
5858+ "type": "array"
5859+ }
5860+ },
5861+ "type": "object"
6945862 },
695− "upload_protocol": {
696− "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
697− "type": "string",
698− "location": "query"
5863+ "WatchCreativeRequest": {
5864+ "description": "A request for watching changes to creative Status.",
5865+ "id": "WatchCreativeRequest",
5866+ "properties": {
5867+ "topic": {
5868+ "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.",
5869+ "type": "string"
5870+ }
5871+ },
5872+ "type": "object"
6995873 }
7005874 },
701− "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/",
702− "ownerDomain": "google.com",
703− "batchPath": "batch",
7045875 "servicePath": "",
705− "ownerName": "Google",
5876+ "title": "Ad Exchange Buyer API II",
7065877 "version": "v2beta1",
707− "rootUrl": "https://adexchangebuyer.googleapis.com/",
708− "kind": "discovery#restDescription"
709−}
5878+ "version_module": true
5879+}
gen/model/adexchangeseller/v1.1/adexchangeseller-api.json+1186−1186

This diff is too big to show here.

gen/model/adexchangeseller/v1/adexchangeseller-api.json+873−873

This diff is too big to show here.

gen/model/adexchangeseller/v2.0/adexchangeseller-api.json+1093−1093

This diff is too big to show here.

gen/model/adexperiencereport/v1/adexperiencereport-api.jsonnew file+274

This diff is too big to show here.

gen/model/admin/datatransfer/v1/admin-api.json+386−386

This diff is too big to show here.

gen/model/admin/directory/v1/admin-api.json+6750−5521

This diff is too big to show here.

gen/model/admin/email_migration/v2/admin-api.jsondeleted−173

This diff is too big to show here.

gen/model/admin/reports/v1/admin-api.json+805−706

This diff is too big to show here.

gen/model/adsense/v1.2/adsense-api.jsondeleted−1949

This diff is too big to show here.

gen/model/adsense/v1.3/adsense-api.json+2−2

This diff is too big to show here.

gen/model/adsense/v1.4/adsense-api.json+2341−2303

This diff is too big to show here.

gen/model/adsensehost/v4.1/adsensehost-api.json+1485−1485

This diff is too big to show here.

gen/model/alertcenter/v1beta1/alertcenter-api.jsonnew file+949

This diff is too big to show here.

gen/model/analytics/v2.4/analytics-api.json+350−350

This diff is too big to show here.

gen/model/analytics/v3/analytics-api.json+7215−6913

This diff is too big to show here.

gen/model/analyticsreporting/v4/analyticsreporting-api.json+845−826

This diff is too big to show here.

gen/model/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.jsonnew file+1764

This diff is too big to show here.

gen/model/androidenterprise/v1/androidenterprise-api.json+4749−3902

This diff is too big to show here.

gen/model/androidmanagement/v1/androidmanagement-api.jsonnew file+3102

This diff is too big to show here.

gen/model/androidpublisher/v1.1/androidpublisher-api.json+248−239

This diff is too big to show here.

gen/model/androidpublisher/v1/androidpublisher-api.json+174−174

This diff is too big to show here.

gen/model/androidpublisher/v2/androidpublisher-api.json+3500−3511

This diff is too big to show here.

gen/model/androidpublisher/v3/androidpublisher-api.jsonnew file+3391

This diff is too big to show here.

gen/model/appengine/v1/appengine-api.json+3581−2159

This diff is too big to show here.

gen/model/appengine/v1alpha/appengine-api.jsonnew file+1322

This diff is too big to show here.

gen/model/appengine/v1beta/appengine-api.jsonnew file+3727

This diff is too big to show here.

gen/model/appengine/v1beta4/appengine-api.json+2406−2130

This diff is too big to show here.

gen/model/appengine/v1beta5/appengine-api.json+2377−2121

This diff is too big to show here.

gen/model/appsactivity/v1/appsactivity-api.json+445−460

This diff is too big to show here.

gen/model/appstate/v1/appstate-api.json+289−289

This diff is too big to show here.

gen/model/autoscaler/v1beta2/autoscaler-api.jsondeleted−869

This diff is too big to show here.

gen/model/bigquery/v2/bigquery-api.json+3351−2692

This diff is too big to show here.

gen/model/bigquerydatatransfer/v1/bigquerydatatransfer-api.jsonnew file+1772

This diff is too big to show here.

gen/model/bigtableadmin/v2/bigtableadmin-api.jsonnew file+2166

This diff is too big to show here.

gen/model/binaryauthorization/v1beta1/binaryauthorization-api.jsonnew file+780

This diff is too big to show here.

gen/model/blogger/v2/blogger-api.json+885−885

This diff is too big to show here.

gen/model/blogger/v3/blogger-api.json+2442−2442

This diff is too big to show here.

gen/model/books/v1/books-api.json+4553−4406

This diff is too big to show here.

gen/model/calendar/v3/calendar-api.json+2946−2634

This diff is too big to show here.

gen/model/chat/v1/chat-api.jsonnew file+1110

This diff is too big to show here.

gen/model/civicinfo/v2/civicinfo-api.json+1594−1249

This diff is too big to show here.

gen/model/classroom/v1/classroom-api.json+3349−2476

This diff is too big to show here.

gen/model/cloudasset/v1beta1/cloudasset-api.jsonnew file+701

This diff is too big to show here.

gen/model/cloudbilling/v1/cloudbilling-api.json+997−329

This diff is too big to show here.

gen/model/cloudbuild/v1/cloudbuild-api.json+1222−832

This diff is too big to show here.

gen/model/cloudbuild/v1alpha1/cloudbuild-api.jsonnew file+1057

This diff is too big to show here.

gen/model/clouddebugger/v2/clouddebugger-api.json+708−714

This diff is too big to show here.

gen/model/clouderrorreporting/v1beta1/clouderrorreporting-api.json+481−470

This diff is too big to show here.

gen/model/cloudfunctions/v1/cloudfunctions-api.jsonnew file+1208

This diff is too big to show here.

gen/model/cloudfunctions/v1beta2/cloudfunctions-api.jsonnew file+971

This diff is too big to show here.

gen/model/cloudidentity/v1/cloudidentity-api.jsonnew file+688

This diff is too big to show here.

gen/model/cloudidentity/v1beta1/cloudidentity-api.jsonnew file+636

This diff is too big to show here.

gen/model/cloudiot/v1/cloudiot-api.jsonnew file+1922

This diff is too big to show here.

gen/model/cloudkms/v1beta1/cloudkms-api.json → gen/model/cloudkms/v1/cloudkms-api.jsonrenamed+1666−1368

This diff is too big to show here.

gen/model/cloudlatencytest/v2/cloudlatencytest-api.jsondeleted−212

This diff is too big to show here.

gen/model/cloudmonitoring/v2beta2/cloudmonitoring-api.jsondeleted−839

This diff is too big to show here.

gen/model/cloudprofiler/v2/cloudprofiler-api.jsonnew file+342

This diff is too big to show here.

gen/model/cloudresourcemanager/v1/cloudresourcemanager-api.json+1685−643

This diff is too big to show here.

gen/model/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json+679−600

This diff is too big to show here.

gen/model/cloudresourcemanager/v2/cloudresourcemanager-api.jsonnew file+894

This diff is too big to show here.

gen/model/cloudresourcemanager/v2beta1/cloudresourcemanager-api.jsonnew file+894

This diff is too big to show here.

gen/model/cloudscheduler/v1beta1/cloudscheduler-api.jsonnew file+829

This diff is too big to show here.

gen/model/cloudsearch/v1/cloudsearch-api.jsonnew file+4407

This diff is too big to show here.

gen/model/cloudshell/v1/cloudshell-api.jsonnew file+456

This diff is too big to show here.

gen/model/cloudshell/v1alpha1/cloudshell-api.jsonnew file+524

This diff is too big to show here.

gen/model/cloudtasks/v2beta2/cloudtasks-api.jsonnew file+1521

This diff is too big to show here.

gen/model/cloudtasks/v2beta3/cloudtasks-api.jsonnew file+1246

This diff is too big to show here.

gen/model/cloudtrace/v1/cloudtrace-api.json+343−332

This diff is too big to show here.

gen/model/cloudtrace/v2/cloudtrace-api.jsonnew file+589

This diff is too big to show here.

gen/model/clouduseraccounts/v0.alpha/clouduseraccounts-api.jsondeleted−1853

This diff is too big to show here.

gen/model/clouduseraccounts/v0.beta/clouduseraccounts-api.jsondeleted−1361

This diff is too big to show here.

gen/model/clouduseraccounts/vm_alpha/clouduseraccounts-api.jsondeleted−1853

This diff is too big to show here.

gen/model/clouduseraccounts/vm_beta/clouduseraccounts-api.jsondeleted−1361

This diff is too big to show here.

gen/model/composer/v1/composer-api.jsonnew file+706

This diff is too big to show here.

gen/model/composer/v1beta1/composer-api.jsonnew file+704

This diff is too big to show here.

gen/model/compute/v0.alpha/compute-api.json+52087−25091

This diff is too big to show here.

gen/model/compute/v0.beta/compute-api.json+43823−21657

This diff is too big to show here.

gen/model/compute/v1/compute-api.json+37424−18647

This diff is too big to show here.

gen/model/consumersurveys/v2/consumersurveys-api.json+3−11

This diff is too big to show here.

gen/model/container/v1/container-api.json+3986−1296

This diff is too big to show here.

gen/model/container/v1beta1/container-api.json+4561

This diff is too big to show here.

gen/model/containeranalysis/v1alpha1/containeranalysis-api.json+2946

This diff is too big to show here.

gen/model/containeranalysis/v1beta1/containeranalysis-api.json+2613

This diff is too big to show here.

gen/model/content/v2.1/content-api.json+9180

This diff is too big to show here.

gen/model/content/v2/content-api.json+10756−6828

This diff is too big to show here.

gen/model/content/v2sandbox/content-api.json+3996−2249

This diff is too big to show here.

gen/model/coordinate/v1/coordinate-api.json−1196

This diff is too big to show here.

gen/model/customsearch/v1/customsearch-api.json+1144−792

This diff is too big to show here.

gen/model/dataflow/v1b3/dataflow-api.json+5541−3755

This diff is too big to show here.

gen/model/dataproc/v1/dataproc-api.json+3294−1761

This diff is too big to show here.

gen/model/dataproc/v1alpha1/dataproc-api.json−1822

This diff is too big to show here.

gen/model/dataproc/v1beta1/dataproc-api.json−1736

This diff is too big to show here.

gen/model/dataproc/v1beta2/dataproc-api.json+3473

This diff is too big to show here.

gen/model/datastore/v1/datastore-api.json+1632−711

This diff is too big to show here.

gen/model/datastore/v1beta1/datastore-api.json+629−981

This diff is too big to show here.

gen/model/datastore/v1beta2/datastore-api.json−1075

This diff is too big to show here.

gen/model/datastore/v1beta3/datastore-api.json+1148−716

This diff is too big to show here.

gen/model/deploymentmanager/v0.alpha/deploymentmanager-api.json+3249

This diff is too big to show here.

gen/model/deploymentmanager/v2/deploymentmanager-api.json+1869−1763

This diff is too big to show here.

gen/model/deploymentmanager/v2beta/deploymentmanager-api.json+3001

This diff is too big to show here.

gen/model/deploymentmanager/v2beta1/deploymentmanager-api.json−883

This diff is too big to show here.

gen/model/deploymentmanager/v2beta2/deploymentmanager-api.json−1229

This diff is too big to show here.

gen/model/dfareporting/v1.1/dfareporting-api.json−1521

This diff is too big to show here.

gen/model/dfareporting/v1.2/dfareporting-api.json−1589

This diff is too big to show here.

gen/model/dfareporting/v1.3/dfareporting-api.json−1913

This diff is too big to show here.

gen/model/dfareporting/v1/dfareporting-api.json−1172

This diff is too big to show here.

gen/model/dfareporting/v2.0/dfareporting-api.json−15355

This diff is too big to show here.

gen/model/dfareporting/v2.1/dfareporting-api.json−17671

This diff is too big to show here.

gen/model/dfareporting/v2.2/dfareporting-api.json−18054

This diff is too big to show here.

gen/model/dfareporting/v2.3/dfareporting-api.json−18044

This diff is too big to show here.

gen/model/dfareporting/v2.4/dfareporting-api.json−18075

This diff is too big to show here.

gen/model/dfareporting/v2.5/dfareporting-api.json−18750

This diff is too big to show here.

gen/model/dfareporting/v2.5beta1/dfareporting-api.json−18750

This diff is too big to show here.

gen/model/dfareporting/v2.6/dfareporting-api.json−19213

This diff is too big to show here.

gen/model/dfareporting/v2.7/dfareporting-api.json+253−83

This diff is too big to show here.

gen/model/dfareporting/v2.8/dfareporting-api.json+19752

This diff is too big to show here.

gen/model/dfareporting/v3.0/dfareporting-api.json+19814

This diff is too big to show here.

gen/model/dfareporting/v3.1/dfareporting-api.json+20020

This diff is too big to show here.

gen/model/dfareporting/v3.2/dfareporting-api.json+20056

This diff is too big to show here.

gen/model/dialogflow/v2/dialogflow-api.json+4100

This diff is too big to show here.

gen/model/dialogflow/v2beta1/dialogflow-api.json+5427

This diff is too big to show here.

gen/model/digitalassetlinks/v1/digitalassetlinks-api.json+374

This diff is too big to show here.

gen/model/discovery/v1/discovery-api.json+656−657

This diff is too big to show here.

gen/model/dlp/v2/dlp-api.json+5097

This diff is too big to show here.

gen/model/dlp/v2beta1/dlp-api.json+2833

This diff is too big to show here.

gen/model/dns/v1/dns-api.json+1355−662

This diff is too big to show here.

gen/model/dns/v1beta1/dns-api.json−700

This diff is too big to show here.

gen/model/dns/v1beta2/dns-api.json+1876

This diff is too big to show here.

gen/model/dns/v2beta1/dns-api.json+1355−1360

This diff is too big to show here.

gen/model/doubleclickbidmanager/v1/doubleclickbidmanager-api.json+2163−2035

This diff is too big to show here.

gen/model/doubleclicksearch/v2/doubleclicksearch-api.json+1077−1077

This diff is too big to show here.

gen/model/drive/v1/drive-api.json−417

This diff is too big to show here.

gen/model/drive/v2/drive-api.json+5119−4267

This diff is too big to show here.

gen/model/drive/v3/drive-api.json+3114−2390

This diff is too big to show here.

gen/model/driveactivity/v2/driveactivity-api.json+1112

This diff is too big to show here.

gen/model/file/v1beta1/file-api.json+824

This diff is too big to show here.

gen/model/firebasedynamiclinks/v1/firebasedynamiclinks-api.json+901−357

This diff is too big to show here.

gen/model/firebasehosting/v1beta1/firebasehosting-api.json+1182

This diff is too big to show here.

gen/model/firebaseremoteconfig/v1/firebaseremoteconfig-api.json+283

This diff is too big to show here.

gen/model/firebaserules/v1/firebaserules-api.json+682−388

This diff is too big to show here.

gen/model/firestore/v1/firestore-api.json+2821

This diff is too big to show here.

gen/model/firestore/v1beta1/firestore-api.json+2260

This diff is too big to show here.

gen/model/firestore/v1beta2/firestore-api.json+975

This diff is too big to show here.

gen/model/fitness/v1/fitness-api.json+1600−1510

This diff is too big to show here.

gen/model/freebase/v1/freebase-api.json−412

This diff is too big to show here.

gen/model/fusiontables/v1/fusiontables-api.json+1774−1774

This diff is too big to show here.

gen/model/fusiontables/v2/fusiontables-api.json+1903−1880

This diff is too big to show here.

gen/model/games/v1/games-api.json+4805−5170

This diff is too big to show here.

gen/model/gamesconfiguration/v1configuration/gamesconfiguration-api.json+757−757

This diff is too big to show here.

gen/model/gamesmanagement/v1management/gamesmanagement-api.json+850−880

This diff is too big to show here.

gen/model/gan/v1beta1/gan-api.json−1860

This diff is too big to show here.

gen/model/genomics/v1/genomics-api.json+2944−2700

This diff is too big to show here.

gen/model/genomics/v1alpha2/genomics-api.json+970−740

This diff is too big to show here.

gen/model/genomics/v1beta2/genomics-api.json−3694

This diff is too big to show here.

gen/model/genomics/v2alpha1/genomics-api.json+1224

This diff is too big to show here.

gen/model/gmail/v1/gmail-api.json+3545−3106

This diff is too big to show here.

gen/model/groupsmigration/v1/groupsmigration-api.json+135−136

This diff is too big to show here.

gen/model/groupssettings/v1/groupssettings-api.json+337−290

This diff is too big to show here.

gen/model/iam/v1/iam-api.json+1921−851

This diff is too big to show here.

gen/model/iam/v1alpha1/iam-api.json−103

This diff is too big to show here.

gen/model/iamcredentials/v1/iamcredentials-api.json+428

This diff is too big to show here.

gen/model/iap/v1/iap-api.json+770

This diff is too big to show here.

gen/model/iap/v1beta1/iap-api.json+770

This diff is too big to show here.

gen/model/identitytoolkit/v3/identitytoolkit-api.json+2051−1708

This diff is too big to show here.

gen/model/indexing/v3/indexing-api.json+219

This diff is too big to show here.

gen/model/jobs/v2/jobs-api.json+3302

This diff is too big to show here.

gen/model/jobs/v3/jobs-api.json+2506

This diff is too big to show here.

gen/model/jobs/v3p1beta1/jobs-api.json+2729

This diff is too big to show here.

gen/model/kgsearch/v1/kgsearch-api.json+124−135

This diff is too big to show here.

gen/model/language/v1/language-api.json+679−523

This diff is too big to show here.

gen/model/language/v1beta1/language-api.json+543−534

This diff is too big to show here.

gen/model/language/v1beta2/language-api.json+1241

This diff is too big to show here.

gen/model/libraryagent/v1/libraryagent-api.json+363

This diff is too big to show here.

gen/model/licensing/v1/licensing-api.json+447−439

This diff is too big to show here.

gen/model/logging/v1beta3/logging-api.json−1692

This diff is too big to show here.

gen/model/logging/v2/logging-api.json+3360−1845

This diff is too big to show here.

gen/model/logging/v2beta1/logging-api.json+1118−1100

This diff is too big to show here.

gen/model/manager/v1beta2/manager-api.json−1171

This diff is too big to show here.

gen/model/manufacturers/v1/manufacturers-api.json+620−216

This diff is too big to show here.

gen/model/mapsengine/exp2/mapsengine-api.json−5375

This diff is too big to show here.

gen/model/mapsengine/v1/mapsengine-api.json−5352

This diff is too big to show here.

gen/model/mirror/v1/mirror-api.json+1342−1342

This diff is too big to show here.

gen/model/ml/v1/ml-api.json+2264

This diff is too big to show here.

gen/model/ml/v1beta1/ml-api.json−1417

This diff is too big to show here.

gen/model/monitoring/v1/monitoring-api.json+519

This diff is too big to show here.

gen/model/monitoring/v3/monitoring-api.json+2739−1395

This diff is too big to show here.

gen/model/oauth2/v1/oauth2-api.json+382−382

This diff is too big to show here.

gen/model/oauth2/v2/oauth2-api.json+273−273

This diff is too big to show here.

gen/model/oslogin/v1/oslogin-api.json+437

This diff is too big to show here.

gen/model/oslogin/v1alpha/oslogin-api.json+465

This diff is too big to show here.

gen/model/oslogin/v1beta/oslogin-api.json+445

This diff is too big to show here.

gen/model/pagespeedonline/v1/pagespeedonline-api.json+406−402

This diff is too big to show here.

gen/model/pagespeedonline/v2/pagespeedonline-api.json+473−469

This diff is too big to show here.

gen/model/pagespeedonline/v4/pagespeedonline-api.json+606

This diff is too big to show here.

gen/model/pagespeedonline/v5/pagespeedonline-api.json+570

This diff is too big to show here.

gen/model/partners/v2/partners-api.json+3466−1322

This diff is too big to show here.

gen/model/people/v1/people-api.json+1988−1231

This diff is too big to show here.

gen/model/photoslibrary/v1/photoslibrary-api.json+1230

This diff is too big to show here.

gen/model/playcustomapp/v1/playcustomapp-api.json+149

This diff is too big to show here.

gen/model/playmoviespartner/v1/playmoviespartner-api.json+983−906

This diff is too big to show here.

gen/model/plus/v1/plus-api.json+1513−1513

This diff is too big to show here.

gen/model/plusdomains/v1/plusdomains-api.json+2167−2167

This diff is too big to show here.

gen/model/poly/v1/poly-api.json+793

This diff is too big to show here.

gen/model/prediction/v1.2/prediction-api.json+333−333

This diff is too big to show here.

gen/model/prediction/v1.3/prediction-api.json+391−391

This diff is too big to show here.

gen/model/prediction/v1.4/prediction-api.json+416−416

This diff is too big to show here.

gen/model/prediction/v1.5/prediction-api.json+674−674

This diff is too big to show here.

gen/model/prediction/v1.6/prediction-api.json+759−759

This diff is too big to show here.

gen/model/proximitybeacon/v1beta1/proximitybeacon-api.json+1087−992

This diff is too big to show here.

gen/model/pubsub/v1/pubsub-api.json+1176−694

This diff is too big to show here.

gen/model/pubsub/v1beta1a/pubsub-api.json+514−524

This diff is too big to show here.

gen/model/pubsub/v1beta2/pubsub-api.json+693−676

This diff is too big to show here.

gen/model/qpxexpress/v1/qpxexpress-api.json+2−2

This diff is too big to show here.

gen/model/redis/v1/redis-api.json+801

This diff is too big to show here.

gen/model/redis/v1beta1/redis-api.json+807

This diff is too big to show here.

gen/model/remotebuildexecution/v1/remotebuildexecution-api.json+1961

This diff is too big to show here.

gen/model/remotebuildexecution/v1alpha/remotebuildexecution-api.json+1907

This diff is too big to show here.

gen/model/remotebuildexecution/v2/remotebuildexecution-api.json+2331

This diff is too big to show here.

gen/model/replicapool/v1beta1/replicapool-api.json+1072−1072

This diff is too big to show here.

gen/model/replicapool/v1beta2/replicapool-api.json−1064

This diff is too big to show here.

gen/model/replicapoolupdater/v1beta1/replicapoolupdater-api.json+903−903

This diff is too big to show here.

gen/model/reseller/v1/reseller-api.json+902−813

This diff is too big to show here.

gen/model/reseller/v1sandbox/reseller-api.json−844

This diff is too big to show here.

gen/model/resourceviews/v1beta1/resourceviews-api.json−920

This diff is too big to show here.

gen/model/resourceviews/v1beta2/resourceviews-api.json−1052

This diff is too big to show here.

gen/model/runtimeconfig/v1/runtimeconfig-api.json+253−263

This diff is too big to show here.

gen/model/runtimeconfig/v1beta1/runtimeconfig-api.json+799−786

This diff is too big to show here.

gen/model/safebrowsing/v4/safebrowsing-api.json+1304−792

This diff is too big to show here.

gen/model/script/v1/script-api.json+1595−320

This diff is too big to show here.

gen/model/searchconsole/v1/searchconsole-api.json+176−187

This diff is too big to show here.

gen/model/servicebroker/v1/servicebroker-api.json+309

This diff is too big to show here.

gen/model/servicebroker/v1alpha1/servicebroker-api.json+1343

This diff is too big to show here.

gen/model/servicebroker/v1beta1/servicebroker-api.json+1504

This diff is too big to show here.

gen/model/serviceconsumermanagement/v1/serviceconsumermanagement-api.json+2335

This diff is too big to show here.

gen/model/servicecontrol/v1/servicecontrol-api.json+1294−529

This diff is too big to show here.

gen/model/servicemanagement/v1/servicemanagement-api.json+2295−2106

This diff is too big to show here.

gen/model/servicenetworking/v1/servicenetworking-api.json+1839

This diff is too big to show here.

gen/model/servicenetworking/v1beta/servicenetworking-api.json+1977

This diff is too big to show here.

gen/model/serviceregistry/v0.alpha/serviceregistry-api.json−661

This diff is too big to show here.

gen/model/serviceusage/v1/serviceusage-api.json+2185

This diff is too big to show here.

gen/model/serviceusage/v1beta1/serviceusage-api.json+2197

This diff is too big to show here.

gen/model/serviceuser/v1/serviceuser-api.json+1914

This diff is too big to show here.

gen/model/sheets/v4/sheets-api.json+4870−3063

This diff is too big to show here.

gen/model/siteverification/v1/siteverification-api.json+305−305

This diff is too big to show here.

gen/model/slides/v1/slides-api.json+3486−2525

This diff is too big to show here.

gen/model/sourcerepo/v1/sourcerepo-api.json+751

This diff is too big to show here.

gen/model/spanner/v1/spanner-api.json+2701

This diff is too big to show here.

gen/model/spectrum/v1explorer/spectrum-api.json+986−986

This diff is too big to show here.

gen/model/speech/v1/speech-api.json+662

This diff is too big to show here.

gen/model/speech/v1beta1/speech-api.json+278−352

This diff is too big to show here.

gen/model/speech/v1p1beta1/speech-api.json+836

This diff is too big to show here.

gen/model/sqladmin/v1beta3/sqladmin-api.json−1970

This diff is too big to show here.

gen/model/sqladmin/v1beta4/sqladmin-api.json+3104−2762

This diff is too big to show here.

gen/model/storage/v1/storage-api.json+3754−2825

This diff is too big to show here.

gen/model/storage/v1beta1/storage-api.json+1394−1394

This diff is too big to show here.

gen/model/storage/v1beta2/storage-api.json+2296−2296

This diff is too big to show here.

gen/model/storagetransfer/v1/storagetransfer-api.json+1034−1002

This diff is too big to show here.

gen/model/streetviewpublish/v1/streetviewpublish-api.json+778

This diff is too big to show here.

gen/model/surveys/v2/surveys-api.json+691−846

This diff is too big to show here.

gen/model/tagmanager/v1/tagmanager-api.json+3336−3154

This diff is too big to show here.

gen/model/tagmanager/v2/tagmanager-api.json+4914

This diff is too big to show here.

gen/model/taskqueue/v1beta1/taskqueue-api.json−422

This diff is too big to show here.

gen/model/taskqueue/v1beta2/taskqueue-api.json−569

This diff is too big to show here.

gen/model/tasks/v1/tasks-api.json+676−676

This diff is too big to show here.

gen/model/testing/v1/testing-api.json+1862

This diff is too big to show here.

gen/model/texttospeech/v1/texttospeech-api.json+336

This diff is too big to show here.

gen/model/texttospeech/v1beta1/texttospeech-api.json+343

This diff is too big to show here.

gen/model/toolresults/v1beta3/toolresults-api.json+2467−1995

This diff is too big to show here.

gen/model/tpu/v1/tpu-api.json+1100

This diff is too big to show here.

gen/model/tpu/v1alpha1/tpu-api.json+1100

This diff is too big to show here.

gen/model/tracing/v2/tracing-api.json+726

This diff is too big to show here.

gen/model/translate/v2/translate-api.json+423−250

This diff is too big to show here.

gen/model/urlshortener/v1/urlshortener-api.json+299−299

This diff is too big to show here.

gen/model/vault/v1/vault-api.json+2015

This diff is too big to show here.

gen/model/videointelligence/v1/videointelligence-api.json+2027

This diff is too big to show here.

gen/model/videointelligence/v1beta2/videointelligence-api.json+1878

This diff is too big to show here.

gen/model/videointelligence/v1p1beta1/videointelligence-api.json+1878

This diff is too big to show here.

gen/model/vision/v1/vision-api.json+6633−502

This diff is too big to show here.

gen/model/vision/v1p1beta1/vision-api.json+6151

This diff is too big to show here.

gen/model/vision/v1p2beta1/vision-api.json+6151

This diff is too big to show here.

gen/model/webfonts/v1/webfonts-api.json+161−161

This diff is too big to show here.

gen/model/webmasters/v3/webmasters-api.json+931−931

This diff is too big to show here.

gen/model/websecurityscanner/v1alpha/websecurityscanner-api.json+1116

This diff is too big to show here.

gen/model/youtube/v3/youtube-api.json+10768−10627

This diff is too big to show here.

gen/model/youtubeanalytics/v1/youtubeanalytics-api.json+520−515

This diff is too big to show here.

gen/model/youtubeanalytics/v1beta1/youtubeanalytics-api.json+523−518

This diff is too big to show here.

gen/model/youtubeanalytics/v2/youtubeanalytics-api.json+744

This diff is too big to show here.

gen/model/youtubereporting/v1/youtubereporting-api.json+793−390

This diff is too big to show here.