Retrieves all entities by external id listed in the request.
- Returns error code
NOT_FOUND
if any ids do not match an asset. - Returns error code
FAILED_PRECONDITION
if multiple entities with the same external id are found.
HTTP request
POST https://dv360outofhomeseller.googleapis.com/v1beta1:lookupByExternalId
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "lineExternalIds": [ string ], "orderExternalIds": [ string ], "productExternalIds": [ string ], "adUnitExternalIds": [ string ], "creativeAssetsExternalIds": [ string ], "assignmentsExternalIds": [ string ] } |
Fields | |
---|---|
lineExternalIds[] |
The external ids to fetch names for from Lines table. |
orderExternalIds[] |
The external ids to fetch names for from Orders table. |
productExternalIds[] |
The external ids to fetch names for from Products table. |
adUnitExternalIds[] |
The external ids to fetch names for from AdUnits table. |
creativeAssetsExternalIds[] |
The external ids to fetch names for from CreativeAsset table. |
assignmentsExternalIds[] |
The external ids to fetch names for from Assignments table. |
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "lines": { string: string, ... }, "orders": { string: string, ... }, "products": { string: string, ... }, "adUnits": { string: string, ... }, "creativeAssets": { string: string, ... }, "assignments": { string: string, ... } } |
Fields | |
---|---|
lines |
Map of external ids to line names. An object containing a list of |
orders |
Map of external ids to order names. An object containing a list of |
products |
Map of external ids to product names. An object containing a list of |
adUnits |
Map of external ids to ad unit names. An object containing a list of |
creativeAssets |
Map of external ids to creative asset names. An object containing a list of |
assignments |
Map of external ids to assignment names. An object containing a list of |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.