Get assets assigned to a member
Get assets on which you assigned asset permissions to the given member. Can be used to:
- get all assets, regardless of asset type or
- get assets of one asset type by using the asset_type query. The return response will include the permissions the member has to that asset and the asset type.
Path parameters
Unique identifier of the requesting business.
The member id to fetch assets for.
Query parameters
A resource type to filter the assets by. Only assets of the specified type will be returned.
An index to start fetching the results from. Only the results starting from this index will be returned.
The field to sort member assets by
The field to sort member assets by
Sort assets in ascending order
The field to search member assets by
The field to search member assets by
The value to search for
Permission aggregation type for asset access
The type of asset permission to filter by
A list of ad account statuses to filter the assets by. Only used when asset_type is AD_ACCOUNT.
[ "ACTIVE" ]
Cursor used to fetch the next page of items
Maximum number of items to include in a single page. See documentation on Pagination for more information.
Response
The request has succeeded.
Example response
{
"items": [
{
"asset_group_info": {
"ad_accounts_ids": [
"549755885175"
],
"asset_group_description": "Asset group that has ad accounts used in Canada",
"asset_group_name": "Canada Ad Accounts",
"asset_group_types": [
"LOCATION_OR_LANGUAGE"
],
"catalogs_ids": [
"4836859046874"
],
"created_by": {
"email": "business0101@business.com",
"id": "549755885175",
"username": "business0101"
},
"created_time": 1646767577816,
"id": "666791336903426391",
"owner": {
"email": "business0101@business.com",
"id": "549755885175",
"username": "business0101"
},
"profiles_ids": [
"630433785246278264"
],
"updated_time": 1646767577816
},
"asset_id": "549755885175",
"asset_type": "AD_ACCOUNT",
"permissions": [
"FINANCE_MANAGER",
"CATALOGS_MANAGER",
"AUDIENCE_MANAGER"
]
}
]
}