--- v18/resources/asset_group.proto 2025-08-05 14:36:06.000000000 +0000 +++ v19/resources/asset_group.proto 2025-08-05 14:36:20.000000000 +0000 @@ -39,6 +42,8 @@ option (google.api.resource) = { type: "googleads.googleapis.com/AssetGroup" pattern: "customers/{customer_id}/assetGroups/{asset_group_id}" + plural: "assetGroups" + singular: "assetGroup" }; // Immutable. The resource name of the asset group. @@ -103,6 +108,52 @@ string path2 = 8; // Output only. Overall ad strength of this asset group. - google.ads.googleads.v18.enums.AdStrengthEnum.AdStrength ad_strength = 10 + google.ads.googleads.v19.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The asset coverage of this asset group. + AssetCoverage asset_coverage = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Information about the asset coverage of an asset group. +message AssetCoverage { + // Output only. A list of action items to improve the ad strength of an asset + // group. + repeated AdStrengthActionItem ad_strength_action_items = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// An action item to improve the ad strength of an asset group. +message AdStrengthActionItem { + // The details of the asset to add. + message AddAssetDetails { + // Output only. The asset field type of the asset(s) to add. + google.ads.googleads.v19.enums.AssetFieldTypeEnum.AssetFieldType + asset_field_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The number of assets to add. + optional int32 asset_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. For video field types, the required aspect ratio of the + // video. When unset and asset_field_type is YOUTUBE_VIDEO, the system + // recommends the advertiser upload any YouTube video, regardless of aspect + // ratio. + optional google.ads.googleads.v19.enums + .AssetCoverageVideoAspectRatioRequirementEnum + .AssetCoverageVideoAspectRatioRequirement + video_aspect_ratio_requirement = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Output only. The action item type. + google.ads.googleads.v19.enums.AdStrengthActionItemTypeEnum + .AdStrengthActionItemType action_item_type = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The details of this action item. + oneof action_details { + // Output only. The action item details for action item type ADD_ASSET. + AddAssetDetails add_asset_details = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } }
/resources/asset_group.proto
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[],[],null,["# /resources/asset_group.proto\n\n```diff\n--- v18/resources/asset_group.proto 2025-08-05 14:36:06.000000000 +0000\n+++ v19/resources/asset_group.proto 2025-08-05 14:36:20.000000000 +0000\n@@ -39,6 +42,8 @@\n option (google.api.resource) = {\n type: \"googleads.googleapis.com/AssetGroup\"\n pattern: \"customers/{customer_id}/assetGroups/{asset_group_id}\"\n+ plural: \"assetGroups\"\n+ singular: \"assetGroup\"\n };\n\n // Immutable. The resource name of the asset group.\n@@ -103,6 +108,52 @@\n string path2 = 8;\n\n // Output only. Overall ad strength of this asset group.\n- google.ads.googleads.v18.enums.AdStrengthEnum.AdStrength ad_strength = 10\n+ google.ads.googleads.v19.enums.AdStrengthEnum.AdStrength ad_strength = 10\n [(google.api.field_behavior) = OUTPUT_ONLY];\n+\n+ // Output only. The asset coverage of this asset group.\n+ AssetCoverage asset_coverage = 13 [(google.api.field_behavior) = OUTPUT_ONLY];\n+}\n+\n+// Information about the asset coverage of an asset group.\n+message AssetCoverage {\n+ // Output only. A list of action items to improve the ad strength of an asset\n+ // group.\n+ repeated AdStrengthActionItem ad_strength_action_items = 1\n+ [(google.api.field_behavior) = OUTPUT_ONLY];\n+}\n+\n+// An action item to improve the ad strength of an asset group.\n+message AdStrengthActionItem {\n+ // The details of the asset to add.\n+ message AddAssetDetails {\n+ // Output only. The asset field type of the asset(s) to add.\n+ google.ads.googleads.v19.enums.AssetFieldTypeEnum.AssetFieldType\n+ asset_field_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY];\n+\n+ // Output only. The number of assets to add.\n+ optional int32 asset_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY];\n+\n+ // Output only. For video field types, the required aspect ratio of the\n+ // video. When unset and asset_field_type is YOUTUBE_VIDEO, the system\n+ // recommends the advertiser upload any YouTube video, regardless of aspect\n+ // ratio.\n+ optional google.ads.googleads.v19.enums\n+ .AssetCoverageVideoAspectRatioRequirementEnum\n+ .AssetCoverageVideoAspectRatioRequirement\n+ video_aspect_ratio_requirement = 3\n+ [(google.api.field_behavior) = OUTPUT_ONLY];\n+ }\n+\n+ // Output only. The action item type.\n+ google.ads.googleads.v19.enums.AdStrengthActionItemTypeEnum\n+ .AdStrengthActionItemType action_item_type = 1\n+ [(google.api.field_behavior) = OUTPUT_ONLY];\n+\n+ // The details of this action item.\n+ oneof action_details {\n+ // Output only. The action item details for action item type ADD_ASSET.\n+ AddAssetDetails add_asset_details = 2\n+ [(google.api.field_behavior) = OUTPUT_ONLY];\n+ }\n }\n```"]]