Update all json files; make some fixes to make it work at all

This commit is contained in:
Sebastian Thiel
2022-03-08 07:59:31 +08:00
parent d12cd3238e
commit 743a56f4b7
372 changed files with 256017 additions and 32197 deletions

View File

@@ -105,46 +105,6 @@
},
"protocol": "rest",
"resources": {
"lineitems": {
"methods": {
"downloadlineitems": {
"description": "Retrieves line items in CSV format. YouTube & partners line items are not supported.",
"flatPath": "lineitems/downloadlineitems",
"httpMethod": "POST",
"id": "doubleclickbidmanager.lineitems.downloadlineitems",
"parameterOrder": [],
"parameters": {},
"path": "lineitems/downloadlineitems",
"request": {
"$ref": "DownloadLineItemsRequest"
},
"response": {
"$ref": "DownloadLineItemsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/doubleclickbidmanager"
]
},
"uploadlineitems": {
"description": "Uploads line items in CSV format. YouTube & partners line items are not supported.",
"flatPath": "lineitems/uploadlineitems",
"httpMethod": "POST",
"id": "doubleclickbidmanager.lineitems.uploadlineitems",
"parameterOrder": [],
"parameters": {},
"path": "lineitems/uploadlineitems",
"request": {
"$ref": "UploadLineItemsRequest"
},
"response": {
"$ref": "UploadLineItemsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/doubleclickbidmanager"
]
}
}
},
"queries": {
"methods": {
"createquery": {
@@ -318,31 +278,9 @@
]
}
}
},
"sdf": {
"methods": {
"download": {
"description": "Retrieves entities in SDF format.",
"flatPath": "sdf/download",
"httpMethod": "POST",
"id": "doubleclickbidmanager.sdf.download",
"parameterOrder": [],
"parameters": {},
"path": "sdf/download",
"request": {
"$ref": "DownloadRequest"
},
"response": {
"$ref": "DownloadResponse"
},
"scopes": [
"https://www.googleapis.com/auth/doubleclickbidmanager"
]
}
}
}
},
"revision": "20210323",
"revision": "20220302",
"rootUrl": "https://doubleclickbidmanager.googleapis.com/",
"schemas": {
"ChannelGrouping": {
@@ -381,158 +319,6 @@
},
"type": "object"
},
"DownloadLineItemsRequest": {
"description": "Request to fetch stored line items.",
"id": "DownloadLineItemsRequest",
"properties": {
"fileSpec": {
"description": "File specification (column names, types, order) in which the line items will be returned. Default to EWF.",
"enum": [
"EWF"
],
"enumDescriptions": [
""
],
"type": "string"
},
"filterIds": {
"description": "Ids of the specified filter type used to filter line items to fetch. If omitted, all the line items will be returned.",
"items": {
"format": "int64",
"type": "string"
},
"type": "array"
},
"filterType": {
"description": "Filter type used to filter line items to fetch.",
"enum": [
"ADVERTISER_ID",
"INSERTION_ORDER_ID",
"LINE_ITEM_ID"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"format": {
"description": "Format in which the line items will be returned. Default to CSV.",
"enum": [
"CSV"
],
"enumDescriptions": [
""
],
"type": "string"
}
},
"type": "object"
},
"DownloadLineItemsResponse": {
"description": "Download line items response.",
"id": "DownloadLineItemsResponse",
"properties": {
"lineItems": {
"description": "Retrieved line items in CSV format. For more information about file formats, see Entity Write File Format.",
"type": "string"
}
},
"type": "object"
},
"DownloadRequest": {
"description": "Request to fetch stored inventory sources, campaigns, insertion orders, line items, YouTube ad groups and ads.",
"id": "DownloadRequest",
"properties": {
"fileTypes": {
"description": "File types that will be returned. If INVENTORY_SOURCE is requested, no other file types may be requested. Acceptable values are: - \"AD\" - \"AD_GROUP\" - \"CAMPAIGN\" - \"INSERTION_ORDER\" - \"INVENTORY_SOURCE\" - \"LINE_ITEM\" ",
"items": {
"enum": [
"INSERTION_ORDER",
"LINE_ITEM",
"AD_GROUP",
"AD",
"CAMPAIGN",
"INVENTORY_SOURCE"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"type": "array"
},
"filterIds": {
"description": "The IDs of the specified filter type. This is used to filter entities to fetch. At least one ID must be specified.",
"items": {
"format": "int64",
"type": "string"
},
"type": "array"
},
"filterType": {
"description": "Filter type used to filter entities to fetch. PARTNER_ID and INVENTORY_SOURCE_ID may only be used when downloading inventory sources.",
"enum": [
"ADVERTISER_ID",
"INSERTION_ORDER_ID",
"LINE_ITEM_ID",
"CAMPAIGN_ID",
"INVENTORY_SOURCE_ID",
"PARTNER_ID"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"version": {
"description": "SDF Version (column names, types, order) in which the entities will be returned. Default to 5.",
"type": "string"
}
},
"type": "object"
},
"DownloadResponse": {
"description": "Download response.",
"id": "DownloadResponse",
"properties": {
"adGroups": {
"description": "Retrieved ad groups in SDF format.",
"type": "string"
},
"ads": {
"description": "Retrieved ads in SDF format.",
"type": "string"
},
"campaigns": {
"description": "Retrieved campaigns in SDF format.",
"type": "string"
},
"insertionOrders": {
"description": "Retrieved insertion orders in SDF format.",
"type": "string"
},
"inventorySources": {
"type": "string"
},
"lineItems": {
"description": "Retrieved line items in SDF format.",
"type": "string"
}
},
"type": "object"
},
"EventFilter": {
"description": "Defines the type of filter to be applied to the path, a DV360 event dimension filter.",
"id": "EventFilter",
@@ -814,7 +600,35 @@
"FILTER_OM_SDK_AVAILABLE",
"FILTER_DATA_SOURCE",
"FILTER_CM360_PLACEMENT_ID",
"FILTER_TRUEVIEW_CLICK_TYPE_NAME"
"FILTER_TRUEVIEW_CLICK_TYPE_NAME",
"FILTER_TRUEVIEW_AD_TYPE_NAME",
"FILTER_VIDEO_CONTENT_DURATION",
"FILTER_MATCHED_GENRE_TARGET",
"FILTER_VIDEO_CONTENT_LIVE_STREAM",
"FILTER_BUDGET_SEGMENT_TYPE",
"FILTER_BUDGET_SEGMENT_BUDGET",
"FILTER_BUDGET_SEGMENT_START_DATE",
"FILTER_BUDGET_SEGMENT_END_DATE",
"FILTER_BUDGET_SEGMENT_PACING_PERCENTAGE",
"FILTER_LINE_ITEM_BUDGET",
"FILTER_LINE_ITEM_START_DATE",
"FILTER_LINE_ITEM_END_DATE",
"FILTER_INSERTION_ORDER_GOAL_TYPE",
"FILTER_LINE_ITEM_PACING_PERCENTAGE",
"FILTER_INSERTION_ORDER_GOAL_VALUE",
"FILTER_OMID_CAPABLE",
"FILTER_VENDOR_MEASUREMENT_MODE",
"FILTER_IMPRESSION_LOSS_REJECTION_REASON",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_START",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_FIRST_QUARTILE",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_MID_POINT",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_THIRD_QUARTILE",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_COMPLETE",
"FILTER_VERIFICATION_VIDEO_RESIZED",
"FILTER_VERIFICATION_AUDIBILITY_START",
"FILTER_VERIFICATION_AUDIBILITY_COMPLETE",
"FILTER_MEDIA_TYPE",
"FILTER_AUDIO_FEED_TYPE_NAME"
],
"enumDescriptions": [
"",
@@ -1080,6 +894,34 @@
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
@@ -1428,7 +1270,35 @@
"FILTER_OM_SDK_AVAILABLE",
"FILTER_DATA_SOURCE",
"FILTER_CM360_PLACEMENT_ID",
"FILTER_TRUEVIEW_CLICK_TYPE_NAME"
"FILTER_TRUEVIEW_CLICK_TYPE_NAME",
"FILTER_TRUEVIEW_AD_TYPE_NAME",
"FILTER_VIDEO_CONTENT_DURATION",
"FILTER_MATCHED_GENRE_TARGET",
"FILTER_VIDEO_CONTENT_LIVE_STREAM",
"FILTER_BUDGET_SEGMENT_TYPE",
"FILTER_BUDGET_SEGMENT_BUDGET",
"FILTER_BUDGET_SEGMENT_START_DATE",
"FILTER_BUDGET_SEGMENT_END_DATE",
"FILTER_BUDGET_SEGMENT_PACING_PERCENTAGE",
"FILTER_LINE_ITEM_BUDGET",
"FILTER_LINE_ITEM_START_DATE",
"FILTER_LINE_ITEM_END_DATE",
"FILTER_INSERTION_ORDER_GOAL_TYPE",
"FILTER_LINE_ITEM_PACING_PERCENTAGE",
"FILTER_INSERTION_ORDER_GOAL_VALUE",
"FILTER_OMID_CAPABLE",
"FILTER_VENDOR_MEASUREMENT_MODE",
"FILTER_IMPRESSION_LOSS_REJECTION_REASON",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_START",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_FIRST_QUARTILE",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_MID_POINT",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_THIRD_QUARTILE",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_COMPLETE",
"FILTER_VERIFICATION_VIDEO_RESIZED",
"FILTER_VERIFICATION_AUDIBILITY_START",
"FILTER_VERIFICATION_AUDIBILITY_COMPLETE",
"FILTER_MEDIA_TYPE",
"FILTER_AUDIO_FEED_TYPE_NAME"
],
"enumDescriptions": [
"",
@@ -1694,6 +1564,34 @@
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
@@ -2162,7 +2060,21 @@
"METRIC_CM360_POST_VIEW_REVENUE",
"METRIC_CM360_POST_CLICK_REVENUE",
"METRIC_CM360_POST_CLICK_REVENUE_CROSS_ENVIRONMENT",
"METRIC_CM360_POST_VIEW_REVENUE_CROSS_ENVIRONMENT"
"METRIC_CM360_POST_VIEW_REVENUE_CROSS_ENVIRONMENT",
"METRIC_PERCENTAGE_FROM_CURRENT_IO_GOAL",
"METRIC_DUPLICATE_FLOODLIGHT_IMPRESSIONS",
"METRIC_COOKIE_CONSENTED_FLOODLIGHT_IMPRESSIONS",
"METRIC_COOKIE_UNCONSENTED_FLOODLIGHT_IMPRESSIONS",
"METRIC_TRACKING_UNCONSENTED_CLICKS",
"METRIC_IMPRESSION_LOSS_TARGETED_IMPRESSIONS",
"METRIC_LINEITEM_BID_RESPONSE_COUNT",
"METRIC_WIN_LOSS_RATE",
"METRIC_WIN_LOSS_DEAL_AVAILABLE_REQUESTS",
"METRIC_WIN_LOSS_LINEITEM_AVAILABLE_REQUESTS",
"METRIC_WIN_LOSS_DEAL_TARGETED_IMPRESSIONS",
"METRIC_WIN_LOSS_LINEITEM_TARGETED_IMPRESSIONS",
"METRIC_VERIFICATION_VIDEO_PLAYER_SIZE_MEASURABLE_IMPRESSIONS",
"METRIC_TRUEVIEW_ALL_AD_SEQUENCE_IMPRESSIONS"
],
"enumDescriptions": [
"",
@@ -2619,6 +2531,20 @@
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
@@ -3024,7 +2950,35 @@
"FILTER_OM_SDK_AVAILABLE",
"FILTER_DATA_SOURCE",
"FILTER_CM360_PLACEMENT_ID",
"FILTER_TRUEVIEW_CLICK_TYPE_NAME"
"FILTER_TRUEVIEW_CLICK_TYPE_NAME",
"FILTER_TRUEVIEW_AD_TYPE_NAME",
"FILTER_VIDEO_CONTENT_DURATION",
"FILTER_MATCHED_GENRE_TARGET",
"FILTER_VIDEO_CONTENT_LIVE_STREAM",
"FILTER_BUDGET_SEGMENT_TYPE",
"FILTER_BUDGET_SEGMENT_BUDGET",
"FILTER_BUDGET_SEGMENT_START_DATE",
"FILTER_BUDGET_SEGMENT_END_DATE",
"FILTER_BUDGET_SEGMENT_PACING_PERCENTAGE",
"FILTER_LINE_ITEM_BUDGET",
"FILTER_LINE_ITEM_START_DATE",
"FILTER_LINE_ITEM_END_DATE",
"FILTER_INSERTION_ORDER_GOAL_TYPE",
"FILTER_LINE_ITEM_PACING_PERCENTAGE",
"FILTER_INSERTION_ORDER_GOAL_VALUE",
"FILTER_OMID_CAPABLE",
"FILTER_VENDOR_MEASUREMENT_MODE",
"FILTER_IMPRESSION_LOSS_REJECTION_REASON",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_START",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_FIRST_QUARTILE",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_MID_POINT",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_THIRD_QUARTILE",
"FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_COMPLETE",
"FILTER_VERIFICATION_VIDEO_RESIZED",
"FILTER_VERIFICATION_AUDIBILITY_START",
"FILTER_VERIFICATION_AUDIBILITY_COMPLETE",
"FILTER_MEDIA_TYPE",
"FILTER_AUDIO_FEED_TYPE_NAME"
],
"enumDescriptions": [
"",
@@ -3290,6 +3244,34 @@
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
@@ -3491,7 +3473,8 @@
"WEEKLY",
"SEMI_MONTHLY",
"MONTHLY",
"QUARTERLY"
"QUARTERLY",
"YEARLY"
],
"enumDescriptions": [
"",
@@ -3499,6 +3482,7 @@
"",
"",
"",
"",
""
],
"type": "string"
@@ -3676,42 +3660,6 @@
},
"type": "object"
},
"RowStatus": {
"description": "Represents the upload status of a row in the request.",
"id": "RowStatus",
"properties": {
"changed": {
"description": "Whether the stored entity is changed as a result of upload.",
"type": "boolean"
},
"entityId": {
"description": "Entity Id.",
"format": "int64",
"type": "string"
},
"entityName": {
"description": "Entity name.",
"type": "string"
},
"errors": {
"description": "Reasons why the entity can't be uploaded.",
"items": {
"type": "string"
},
"type": "array"
},
"persisted": {
"description": "Whether the entity is persisted.",
"type": "boolean"
},
"rowNumber": {
"description": "Row number.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"Rule": {
"description": "A Rule defines a name, and a boolean expression in [conjunctive normal form](http: //mathworld.wolfram.com/ConjunctiveNormalForm.html){.external} that can be // applied to a path event to determine if that name should be applied.",
"id": "Rule",
@@ -3797,63 +3745,6 @@
}
},
"type": "object"
},
"UploadLineItemsRequest": {
"description": "Request to upload line items.",
"id": "UploadLineItemsRequest",
"properties": {
"dryRun": {
"description": "Set to true to get upload status without actually persisting the line items.",
"type": "boolean"
},
"format": {
"description": "Format the line items are in. Default to CSV.",
"enum": [
"CSV"
],
"enumDescriptions": [
""
],
"type": "string"
},
"lineItems": {
"description": "Line items in CSV to upload. Refer to Entity Write File Format for more information on file format.",
"type": "string"
}
},
"type": "object"
},
"UploadLineItemsResponse": {
"description": "Upload line items response.",
"id": "UploadLineItemsResponse",
"properties": {
"uploadStatus": {
"$ref": "UploadStatus",
"description": "Status of upload."
}
},
"type": "object"
},
"UploadStatus": {
"description": "Represents the status of upload.",
"id": "UploadStatus",
"properties": {
"errors": {
"description": "Reasons why upload can't be completed.",
"items": {
"type": "string"
},
"type": "array"
},
"rowStatus": {
"description": "Per-row upload status.",
"items": {
"$ref": "RowStatus"
},
"type": "array"
}
},
"type": "object"
}
},
"servicePath": "doubleclickbidmanager/v1.1/",