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 ad groups to list assigned targeting options for.
pageSize
integer
Optional. 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
Optional. 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 adGroups.bulkListAdGroupAssignedTargetingOptions method. If not specified, the first page of results will be returned.
orderBy
string
Optional. Field by which to sort the list. Acceptable values are:
adGroupId (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
Optional. 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.
A restriction has the form of {field} {operator} {value}.
All fields must use the EQUALS (=) operator.
Supported fields:
targetingType
Examples:
AssignedTargetingOption resources of targeting type TARGETING_TYPE_YOUTUBE_VIDEO or TARGETING_TYPE_YOUTUBE_CHANNEL: targetingType="TARGETING_TYPE_YOUTUBE_VIDEO" OR
targetingType="TARGETING_TYPE_YOUTUBE_CHANNEL"
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 ad group 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 adGroups.bulkListAdGroupAssignedTargetingOptions to fetch the next page of results. This token will be absent if there are no more AdGroupAssignedTargetingOption resources 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 ad groups across targeting types, excluding inherited options.\u003c/p\u003e\n"],["\u003cp\u003eEnables filtering by assigned targeting option fields, such as targeting type, and sorting by ad group ID or targeting type.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"],["\u003cp\u003eUses a \u003ccode\u003eGET\u003c/code\u003e request to the \u003ccode\u003ehttps://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/adGroups:bulkListAdGroupAssignedTargetingOptions\u003c/code\u003e endpoint, specifying the advertiser ID in the path and optional parameters in the query.\u003c/p\u003e\n"],["\u003cp\u003eReturns a list of \u003ccode\u003eAdGroupAssignedTargetingOption\u003c/code\u003e objects, each containing the assigned targeting option and the associated ad group ID.\u003c/p\u003e\n"]]],["This document details how to use the `bulkListAdGroupAssignedTargetingOptions` method to retrieve assigned targeting options for multiple ad groups. The key actions involve sending a `GET` HTTP request with the advertiser ID, and required ad group IDs in the query parameters. Optional parameters include `pageSize`, `pageToken`, `orderBy`, and `filter` for refining results. The response includes a list of `adGroupAssignedTargetingOptions` and a `nextPageToken` for paginated results. The request body should be empty and `OAuth 2.0` scope is required.\n"],null,[]]