--- v18/common/asset_types.proto 2025-08-05 14:36:11.000000000 +0000 +++ v19/common/asset_types.proto 2025-08-05 14:36:14.000000000 +0000 @@ -1068,3 +1070,56 @@ // Name of the hotel. Read-only. string hotel_name = 3; } + +// A business message asset. +message BusinessMessageAsset { + // Required. Message provider of the business message asset. + google.ads.googleads.v19.enums.BusinessMessageProviderEnum + .BusinessMessageProvider message_provider = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. A welcome message to prompt the user to initiate a conversation. + string starter_message = 2 [(google.api.field_behavior) = REQUIRED]; + + // A call to action for the business message asset. + optional BusinessMessageCallToActionInfo call_to_action = 3; + + // Message provider information to use for messaging. + oneof message_provider_data { + // Whatsapp. + WhatsappBusinessMessageInfo whatsapp_info = 5; + } +} + +// Whatsapp information to use for messaging. +message WhatsappBusinessMessageInfo { + // Required. Two-letter country code of the phone number. Examples: 'US', + // 'us'. + string country_code = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Whatsapp phone number of the business. Examples: '1234567890', + // '(123)456-7890'. + string phone_number = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Display information that encourages the user to take action. +message BusinessMessageCallToActionInfo { + // Required. Pre-defined call to action text. + google.ads.googleads.v19.enums.BusinessMessageCallToActionTypeEnum + .BusinessMessageCallToActionType call_to_action_selection = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Text providing a clear value proposition of what users expect + // once they take the action. Examples: 'Message us for a quote', 'Ask our + // expert team'. + string call_to_action_description = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// An app deep link asset +message AppDeepLinkAsset { + // The uri for the app deep link, The uri can be either a + // custom scheme uri (e.g. mystore://shoes) or universal uri (e.g. + // http://www.mystore.com/shoes). + string app_deep_link_uri = 1; +}
/common/asset_types.proto
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[],[]]