We are currently migrating a subset of report types from offline to instant reporting. Once a user is migrated,
queries.list
responses will include existing instant reports. See our
blog post for more information.
Lineitems: downloadlineitems
Stay organized with collections
Save and categorize content based on your preferences.
The Line Items Settings service of the Bid Manager API has been sunset. Users must migrate to the DV360 API .
Retrieves line items in CSV format. YouTube & partners line items are not supported.
Try it now .
Request
HTTP request
POST https://www.googleapis.com/doubleclickbidmanager/v1.1/lineitems/downloadlineitems
Authorization
This request requires authorization with the following scope:
Scope
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the authentication and authorization page.
Request body
In the request body, supply data with the following structure:
{
"filterType": string ,
"filterIds": [
long
],
"format": string ,
"fileSpec": string
}
Property name
Value
Description
Notes
filterType
string
Filter type used to filter line items to fetch.
Acceptable values are:
"ADVERTISER_ID
"
"INSERTION_ORDER_ID
"
"LINE_ITEM_ID
"
filterIds[]
list
IDs of the specified filter type used to filter line items to fetch. If omitted, all the line items will be returned.
format
string
Format in which the line items will be returned. Default to CSV
.
Acceptable values are:
fileSpec
string
File specification (column names, types, order) in which the line items will be returned. Default to EWF
.
Acceptable values are:
Response
If successful, this method returns a response body with the following structure:
{
"lineItems": string
}
Property name
Value
Description
Notes
lineItems
string
Retrieved line items in CSV format. For more information about file formats, see Entity Write File Format .
Try it!
Use the APIs Explorer below to call this method on live data and see the response.
Alternatively, try the
standalone
Explorer .
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-08-21 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-21 UTC."]]