Starting September 8, 2025, every new line item will need to declare whether or not they will serve Eurpoean Union (EU) political ads. Display & Video 360 API and SDF uploads that don't provide declarations will fail. See our deprecations page for more details on how to update your integration to make this declaration.
Required. The IDs of the line items to list assigned targeting options for.
pageSize
integer
Requested page size. The size must be an integer between 1 and 5000. If unspecified, the default is 5000. Returns error code INVALID_ARGUMENT if an invalid value is specified.
pageToken
string
A token that lets the client fetch the next page of results. Typically, this is the value of nextPageToken returned from the previous call to the lineItems.bulkListAssignedTargetingOptions method. If not specified, the first page of results will be returned.
orderBy
string
Field by which to sort the list. Acceptable values are:
lineItemId (default)
assignedTargetingOption.targetingType
The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: targetingType desc.
filter
string
Allows filtering by assigned targeting option fields.
Supported syntax:
Filter expressions are made up of one or more restrictions.
Restrictions can be combined by the logical operator OR on the same field.
A restriction has the form of {field} {operator} {value}.
All fields must use the EQUALS (=) operator.
Supported fields:
targetingType
inheritance
Examples:
AssignedTargetingOption resources of targeting type TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL: targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR
targetingType="TARGETING_TYPE_CHANNEL"
AssignedTargetingOption resources with inheritance status of NOT_INHERITED or INHERITED_FROM_PARTNER: inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"
The length of this field should be no more than 500 characters.
The list of wrapper objects, each providing an assigned targeting option and the line item it is assigned to.
This list will be absent if empty.
nextPageToken
string
A token identifying the next page of results. This value should be specified as the pageToken in a subsequent call to lineItems.bulkListAssignedTargetingOptions to fetch the next page of results. This token will be absent if there are no more lineItemAssignedTargetingOptions to return.
[[["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 2025-04-02 UTC."],[[["\u003cp\u003eLists assigned targeting options for multiple line items across targeting types using the \u003ccode\u003ebulkListAssignedTargetingOptions\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eRequires the advertiser ID and line item IDs as input parameters.\u003c/p\u003e\n"],["\u003cp\u003eSupports optional parameters for filtering, ordering, and pagination of results.\u003c/p\u003e\n"],["\u003cp\u003eReturns a list of \u003ccode\u003eLineItemAssignedTargetingOption\u003c/code\u003e objects, each containing an assigned targeting option and the line item it's assigned to.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document details the `bulkListAssignedTargetingOptions` method for retrieving targeting options assigned to multiple line items. It uses a `GET` HTTP request with `advertiserId` as a required path parameter. Query parameters include `lineItemIds` (required), `pageSize`, `pageToken`, `orderBy`, and `filter`. The response includes a list of `lineItemAssignedTargetingOptions` and a `nextPageToken` for pagination. Each `lineItemAssignedTargetingOption` links a targeting option to its line item. Authorization requires the `display-video` scope.\n"],null,[]]