Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: discovery/googleapis/doubleclickbidmanager__v1.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: discovery/googleapis/doubleclickbidmanager__v1.json
diff --git a/discovery/googleapis/doubleclickbidmanager__v1.json b/discovery/googleapis/doubleclickbidmanager__v1.json
new file mode 100644
index 0000000000000000000000000000000000000000..cd465f39b1ae6821370fa6ea669b5967db73de05
--- /dev/null
+++ b/discovery/googleapis/doubleclickbidmanager__v1.json
@@ -0,0 +1,1498 @@
+{
+ "basePath": "/doubleclickbidmanager/v1/",
+ "baseUrl": "https://www.googleapis.com/doubleclickbidmanager/v1/",
+ "batchPath": "batch",
+ "canonicalName": "DoubleClick Bid Manager",
+ "description": "API for viewing and managing your reports in DoubleClick Bid Manager.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://developers.google.com/bid-manager/",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/Xt8yN3tZcmaa98PBixxfMwJ2TF0\"",
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "doubleclickbidmanager:v1",
+ "kind": "discovery#restDescription",
+ "labels": [
+ "limited_availability"
+ ],
+ "name": "doubleclickbidmanager",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "alt": {
+ "default": "json",
+ "description": "Data format for the response.",
+ "enum": [
+ "json"
+ ],
+ "enumDescriptions": [
+ "Responses with Content-Type of application/json"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
+ "location": "query",
+ "type": "string"
+ },
+ "userIp": {
+ "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "lineitems": {
+ "methods": {
+ "downloadlineitems": {
+ "description": "Retrieves line items in CSV format.",
+ "httpMethod": "POST",
+ "id": "doubleclickbidmanager.lineitems.downloadlineitems",
+ "path": "lineitems/downloadlineitems",
+ "request": {
+ "$ref": "DownloadLineItemsRequest"
+ },
+ "response": {
+ "$ref": "DownloadLineItemsResponse"
+ }
+ },
+ "uploadlineitems": {
+ "description": "Uploads line items in CSV format.",
+ "httpMethod": "POST",
+ "id": "doubleclickbidmanager.lineitems.uploadlineitems",
+ "path": "lineitems/uploadlineitems",
+ "request": {
+ "$ref": "UploadLineItemsRequest"
+ },
+ "response": {
+ "$ref": "UploadLineItemsResponse"
+ }
+ }
+ }
+ },
+ "queries": {
+ "methods": {
+ "createquery": {
+ "description": "Creates a query.",
+ "httpMethod": "POST",
+ "id": "doubleclickbidmanager.queries.createquery",
+ "path": "query",
+ "request": {
+ "$ref": "Query"
+ },
+ "response": {
+ "$ref": "Query"
+ }
+ },
+ "deletequery": {
+ "description": "Deletes a stored query as well as the associated stored reports.",
+ "httpMethod": "DELETE",
+ "id": "doubleclickbidmanager.queries.deletequery",
+ "parameterOrder": [
+ "queryId"
+ ],
+ "parameters": {
+ "queryId": {
+ "description": "Query ID to delete.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "query/{queryId}"
+ },
+ "getquery": {
+ "description": "Retrieves a stored query.",
+ "httpMethod": "GET",
+ "id": "doubleclickbidmanager.queries.getquery",
+ "parameterOrder": [
+ "queryId"
+ ],
+ "parameters": {
+ "queryId": {
+ "description": "Query ID to retrieve.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "query/{queryId}",
+ "response": {
+ "$ref": "Query"
+ }
+ },
+ "listqueries": {
+ "description": "Retrieves stored queries.",
+ "httpMethod": "GET",
+ "id": "doubleclickbidmanager.queries.listqueries",
+ "path": "queries",
+ "response": {
+ "$ref": "ListQueriesResponse"
+ }
+ },
+ "runquery": {
+ "description": "Runs a stored query to generate a report.",
+ "httpMethod": "POST",
+ "id": "doubleclickbidmanager.queries.runquery",
+ "parameterOrder": [
+ "queryId"
+ ],
+ "parameters": {
+ "queryId": {
+ "description": "Query ID to run.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "query/{queryId}",
+ "request": {
+ "$ref": "RunQueryRequest"
+ }
+ }
+ }
+ },
+ "reports": {
+ "methods": {
+ "listreports": {
+ "description": "Retrieves stored reports.",
+ "httpMethod": "GET",
+ "id": "doubleclickbidmanager.reports.listreports",
+ "parameterOrder": [
+ "queryId"
+ ],
+ "parameters": {
+ "queryId": {
+ "description": "Query ID with which the reports are associated.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "queries/{queryId}/reports",
+ "response": {
+ "$ref": "ListReportsResponse"
+ }
+ }
+ }
+ }
+ },
+ "revision": "20140213",
+ "rootUrl": "https://www.googleapis.com/",
+ "schemas": {
+ "DownloadLineItemsRequest": {
+ "description": "Request to fetch stored line items.",
+ "id": "DownloadLineItemsRequest",
+ "properties": {
+ "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. Refer to Entity Write File Format for more information on file format.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FilterPair": {
+ "description": "Filter used to match traffic data in your report.",
+ "id": "FilterPair",
+ "properties": {
+ "type": {
+ "description": "Filter type.",
+ "enum": [
+ "FILTER_ACTIVITY_ID",
+ "FILTER_ADVERTISER",
+ "FILTER_ADVERTISER_CURRENCY",
+ "FILTER_ADVERTISER_TIMEZONE",
+ "FILTER_AD_POSITION",
+ "FILTER_BRANDSAFE_CHANNEL_ID",
+ "FILTER_BROWSER",
+ "FILTER_CAMPAIGN_DAILY_FREQUENCY",
+ "FILTER_CARRIER",
+ "FILTER_CHANNEL_ID",
+ "FILTER_CITY",
+ "FILTER_CONVERSION_DELAY",
+ "FILTER_COUNTRY",
+ "FILTER_CREATIVE_ID",
+ "FILTER_CREATIVE_SIZE",
+ "FILTER_CREATIVE_TYPE",
+ "FILTER_DATA_PROVIDER",
+ "FILTER_DATE",
+ "FILTER_DAY_OF_WEEK",
+ "FILTER_DMA",
+ "FILTER_EXCHANGE_ID",
+ "FILTER_FLOODLIGHT_PIXEL_ID",
+ "FILTER_INSERTION_ORDER",
+ "FILTER_INVENTORY_FORMAT",
+ "FILTER_INVENTORY_SOURCE",
+ "FILTER_KEYWORD",
+ "FILTER_LINE_ITEM",
+ "FILTER_LINE_ITEM_DAILY_FREQUENCY",
+ "FILTER_LINE_ITEM_LIFETIME_FREQUENCY",
+ "FILTER_LINE_ITEM_TYPE",
+ "FILTER_MOBILE_DEVICE_MAKE",
+ "FILTER_MOBILE_DEVICE_MAKE_MODEL",
+ "FILTER_MOBILE_DEVICE_TYPE",
+ "FILTER_MONTH",
+ "FILTER_ORDER_ID",
+ "FILTER_OS",
+ "FILTER_PAGE_CATEGORY",
+ "FILTER_PAGE_LAYOUT",
+ "FILTER_PARTNER",
+ "FILTER_PARTNER_CURRENCY",
+ "FILTER_PUBLIC_INVENTORY",
+ "FILTER_REGION",
+ "FILTER_REGULAR_CHANNEL_ID",
+ "FILTER_SITE_ID",
+ "FILTER_SITE_LANGUAGE",
+ "FILTER_TARGETED_USER_LIST",
+ "FILTER_TIME_OF_DAY",
+ "FILTER_UNKNOWN",
+ "FILTER_USER_LIST",
+ "FILTER_USER_LIST_FIRST_PARTY",
+ "FILTER_USER_LIST_THIRD_PARTY",
+ "FILTER_VIDEO_AD_POSITION_IN_STREAM",
+ "FILTER_VIDEO_CREATIVE_DURATION",
+ "FILTER_VIDEO_DURATION_SECONDS",
+ "FILTER_VIDEO_FORMAT_SUPPORT",
+ "FILTER_VIDEO_INVENTORY_TYPE",
+ "FILTER_VIDEO_PLAYER_SIZE",
+ "FILTER_VIDEO_RATING_TIER",
+ "FILTER_VIDEO_SKIPPABLE_SUPPORT",
+ "FILTER_VIDEO_VPAID_SUPPORT",
+ "FILTER_WEEK",
+ "FILTER_YEAR",
+ "FILTER_YOUTUBE_VERTICAL",
+ "FILTER_ZIP_CODE"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "value": {
+ "description": "Filter value.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListQueriesResponse": {
+ "description": "List queries response.",
+ "id": "ListQueriesResponse",
+ "properties": {
+ "kind": {
+ "default": "doubleclickbidmanager#listQueriesResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"doubleclickbidmanager#listQueriesResponse\".",
+ "type": "string"
+ },
+ "queries": {
+ "description": "Retrieved queries.",
+ "items": {
+ "$ref": "Query"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListReportsResponse": {
+ "description": "List reports response.",
+ "id": "ListReportsResponse",
+ "properties": {
+ "kind": {
+ "default": "doubleclickbidmanager#listReportsResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"doubleclickbidmanager#listReportsResponse\".",
+ "type": "string"
+ },
+ "reports": {
+ "description": "Retrieved reports.",
+ "items": {
+ "$ref": "Report"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Parameters": {
+ "description": "Parameters of a query or report.",
+ "id": "Parameters",
+ "properties": {
+ "filters": {
+ "description": "Filters used to match traffic data in your report.",
+ "items": {
+ "$ref": "FilterPair"
+ },
+ "type": "array"
+ },
+ "groupBys": {
+ "description": "Data is grouped by the filters listed in this field.",
+ "items": {
+ "enum": [
+ "FILTER_ACTIVITY_ID",
+ "FILTER_ADVERTISER",
+ "FILTER_ADVERTISER_CURRENCY",
+ "FILTER_ADVERTISER_TIMEZONE",
+ "FILTER_AD_POSITION",
+ "FILTER_BRANDSAFE_CHANNEL_ID",
+ "FILTER_BROWSER",
+ "FILTER_CAMPAIGN_DAILY_FREQUENCY",
+ "FILTER_CARRIER",
+ "FILTER_CHANNEL_ID",
+ "FILTER_CITY",
+ "FILTER_CONVERSION_DELAY",
+ "FILTER_COUNTRY",
+ "FILTER_CREATIVE_ID",
+ "FILTER_CREATIVE_SIZE",
+ "FILTER_CREATIVE_TYPE",
+ "FILTER_DATA_PROVIDER",
+ "FILTER_DATE",
+ "FILTER_DAY_OF_WEEK",
+ "FILTER_DMA",
+ "FILTER_EXCHANGE_ID",
+ "FILTER_FLOODLIGHT_PIXEL_ID",
+ "FILTER_INSERTION_ORDER",
+ "FILTER_INVENTORY_FORMAT",
+ "FILTER_INVENTORY_SOURCE",
+ "FILTER_KEYWORD",
+ "FILTER_LINE_ITEM",
+ "FILTER_LINE_ITEM_DAILY_FREQUENCY",
+ "FILTER_LINE_ITEM_LIFETIME_FREQUENCY",
+ "FILTER_LINE_ITEM_TYPE",
+ "FILTER_MOBILE_DEVICE_MAKE",
+ "FILTER_MOBILE_DEVICE_MAKE_MODEL",
+ "FILTER_MOBILE_DEVICE_TYPE",
+ "FILTER_MONTH",
+ "FILTER_ORDER_ID",
+ "FILTER_OS",
+ "FILTER_PAGE_CATEGORY",
+ "FILTER_PAGE_LAYOUT",
+ "FILTER_PARTNER",
+ "FILTER_PARTNER_CURRENCY",
+ "FILTER_PUBLIC_INVENTORY",
+ "FILTER_REGION",
+ "FILTER_REGULAR_CHANNEL_ID",
+ "FILTER_SITE_ID",
+ "FILTER_SITE_LANGUAGE",
+ "FILTER_TARGETED_USER_LIST",
+ "FILTER_TIME_OF_DAY",
+ "FILTER_UNKNOWN",
+ "FILTER_USER_LIST",
+ "FILTER_USER_LIST_FIRST_PARTY",
+ "FILTER_USER_LIST_THIRD_PARTY",
+ "FILTER_VIDEO_AD_POSITION_IN_STREAM",
+ "FILTER_VIDEO_CREATIVE_DURATION",
+ "FILTER_VIDEO_DURATION_SECONDS",
+ "FILTER_VIDEO_FORMAT_SUPPORT",
+ "FILTER_VIDEO_INVENTORY_TYPE",
+ "FILTER_VIDEO_PLAYER_SIZE",
+ "FILTER_VIDEO_RATING_TIER",
+ "FILTER_VIDEO_SKIPPABLE_SUPPORT",
+ "FILTER_VIDEO_VPAID_SUPPORT",
+ "FILTER_WEEK",
+ "FILTER_YEAR",
+ "FILTER_YOUTUBE_VERTICAL",
+ "FILTER_ZIP_CODE"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "includeInviteData": {
+ "description": "Whether to include data from Invite Media.",
+ "type": "boolean"
+ },
+ "metrics": {
+ "description": "Metrics to include as columns in your report.",
+ "items": {
+ "enum": [
+ "METRIC_BID_REQUESTS",
+ "METRIC_BILLABLE_COST_ADVERTISER",
+ "METRIC_BILLABLE_COST_PARTNER",
+ "METRIC_BILLABLE_COST_USD",
+ "METRIC_CLICKS",
+ "METRIC_CLICK_TO_POST_CLICK_CONVERSION_RATE",
+ "METRIC_CONVERSIONS_PER_MILLE",
+ "METRIC_CPM_FEE1_ADVERTISER",
+ "METRIC_CPM_FEE1_PARTNER",
+ "METRIC_CPM_FEE1_USD",
+ "METRIC_CPM_FEE2_ADVERTISER",
+ "METRIC_CPM_FEE2_PARTNER",
+ "METRIC_CPM_FEE2_USD",
+ "METRIC_CTR",
+ "METRIC_DATA_COST_ADVERTISER",
+ "METRIC_DATA_COST_PARTNER",
+ "METRIC_DATA_COST_USD",
+ "METRIC_FEE10_ADVERTISER",
+ "METRIC_FEE10_PARTNER",
+ "METRIC_FEE10_USD",
+ "METRIC_FEE11_ADVERTISER",
+ "METRIC_FEE11_PARTNER",
+ "METRIC_FEE11_USD",
+ "METRIC_FEE12_ADVERTISER",
+ "METRIC_FEE12_PARTNER",
+ "METRIC_FEE12_USD",
+ "METRIC_FEE13_ADVERTISER",
+ "METRIC_FEE13_PARTNER",
+ "METRIC_FEE13_USD",
+ "METRIC_FEE14_ADVERTISER",
+ "METRIC_FEE14_PARTNER",
+ "METRIC_FEE14_USD",
+ "METRIC_FEE15_ADVERTISER",
+ "METRIC_FEE15_PARTNER",
+ "METRIC_FEE15_USD",
+ "METRIC_FEE2_ADVERTISER",
+ "METRIC_FEE2_PARTNER",
+ "METRIC_FEE2_USD",
+ "METRIC_FEE3_ADVERTISER",
+ "METRIC_FEE3_PARTNER",
+ "METRIC_FEE3_USD",
+ "METRIC_FEE4_ADVERTISER",
+ "METRIC_FEE4_PARTNER",
+ "METRIC_FEE4_USD",
+ "METRIC_FEE5_ADVERTISER",
+ "METRIC_FEE5_PARTNER",
+ "METRIC_FEE5_USD",
+ "METRIC_FEE6_ADVERTISER",
+ "METRIC_FEE6_PARTNER",
+ "METRIC_FEE6_USD",
+ "METRIC_FEE7_ADVERTISER",
+ "METRIC_FEE7_PARTNER",
+ "METRIC_FEE7_USD",
+ "METRIC_FEE8_ADVERTISER",
+ "METRIC_FEE8_PARTNER",
+ "METRIC_FEE8_USD",
+ "METRIC_FEE9_ADVERTISER",
+ "METRIC_FEE9_PARTNER",
+ "METRIC_FEE9_USD",
+ "METRIC_IMPRESSIONS",
+ "METRIC_IMPRESSIONS_TO_CONVERSION_RATE",
+ "METRIC_LAST_CLICKS",
+ "METRIC_LAST_IMPRESSIONS",
+ "METRIC_MEDIA_COST_ADVERTISER",
+ "METRIC_MEDIA_COST_ECPAPC_ADVERTISER",
+ "METRIC_MEDIA_COST_ECPAPC_PARTNER",
+ "METRIC_MEDIA_COST_ECPAPC_USD",
+ "METRIC_MEDIA_COST_ECPAPV_ADVERTISER",
+ "METRIC_MEDIA_COST_ECPAPV_PARTNER",
+ "METRIC_MEDIA_COST_ECPAPV_USD",
+ "METRIC_MEDIA_COST_ECPA_ADVERTISER",
+ "METRIC_MEDIA_COST_ECPA_PARTNER",
+ "METRIC_MEDIA_COST_ECPA_USD",
+ "METRIC_MEDIA_COST_ECPCV_ADVERTISER",
+ "METRIC_MEDIA_COST_ECPCV_PARTNER",
+ "METRIC_MEDIA_COST_ECPCV_USD",
+ "METRIC_MEDIA_COST_ECPC_ADVERTISER",
+ "METRIC_MEDIA_COST_ECPC_PARTNER",
+ "METRIC_MEDIA_COST_ECPC_USD",
+ "METRIC_MEDIA_COST_ECPM_ADVERTISER",
+ "METRIC_MEDIA_COST_ECPM_PARTNER",
+ "METRIC_MEDIA_COST_ECPM_USD",
+ "METRIC_MEDIA_COST_PARTNER",
+ "METRIC_MEDIA_COST_USD",
+ "METRIC_MEDIA_FEE1_ADVERTISER",
+ "METRIC_MEDIA_FEE1_PARTNER",
+ "METRIC_MEDIA_FEE1_USD",
+ "METRIC_MEDIA_FEE2_ADVERTISER",
+ "METRIC_MEDIA_FEE2_PARTNER",
+ "METRIC_MEDIA_FEE2_USD",
+ "METRIC_PIXEL_LOADS",
+ "METRIC_PLATFORM_FEE_ADVERTISER",
+ "METRIC_PLATFORM_FEE_PARTNER",
+ "METRIC_PLATFORM_FEE_USD",
+ "METRIC_POST_CLICK_DFA_REVENUE",
+ "METRIC_POST_VIEW_DFA_REVENUE",
+ "METRIC_PROFIT_ADVERTISER",
+ "METRIC_PROFIT_ECPAPC_ADVERTISER",
+ "METRIC_PROFIT_ECPAPC_PARTNER",
+ "METRIC_PROFIT_ECPAPC_USD",
+ "METRIC_PROFIT_ECPAPV_ADVERTISER",
+ "METRIC_PROFIT_ECPAPV_PARTNER",
+ "METRIC_PROFIT_ECPAPV_USD",
+ "METRIC_PROFIT_ECPA_ADVERTISER",
+ "METRIC_PROFIT_ECPA_PARTNER",
+ "METRIC_PROFIT_ECPA_USD",
+ "METRIC_PROFIT_ECPC_ADVERTISER",
+ "METRIC_PROFIT_ECPC_PARTNER",
+ "METRIC_PROFIT_ECPC_USD",
+ "METRIC_PROFIT_ECPM_ADVERTISER",
+ "METRIC_PROFIT_ECPM_PARTNER",
+ "METRIC_PROFIT_ECPM_USD",
+ "METRIC_PROFIT_MARGIN",
+ "METRIC_PROFIT_PARTNER",
+ "METRIC_PROFIT_USD",
+ "METRIC_REVENUE_ADVERTISER",
+ "METRIC_REVENUE_ECPAPC_ADVERTISER",
+ "METRIC_REVENUE_ECPAPC_PARTNER",
+ "METRIC_REVENUE_ECPAPC_USD",
+ "METRIC_REVENUE_ECPAPV_ADVERTISER",
+ "METRIC_REVENUE_ECPAPV_PARTNER",
+ "METRIC_REVENUE_ECPAPV_USD",
+ "METRIC_REVENUE_ECPA_ADVERTISER",
+ "METRIC_REVENUE_ECPA_PARTNER",
+ "METRIC_REVENUE_ECPA_USD",
+ "METRIC_REVENUE_ECPCV_ADVERTISER",
+ "METRIC_REVENUE_ECPCV_PARTNER",
+ "METRIC_REVENUE_ECPCV_USD",
+ "METRIC_REVENUE_ECPC_ADVERTISER",
+ "METRIC_REVENUE_ECPC_PARTNER",
+ "METRIC_REVENUE_ECPC_USD",
+ "METRIC_REVENUE_ECPM_ADVERTISER",
+ "METRIC_REVENUE_ECPM_PARTNER",
+ "METRIC_REVENUE_ECPM_USD",
+ "METRIC_REVENUE_PARTNER",
+ "METRIC_REVENUE_USD",
+ "METRIC_RICH_MEDIA_VIDEO_COMPLETIONS",
+ "METRIC_RICH_MEDIA_VIDEO_FIRST_QUARTILE_COMPLETES",
+ "METRIC_RICH_MEDIA_VIDEO_FULL_SCREENS",
+ "METRIC_RICH_MEDIA_VIDEO_MIDPOINTS",
+ "METRIC_RICH_MEDIA_VIDEO_MUTES",
+ "METRIC_RICH_MEDIA_VIDEO_PAUSES",
+ "METRIC_RICH_MEDIA_VIDEO_PLAYS",
+ "METRIC_RICH_MEDIA_VIDEO_SKIPS",
+ "METRIC_RICH_MEDIA_VIDEO_THIRD_QUARTILE_COMPLETES",
+ "METRIC_TOTAL_CONVERSIONS",
+ "METRIC_TOTAL_MEDIA_COST_ADVERTISER",
+ "METRIC_TOTAL_MEDIA_COST_ECPAPC_ADVERTISER",
+ "METRIC_TOTAL_MEDIA_COST_ECPAPC_PARTNER",
+ "METRIC_TOTAL_MEDIA_COST_ECPAPC_USD",
+ "METRIC_TOTAL_MEDIA_COST_ECPAPV_ADVERTISER",
+ "METRIC_TOTAL_MEDIA_COST_ECPAPV_PARTNER",
+ "METRIC_TOTAL_MEDIA_COST_ECPAPV_USD",
+ "METRIC_TOTAL_MEDIA_COST_ECPA_ADVERTISER",
+ "METRIC_TOTAL_MEDIA_COST_ECPA_PARTNER",
+ "METRIC_TOTAL_MEDIA_COST_ECPA_USD",
+ "METRIC_TOTAL_MEDIA_COST_ECPCV_ADVERTISER",
+ "METRIC_TOTAL_MEDIA_COST_ECPCV_PARTNER",
+ "METRIC_TOTAL_MEDIA_COST_ECPCV_USD",
+ "METRIC_TOTAL_MEDIA_COST_ECPC_ADVERTISER",
+ "METRIC_TOTAL_MEDIA_COST_ECPC_PARTNER",
+ "METRIC_TOTAL_MEDIA_COST_ECPC_USD",
+ "METRIC_TOTAL_MEDIA_COST_ECPM_ADVERTISER",
+ "METRIC_TOTAL_MEDIA_COST_ECPM_PARTNER",
+ "METRIC_TOTAL_MEDIA_COST_ECPM_USD",
+ "METRIC_TOTAL_MEDIA_COST_PARTNER",
+ "METRIC_TOTAL_MEDIA_COST_USD",
+ "METRIC_UNIQUE_VISITORS_COOKIES",
+ "METRIC_UNKNOWN",
+ "METRIC_VIDEO_COMPLETION_RATE"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "Report type.",
+ "enum": [
+ "TYPE_ACTIVE_GRP",
+ "TYPE_AUDIENCE_COMPOSITION",
+ "TYPE_AUDIENCE_PERFORMANCE",
+ "TYPE_CLIENT_SAFE",
+ "TYPE_CROSS_FEE",
+ "TYPE_CROSS_PARTNER",
+ "TYPE_CROSS_PARTNER_THIRD_PARTY_DATA_PROVIDER",
+ "TYPE_FEE",
+ "TYPE_GENERAL",
+ "TYPE_INVENTORY_AVAILABILITY",
+ "TYPE_KEYWORD",
+ "TYPE_ORDER_ID",
+ "TYPE_PAGE_CATEGORY",
+ "TYPE_PIXEL_LOAD",
+ "TYPE_THIRD_PARTY_DATA_PROVIDER",
+ "TYPE_YOUTUBE_VERTICAL"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Query": {
+ "description": "Represents a query.",
+ "id": "Query",
+ "properties": {
+ "kind": {
+ "default": "doubleclickbidmanager#query",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"doubleclickbidmanager#query\".",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "QueryMetadata",
+ "description": "Query metadata."
+ },
+ "params": {
+ "$ref": "Parameters",
+ "description": "Query parameters."
+ },
+ "queryId": {
+ "description": "Query ID.",
+ "format": "int64",
+ "type": "string"
+ },
+ "reportDataEndTimeMs": {
+ "description": "The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise.",
+ "format": "int64",
+ "type": "string"
+ },
+ "reportDataStartTimeMs": {
+ "description": "The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise.",
+ "format": "int64",
+ "type": "string"
+ },
+ "schedule": {
+ "$ref": "QuerySchedule",
+ "description": "Information on how often and when to run a query."
+ },
+ "timezoneCode": {
+ "description": "Canonical timezone code for report data time. Defaults to America/New_York.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "QueryMetadata": {
+ "description": "Query metadata.",
+ "id": "QueryMetadata",
+ "properties": {
+ "dataRange": {
+ "description": "Range of report data.",
+ "enum": [
+ "ALL_TIME",
+ "CURRENT_DAY",
+ "CUSTOM_DATES",
+ "LAST_14_DAYS",
+ "LAST_30_DAYS",
+ "LAST_365_DAYS",
+ "LAST_7_DAYS",
+ "LAST_90_DAYS",
+ "MONTH_TO_DATE",
+ "PREVIOUS_DAY",
+ "PREVIOUS_HALF_MONTH",
+ "PREVIOUS_MONTH",
+ "PREVIOUS_QUARTER",
+ "PREVIOUS_WEEK",
+ "PREVIOUS_YEAR",
+ "QUARTER_TO_DATE",
+ "WEEK_TO_DATE",
+ "YEAR_TO_DATE"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "format": {
+ "description": "Format of the generated report.",
+ "enum": [
+ "CSV",
+ "EXCEL_CSV",
+ "XLSX"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "googleCloudStoragePathForLatestReport": {
+ "description": "The path to the location in Google Cloud Storage where the latest report is stored.",
+ "type": "string"
+ },
+ "googleDrivePathForLatestReport": {
+ "description": "The path in Google Drive for the latest report.",
+ "type": "string"
+ },
+ "latestReportRunTimeMs": {
+ "description": "The time when the latest report started to run.",
+ "format": "int64",
+ "type": "string"
+ },
+ "reportCount": {
+ "description": "Number of reports that have been generated for the query.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "running": {
+ "description": "Whether the latest report is currently running.",
+ "type": "boolean"
+ },
+ "sendNotification": {
+ "description": "Whether to send an email notification when a report is ready. Default to false.",
+ "type": "boolean"
+ },
+ "shareEmailAddress": {
+ "description": "List of email addresses which are sent email notifications when the report is finished. Separate from sendNotification.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "title": {
+ "description": "Query title. It is used to name the reports generated from this query.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "QuerySchedule": {
+ "description": "Information on how frequently and when to run a query.",
+ "id": "QuerySchedule",
+ "properties": {
+ "endTimeMs": {
+ "description": "Datetime to periodically run the query until.",
+ "format": "int64",
+ "type": "string"
+ },
+ "frequency": {
+ "description": "How often the query is run.",
+ "enum": [
+ "DAILY",
+ "MONTHLY",
+ "ONE_TIME",
+ "QUARTERLY",
+ "SEMI_MONTHLY",
+ "WEEKLY"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "nextRunMinuteOfDay": {
+ "description": "Time of day at which a new report will be generated, represented as minutes past midnight Range is 0 to 1439. Only applies to scheduled reports.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "nextRunTimezoneCode": {
+ "description": "Canonical timezone code for report generation time. Defaults to America/New_York.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Report": {
+ "description": "Represents a report.",
+ "id": "Report",
+ "properties": {
+ "key": {
+ "$ref": "ReportKey",
+ "description": "Key used to identify a report."
+ },
+ "metadata": {
+ "$ref": "ReportMetadata",
+ "description": "Report metadata."
+ },
+ "params": {
+ "$ref": "Parameters",
+ "description": "Report parameters."
+ }
+ },
+ "type": "object"
+ },
+ "ReportFailure": {
+ "description": "An explanation of a report failure.",
+ "id": "ReportFailure",
+ "properties": {
+ "errorCode": {
+ "description": "Error code that shows why the report was not created.",
+ "enum": [
+ "AUTHENTICATION_ERROR",
+ "DEPRECATED_REPORTING_INVALID_QUERY",
+ "REPORTING_BUCKET_NOT_FOUND",
+ "REPORTING_CREATE_BUCKET_FAILED",
+ "REPORTING_DELETE_BUCKET_FAILED",
+ "REPORTING_FATAL_ERROR",
+ "REPORTING_ILLEGAL_FILENAME",
+ "REPORTING_IMCOMPATIBLE_METRICS",
+ "REPORTING_INVALID_QUERY_MISSING_PARTNER_AND_ADVERTISER_FILTERS",
+ "REPORTING_INVALID_QUERY_TITLE_MISSING",
+ "REPORTING_INVALID_QUERY_TOO_MANY_UNFILTERED_LARGE_GROUP_BYS",
+ "REPORTING_QUERY_NOT_FOUND",
+ "REPORTING_TRANSIENT_ERROR",
+ "REPORTING_UPDATE_BUCKET_PERMISSION_FAILED",
+ "REPORTING_WRITE_BUCKET_OBJECT_FAILED",
+ "SERVER_ERROR",
+ "UNAUTHORIZED_API_ACCESS",
+ "VALIDATION_ERROR"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ReportKey": {
+ "description": "Key used to identify a report.",
+ "id": "ReportKey",
+ "properties": {
+ "queryId": {
+ "description": "Query ID.",
+ "format": "int64",
+ "type": "string"
+ },
+ "reportId": {
+ "description": "Report ID.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ReportMetadata": {
+ "description": "Report metadata.",
+ "id": "ReportMetadata",
+ "properties": {
+ "googleCloudStoragePath": {
+ "description": "The path to the location in Google Cloud Storage where the report is stored.",
+ "type": "string"
+ },
+ "reportDataEndTimeMs": {
+ "description": "The ending time for the data that is shown in the report.",
+ "format": "int64",
+ "type": "string"
+ },
+ "reportDataStartTimeMs": {
+ "description": "The starting time for the data that is shown in the report.",
+ "format": "int64",
+ "type": "string"
+ },
+ "status": {
+ "$ref": "ReportStatus",
+ "description": "Report status."
+ }
+ },
+ "type": "object"
+ },
+ "ReportStatus": {
+ "description": "Report status.",
+ "id": "ReportStatus",
+ "properties": {
+ "failure": {
+ "$ref": "ReportFailure",
+ "description": "If the report failed, this records the cause."
+ },
+ "finishTimeMs": {
+ "description": "The time when this report either completed successfully or failed.",
+ "format": "int64",
+ "type": "string"
+ },
+ "format": {
+ "description": "The file type of the report.",
+ "enum": [
+ "CSV",
+ "EXCEL_CSV",
+ "XLSX"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "state": {
+ "description": "The state of the report.",
+ "enum": [
+ "DONE",
+ "FAILED",
+ "RUNNING"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ }
+ },
+ "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"
+ },
+ "RunQueryRequest": {
+ "description": "Request to run a stored query to generate a report.",
+ "id": "RunQueryRequest",
+ "properties": {
+ "dataRange": {
+ "description": "Report data range used to generate the report.",
+ "enum": [
+ "ALL_TIME",
+ "CURRENT_DAY",
+ "CUSTOM_DATES",
+ "LAST_14_DAYS",
+ "LAST_30_DAYS",
+ "LAST_365_DAYS",
+ "LAST_7_DAYS",
+ "LAST_90_DAYS",
+ "MONTH_TO_DATE",
+ "PREVIOUS_DAY",
+ "PREVIOUS_HALF_MONTH",
+ "PREVIOUS_MONTH",
+ "PREVIOUS_QUARTER",
+ "PREVIOUS_WEEK",
+ "PREVIOUS_YEAR",
+ "QUARTER_TO_DATE",
+ "WEEK_TO_DATE",
+ "YEAR_TO_DATE"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "reportDataEndTimeMs": {
+ "description": "The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if dataRange is CUSTOM_DATES and ignored otherwise.",
+ "format": "int64",
+ "type": "string"
+ },
+ "reportDataStartTimeMs": {
+ "description": "The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if dataRange is CUSTOM_DATES and ignored otherwise.",
+ "format": "int64",
+ "type": "string"
+ },
+ "timezoneCode": {
+ "description": "Canonical timezone code for report data time. Defaults to America/New_York.",
+ "type": "string"
+ }
+ },
+ "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/",
+ "title": "DoubleClick Bid Manager API",
+ "version": "v1"
+}

Powered by Google App Engine
This is Rietveld 408576698