google-api-python-client 2.177.0__py3-none-any.whl → 2.178.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. {google_api_python_client-2.177.0.dist-info → google_api_python_client-2.178.0.dist-info}/METADATA +1 -1
  2. {google_api_python_client-2.177.0.dist-info → google_api_python_client-2.178.0.dist-info}/RECORD +117 -116
  3. googleapiclient/discovery_cache/documents/accessapproval.v1.json +7 -1
  4. googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +2 -2
  5. googleapiclient/discovery_cache/documents/aiplatform.v1.json +375 -31
  6. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +713 -47
  7. googleapiclient/discovery_cache/documents/alloydb.v1.json +144 -9
  8. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +144 -9
  9. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +144 -9
  10. googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +64 -1
  11. googleapiclient/discovery_cache/documents/androidenterprise.v1.json +30 -1
  12. googleapiclient/discovery_cache/documents/androidpublisher.v3.json +2125 -303
  13. googleapiclient/discovery_cache/documents/apigee.v1.json +6 -6
  14. googleapiclient/discovery_cache/documents/apihub.v1.json +535 -7
  15. googleapiclient/discovery_cache/documents/backupdr.v1.json +12 -18
  16. googleapiclient/discovery_cache/documents/batch.v1.json +13 -7
  17. googleapiclient/discovery_cache/documents/beyondcorp.v1.json +9 -9
  18. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +9 -9
  19. googleapiclient/discovery_cache/documents/biglake.v1.json +1 -1
  20. googleapiclient/discovery_cache/documents/bigquery.v2.json +73 -7
  21. googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +56 -1
  22. googleapiclient/discovery_cache/documents/chat.v1.json +94 -24
  23. googleapiclient/discovery_cache/documents/chromemanagement.v1.json +85 -6
  24. googleapiclient/discovery_cache/documents/cloudbuild.v1.json +2 -2
  25. googleapiclient/discovery_cache/documents/cloudbuild.v2.json +1 -26
  26. googleapiclient/discovery_cache/documents/compute.alpha.json +871 -105
  27. googleapiclient/discovery_cache/documents/compute.beta.json +198 -87
  28. googleapiclient/discovery_cache/documents/compute.v1.json +40 -28
  29. googleapiclient/discovery_cache/documents/connectors.v1.json +6 -1
  30. googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +22 -9
  31. googleapiclient/discovery_cache/documents/container.v1.json +52 -2
  32. googleapiclient/discovery_cache/documents/container.v1beta1.json +52 -12
  33. googleapiclient/discovery_cache/documents/content.v2.1.json +2 -2
  34. googleapiclient/discovery_cache/documents/datacatalog.v1.json +1 -2
  35. googleapiclient/discovery_cache/documents/dataplex.v1.json +185 -1
  36. googleapiclient/discovery_cache/documents/datastream.v1.json +51 -1
  37. googleapiclient/discovery_cache/documents/dfareporting.v4.json +1210 -70
  38. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +629 -30
  39. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +904 -77
  40. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +640 -30
  41. googleapiclient/discovery_cache/documents/displayvideo.v2.json +1353 -213
  42. googleapiclient/discovery_cache/documents/displayvideo.v3.json +4 -4
  43. googleapiclient/discovery_cache/documents/displayvideo.v4.json +1366 -214
  44. googleapiclient/discovery_cache/documents/dlp.v2.json +18 -16
  45. googleapiclient/discovery_cache/documents/drive.v3.json +3 -109
  46. googleapiclient/discovery_cache/documents/fcm.v1.json +3 -3
  47. googleapiclient/discovery_cache/documents/file.v1.json +7 -1
  48. googleapiclient/discovery_cache/documents/file.v1beta1.json +7 -1
  49. googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +92 -26
  50. googleapiclient/discovery_cache/documents/gkebackup.v1.json +28 -1
  51. googleapiclient/discovery_cache/documents/gkehub.v1.json +13 -7
  52. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +13 -7
  53. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +13 -7
  54. googleapiclient/discovery_cache/documents/gkehub.v2.json +13 -7
  55. googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +13 -7
  56. googleapiclient/discovery_cache/documents/gkehub.v2beta.json +13 -7
  57. googleapiclient/discovery_cache/documents/healthcare.v1.json +5 -5
  58. googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +5 -5
  59. googleapiclient/discovery_cache/documents/homegraph.v1.json +2 -2
  60. googleapiclient/discovery_cache/documents/iam.v1.json +524 -1
  61. googleapiclient/discovery_cache/documents/iamcredentials.v1.json +21 -1
  62. googleapiclient/discovery_cache/documents/integrations.v1.json +1 -363
  63. googleapiclient/discovery_cache/documents/kmsinventory.v1.json +17 -3
  64. googleapiclient/discovery_cache/documents/looker.v1.json +15 -1
  65. googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +35 -35
  66. googleapiclient/discovery_cache/documents/merchantapi.datasources_v1beta.json +2 -2
  67. googleapiclient/discovery_cache/documents/merchantapi.inventories_v1beta.json +9 -7
  68. googleapiclient/discovery_cache/documents/merchantapi.ordertracking_v1beta.json +5 -5
  69. googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +8 -8
  70. googleapiclient/discovery_cache/documents/merchantapi.promotions_v1beta.json +2 -2
  71. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +3 -3
  72. googleapiclient/discovery_cache/documents/monitoring.v1.json +4 -4
  73. googleapiclient/discovery_cache/documents/monitoring.v3.json +4 -4
  74. googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +6 -1
  75. googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json +76 -1
  76. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +9 -1
  77. googleapiclient/discovery_cache/documents/networksecurity.v1.json +39 -5
  78. googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +232 -1
  79. googleapiclient/discovery_cache/documents/networkservices.v1.json +13 -11
  80. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +13 -11
  81. googleapiclient/discovery_cache/documents/osconfig.v1.json +24 -1
  82. googleapiclient/discovery_cache/documents/osconfig.v1alpha.json +24 -1
  83. googleapiclient/discovery_cache/documents/redis.v1.json +100 -9
  84. googleapiclient/discovery_cache/documents/redis.v1beta1.json +100 -9
  85. googleapiclient/discovery_cache/documents/retail.v2.json +44 -1
  86. googleapiclient/discovery_cache/documents/retail.v2alpha.json +152 -1
  87. googleapiclient/discovery_cache/documents/retail.v2beta.json +50 -1
  88. googleapiclient/discovery_cache/documents/run.v2.json +4 -7
  89. googleapiclient/discovery_cache/documents/searchads360.v0.json +38 -4
  90. googleapiclient/discovery_cache/documents/securesourcemanager.v1.json +3568 -0
  91. googleapiclient/discovery_cache/documents/securitycenter.v1.json +272 -2
  92. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +272 -2
  93. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +272 -2
  94. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +5 -1
  95. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +5 -1
  96. googleapiclient/discovery_cache/documents/servicenetworking.v1.json +12 -10
  97. googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +12 -10
  98. googleapiclient/discovery_cache/documents/serviceusage.v1.json +5 -1
  99. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +5 -1
  100. googleapiclient/discovery_cache/documents/storage.v1.json +71 -2
  101. googleapiclient/discovery_cache/documents/testing.v1.json +21 -5
  102. googleapiclient/discovery_cache/documents/texttospeech.v1.json +2 -2
  103. googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +2 -2
  104. googleapiclient/discovery_cache/documents/transcoder.v1.json +50 -1
  105. googleapiclient/discovery_cache/documents/videointelligence.v1.json +166 -11
  106. googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json +166 -11
  107. googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json +166 -11
  108. googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json +166 -11
  109. googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json +166 -11
  110. googleapiclient/discovery_cache/documents/vmmigration.v1.json +3 -3
  111. googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +3 -3
  112. googleapiclient/discovery_cache/documents/workloadmanager.v1.json +29 -1
  113. googleapiclient/discovery_cache/documents/workstations.v1beta.json +8 -3
  114. googleapiclient/version.py +1 -1
  115. {google_api_python_client-2.177.0.dist-info → google_api_python_client-2.178.0.dist-info}/WHEEL +0 -0
  116. {google_api_python_client-2.177.0.dist-info → google_api_python_client-2.178.0.dist-info}/licenses/LICENSE +0 -0
  117. {google_api_python_client-2.177.0.dist-info → google_api_python_client-2.178.0.dist-info}/top_level.txt +0 -0
@@ -1130,18 +1130,18 @@
1130
1130
  "https://www.googleapis.com/auth/display-video-mediaplanning"
1131
1131
  ]
1132
1132
  },
1133
- "patch": {
1134
- "description": "Updates an existing campaign. Returns the updated campaign if successful.",
1135
- "flatPath": "v4/advertisers/{advertisersId}/campaigns/{campaignsId}",
1136
- "httpMethod": "PATCH",
1137
- "id": "displayvideo.advertisers.campaigns.patch",
1133
+ "listAssignedTargetingOptions": {
1134
+ "description": "Lists assigned targeting options of a campaign across targeting types.",
1135
+ "flatPath": "v4/advertisers/{advertisersId}/campaigns/{campaignsId}:listAssignedTargetingOptions",
1136
+ "httpMethod": "GET",
1137
+ "id": "displayvideo.advertisers.campaigns.listAssignedTargetingOptions",
1138
1138
  "parameterOrder": [
1139
1139
  "advertiserId",
1140
1140
  "campaignId"
1141
1141
  ],
1142
1142
  "parameters": {
1143
1143
  "advertiserId": {
1144
- "description": "Output only. The unique ID of the advertiser the campaign belongs to.",
1144
+ "description": "Required. The ID of the advertiser the campaign belongs to.",
1145
1145
  "format": "int64",
1146
1146
  "location": "path",
1147
1147
  "pattern": "^[^/]+$",
@@ -1149,123 +1149,270 @@
1149
1149
  "type": "string"
1150
1150
  },
1151
1151
  "campaignId": {
1152
- "description": "Output only. The unique ID of the campaign. Assigned by the system.",
1152
+ "description": "Required. The ID of the campaign to list assigned targeting options for.",
1153
1153
  "format": "int64",
1154
1154
  "location": "path",
1155
1155
  "pattern": "^[^/]+$",
1156
1156
  "required": true,
1157
1157
  "type": "string"
1158
1158
  },
1159
- "updateMask": {
1160
- "description": "Required. The mask to control which fields to update.",
1161
- "format": "google-fieldmask",
1159
+ "filter": {
1160
+ "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_LANGUAGE` or `TARGETING_TYPE_GENDER`: `targetingType=\"TARGETING_TYPE_LANGUAGE\" OR targetingType=\"TARGETING_TYPE_GENDER\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
1162
1161
  "location": "query",
1163
1162
  "type": "string"
1164
- }
1165
1163
  },
1166
- "path": "v4/advertisers/{+advertiserId}/campaigns/{+campaignId}",
1167
- "request": {
1168
- "$ref": "Campaign"
1164
+ "orderBy": {
1165
+ "description": "Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.",
1166
+ "location": "query",
1167
+ "type": "string"
1168
+ },
1169
+ "pageSize": {
1170
+ "description": "Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
1171
+ "format": "int32",
1172
+ "location": "query",
1173
+ "type": "integer"
1174
+ },
1175
+ "pageToken": {
1176
+ "description": "A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListCampaignAssignedTargetingOptions` method. If not specified, the first page of results will be returned.",
1177
+ "location": "query",
1178
+ "type": "string"
1179
+ }
1169
1180
  },
1181
+ "path": "v4/advertisers/{+advertiserId}/campaigns/{+campaignId}:listAssignedTargetingOptions",
1170
1182
  "response": {
1171
- "$ref": "Campaign"
1183
+ "$ref": "BulkListCampaignAssignedTargetingOptionsResponse"
1172
1184
  },
1173
1185
  "scopes": [
1174
- "https://www.googleapis.com/auth/display-video",
1175
- "https://www.googleapis.com/auth/display-video-mediaplanning"
1186
+ "https://www.googleapis.com/auth/display-video"
1176
1187
  ]
1177
- }
1178
- }
1179
1188
  },
1180
- "channels": {
1181
- "methods": {
1182
- "create": {
1183
- "description": "Creates a new channel. Returns the newly created channel if successful.",
1184
- "flatPath": "v4/advertisers/{advertisersId}/channels",
1185
- "httpMethod": "POST",
1186
- "id": "displayvideo.advertisers.channels.create",
1189
+ "patch": {
1190
+ "description": "Updates an existing campaign. Returns the updated campaign if successful.",
1191
+ "flatPath": "v4/advertisers/{advertisersId}/campaigns/{campaignsId}",
1192
+ "httpMethod": "PATCH",
1193
+ "id": "displayvideo.advertisers.campaigns.patch",
1187
1194
  "parameterOrder": [
1188
- "advertiserId"
1195
+ "advertiserId",
1196
+ "campaignId"
1189
1197
  ],
1190
1198
  "parameters": {
1191
1199
  "advertiserId": {
1192
- "description": "The ID of the advertiser that owns the created channel.",
1200
+ "description": "Output only. The unique ID of the advertiser the campaign belongs to.",
1193
1201
  "format": "int64",
1194
1202
  "location": "path",
1195
1203
  "pattern": "^[^/]+$",
1196
1204
  "required": true,
1197
1205
  "type": "string"
1198
1206
  },
1199
- "partnerId": {
1200
- "description": "The ID of the partner that owns the created channel.",
1207
+ "campaignId": {
1208
+ "description": "Output only. The unique ID of the campaign. Assigned by the system.",
1201
1209
  "format": "int64",
1210
+ "location": "path",
1211
+ "pattern": "^[^/]+$",
1212
+ "required": true,
1213
+ "type": "string"
1214
+ },
1215
+ "updateMask": {
1216
+ "description": "Required. The mask to control which fields to update.",
1217
+ "format": "google-fieldmask",
1202
1218
  "location": "query",
1203
1219
  "type": "string"
1204
1220
  }
1205
1221
  },
1206
- "path": "v4/advertisers/{+advertiserId}/channels",
1222
+ "path": "v4/advertisers/{+advertiserId}/campaigns/{+campaignId}",
1207
1223
  "request": {
1208
- "$ref": "Channel"
1224
+ "$ref": "Campaign"
1209
1225
  },
1210
1226
  "response": {
1211
- "$ref": "Channel"
1227
+ "$ref": "Campaign"
1212
1228
  },
1213
1229
  "scopes": [
1214
- "https://www.googleapis.com/auth/display-video"
1230
+ "https://www.googleapis.com/auth/display-video",
1231
+ "https://www.googleapis.com/auth/display-video-mediaplanning"
1215
1232
  ]
1233
+ }
1216
1234
  },
1235
+ "resources": {
1236
+ "targetingTypes": {
1237
+ "resources": {
1238
+ "assignedTargetingOptions": {
1239
+ "methods": {
1217
1240
  "get": {
1218
- "description": "Gets a channel for a partner or advertiser.",
1219
- "flatPath": "v4/advertisers/{advertisersId}/channels/{channelsId}",
1241
+ "description": "Gets a single targeting option assigned to a campaign.",
1242
+ "flatPath": "v4/advertisers/{advertisersId}/campaigns/{campaignsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}",
1220
1243
  "httpMethod": "GET",
1221
- "id": "displayvideo.advertisers.channels.get",
1244
+ "id": "displayvideo.advertisers.campaigns.targetingTypes.assignedTargetingOptions.get",
1222
1245
  "parameterOrder": [
1223
1246
  "advertiserId",
1224
- "channelId"
1247
+ "campaignId",
1248
+ "targetingType",
1249
+ "assignedTargetingOptionId"
1225
1250
  ],
1226
1251
  "parameters": {
1227
1252
  "advertiserId": {
1228
- "description": "The ID of the advertiser that owns the fetched channel.",
1253
+ "description": "Required. The ID of the advertiser the campaign belongs to.",
1229
1254
  "format": "int64",
1230
1255
  "location": "path",
1231
1256
  "pattern": "^[^/]+$",
1232
1257
  "required": true,
1233
1258
  "type": "string"
1234
1259
  },
1235
- "channelId": {
1236
- "description": "Required. The ID of the channel to fetch.",
1237
- "format": "int64",
1260
+ "assignedTargetingOptionId": {
1261
+ "description": "Required. An identifier unique to the targeting type in this campaign that identifies the assigned targeting option being requested.",
1238
1262
  "location": "path",
1239
1263
  "pattern": "^[^/]+$",
1240
1264
  "required": true,
1241
1265
  "type": "string"
1242
1266
  },
1243
- "partnerId": {
1244
- "description": "The ID of the partner that owns the fetched channel.",
1267
+ "campaignId": {
1268
+ "description": "Required. The ID of the campaign the assigned targeting option belongs to.",
1245
1269
  "format": "int64",
1246
- "location": "query",
1270
+ "location": "path",
1271
+ "pattern": "^[^/]+$",
1272
+ "required": true,
1273
+ "type": "string"
1274
+ },
1275
+ "targetingType": {
1276
+ "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY`",
1277
+ "enum": [
1278
+ "TARGETING_TYPE_UNSPECIFIED",
1279
+ "TARGETING_TYPE_CHANNEL",
1280
+ "TARGETING_TYPE_APP_CATEGORY",
1281
+ "TARGETING_TYPE_APP",
1282
+ "TARGETING_TYPE_URL",
1283
+ "TARGETING_TYPE_DAY_AND_TIME",
1284
+ "TARGETING_TYPE_AGE_RANGE",
1285
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
1286
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
1287
+ "TARGETING_TYPE_GENDER",
1288
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
1289
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
1290
+ "TARGETING_TYPE_PARENTAL_STATUS",
1291
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
1292
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
1293
+ "TARGETING_TYPE_DEVICE_TYPE",
1294
+ "TARGETING_TYPE_AUDIENCE_GROUP",
1295
+ "TARGETING_TYPE_BROWSER",
1296
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
1297
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
1298
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
1299
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
1300
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
1301
+ "TARGETING_TYPE_ENVIRONMENT",
1302
+ "TARGETING_TYPE_CARRIER_AND_ISP",
1303
+ "TARGETING_TYPE_OPERATING_SYSTEM",
1304
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
1305
+ "TARGETING_TYPE_KEYWORD",
1306
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
1307
+ "TARGETING_TYPE_VIEWABILITY",
1308
+ "TARGETING_TYPE_CATEGORY",
1309
+ "TARGETING_TYPE_INVENTORY_SOURCE",
1310
+ "TARGETING_TYPE_LANGUAGE",
1311
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
1312
+ "TARGETING_TYPE_GEO_REGION",
1313
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
1314
+ "TARGETING_TYPE_EXCHANGE",
1315
+ "TARGETING_TYPE_SUB_EXCHANGE",
1316
+ "TARGETING_TYPE_POI",
1317
+ "TARGETING_TYPE_BUSINESS_CHAIN",
1318
+ "TARGETING_TYPE_CONTENT_DURATION",
1319
+ "TARGETING_TYPE_CONTENT_STREAM_TYPE",
1320
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
1321
+ "TARGETING_TYPE_OMID",
1322
+ "TARGETING_TYPE_AUDIO_CONTENT_TYPE",
1323
+ "TARGETING_TYPE_CONTENT_GENRE",
1324
+ "TARGETING_TYPE_YOUTUBE_VIDEO",
1325
+ "TARGETING_TYPE_YOUTUBE_CHANNEL",
1326
+ "TARGETING_TYPE_SESSION_POSITION",
1327
+ "TARGETING_TYPE_CONTENT_THEME_EXCLUSION"
1328
+ ],
1329
+ "enumDescriptions": [
1330
+ "Default value when type is not specified or is unknown in this version.",
1331
+ "Target a channel (a custom group of related websites or apps).",
1332
+ "Target an app category (for example, education or puzzle games).",
1333
+ "Target a specific app (for example, Angry Birds).",
1334
+ "Target a specific url (for example, quora.com).",
1335
+ "Target ads during a chosen time period on a specific day.",
1336
+ "Target ads to a specific age range (for example, 18-24).",
1337
+ "Target ads to the specified regions on a regional location list.",
1338
+ "Target ads to the specified points of interest on a proximity location list.",
1339
+ "Target ads to a specific gender (for example, female or male).",
1340
+ "Target a specific video player size for video ads.",
1341
+ "Target user rewarded content for video ads.",
1342
+ "Target ads to a specific parental status (for example, parent or not a parent).",
1343
+ "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).",
1344
+ "Target ads in a specific content outstream position.",
1345
+ "Target ads to a specific device type (for example, tablet or connected TV).",
1346
+ "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.",
1347
+ "Target ads to specific web browsers (for example, Chrome).",
1348
+ "Target ads to a specific household income range (for example, top 10%).",
1349
+ "Target ads in a specific on screen position.",
1350
+ "Filter web sites through third party verification (for example, IAS or DoubleVerify).",
1351
+ "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).",
1352
+ "Filter website content by sensitive categories (for example, adult).",
1353
+ "Target ads to a specific environment (for example, web or app).",
1354
+ "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).",
1355
+ "Target ads to a specific operating system (for example, macOS).",
1356
+ "Target ads to a specific device make or model (for example, Roku or Samsung).",
1357
+ "Target ads to a specific keyword (for example, dog or retriever).",
1358
+ "Target ads to a specific negative keyword list.",
1359
+ "Target ads to a specific viewability (for example, 80% viewable).",
1360
+ "Target ads to a specific content category (for example, arts & entertainment).",
1361
+ "Purchase impressions from specific deals and auction packages.",
1362
+ "Target ads to a specific language (for example, English or Japanese).",
1363
+ "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.",
1364
+ "Target ads to a specific regional location (for example, a city or state).",
1365
+ "Purchase impressions from a group of deals and auction packages.",
1366
+ "Purchase impressions from specific exchanges.",
1367
+ "Purchase impressions from specific sub-exchanges.",
1368
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
1369
+ "Target ads around locations of a business chain within a specific geo region.",
1370
+ "Target ads to a specific video content duration.",
1371
+ "Target ads to a specific video content stream type.",
1372
+ "Target ads to a specific native content position.",
1373
+ "Target ads in an Open Measurement enabled inventory.",
1374
+ "Target ads to a specific audio content type.",
1375
+ "Target ads to a specific content genre.",
1376
+ "Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
1377
+ "Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
1378
+ "Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.",
1379
+ "Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources."
1380
+ ],
1381
+ "location": "path",
1382
+ "pattern": "^[^/]+$",
1383
+ "required": true,
1247
1384
  "type": "string"
1248
1385
  }
1249
1386
  },
1250
- "path": "v4/advertisers/{+advertiserId}/channels/{+channelId}",
1387
+ "path": "v4/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}",
1251
1388
  "response": {
1252
- "$ref": "Channel"
1389
+ "$ref": "AssignedTargetingOption"
1253
1390
  },
1254
1391
  "scopes": [
1255
1392
  "https://www.googleapis.com/auth/display-video"
1256
1393
  ]
1257
1394
  },
1258
1395
  "list": {
1259
- "description": "Lists channels for a partner or advertiser.",
1260
- "flatPath": "v4/advertisers/{advertisersId}/channels",
1396
+ "description": "Lists the targeting options assigned to a campaign for a specified targeting type.",
1397
+ "flatPath": "v4/advertisers/{advertisersId}/campaigns/{campaignsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions",
1261
1398
  "httpMethod": "GET",
1262
- "id": "displayvideo.advertisers.channels.list",
1399
+ "id": "displayvideo.advertisers.campaigns.targetingTypes.assignedTargetingOptions.list",
1263
1400
  "parameterOrder": [
1264
- "advertiserId"
1401
+ "advertiserId",
1402
+ "campaignId",
1403
+ "targetingType"
1265
1404
  ],
1266
1405
  "parameters": {
1267
1406
  "advertiserId": {
1268
- "description": "The ID of the advertiser that owns the channels.",
1407
+ "description": "Required. The ID of the advertiser the campaign belongs to.",
1408
+ "format": "int64",
1409
+ "location": "path",
1410
+ "pattern": "^[^/]+$",
1411
+ "required": true,
1412
+ "type": "string"
1413
+ },
1414
+ "campaignId": {
1415
+ "description": "Required. The ID of the campaign to list assigned targeting options for.",
1269
1416
  "format": "int64",
1270
1417
  "location": "path",
1271
1418
  "pattern": "^[^/]+$",
@@ -1273,63 +1420,168 @@
1273
1420
  "type": "string"
1274
1421
  },
1275
1422
  "filter": {
1276
- "description": "Allows filtering by channel fields. Supported syntax: * Filter expressions for channel can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All channels for which the display name contains \"google\": `displayName : \"google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
1423
+ "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2 `assignedTargetingOptionId=\"1\" OR assignedTargetingOptionId=\"2\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER` `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
1277
1424
  "location": "query",
1278
1425
  "type": "string"
1279
1426
  },
1280
1427
  "orderBy": {
1281
- "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `displayName desc`.",
1428
+ "description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.",
1282
1429
  "location": "query",
1283
1430
  "type": "string"
1284
1431
  },
1285
1432
  "pageSize": {
1286
- "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
1433
+ "description": "Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
1287
1434
  "format": "int32",
1288
1435
  "location": "query",
1289
1436
  "type": "integer"
1290
1437
  },
1291
1438
  "pageToken": {
1292
- "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListChannels` method. If not specified, the first page of results will be returned.",
1293
- "location": "query",
1294
- "type": "string"
1295
- },
1296
- "partnerId": {
1297
- "description": "The ID of the partner that owns the channels.",
1298
- "format": "int64",
1439
+ "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCampaignAssignedTargetingOptions` method. If not specified, the first page of results will be returned.",
1299
1440
  "location": "query",
1300
1441
  "type": "string"
1301
- }
1302
1442
  },
1303
- "path": "v4/advertisers/{+advertiserId}/channels",
1304
- "response": {
1305
- "$ref": "ListChannelsResponse"
1306
- },
1307
- "scopes": [
1308
- "https://www.googleapis.com/auth/display-video"
1309
- ]
1310
- },
1311
- "patch": {
1312
- "description": "Updates a channel. Returns the updated channel if successful.",
1313
- "flatPath": "v4/advertisers/{advertisersId}/channels/{channelId}",
1314
- "httpMethod": "PATCH",
1315
- "id": "displayvideo.advertisers.channels.patch",
1316
- "parameterOrder": [
1317
- "advertiserId",
1318
- "channelId"
1443
+ "targetingType": {
1444
+ "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY`",
1445
+ "enum": [
1446
+ "TARGETING_TYPE_UNSPECIFIED",
1447
+ "TARGETING_TYPE_CHANNEL",
1448
+ "TARGETING_TYPE_APP_CATEGORY",
1449
+ "TARGETING_TYPE_APP",
1450
+ "TARGETING_TYPE_URL",
1451
+ "TARGETING_TYPE_DAY_AND_TIME",
1452
+ "TARGETING_TYPE_AGE_RANGE",
1453
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
1454
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
1455
+ "TARGETING_TYPE_GENDER",
1456
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
1457
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
1458
+ "TARGETING_TYPE_PARENTAL_STATUS",
1459
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
1460
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
1461
+ "TARGETING_TYPE_DEVICE_TYPE",
1462
+ "TARGETING_TYPE_AUDIENCE_GROUP",
1463
+ "TARGETING_TYPE_BROWSER",
1464
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
1465
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
1466
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
1467
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
1468
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
1469
+ "TARGETING_TYPE_ENVIRONMENT",
1470
+ "TARGETING_TYPE_CARRIER_AND_ISP",
1471
+ "TARGETING_TYPE_OPERATING_SYSTEM",
1472
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
1473
+ "TARGETING_TYPE_KEYWORD",
1474
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
1475
+ "TARGETING_TYPE_VIEWABILITY",
1476
+ "TARGETING_TYPE_CATEGORY",
1477
+ "TARGETING_TYPE_INVENTORY_SOURCE",
1478
+ "TARGETING_TYPE_LANGUAGE",
1479
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
1480
+ "TARGETING_TYPE_GEO_REGION",
1481
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
1482
+ "TARGETING_TYPE_EXCHANGE",
1483
+ "TARGETING_TYPE_SUB_EXCHANGE",
1484
+ "TARGETING_TYPE_POI",
1485
+ "TARGETING_TYPE_BUSINESS_CHAIN",
1486
+ "TARGETING_TYPE_CONTENT_DURATION",
1487
+ "TARGETING_TYPE_CONTENT_STREAM_TYPE",
1488
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
1489
+ "TARGETING_TYPE_OMID",
1490
+ "TARGETING_TYPE_AUDIO_CONTENT_TYPE",
1491
+ "TARGETING_TYPE_CONTENT_GENRE",
1492
+ "TARGETING_TYPE_YOUTUBE_VIDEO",
1493
+ "TARGETING_TYPE_YOUTUBE_CHANNEL",
1494
+ "TARGETING_TYPE_SESSION_POSITION",
1495
+ "TARGETING_TYPE_CONTENT_THEME_EXCLUSION"
1496
+ ],
1497
+ "enumDescriptions": [
1498
+ "Default value when type is not specified or is unknown in this version.",
1499
+ "Target a channel (a custom group of related websites or apps).",
1500
+ "Target an app category (for example, education or puzzle games).",
1501
+ "Target a specific app (for example, Angry Birds).",
1502
+ "Target a specific url (for example, quora.com).",
1503
+ "Target ads during a chosen time period on a specific day.",
1504
+ "Target ads to a specific age range (for example, 18-24).",
1505
+ "Target ads to the specified regions on a regional location list.",
1506
+ "Target ads to the specified points of interest on a proximity location list.",
1507
+ "Target ads to a specific gender (for example, female or male).",
1508
+ "Target a specific video player size for video ads.",
1509
+ "Target user rewarded content for video ads.",
1510
+ "Target ads to a specific parental status (for example, parent or not a parent).",
1511
+ "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).",
1512
+ "Target ads in a specific content outstream position.",
1513
+ "Target ads to a specific device type (for example, tablet or connected TV).",
1514
+ "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.",
1515
+ "Target ads to specific web browsers (for example, Chrome).",
1516
+ "Target ads to a specific household income range (for example, top 10%).",
1517
+ "Target ads in a specific on screen position.",
1518
+ "Filter web sites through third party verification (for example, IAS or DoubleVerify).",
1519
+ "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).",
1520
+ "Filter website content by sensitive categories (for example, adult).",
1521
+ "Target ads to a specific environment (for example, web or app).",
1522
+ "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).",
1523
+ "Target ads to a specific operating system (for example, macOS).",
1524
+ "Target ads to a specific device make or model (for example, Roku or Samsung).",
1525
+ "Target ads to a specific keyword (for example, dog or retriever).",
1526
+ "Target ads to a specific negative keyword list.",
1527
+ "Target ads to a specific viewability (for example, 80% viewable).",
1528
+ "Target ads to a specific content category (for example, arts & entertainment).",
1529
+ "Purchase impressions from specific deals and auction packages.",
1530
+ "Target ads to a specific language (for example, English or Japanese).",
1531
+ "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.",
1532
+ "Target ads to a specific regional location (for example, a city or state).",
1533
+ "Purchase impressions from a group of deals and auction packages.",
1534
+ "Purchase impressions from specific exchanges.",
1535
+ "Purchase impressions from specific sub-exchanges.",
1536
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
1537
+ "Target ads around locations of a business chain within a specific geo region.",
1538
+ "Target ads to a specific video content duration.",
1539
+ "Target ads to a specific video content stream type.",
1540
+ "Target ads to a specific native content position.",
1541
+ "Target ads in an Open Measurement enabled inventory.",
1542
+ "Target ads to a specific audio content type.",
1543
+ "Target ads to a specific content genre.",
1544
+ "Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
1545
+ "Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
1546
+ "Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.",
1547
+ "Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources."
1319
1548
  ],
1320
- "parameters": {
1321
- "advertiserId": {
1322
- "description": "The ID of the advertiser that owns the created channel.",
1323
- "format": "int64",
1324
1549
  "location": "path",
1325
1550
  "pattern": "^[^/]+$",
1326
1551
  "required": true,
1327
1552
  "type": "string"
1553
+ }
1328
1554
  },
1329
- "channelId": {
1330
- "description": "Output only. The unique ID of the channel. Assigned by the system.",
1555
+ "path": "v4/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions",
1556
+ "response": {
1557
+ "$ref": "ListCampaignAssignedTargetingOptionsResponse"
1558
+ },
1559
+ "scopes": [
1560
+ "https://www.googleapis.com/auth/display-video"
1561
+ ]
1562
+ }
1563
+ }
1564
+ }
1565
+ }
1566
+ }
1567
+ }
1568
+ },
1569
+ "channels": {
1570
+ "methods": {
1571
+ "create": {
1572
+ "description": "Creates a new channel. Returns the newly created channel if successful.",
1573
+ "flatPath": "v4/advertisers/{advertisersId}/channels",
1574
+ "httpMethod": "POST",
1575
+ "id": "displayvideo.advertisers.channels.create",
1576
+ "parameterOrder": [
1577
+ "advertiserId"
1578
+ ],
1579
+ "parameters": {
1580
+ "advertiserId": {
1581
+ "description": "The ID of the advertiser that owns the created channel.",
1331
1582
  "format": "int64",
1332
1583
  "location": "path",
1584
+ "pattern": "^[^/]+$",
1333
1585
  "required": true,
1334
1586
  "type": "string"
1335
1587
  },
@@ -1338,15 +1590,9 @@
1338
1590
  "format": "int64",
1339
1591
  "location": "query",
1340
1592
  "type": "string"
1341
- },
1342
- "updateMask": {
1343
- "description": "Required. The mask to control which fields to update.",
1344
- "format": "google-fieldmask",
1345
- "location": "query",
1346
- "type": "string"
1347
1593
  }
1348
1594
  },
1349
- "path": "v4/advertisers/{+advertiserId}/channels/{channelId}",
1595
+ "path": "v4/advertisers/{+advertiserId}/channels",
1350
1596
  "request": {
1351
1597
  "$ref": "Channel"
1352
1598
  },
@@ -1356,131 +1602,274 @@
1356
1602
  "scopes": [
1357
1603
  "https://www.googleapis.com/auth/display-video"
1358
1604
  ]
1359
- }
1360
1605
  },
1361
- "resources": {
1362
- "sites": {
1363
- "methods": {
1364
- "bulkEdit": {
1365
- "description": "Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites.",
1366
- "flatPath": "v4/advertisers/{advertiserId}/channels/{channelsId}/sites:bulkEdit",
1367
- "httpMethod": "POST",
1368
- "id": "displayvideo.advertisers.channels.sites.bulkEdit",
1606
+ "get": {
1607
+ "description": "Gets a channel for a partner or advertiser.",
1608
+ "flatPath": "v4/advertisers/{advertisersId}/channels/{channelsId}",
1609
+ "httpMethod": "GET",
1610
+ "id": "displayvideo.advertisers.channels.get",
1369
1611
  "parameterOrder": [
1370
1612
  "advertiserId",
1371
1613
  "channelId"
1372
1614
  ],
1373
1615
  "parameters": {
1374
1616
  "advertiserId": {
1375
- "description": "The ID of the advertiser that owns the parent channel.",
1617
+ "description": "The ID of the advertiser that owns the fetched channel.",
1376
1618
  "format": "int64",
1377
1619
  "location": "path",
1620
+ "pattern": "^[^/]+$",
1378
1621
  "required": true,
1379
1622
  "type": "string"
1380
1623
  },
1381
1624
  "channelId": {
1382
- "description": "Required. The ID of the parent channel to which the sites belong.",
1625
+ "description": "Required. The ID of the channel to fetch.",
1383
1626
  "format": "int64",
1384
1627
  "location": "path",
1385
1628
  "pattern": "^[^/]+$",
1386
1629
  "required": true,
1387
1630
  "type": "string"
1388
- }
1389
1631
  },
1390
- "path": "v4/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit",
1391
- "request": {
1392
- "$ref": "BulkEditSitesRequest"
1632
+ "partnerId": {
1633
+ "description": "The ID of the partner that owns the fetched channel.",
1634
+ "format": "int64",
1635
+ "location": "query",
1636
+ "type": "string"
1637
+ }
1393
1638
  },
1639
+ "path": "v4/advertisers/{+advertiserId}/channels/{+channelId}",
1394
1640
  "response": {
1395
- "$ref": "BulkEditSitesResponse"
1641
+ "$ref": "Channel"
1396
1642
  },
1397
1643
  "scopes": [
1398
1644
  "https://www.googleapis.com/auth/display-video"
1399
1645
  ]
1400
1646
  },
1401
- "create": {
1402
- "description": "Creates a site in a channel.",
1403
- "flatPath": "v4/advertisers/{advertiserId}/channels/{channelsId}/sites",
1404
- "httpMethod": "POST",
1405
- "id": "displayvideo.advertisers.channels.sites.create",
1647
+ "list": {
1648
+ "description": "Lists channels for a partner or advertiser.",
1649
+ "flatPath": "v4/advertisers/{advertisersId}/channels",
1650
+ "httpMethod": "GET",
1651
+ "id": "displayvideo.advertisers.channels.list",
1406
1652
  "parameterOrder": [
1407
- "advertiserId",
1408
- "channelId"
1653
+ "advertiserId"
1409
1654
  ],
1410
1655
  "parameters": {
1411
1656
  "advertiserId": {
1412
- "description": "The ID of the advertiser that owns the parent channel.",
1657
+ "description": "The ID of the advertiser that owns the channels.",
1413
1658
  "format": "int64",
1414
1659
  "location": "path",
1660
+ "pattern": "^[^/]+$",
1415
1661
  "required": true,
1416
1662
  "type": "string"
1417
1663
  },
1418
- "channelId": {
1419
- "description": "Required. The ID of the parent channel in which the site will be created.",
1420
- "format": "int64",
1421
- "location": "path",
1422
- "pattern": "^[^/]+$",
1423
- "required": true,
1664
+ "filter": {
1665
+ "description": "Allows filtering by channel fields. Supported syntax: * Filter expressions for channel can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All channels for which the display name contains \"google\": `displayName : \"google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
1666
+ "location": "query",
1667
+ "type": "string"
1668
+ },
1669
+ "orderBy": {
1670
+ "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `displayName desc`.",
1671
+ "location": "query",
1672
+ "type": "string"
1673
+ },
1674
+ "pageSize": {
1675
+ "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
1676
+ "format": "int32",
1677
+ "location": "query",
1678
+ "type": "integer"
1679
+ },
1680
+ "pageToken": {
1681
+ "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListChannels` method. If not specified, the first page of results will be returned.",
1682
+ "location": "query",
1424
1683
  "type": "string"
1425
1684
  },
1426
1685
  "partnerId": {
1427
- "description": "The ID of the partner that owns the parent channel.",
1686
+ "description": "The ID of the partner that owns the channels.",
1428
1687
  "format": "int64",
1429
1688
  "location": "query",
1430
1689
  "type": "string"
1431
1690
  }
1432
1691
  },
1433
- "path": "v4/advertisers/{advertiserId}/channels/{+channelId}/sites",
1434
- "request": {
1435
- "$ref": "Site"
1436
- },
1692
+ "path": "v4/advertisers/{+advertiserId}/channels",
1437
1693
  "response": {
1438
- "$ref": "Site"
1694
+ "$ref": "ListChannelsResponse"
1439
1695
  },
1440
1696
  "scopes": [
1441
1697
  "https://www.googleapis.com/auth/display-video"
1442
1698
  ]
1443
1699
  },
1444
- "delete": {
1445
- "description": "Deletes a site from a channel.",
1446
- "flatPath": "v4/advertisers/{advertiserId}/channels/{channelsId}/sites/{sitesId}",
1447
- "httpMethod": "DELETE",
1448
- "id": "displayvideo.advertisers.channels.sites.delete",
1700
+ "patch": {
1701
+ "description": "Updates a channel. Returns the updated channel if successful.",
1702
+ "flatPath": "v4/advertisers/{advertisersId}/channels/{channelId}",
1703
+ "httpMethod": "PATCH",
1704
+ "id": "displayvideo.advertisers.channels.patch",
1449
1705
  "parameterOrder": [
1450
1706
  "advertiserId",
1451
- "channelId",
1452
- "urlOrAppId"
1707
+ "channelId"
1453
1708
  ],
1454
1709
  "parameters": {
1455
1710
  "advertiserId": {
1456
- "description": "The ID of the advertiser that owns the parent channel.",
1711
+ "description": "The ID of the advertiser that owns the created channel.",
1457
1712
  "format": "int64",
1458
1713
  "location": "path",
1714
+ "pattern": "^[^/]+$",
1459
1715
  "required": true,
1460
1716
  "type": "string"
1461
1717
  },
1462
1718
  "channelId": {
1463
- "description": "Required. The ID of the parent channel to which the site belongs.",
1719
+ "description": "Output only. The unique ID of the channel. Assigned by the system.",
1464
1720
  "format": "int64",
1465
1721
  "location": "path",
1466
- "pattern": "^[^/]+$",
1467
1722
  "required": true,
1468
1723
  "type": "string"
1469
1724
  },
1470
1725
  "partnerId": {
1471
- "description": "The ID of the partner that owns the parent channel.",
1726
+ "description": "The ID of the partner that owns the created channel.",
1472
1727
  "format": "int64",
1473
1728
  "location": "query",
1474
1729
  "type": "string"
1475
1730
  },
1476
- "urlOrAppId": {
1477
- "description": "Required. The URL or app ID of the site to delete.",
1478
- "location": "path",
1479
- "pattern": "^[^/]+$",
1480
- "required": true,
1481
- "type": "string"
1482
- }
1483
- },
1731
+ "updateMask": {
1732
+ "description": "Required. The mask to control which fields to update.",
1733
+ "format": "google-fieldmask",
1734
+ "location": "query",
1735
+ "type": "string"
1736
+ }
1737
+ },
1738
+ "path": "v4/advertisers/{+advertiserId}/channels/{channelId}",
1739
+ "request": {
1740
+ "$ref": "Channel"
1741
+ },
1742
+ "response": {
1743
+ "$ref": "Channel"
1744
+ },
1745
+ "scopes": [
1746
+ "https://www.googleapis.com/auth/display-video"
1747
+ ]
1748
+ }
1749
+ },
1750
+ "resources": {
1751
+ "sites": {
1752
+ "methods": {
1753
+ "bulkEdit": {
1754
+ "description": "Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites.",
1755
+ "flatPath": "v4/advertisers/{advertiserId}/channels/{channelsId}/sites:bulkEdit",
1756
+ "httpMethod": "POST",
1757
+ "id": "displayvideo.advertisers.channels.sites.bulkEdit",
1758
+ "parameterOrder": [
1759
+ "advertiserId",
1760
+ "channelId"
1761
+ ],
1762
+ "parameters": {
1763
+ "advertiserId": {
1764
+ "description": "The ID of the advertiser that owns the parent channel.",
1765
+ "format": "int64",
1766
+ "location": "path",
1767
+ "required": true,
1768
+ "type": "string"
1769
+ },
1770
+ "channelId": {
1771
+ "description": "Required. The ID of the parent channel to which the sites belong.",
1772
+ "format": "int64",
1773
+ "location": "path",
1774
+ "pattern": "^[^/]+$",
1775
+ "required": true,
1776
+ "type": "string"
1777
+ }
1778
+ },
1779
+ "path": "v4/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit",
1780
+ "request": {
1781
+ "$ref": "BulkEditSitesRequest"
1782
+ },
1783
+ "response": {
1784
+ "$ref": "BulkEditSitesResponse"
1785
+ },
1786
+ "scopes": [
1787
+ "https://www.googleapis.com/auth/display-video"
1788
+ ]
1789
+ },
1790
+ "create": {
1791
+ "description": "Creates a site in a channel.",
1792
+ "flatPath": "v4/advertisers/{advertiserId}/channels/{channelsId}/sites",
1793
+ "httpMethod": "POST",
1794
+ "id": "displayvideo.advertisers.channels.sites.create",
1795
+ "parameterOrder": [
1796
+ "advertiserId",
1797
+ "channelId"
1798
+ ],
1799
+ "parameters": {
1800
+ "advertiserId": {
1801
+ "description": "The ID of the advertiser that owns the parent channel.",
1802
+ "format": "int64",
1803
+ "location": "path",
1804
+ "required": true,
1805
+ "type": "string"
1806
+ },
1807
+ "channelId": {
1808
+ "description": "Required. The ID of the parent channel in which the site will be created.",
1809
+ "format": "int64",
1810
+ "location": "path",
1811
+ "pattern": "^[^/]+$",
1812
+ "required": true,
1813
+ "type": "string"
1814
+ },
1815
+ "partnerId": {
1816
+ "description": "The ID of the partner that owns the parent channel.",
1817
+ "format": "int64",
1818
+ "location": "query",
1819
+ "type": "string"
1820
+ }
1821
+ },
1822
+ "path": "v4/advertisers/{advertiserId}/channels/{+channelId}/sites",
1823
+ "request": {
1824
+ "$ref": "Site"
1825
+ },
1826
+ "response": {
1827
+ "$ref": "Site"
1828
+ },
1829
+ "scopes": [
1830
+ "https://www.googleapis.com/auth/display-video"
1831
+ ]
1832
+ },
1833
+ "delete": {
1834
+ "description": "Deletes a site from a channel.",
1835
+ "flatPath": "v4/advertisers/{advertiserId}/channels/{channelsId}/sites/{sitesId}",
1836
+ "httpMethod": "DELETE",
1837
+ "id": "displayvideo.advertisers.channels.sites.delete",
1838
+ "parameterOrder": [
1839
+ "advertiserId",
1840
+ "channelId",
1841
+ "urlOrAppId"
1842
+ ],
1843
+ "parameters": {
1844
+ "advertiserId": {
1845
+ "description": "The ID of the advertiser that owns the parent channel.",
1846
+ "format": "int64",
1847
+ "location": "path",
1848
+ "required": true,
1849
+ "type": "string"
1850
+ },
1851
+ "channelId": {
1852
+ "description": "Required. The ID of the parent channel to which the site belongs.",
1853
+ "format": "int64",
1854
+ "location": "path",
1855
+ "pattern": "^[^/]+$",
1856
+ "required": true,
1857
+ "type": "string"
1858
+ },
1859
+ "partnerId": {
1860
+ "description": "The ID of the partner that owns the parent channel.",
1861
+ "format": "int64",
1862
+ "location": "query",
1863
+ "type": "string"
1864
+ },
1865
+ "urlOrAppId": {
1866
+ "description": "Required. The URL or app ID of the site to delete.",
1867
+ "location": "path",
1868
+ "pattern": "^[^/]+$",
1869
+ "required": true,
1870
+ "type": "string"
1871
+ }
1872
+ },
1484
1873
  "path": "v4/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}",
1485
1874
  "response": {
1486
1875
  "$ref": "Empty"
@@ -1861,43 +2250,658 @@
1861
2250
  "advertiserId",
1862
2251
  "insertionOrderId"
1863
2252
  ],
1864
- "parameters": {
1865
- "advertiserId": {
1866
- "description": "Required. The ID of the advertiser this insertion order belongs to.",
1867
- "format": "int64",
1868
- "location": "path",
1869
- "pattern": "^[^/]+$",
1870
- "required": true,
1871
- "type": "string"
1872
- },
1873
- "insertionOrderId": {
1874
- "description": "Required. The ID of the insertion order to fetch.",
1875
- "format": "int64",
2253
+ "parameters": {
2254
+ "advertiserId": {
2255
+ "description": "Required. The ID of the advertiser this insertion order belongs to.",
2256
+ "format": "int64",
2257
+ "location": "path",
2258
+ "pattern": "^[^/]+$",
2259
+ "required": true,
2260
+ "type": "string"
2261
+ },
2262
+ "insertionOrderId": {
2263
+ "description": "Required. The ID of the insertion order to fetch.",
2264
+ "format": "int64",
2265
+ "location": "path",
2266
+ "pattern": "^[^/]+$",
2267
+ "required": true,
2268
+ "type": "string"
2269
+ }
2270
+ },
2271
+ "path": "v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}",
2272
+ "response": {
2273
+ "$ref": "InsertionOrder"
2274
+ },
2275
+ "scopes": [
2276
+ "https://www.googleapis.com/auth/display-video"
2277
+ ]
2278
+ },
2279
+ "list": {
2280
+ "description": "Lists insertion orders in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, insertion orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results.",
2281
+ "flatPath": "v4/advertisers/{advertisersId}/insertionOrders",
2282
+ "httpMethod": "GET",
2283
+ "id": "displayvideo.advertisers.insertionOrders.list",
2284
+ "parameterOrder": [
2285
+ "advertiserId"
2286
+ ],
2287
+ "parameters": {
2288
+ "advertiserId": {
2289
+ "description": "Required. The ID of the advertiser to list insertion orders for.",
2290
+ "format": "int64",
2291
+ "location": "path",
2292
+ "pattern": "^[^/]+$",
2293
+ "required": true,
2294
+ "type": "string"
2295
+ },
2296
+ "filter": {
2297
+ "description": "Allows filtering by insertion order fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All insertion orders under a campaign: `campaignId=\"1234\"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\")` * All insertion orders with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All insertion orders with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
2298
+ "location": "query",
2299
+ "type": "string"
2300
+ },
2301
+ "orderBy": {
2302
+ "description": "Field by which to sort the list. Acceptable values are: * \"displayName\" (default) * \"entityStatus\" * \"updateTime\" The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.",
2303
+ "location": "query",
2304
+ "type": "string"
2305
+ },
2306
+ "pageSize": {
2307
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
2308
+ "format": "int32",
2309
+ "location": "query",
2310
+ "type": "integer"
2311
+ },
2312
+ "pageToken": {
2313
+ "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInsertionOrders` method. If not specified, the first page of results will be returned.",
2314
+ "location": "query",
2315
+ "type": "string"
2316
+ }
2317
+ },
2318
+ "path": "v4/advertisers/{+advertiserId}/insertionOrders",
2319
+ "response": {
2320
+ "$ref": "ListInsertionOrdersResponse"
2321
+ },
2322
+ "scopes": [
2323
+ "https://www.googleapis.com/auth/display-video"
2324
+ ]
2325
+ },
2326
+ "listAssignedTargetingOptions": {
2327
+ "description": "Lists assigned targeting options of an insertion order across targeting types.",
2328
+ "flatPath": "v4/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}:listAssignedTargetingOptions",
2329
+ "httpMethod": "GET",
2330
+ "id": "displayvideo.advertisers.insertionOrders.listAssignedTargetingOptions",
2331
+ "parameterOrder": [
2332
+ "advertiserId",
2333
+ "insertionOrderId"
2334
+ ],
2335
+ "parameters": {
2336
+ "advertiserId": {
2337
+ "description": "Required. The ID of the advertiser the insertion order belongs to.",
2338
+ "format": "int64",
2339
+ "location": "path",
2340
+ "pattern": "^[^/]+$",
2341
+ "required": true,
2342
+ "type": "string"
2343
+ },
2344
+ "filter": {
2345
+ "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: `targetingType=\"TARGETING_TYPE_PROXIMITY_LOCATION_LIST\" OR targetingType=\"TARGETING_TYPE_CHANNEL\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
2346
+ "location": "query",
2347
+ "type": "string"
2348
+ },
2349
+ "insertionOrderId": {
2350
+ "description": "Required. The ID of the insertion order to list assigned targeting options for.",
2351
+ "format": "int64",
2352
+ "location": "path",
2353
+ "pattern": "^[^/]+$",
2354
+ "required": true,
2355
+ "type": "string"
2356
+ },
2357
+ "orderBy": {
2358
+ "description": "Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.",
2359
+ "location": "query",
2360
+ "type": "string"
2361
+ },
2362
+ "pageSize": {
2363
+ "description": "Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
2364
+ "format": "int32",
2365
+ "location": "query",
2366
+ "type": "integer"
2367
+ },
2368
+ "pageToken": {
2369
+ "description": "A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListInsertionOrderAssignedTargetingOptions` method. If not specified, the first page of results will be returned.",
2370
+ "location": "query",
2371
+ "type": "string"
2372
+ }
2373
+ },
2374
+ "path": "v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}:listAssignedTargetingOptions",
2375
+ "response": {
2376
+ "$ref": "BulkListInsertionOrderAssignedTargetingOptionsResponse"
2377
+ },
2378
+ "scopes": [
2379
+ "https://www.googleapis.com/auth/display-video"
2380
+ ]
2381
+ },
2382
+ "patch": {
2383
+ "description": "Updates an existing insertion order. Returns the updated insertion order if successful.",
2384
+ "flatPath": "v4/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}",
2385
+ "httpMethod": "PATCH",
2386
+ "id": "displayvideo.advertisers.insertionOrders.patch",
2387
+ "parameterOrder": [
2388
+ "advertiserId",
2389
+ "insertionOrderId"
2390
+ ],
2391
+ "parameters": {
2392
+ "advertiserId": {
2393
+ "description": "Output only. The unique ID of the advertiser the insertion order belongs to.",
2394
+ "format": "int64",
2395
+ "location": "path",
2396
+ "pattern": "^[^/]+$",
2397
+ "required": true,
2398
+ "type": "string"
2399
+ },
2400
+ "insertionOrderId": {
2401
+ "description": "Output only. The unique ID of the insertion order. Assigned by the system.",
2402
+ "format": "int64",
2403
+ "location": "path",
2404
+ "pattern": "^[^/]+$",
2405
+ "required": true,
2406
+ "type": "string"
2407
+ },
2408
+ "updateMask": {
2409
+ "description": "Required. The mask to control which fields to update.",
2410
+ "format": "google-fieldmask",
2411
+ "location": "query",
2412
+ "type": "string"
2413
+ }
2414
+ },
2415
+ "path": "v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}",
2416
+ "request": {
2417
+ "$ref": "InsertionOrder"
2418
+ },
2419
+ "response": {
2420
+ "$ref": "InsertionOrder"
2421
+ },
2422
+ "scopes": [
2423
+ "https://www.googleapis.com/auth/display-video"
2424
+ ]
2425
+ }
2426
+ },
2427
+ "resources": {
2428
+ "targetingTypes": {
2429
+ "resources": {
2430
+ "assignedTargetingOptions": {
2431
+ "methods": {
2432
+ "create": {
2433
+ "description": "Assigns a targeting option to an insertion order. Returns the assigned targeting option if successful. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`",
2434
+ "flatPath": "v4/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions",
2435
+ "httpMethod": "POST",
2436
+ "id": "displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.create",
2437
+ "parameterOrder": [
2438
+ "advertiserId",
2439
+ "insertionOrderId",
2440
+ "targetingType"
2441
+ ],
2442
+ "parameters": {
2443
+ "advertiserId": {
2444
+ "description": "Required. The ID of the advertiser the insertion order belongs to.",
2445
+ "format": "int64",
2446
+ "location": "path",
2447
+ "pattern": "^[^/]+$",
2448
+ "required": true,
2449
+ "type": "string"
2450
+ },
2451
+ "insertionOrderId": {
2452
+ "description": "Required. The ID of the insertion order the assigned targeting option will belong to.",
2453
+ "format": "int64",
2454
+ "location": "path",
2455
+ "pattern": "^[^/]+$",
2456
+ "required": true,
2457
+ "type": "string"
2458
+ },
2459
+ "targetingType": {
2460
+ "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`",
2461
+ "enum": [
2462
+ "TARGETING_TYPE_UNSPECIFIED",
2463
+ "TARGETING_TYPE_CHANNEL",
2464
+ "TARGETING_TYPE_APP_CATEGORY",
2465
+ "TARGETING_TYPE_APP",
2466
+ "TARGETING_TYPE_URL",
2467
+ "TARGETING_TYPE_DAY_AND_TIME",
2468
+ "TARGETING_TYPE_AGE_RANGE",
2469
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
2470
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
2471
+ "TARGETING_TYPE_GENDER",
2472
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
2473
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
2474
+ "TARGETING_TYPE_PARENTAL_STATUS",
2475
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
2476
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
2477
+ "TARGETING_TYPE_DEVICE_TYPE",
2478
+ "TARGETING_TYPE_AUDIENCE_GROUP",
2479
+ "TARGETING_TYPE_BROWSER",
2480
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
2481
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
2482
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
2483
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
2484
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
2485
+ "TARGETING_TYPE_ENVIRONMENT",
2486
+ "TARGETING_TYPE_CARRIER_AND_ISP",
2487
+ "TARGETING_TYPE_OPERATING_SYSTEM",
2488
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
2489
+ "TARGETING_TYPE_KEYWORD",
2490
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
2491
+ "TARGETING_TYPE_VIEWABILITY",
2492
+ "TARGETING_TYPE_CATEGORY",
2493
+ "TARGETING_TYPE_INVENTORY_SOURCE",
2494
+ "TARGETING_TYPE_LANGUAGE",
2495
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
2496
+ "TARGETING_TYPE_GEO_REGION",
2497
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
2498
+ "TARGETING_TYPE_EXCHANGE",
2499
+ "TARGETING_TYPE_SUB_EXCHANGE",
2500
+ "TARGETING_TYPE_POI",
2501
+ "TARGETING_TYPE_BUSINESS_CHAIN",
2502
+ "TARGETING_TYPE_CONTENT_DURATION",
2503
+ "TARGETING_TYPE_CONTENT_STREAM_TYPE",
2504
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
2505
+ "TARGETING_TYPE_OMID",
2506
+ "TARGETING_TYPE_AUDIO_CONTENT_TYPE",
2507
+ "TARGETING_TYPE_CONTENT_GENRE",
2508
+ "TARGETING_TYPE_YOUTUBE_VIDEO",
2509
+ "TARGETING_TYPE_YOUTUBE_CHANNEL",
2510
+ "TARGETING_TYPE_SESSION_POSITION",
2511
+ "TARGETING_TYPE_CONTENT_THEME_EXCLUSION"
2512
+ ],
2513
+ "enumDescriptions": [
2514
+ "Default value when type is not specified or is unknown in this version.",
2515
+ "Target a channel (a custom group of related websites or apps).",
2516
+ "Target an app category (for example, education or puzzle games).",
2517
+ "Target a specific app (for example, Angry Birds).",
2518
+ "Target a specific url (for example, quora.com).",
2519
+ "Target ads during a chosen time period on a specific day.",
2520
+ "Target ads to a specific age range (for example, 18-24).",
2521
+ "Target ads to the specified regions on a regional location list.",
2522
+ "Target ads to the specified points of interest on a proximity location list.",
2523
+ "Target ads to a specific gender (for example, female or male).",
2524
+ "Target a specific video player size for video ads.",
2525
+ "Target user rewarded content for video ads.",
2526
+ "Target ads to a specific parental status (for example, parent or not a parent).",
2527
+ "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).",
2528
+ "Target ads in a specific content outstream position.",
2529
+ "Target ads to a specific device type (for example, tablet or connected TV).",
2530
+ "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.",
2531
+ "Target ads to specific web browsers (for example, Chrome).",
2532
+ "Target ads to a specific household income range (for example, top 10%).",
2533
+ "Target ads in a specific on screen position.",
2534
+ "Filter web sites through third party verification (for example, IAS or DoubleVerify).",
2535
+ "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).",
2536
+ "Filter website content by sensitive categories (for example, adult).",
2537
+ "Target ads to a specific environment (for example, web or app).",
2538
+ "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).",
2539
+ "Target ads to a specific operating system (for example, macOS).",
2540
+ "Target ads to a specific device make or model (for example, Roku or Samsung).",
2541
+ "Target ads to a specific keyword (for example, dog or retriever).",
2542
+ "Target ads to a specific negative keyword list.",
2543
+ "Target ads to a specific viewability (for example, 80% viewable).",
2544
+ "Target ads to a specific content category (for example, arts & entertainment).",
2545
+ "Purchase impressions from specific deals and auction packages.",
2546
+ "Target ads to a specific language (for example, English or Japanese).",
2547
+ "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.",
2548
+ "Target ads to a specific regional location (for example, a city or state).",
2549
+ "Purchase impressions from a group of deals and auction packages.",
2550
+ "Purchase impressions from specific exchanges.",
2551
+ "Purchase impressions from specific sub-exchanges.",
2552
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
2553
+ "Target ads around locations of a business chain within a specific geo region.",
2554
+ "Target ads to a specific video content duration.",
2555
+ "Target ads to a specific video content stream type.",
2556
+ "Target ads to a specific native content position.",
2557
+ "Target ads in an Open Measurement enabled inventory.",
2558
+ "Target ads to a specific audio content type.",
2559
+ "Target ads to a specific content genre.",
2560
+ "Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
2561
+ "Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
2562
+ "Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.",
2563
+ "Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources."
2564
+ ],
2565
+ "location": "path",
2566
+ "pattern": "^[^/]+$",
2567
+ "required": true,
2568
+ "type": "string"
2569
+ }
2570
+ },
2571
+ "path": "v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions",
2572
+ "request": {
2573
+ "$ref": "AssignedTargetingOption"
2574
+ },
2575
+ "response": {
2576
+ "$ref": "AssignedTargetingOption"
2577
+ },
2578
+ "scopes": [
2579
+ "https://www.googleapis.com/auth/display-video"
2580
+ ]
2581
+ },
2582
+ "delete": {
2583
+ "description": "Deletes an assigned targeting option from an insertion order. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`",
2584
+ "flatPath": "v4/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}",
2585
+ "httpMethod": "DELETE",
2586
+ "id": "displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.delete",
2587
+ "parameterOrder": [
2588
+ "advertiserId",
2589
+ "insertionOrderId",
2590
+ "targetingType",
2591
+ "assignedTargetingOptionId"
2592
+ ],
2593
+ "parameters": {
2594
+ "advertiserId": {
2595
+ "description": "Required. The ID of the advertiser the insertion order belongs to.",
2596
+ "format": "int64",
2597
+ "location": "path",
2598
+ "pattern": "^[^/]+$",
2599
+ "required": true,
2600
+ "type": "string"
2601
+ },
2602
+ "assignedTargetingOptionId": {
2603
+ "description": "Required. The ID of the assigned targeting option to delete.",
2604
+ "location": "path",
2605
+ "pattern": "^[^/]+$",
2606
+ "required": true,
2607
+ "type": "string"
2608
+ },
2609
+ "insertionOrderId": {
2610
+ "description": "Required. The ID of the insertion order the assigned targeting option belongs to.",
2611
+ "format": "int64",
2612
+ "location": "path",
2613
+ "pattern": "^[^/]+$",
2614
+ "required": true,
2615
+ "type": "string"
2616
+ },
2617
+ "targetingType": {
2618
+ "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`",
2619
+ "enum": [
2620
+ "TARGETING_TYPE_UNSPECIFIED",
2621
+ "TARGETING_TYPE_CHANNEL",
2622
+ "TARGETING_TYPE_APP_CATEGORY",
2623
+ "TARGETING_TYPE_APP",
2624
+ "TARGETING_TYPE_URL",
2625
+ "TARGETING_TYPE_DAY_AND_TIME",
2626
+ "TARGETING_TYPE_AGE_RANGE",
2627
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
2628
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
2629
+ "TARGETING_TYPE_GENDER",
2630
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
2631
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
2632
+ "TARGETING_TYPE_PARENTAL_STATUS",
2633
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
2634
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
2635
+ "TARGETING_TYPE_DEVICE_TYPE",
2636
+ "TARGETING_TYPE_AUDIENCE_GROUP",
2637
+ "TARGETING_TYPE_BROWSER",
2638
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
2639
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
2640
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
2641
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
2642
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
2643
+ "TARGETING_TYPE_ENVIRONMENT",
2644
+ "TARGETING_TYPE_CARRIER_AND_ISP",
2645
+ "TARGETING_TYPE_OPERATING_SYSTEM",
2646
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
2647
+ "TARGETING_TYPE_KEYWORD",
2648
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
2649
+ "TARGETING_TYPE_VIEWABILITY",
2650
+ "TARGETING_TYPE_CATEGORY",
2651
+ "TARGETING_TYPE_INVENTORY_SOURCE",
2652
+ "TARGETING_TYPE_LANGUAGE",
2653
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
2654
+ "TARGETING_TYPE_GEO_REGION",
2655
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
2656
+ "TARGETING_TYPE_EXCHANGE",
2657
+ "TARGETING_TYPE_SUB_EXCHANGE",
2658
+ "TARGETING_TYPE_POI",
2659
+ "TARGETING_TYPE_BUSINESS_CHAIN",
2660
+ "TARGETING_TYPE_CONTENT_DURATION",
2661
+ "TARGETING_TYPE_CONTENT_STREAM_TYPE",
2662
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
2663
+ "TARGETING_TYPE_OMID",
2664
+ "TARGETING_TYPE_AUDIO_CONTENT_TYPE",
2665
+ "TARGETING_TYPE_CONTENT_GENRE",
2666
+ "TARGETING_TYPE_YOUTUBE_VIDEO",
2667
+ "TARGETING_TYPE_YOUTUBE_CHANNEL",
2668
+ "TARGETING_TYPE_SESSION_POSITION",
2669
+ "TARGETING_TYPE_CONTENT_THEME_EXCLUSION"
2670
+ ],
2671
+ "enumDescriptions": [
2672
+ "Default value when type is not specified or is unknown in this version.",
2673
+ "Target a channel (a custom group of related websites or apps).",
2674
+ "Target an app category (for example, education or puzzle games).",
2675
+ "Target a specific app (for example, Angry Birds).",
2676
+ "Target a specific url (for example, quora.com).",
2677
+ "Target ads during a chosen time period on a specific day.",
2678
+ "Target ads to a specific age range (for example, 18-24).",
2679
+ "Target ads to the specified regions on a regional location list.",
2680
+ "Target ads to the specified points of interest on a proximity location list.",
2681
+ "Target ads to a specific gender (for example, female or male).",
2682
+ "Target a specific video player size for video ads.",
2683
+ "Target user rewarded content for video ads.",
2684
+ "Target ads to a specific parental status (for example, parent or not a parent).",
2685
+ "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).",
2686
+ "Target ads in a specific content outstream position.",
2687
+ "Target ads to a specific device type (for example, tablet or connected TV).",
2688
+ "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.",
2689
+ "Target ads to specific web browsers (for example, Chrome).",
2690
+ "Target ads to a specific household income range (for example, top 10%).",
2691
+ "Target ads in a specific on screen position.",
2692
+ "Filter web sites through third party verification (for example, IAS or DoubleVerify).",
2693
+ "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).",
2694
+ "Filter website content by sensitive categories (for example, adult).",
2695
+ "Target ads to a specific environment (for example, web or app).",
2696
+ "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).",
2697
+ "Target ads to a specific operating system (for example, macOS).",
2698
+ "Target ads to a specific device make or model (for example, Roku or Samsung).",
2699
+ "Target ads to a specific keyword (for example, dog or retriever).",
2700
+ "Target ads to a specific negative keyword list.",
2701
+ "Target ads to a specific viewability (for example, 80% viewable).",
2702
+ "Target ads to a specific content category (for example, arts & entertainment).",
2703
+ "Purchase impressions from specific deals and auction packages.",
2704
+ "Target ads to a specific language (for example, English or Japanese).",
2705
+ "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.",
2706
+ "Target ads to a specific regional location (for example, a city or state).",
2707
+ "Purchase impressions from a group of deals and auction packages.",
2708
+ "Purchase impressions from specific exchanges.",
2709
+ "Purchase impressions from specific sub-exchanges.",
2710
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
2711
+ "Target ads around locations of a business chain within a specific geo region.",
2712
+ "Target ads to a specific video content duration.",
2713
+ "Target ads to a specific video content stream type.",
2714
+ "Target ads to a specific native content position.",
2715
+ "Target ads in an Open Measurement enabled inventory.",
2716
+ "Target ads to a specific audio content type.",
2717
+ "Target ads to a specific content genre.",
2718
+ "Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
2719
+ "Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
2720
+ "Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.",
2721
+ "Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources."
2722
+ ],
2723
+ "location": "path",
2724
+ "pattern": "^[^/]+$",
2725
+ "required": true,
2726
+ "type": "string"
2727
+ }
2728
+ },
2729
+ "path": "v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}",
2730
+ "response": {
2731
+ "$ref": "Empty"
2732
+ },
2733
+ "scopes": [
2734
+ "https://www.googleapis.com/auth/display-video"
2735
+ ]
2736
+ },
2737
+ "get": {
2738
+ "description": "Gets a single targeting option assigned to an insertion order.",
2739
+ "flatPath": "v4/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}",
2740
+ "httpMethod": "GET",
2741
+ "id": "displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.get",
2742
+ "parameterOrder": [
2743
+ "advertiserId",
2744
+ "insertionOrderId",
2745
+ "targetingType",
2746
+ "assignedTargetingOptionId"
2747
+ ],
2748
+ "parameters": {
2749
+ "advertiserId": {
2750
+ "description": "Required. The ID of the advertiser the insertion order belongs to.",
2751
+ "format": "int64",
2752
+ "location": "path",
2753
+ "pattern": "^[^/]+$",
2754
+ "required": true,
2755
+ "type": "string"
2756
+ },
2757
+ "assignedTargetingOptionId": {
2758
+ "description": "Required. An identifier unique to the targeting type in this insertion order that identifies the assigned targeting option being requested.",
2759
+ "location": "path",
2760
+ "pattern": "^[^/]+$",
2761
+ "required": true,
2762
+ "type": "string"
2763
+ },
2764
+ "insertionOrderId": {
2765
+ "description": "Required. The ID of the insertion order the assigned targeting option belongs to.",
2766
+ "format": "int64",
2767
+ "location": "path",
2768
+ "pattern": "^[^/]+$",
2769
+ "required": true,
2770
+ "type": "string"
2771
+ },
2772
+ "targetingType": {
2773
+ "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`",
2774
+ "enum": [
2775
+ "TARGETING_TYPE_UNSPECIFIED",
2776
+ "TARGETING_TYPE_CHANNEL",
2777
+ "TARGETING_TYPE_APP_CATEGORY",
2778
+ "TARGETING_TYPE_APP",
2779
+ "TARGETING_TYPE_URL",
2780
+ "TARGETING_TYPE_DAY_AND_TIME",
2781
+ "TARGETING_TYPE_AGE_RANGE",
2782
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
2783
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
2784
+ "TARGETING_TYPE_GENDER",
2785
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
2786
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
2787
+ "TARGETING_TYPE_PARENTAL_STATUS",
2788
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
2789
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
2790
+ "TARGETING_TYPE_DEVICE_TYPE",
2791
+ "TARGETING_TYPE_AUDIENCE_GROUP",
2792
+ "TARGETING_TYPE_BROWSER",
2793
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
2794
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
2795
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
2796
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
2797
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
2798
+ "TARGETING_TYPE_ENVIRONMENT",
2799
+ "TARGETING_TYPE_CARRIER_AND_ISP",
2800
+ "TARGETING_TYPE_OPERATING_SYSTEM",
2801
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
2802
+ "TARGETING_TYPE_KEYWORD",
2803
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
2804
+ "TARGETING_TYPE_VIEWABILITY",
2805
+ "TARGETING_TYPE_CATEGORY",
2806
+ "TARGETING_TYPE_INVENTORY_SOURCE",
2807
+ "TARGETING_TYPE_LANGUAGE",
2808
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
2809
+ "TARGETING_TYPE_GEO_REGION",
2810
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
2811
+ "TARGETING_TYPE_EXCHANGE",
2812
+ "TARGETING_TYPE_SUB_EXCHANGE",
2813
+ "TARGETING_TYPE_POI",
2814
+ "TARGETING_TYPE_BUSINESS_CHAIN",
2815
+ "TARGETING_TYPE_CONTENT_DURATION",
2816
+ "TARGETING_TYPE_CONTENT_STREAM_TYPE",
2817
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
2818
+ "TARGETING_TYPE_OMID",
2819
+ "TARGETING_TYPE_AUDIO_CONTENT_TYPE",
2820
+ "TARGETING_TYPE_CONTENT_GENRE",
2821
+ "TARGETING_TYPE_YOUTUBE_VIDEO",
2822
+ "TARGETING_TYPE_YOUTUBE_CHANNEL",
2823
+ "TARGETING_TYPE_SESSION_POSITION",
2824
+ "TARGETING_TYPE_CONTENT_THEME_EXCLUSION"
2825
+ ],
2826
+ "enumDescriptions": [
2827
+ "Default value when type is not specified or is unknown in this version.",
2828
+ "Target a channel (a custom group of related websites or apps).",
2829
+ "Target an app category (for example, education or puzzle games).",
2830
+ "Target a specific app (for example, Angry Birds).",
2831
+ "Target a specific url (for example, quora.com).",
2832
+ "Target ads during a chosen time period on a specific day.",
2833
+ "Target ads to a specific age range (for example, 18-24).",
2834
+ "Target ads to the specified regions on a regional location list.",
2835
+ "Target ads to the specified points of interest on a proximity location list.",
2836
+ "Target ads to a specific gender (for example, female or male).",
2837
+ "Target a specific video player size for video ads.",
2838
+ "Target user rewarded content for video ads.",
2839
+ "Target ads to a specific parental status (for example, parent or not a parent).",
2840
+ "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).",
2841
+ "Target ads in a specific content outstream position.",
2842
+ "Target ads to a specific device type (for example, tablet or connected TV).",
2843
+ "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.",
2844
+ "Target ads to specific web browsers (for example, Chrome).",
2845
+ "Target ads to a specific household income range (for example, top 10%).",
2846
+ "Target ads in a specific on screen position.",
2847
+ "Filter web sites through third party verification (for example, IAS or DoubleVerify).",
2848
+ "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).",
2849
+ "Filter website content by sensitive categories (for example, adult).",
2850
+ "Target ads to a specific environment (for example, web or app).",
2851
+ "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).",
2852
+ "Target ads to a specific operating system (for example, macOS).",
2853
+ "Target ads to a specific device make or model (for example, Roku or Samsung).",
2854
+ "Target ads to a specific keyword (for example, dog or retriever).",
2855
+ "Target ads to a specific negative keyword list.",
2856
+ "Target ads to a specific viewability (for example, 80% viewable).",
2857
+ "Target ads to a specific content category (for example, arts & entertainment).",
2858
+ "Purchase impressions from specific deals and auction packages.",
2859
+ "Target ads to a specific language (for example, English or Japanese).",
2860
+ "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.",
2861
+ "Target ads to a specific regional location (for example, a city or state).",
2862
+ "Purchase impressions from a group of deals and auction packages.",
2863
+ "Purchase impressions from specific exchanges.",
2864
+ "Purchase impressions from specific sub-exchanges.",
2865
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
2866
+ "Target ads around locations of a business chain within a specific geo region.",
2867
+ "Target ads to a specific video content duration.",
2868
+ "Target ads to a specific video content stream type.",
2869
+ "Target ads to a specific native content position.",
2870
+ "Target ads in an Open Measurement enabled inventory.",
2871
+ "Target ads to a specific audio content type.",
2872
+ "Target ads to a specific content genre.",
2873
+ "Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
2874
+ "Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
2875
+ "Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.",
2876
+ "Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources."
2877
+ ],
1876
2878
  "location": "path",
1877
2879
  "pattern": "^[^/]+$",
1878
2880
  "required": true,
1879
2881
  "type": "string"
1880
2882
  }
1881
2883
  },
1882
- "path": "v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}",
2884
+ "path": "v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}",
1883
2885
  "response": {
1884
- "$ref": "InsertionOrder"
2886
+ "$ref": "AssignedTargetingOption"
1885
2887
  },
1886
2888
  "scopes": [
1887
2889
  "https://www.googleapis.com/auth/display-video"
1888
2890
  ]
1889
2891
  },
1890
2892
  "list": {
1891
- "description": "Lists insertion orders in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, insertion orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results.",
1892
- "flatPath": "v4/advertisers/{advertisersId}/insertionOrders",
2893
+ "description": "Lists the targeting options assigned to an insertion order.",
2894
+ "flatPath": "v4/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions",
1893
2895
  "httpMethod": "GET",
1894
- "id": "displayvideo.advertisers.insertionOrders.list",
2896
+ "id": "displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.list",
1895
2897
  "parameterOrder": [
1896
- "advertiserId"
2898
+ "advertiserId",
2899
+ "insertionOrderId",
2900
+ "targetingType"
1897
2901
  ],
1898
2902
  "parameters": {
1899
2903
  "advertiserId": {
1900
- "description": "Required. The ID of the advertiser to list insertion orders for.",
2904
+ "description": "Required. The ID of the advertiser the insertion order belongs to.",
1901
2905
  "format": "int64",
1902
2906
  "location": "path",
1903
2907
  "pattern": "^[^/]+$",
@@ -1905,80 +2909,159 @@
1905
2909
  "type": "string"
1906
2910
  },
1907
2911
  "filter": {
1908
- "description": "Allows filtering by insertion order fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All insertion orders under a campaign: `campaignId=\"1234\"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\")` * All insertion orders with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All insertion orders with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
2912
+ "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId=\"1\" OR assignedTargetingOptionId=\"2\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
1909
2913
  "location": "query",
1910
2914
  "type": "string"
1911
2915
  },
2916
+ "insertionOrderId": {
2917
+ "description": "Required. The ID of the insertion order to list assigned targeting options for.",
2918
+ "format": "int64",
2919
+ "location": "path",
2920
+ "pattern": "^[^/]+$",
2921
+ "required": true,
2922
+ "type": "string"
2923
+ },
1912
2924
  "orderBy": {
1913
- "description": "Field by which to sort the list. Acceptable values are: * \"displayName\" (default) * \"entityStatus\" * \"updateTime\" The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.",
2925
+ "description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.",
1914
2926
  "location": "query",
1915
2927
  "type": "string"
1916
2928
  },
1917
2929
  "pageSize": {
1918
- "description": "Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
2930
+ "description": "Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
1919
2931
  "format": "int32",
1920
2932
  "location": "query",
1921
2933
  "type": "integer"
1922
2934
  },
1923
2935
  "pageToken": {
1924
- "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInsertionOrders` method. If not specified, the first page of results will be returned.",
2936
+ "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInsertionOrderAssignedTargetingOptions` method. If not specified, the first page of results will be returned.",
1925
2937
  "location": "query",
1926
2938
  "type": "string"
1927
- }
1928
- },
1929
- "path": "v4/advertisers/{+advertiserId}/insertionOrders",
1930
- "response": {
1931
- "$ref": "ListInsertionOrdersResponse"
1932
- },
1933
- "scopes": [
1934
- "https://www.googleapis.com/auth/display-video"
1935
- ]
1936
2939
  },
1937
- "patch": {
1938
- "description": "Updates an existing insertion order. Returns the updated insertion order if successful.",
1939
- "flatPath": "v4/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}",
1940
- "httpMethod": "PATCH",
1941
- "id": "displayvideo.advertisers.insertionOrders.patch",
1942
- "parameterOrder": [
1943
- "advertiserId",
1944
- "insertionOrderId"
2940
+ "targetingType": {
2941
+ "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`",
2942
+ "enum": [
2943
+ "TARGETING_TYPE_UNSPECIFIED",
2944
+ "TARGETING_TYPE_CHANNEL",
2945
+ "TARGETING_TYPE_APP_CATEGORY",
2946
+ "TARGETING_TYPE_APP",
2947
+ "TARGETING_TYPE_URL",
2948
+ "TARGETING_TYPE_DAY_AND_TIME",
2949
+ "TARGETING_TYPE_AGE_RANGE",
2950
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
2951
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
2952
+ "TARGETING_TYPE_GENDER",
2953
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
2954
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
2955
+ "TARGETING_TYPE_PARENTAL_STATUS",
2956
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
2957
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
2958
+ "TARGETING_TYPE_DEVICE_TYPE",
2959
+ "TARGETING_TYPE_AUDIENCE_GROUP",
2960
+ "TARGETING_TYPE_BROWSER",
2961
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
2962
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
2963
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
2964
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
2965
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
2966
+ "TARGETING_TYPE_ENVIRONMENT",
2967
+ "TARGETING_TYPE_CARRIER_AND_ISP",
2968
+ "TARGETING_TYPE_OPERATING_SYSTEM",
2969
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
2970
+ "TARGETING_TYPE_KEYWORD",
2971
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
2972
+ "TARGETING_TYPE_VIEWABILITY",
2973
+ "TARGETING_TYPE_CATEGORY",
2974
+ "TARGETING_TYPE_INVENTORY_SOURCE",
2975
+ "TARGETING_TYPE_LANGUAGE",
2976
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
2977
+ "TARGETING_TYPE_GEO_REGION",
2978
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
2979
+ "TARGETING_TYPE_EXCHANGE",
2980
+ "TARGETING_TYPE_SUB_EXCHANGE",
2981
+ "TARGETING_TYPE_POI",
2982
+ "TARGETING_TYPE_BUSINESS_CHAIN",
2983
+ "TARGETING_TYPE_CONTENT_DURATION",
2984
+ "TARGETING_TYPE_CONTENT_STREAM_TYPE",
2985
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
2986
+ "TARGETING_TYPE_OMID",
2987
+ "TARGETING_TYPE_AUDIO_CONTENT_TYPE",
2988
+ "TARGETING_TYPE_CONTENT_GENRE",
2989
+ "TARGETING_TYPE_YOUTUBE_VIDEO",
2990
+ "TARGETING_TYPE_YOUTUBE_CHANNEL",
2991
+ "TARGETING_TYPE_SESSION_POSITION",
2992
+ "TARGETING_TYPE_CONTENT_THEME_EXCLUSION"
2993
+ ],
2994
+ "enumDescriptions": [
2995
+ "Default value when type is not specified or is unknown in this version.",
2996
+ "Target a channel (a custom group of related websites or apps).",
2997
+ "Target an app category (for example, education or puzzle games).",
2998
+ "Target a specific app (for example, Angry Birds).",
2999
+ "Target a specific url (for example, quora.com).",
3000
+ "Target ads during a chosen time period on a specific day.",
3001
+ "Target ads to a specific age range (for example, 18-24).",
3002
+ "Target ads to the specified regions on a regional location list.",
3003
+ "Target ads to the specified points of interest on a proximity location list.",
3004
+ "Target ads to a specific gender (for example, female or male).",
3005
+ "Target a specific video player size for video ads.",
3006
+ "Target user rewarded content for video ads.",
3007
+ "Target ads to a specific parental status (for example, parent or not a parent).",
3008
+ "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).",
3009
+ "Target ads in a specific content outstream position.",
3010
+ "Target ads to a specific device type (for example, tablet or connected TV).",
3011
+ "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.",
3012
+ "Target ads to specific web browsers (for example, Chrome).",
3013
+ "Target ads to a specific household income range (for example, top 10%).",
3014
+ "Target ads in a specific on screen position.",
3015
+ "Filter web sites through third party verification (for example, IAS or DoubleVerify).",
3016
+ "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).",
3017
+ "Filter website content by sensitive categories (for example, adult).",
3018
+ "Target ads to a specific environment (for example, web or app).",
3019
+ "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).",
3020
+ "Target ads to a specific operating system (for example, macOS).",
3021
+ "Target ads to a specific device make or model (for example, Roku or Samsung).",
3022
+ "Target ads to a specific keyword (for example, dog or retriever).",
3023
+ "Target ads to a specific negative keyword list.",
3024
+ "Target ads to a specific viewability (for example, 80% viewable).",
3025
+ "Target ads to a specific content category (for example, arts & entertainment).",
3026
+ "Purchase impressions from specific deals and auction packages.",
3027
+ "Target ads to a specific language (for example, English or Japanese).",
3028
+ "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.",
3029
+ "Target ads to a specific regional location (for example, a city or state).",
3030
+ "Purchase impressions from a group of deals and auction packages.",
3031
+ "Purchase impressions from specific exchanges.",
3032
+ "Purchase impressions from specific sub-exchanges.",
3033
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
3034
+ "Target ads around locations of a business chain within a specific geo region.",
3035
+ "Target ads to a specific video content duration.",
3036
+ "Target ads to a specific video content stream type.",
3037
+ "Target ads to a specific native content position.",
3038
+ "Target ads in an Open Measurement enabled inventory.",
3039
+ "Target ads to a specific audio content type.",
3040
+ "Target ads to a specific content genre.",
3041
+ "Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
3042
+ "Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
3043
+ "Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.",
3044
+ "Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources."
1945
3045
  ],
1946
- "parameters": {
1947
- "advertiserId": {
1948
- "description": "Output only. The unique ID of the advertiser the insertion order belongs to.",
1949
- "format": "int64",
1950
- "location": "path",
1951
- "pattern": "^[^/]+$",
1952
- "required": true,
1953
- "type": "string"
1954
- },
1955
- "insertionOrderId": {
1956
- "description": "Output only. The unique ID of the insertion order. Assigned by the system.",
1957
- "format": "int64",
1958
3046
  "location": "path",
1959
3047
  "pattern": "^[^/]+$",
1960
3048
  "required": true,
1961
3049
  "type": "string"
1962
- },
1963
- "updateMask": {
1964
- "description": "Required. The mask to control which fields to update.",
1965
- "format": "google-fieldmask",
1966
- "location": "query",
1967
- "type": "string"
1968
3050
  }
1969
3051
  },
1970
- "path": "v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}",
1971
- "request": {
1972
- "$ref": "InsertionOrder"
1973
- },
3052
+ "path": "v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions",
1974
3053
  "response": {
1975
- "$ref": "InsertionOrder"
3054
+ "$ref": "ListInsertionOrderAssignedTargetingOptionsResponse"
1976
3055
  },
1977
3056
  "scopes": [
1978
3057
  "https://www.googleapis.com/auth/display-video"
1979
3058
  ]
1980
3059
  }
1981
3060
  }
3061
+ }
3062
+ }
3063
+ }
3064
+ }
1982
3065
  },
1983
3066
  "invoices": {
1984
3067
  "methods": {
@@ -8219,7 +9302,7 @@
8219
9302
  }
8220
9303
  }
8221
9304
  },
8222
- "revision": "20250709",
9305
+ "revision": "20250729",
8223
9306
  "rootUrl": "https://displayvideo.googleapis.com/",
8224
9307
  "schemas": {
8225
9308
  "ActiveViewVideoViewabilityMetricConfig": {
@@ -11020,6 +12103,40 @@
11020
12103
  },
11021
12104
  "type": "object"
11022
12105
  },
12106
+ "BulkListCampaignAssignedTargetingOptionsResponse": {
12107
+ "id": "BulkListCampaignAssignedTargetingOptionsResponse",
12108
+ "properties": {
12109
+ "assignedTargetingOptions": {
12110
+ "description": "The list of assigned targeting options. This list will be absent if empty.",
12111
+ "items": {
12112
+ "$ref": "AssignedTargetingOption"
12113
+ },
12114
+ "type": "array"
12115
+ },
12116
+ "nextPageToken": {
12117
+ "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent BulkListCampaignAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.",
12118
+ "type": "string"
12119
+ }
12120
+ },
12121
+ "type": "object"
12122
+ },
12123
+ "BulkListInsertionOrderAssignedTargetingOptionsResponse": {
12124
+ "id": "BulkListInsertionOrderAssignedTargetingOptionsResponse",
12125
+ "properties": {
12126
+ "assignedTargetingOptions": {
12127
+ "description": "The list of assigned targeting options. This list will be absent if empty.",
12128
+ "items": {
12129
+ "$ref": "AssignedTargetingOption"
12130
+ },
12131
+ "type": "array"
12132
+ },
12133
+ "nextPageToken": {
12134
+ "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent BulkListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.",
12135
+ "type": "string"
12136
+ }
12137
+ },
12138
+ "type": "object"
12139
+ },
11023
12140
  "BulkUpdateLineItemsRequest": {
11024
12141
  "description": "Request message for LineItemService.BulkUpdateLineItems.",
11025
12142
  "id": "BulkUpdateLineItemsRequest",
@@ -12440,7 +13557,7 @@ true,
12440
13557
  true,
12441
13558
  true,
12442
13559
  true,
12443
- false,
13560
+ true,
12444
13561
  false,
12445
13562
  false,
12446
13563
  false,
@@ -18090,6 +19207,24 @@ false
18090
19207
  },
18091
19208
  "type": "object"
18092
19209
  },
19210
+ "ListCampaignAssignedTargetingOptionsResponse": {
19211
+ "description": "Response message for ListCampaignAssignedTargetingOptions.",
19212
+ "id": "ListCampaignAssignedTargetingOptionsResponse",
19213
+ "properties": {
19214
+ "assignedTargetingOptions": {
19215
+ "description": "The list of assigned targeting options. This list will be absent if empty.",
19216
+ "items": {
19217
+ "$ref": "AssignedTargetingOption"
19218
+ },
19219
+ "type": "array"
19220
+ },
19221
+ "nextPageToken": {
19222
+ "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListCampaignAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.",
19223
+ "type": "string"
19224
+ }
19225
+ },
19226
+ "type": "object"
19227
+ },
18093
19228
  "ListCampaignsResponse": {
18094
19229
  "id": "ListCampaignsResponse",
18095
19230
  "properties": {
@@ -18294,6 +19429,23 @@ false
18294
19429
  },
18295
19430
  "type": "object"
18296
19431
  },
19432
+ "ListInsertionOrderAssignedTargetingOptionsResponse": {
19433
+ "id": "ListInsertionOrderAssignedTargetingOptionsResponse",
19434
+ "properties": {
19435
+ "assignedTargetingOptions": {
19436
+ "description": "The list of assigned targeting options. This list will be absent if empty.",
19437
+ "items": {
19438
+ "$ref": "AssignedTargetingOption"
19439
+ },
19440
+ "type": "array"
19441
+ },
19442
+ "nextPageToken": {
19443
+ "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.",
19444
+ "type": "string"
19445
+ }
19446
+ },
19447
+ "type": "object"
19448
+ },
18297
19449
  "ListInsertionOrdersResponse": {
18298
19450
  "id": "ListInsertionOrdersResponse",
18299
19451
  "properties": {
@@ -20200,7 +21352,7 @@ true,
20200
21352
  true,
20201
21353
  true,
20202
21354
  true,
20203
- false,
21355
+ true,
20204
21356
  false,
20205
21357
  false,
20206
21358
  false,
@@ -20286,7 +21438,7 @@ true,
20286
21438
  true,
20287
21439
  true,
20288
21440
  true,
20289
- false,
21441
+ true,
20290
21442
  false,
20291
21443
  false,
20292
21444
  false,