Search Ads 360 Reporting API のエンティティ(顧客、キャンペーンなど)は、API 全体でリソース名で参照されます。ただし、リソース名自体には、階層内の各オブジェクトを識別する一意の数値のリソース ID が付加される場合があります。このような場合は、リソース名を解析してこれらのリソース ID を抽出し、新しい ID を組み立てると便利です。
[null,null,["最終更新日 2025-03-03 UTC。"],[[["Search Ads 360 Reporting API resource names are hierarchical, starting with the customer and followed by sub-resources like campaigns, ad groups, and ads."],["Resource names use relative paths and contain numerical resource IDs for each entity in the hierarchy."],["You can parse resource names to extract individual resource IDs and construct new resource names for related entities."],["In JSON request and response bodies, resource names are identified by the `resourceName` field, not the `name` field."]]],["The Search Ads 360 Reporting API uses a hierarchical structure for resource names, with most resources being sub-resources of the `Customer`. Each resource has a unique numerical ID within its resource name. Resource names are relative and can be parsed to extract these IDs. These IDs allow for the derivation of new resource names, referencing parent entities, like the customer or ad group. The `resourceName` field, not `name`, is used in JSON bodies.\n"]]