"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.",
"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.",
"description":"List all accounts available to this Ad Exchange account.",
"httpMethod":"GET",
"id":"adexchangeseller.accounts.list",
"parameters":{
"maxResults":{
"description":"The maximum number of accounts to include in the response, used for paging.",
"format":"int32",
"location":"query",
"maximum":"10000",
"minimum":"0",
"type":"integer"
},
"pageToken":{
"description":"A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
"description":"List all ad clients in this Ad Exchange account.",
"httpMethod":"GET",
"id":"adexchangeseller.accounts.adclients.list",
"parameterOrder":[
"accountId"
],
"parameters":{
"accountId":{
"description":"Account to which the ad client belongs.",
"location":"path",
"required":true,
"type":"string"
},
"maxResults":{
"description":"The maximum number of ad clients to include in the response, used for paging.",
"format":"uint32",
"location":"query",
"maximum":"10000",
"minimum":"0",
"type":"integer"
},
"pageToken":{
"description":"A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
"description":"List the alerts for this Ad Exchange account.",
"httpMethod":"GET",
"id":"adexchangeseller.accounts.alerts.list",
"parameterOrder":[
"accountId"
],
"parameters":{
"accountId":{
"description":"Account owning the alerts.",
"location":"path",
"required":true,
"type":"string"
},
"locale":{
"description":"The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported.",
"description":"Account to which the ad client belongs.",
"location":"path",
"required":true,
"type":"string"
},
"adClientId":{
"description":"Ad client for which to list custom channels.",
"location":"path",
"required":true,
"type":"string"
},
"maxResults":{
"description":"The maximum number of custom channels to include in the response, used for paging.",
"format":"uint32",
"location":"query",
"maximum":"10000",
"minimum":"0",
"type":"integer"
},
"pageToken":{
"description":"A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
"description":"Generate an Ad Exchange report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify \"alt=csv\" as a query parameter.",
"description":"Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.",
"location":"query",
"pattern":"[a-zA-Z_]+",
"type":"string"
},
"maxResults":{
"description":"The maximum number of rows of report data to return.",
"format":"uint32",
"location":"query",
"maximum":"50000",
"minimum":"0",
"type":"integer"
},
"metric":{
"description":"Numeric columns to include in the report.",
"location":"query",
"pattern":"[a-zA-Z_]+",
"repeated":true,
"type":"string"
},
"sort":{
"description":"The name of a dimension or metric to sort the resulting report on, optionally prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.",
"location":"query",
"pattern":"(\\+|-)?[a-zA-Z_]+",
"repeated":true,
"type":"string"
},
"startDate":{
"description":"Start of the date range to report on in \"YYYY-MM-DD\" format, inclusive.",
"description":"Account owning the saved reports.",
"location":"path",
"required":true,
"type":"string"
},
"maxResults":{
"description":"The maximum number of saved reports to include in the response, used for paging.",
"format":"int32",
"location":"query",
"maximum":"100",
"minimum":"0",
"type":"integer"
},
"pageToken":{
"description":"A continuation token, used to page through saved reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
"description":"Account to which the ad client belongs.",
"location":"path",
"required":true,
"type":"string"
},
"adClientId":{
"description":"Ad client for which to list URL channels.",
"location":"path",
"required":true,
"type":"string"
},
"maxResults":{
"description":"The maximum number of URL channels to include in the response, used for paging.",
"format":"uint32",
"location":"query",
"maximum":"10000",
"minimum":"0",
"type":"integer"
},
"pageToken":{
"description":"A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
"description":"Continuation token used to page through accounts. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
"description":"Continuation token used to page through ad clients. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
"description":"Unique identifier of this alert. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.",
"type":"string"
},
"kind":{
"default":"adexchangeseller#alert",
"description":"Kind of resource this is, in this case adexchangeseller#alert.",
"type":"string"
},
"message":{
"description":"The localized alert message.",
"type":"string"
},
"severity":{
"description":"Severity of this alert. Possible values: INFO, WARNING, SEVERE.",
"type":"string"
},
"type":{
"description":"Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3, ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY, GRAYLISTED_PUBLISHER, API_HOLD.",
"description":"Code of this custom channel, not necessarily unique across ad clients.",
"type":"string"
},
"id":{
"description":"Unique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.",
"type":"string"
},
"kind":{
"default":"adexchangeseller#customChannel",
"description":"Kind of resource this is, in this case adexchangeseller#customChannel.",
"type":"string"
},
"name":{
"description":"Name of this custom channel.",
"type":"string"
},
"targetingInfo":{
"description":"The targeting information of this custom channel, if activated.",
"properties":{
"adsAppearOn":{
"description":"The name used to describe this channel externally.",
"type":"string"
},
"description":{
"description":"The external description of the channel.",
"type":"string"
},
"location":{
"description":"The locations in which ads appear. (Only valid for content and mobile content ads). Acceptable values for content ads are: TOP_LEFT, TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for mobile content ads are: TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS.",
"type":"string"
},
"siteLanguage":{
"description":"The language of the sites ads will be displayed on.",
"description":"Continuation token used to page through custom channels. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
"description":"Time when this deal stops being active in seconds since the epoch (GMT). If not set then this deal is valid until manually disabled by the publisher.",
"description":"The fixed price for this preferred deal. In cpm micros of currency according to currencyCode. If set, then this preferred deal is eligible for the fixed price tier of buying (highest priority, pay exactly the configured fixed price).",
"description":"Kind of list this is, in this case adexchangeseller#preferredDeals.",
"type":"string"
}
},
"type":"object"
},
"Report":{
"id":"Report",
"properties":{
"averages":{
"description":"The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.",
"items":{
"type":"string"
},
"type":"array"
},
"headers":{
"description":"The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for each metric in the request.",
"items":{
"properties":{
"currency":{
"description":"The currency of this column. Only present if the header type is METRIC_CURRENCY.",
"type":"string"
},
"name":{
"description":"The name of the header.",
"type":"string"
},
"type":{
"description":"The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY.",
"type":"string"
}
},
"type":"object"
},
"type":"array"
},
"kind":{
"default":"adexchangeseller#report",
"description":"Kind this is, in this case adexchangeseller#report.",
"type":"string"
},
"rows":{
"description":"The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The dimension cells contain strings, and the metric cells contain numbers.",
"description":"The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or the report row limit.",
"format":"int64",
"type":"string"
},
"totals":{
"description":"The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.",
"items":{
"type":"string"
},
"type":"array"
},
"warnings":{
"description":"Any warnings associated with generation of the report.",
"description":"For metrics this is a list of dimension IDs which the metric is compatible with, for dimensions it is a list of compatibility groups the dimension belongs to.",
"description":"Kind of resource this is, in this case adexchangeseller#reportingMetadataEntry.",
"type":"string"
},
"requiredDimensions":{
"description":"The names of the dimensions which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted.",
"description":"The names of the metrics which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted.",
"description":"Kind of list this is, in this case adexchangeseller#savedReports.",
"type":"string"
},
"nextPageToken":{
"description":"Continuation token used to page through saved reports. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
"description":"Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.",
"type":"string"
},
"kind":{
"default":"adexchangeseller#urlChannel",
"description":"Kind of resource this is, in this case adexchangeseller#urlChannel.",
"type":"string"
},
"urlPattern":{
"description":"URL Pattern of this URL channel. Does not include \"http://\" or \"https://\". Example: www.example.com/home",
"description":"Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",