La nouvelle API Search Ads 360 Reporting est désormais disponible. Rejoignez le groupe Google
searchads-api-announcements pour vous tenir informé des améliorations et versions à venir.
Ensemble d'assets
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/29 (UTC).
[null,null,["Dernière mise à jour le 2025/08/29 (UTC)."],[[["\u003cp\u003eAn Asset Set is a grouping of assets, and individual assets can be linked to it using AssetSetAsset.\u003c/p\u003e\n"],["\u003cp\u003eYou can use fields from linked resources like 'customer' in SELECT and WHERE clauses, but they won't segment metrics.\u003c/p\u003e\n"],["\u003cp\u003eEach Asset Set has a unique ID and a resource name that follows a specific format: \u003ccode\u003ecustomers/{customer_id}/assetSets/{asset_set_id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAsset Set data including ID and resource name can be used for filtering, selection, and sorting in queries.\u003c/p\u003e\n"]]],["An `AssetSet` is a collection of assets, linked using `AssetSetAsset`. Key details include the `asset_set.id`, an `INT64` attribute, which is filterable, selectable, and sortable. The `asset_set.resource_name`, a `RESOURCE_NAME` attribute, follows the format: `customers/{customer_id}/assetSets/{asset_set_id}` and is filterable and selectable. Selecting fields from the customer resource will not segment metrics.\n"],null,["# asset_set\n\nAn asset set representing a collection of assets. Use AssetSetAsset to link an asset to the asset set.\n\n| Attributed resources |\n|--------------------------------------------------------------------|\n| [customer](/search-ads/reporting/api/reference/fields/v0/customer) |\n\nFields from the above resources may be selected along with this\nresource in your SELECT and WHERE clauses. These fields **will not segment**\nmetrics in your `SELECT` clause.\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | asset_set.id ------------ || |-------------------|--------------------------| | Field description | The ID of the asset set. | | Category | `ATTRIBUTE` | | Data Type | `INT64` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |\n| | asset_set.resource_name ----------------------- || |-------------------|--------------------------------------------------------------------------------------------------------------------------------| | Field description | The resource name of the asset set. Asset set resource names have the form: `customers/{customer_id}/assetSets/{asset_set_id}` | | Category | `ATTRIBUTE` | | Data Type | `RESOURCE_NAME` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | False | | Repeated | False | |"]]