"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 ad clients in this Ad Exchange account.",
"httpMethod":"GET",
"id":"adexchangeseller.adclients.list",
"parameters":{
"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 all ad units in the specified ad client for this Ad Exchange account.",
"httpMethod":"GET",
"id":"adexchangeseller.adunits.list",
"parameterOrder":[
"adClientId"
],
"parameters":{
"adClientId":{
"description":"Ad client for which to list ad units.",
"location":"path",
"required":true,
"type":"string"
},
"includeInactive":{
"description":"Whether to include inactive ad units. Default: true.",
"location":"query",
"type":"boolean"
},
"maxResults":{
"description":"The maximum number of ad units 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 units. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
"description":"Ad client which contains the ad unit.",
"location":"path",
"required":true,
"type":"string"
},
"adUnitId":{
"description":"Ad unit 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":"List all custom channels in the specified ad client for this Ad Exchange account.",
"httpMethod":"GET",
"id":"adexchangeseller.customchannels.list",
"parameterOrder":[
"adClientId"
],
"parameters":{
"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":"Ad client which contains the custom channel.",
"location":"path",
"required":true,
"type":"string"
},
"customChannelId":{
"description":"Custom channel for which to list ad units.",
"location":"path",
"required":true,
"type":"string"
},
"includeInactive":{
"description":"Whether to include inactive ad units. Default: true.",
"location":"query",
"type":"boolean"
},
"maxResults":{
"description":"The maximum number of ad units 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 units. 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.",
"httpMethod":"GET",
"id":"adexchangeseller.reports.generate",
"parameterOrder":[
"startDate",
"endDate"
],
"parameters":{
"dimension":{
"description":"Dimensions to base the report on.",
"location":"query",
"pattern":"[a-zA-Z_]+",
"repeated":true,
"type":"string"
},
"endDate":{
"description":"End of the date range to report on in \"YYYY-MM-DD\" format, inclusive.",
"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":"List all saved reports in this Ad Exchange account.",
"httpMethod":"GET",
"id":"adexchangeseller.reports.saved.list",
"parameters":{
"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":"List all URL channels in the specified ad client for this Ad Exchange account.",
"httpMethod":"GET",
"id":"adexchangeseller.urlchannels.list",
"parameterOrder":[
"adClientId"
],
"parameters":{
"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":"ETag of this response for caching purposes.",
"type":"string"
},
"items":{
"description":"The ad clients returned in this list response.",
"items":{
"$ref":"AdClient"
},
"type":"array"
},
"kind":{
"default":"adexchangeseller#adClients",
"description":"Kind of list this is, in this case adexchangeseller#adClients.",
"type":"string"
},
"nextPageToken":{
"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":"Identity code of this ad unit, not necessarily unique across ad clients.",
"type":"string"
},
"id":{
"description":"Unique identifier of this ad unit. 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#adUnit",
"description":"Kind of resource this is, in this case adexchangeseller#adUnit.",
"type":"string"
},
"name":{
"description":"Name of this ad unit.",
"type":"string"
},
"status":{
"description":"Status of this ad unit. Possible values are:\nNEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it.\n\nACTIVE: Indicates that there has been activity on this ad unit in the last seven days.\n\nINACTIVE: Indicates that there has been no activity on this ad unit in the last seven days.",
"description":"ETag of this response for caching purposes.",
"type":"string"
},
"items":{
"description":"The ad units returned in this list response.",
"items":{
"$ref":"AdUnit"
},
"type":"array"
},
"kind":{
"default":"adexchangeseller#adUnits",
"description":"Kind of list this is, in this case adexchangeseller#adUnits.",
"type":"string"
},
"nextPageToken":{
"description":"Continuation token used to page through ad units. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
"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":"ETag of this response for caching purposes.",
"type":"string"
},
"items":{
"description":"The custom channels returned in this list response.",
"items":{
"$ref":"CustomChannel"
},
"type":"array"
},
"kind":{
"default":"adexchangeseller#customChannels",
"description":"Kind of list this is, in this case adexchangeseller#customChannels.",
"type":"string"
},
"nextPageToken":{
"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":"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.",
"items":{
"items":{
"type":"string"
},
"type":"array"
},
"type":"array"
},
"totalMatchedRows":{
"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":"ETag of this response for caching purposes.",
"type":"string"
},
"items":{
"description":"The saved reports returned in this list response.",
"items":{
"$ref":"SavedReport"
},
"type":"array"
},
"kind":{
"default":"adexchangeseller#savedReports",
"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":"ETag of this response for caching purposes.",
"type":"string"
},
"items":{
"description":"The URL channels returned in this list response.",
"items":{
"$ref":"UrlChannel"
},
"type":"array"
},
"kind":{
"default":"adexchangeseller#urlChannels",
"description":"Kind of list this is, in this case adexchangeseller#urlChannels.",
"type":"string"
},
"nextPageToken":{
"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.",