Để thảo luận và đưa ra ý kiến phản hồi về các sản phẩm của chúng tôi, hãy tham gia kênh Discord chính thức của Google Ads trong máy chủ Cộng đồng quảng cáo và đo lường của Google.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Thành phần là các đơn vị dữ liệu có thể chia sẻ (chẳng hạn như hình ảnh, video, dòng tiêu đề và nội dung mô tả) được dùng để tạo nhiều loại quảng cáo ở nhiều định dạng, chẳng hạn như quảng cáo hiển thị, YouTube, cửa hàng ứng dụng và các định dạng khác.
Đối tượng
Sau đây là các đối tượng cơ bản nhất trong API:
Asset: Một đơn vị dữ liệu quảng cáo có thể chia sẻ
AssetType: Loại nội dung mà tài sản chứa, ví dụ: văn bản hoặc hình ảnh
AssetFieldType: Cách sử dụng thành phần – ví dụ: loại thành phần văn bản có thể được dùng làm loại trường thành phần dòng tiêu đề hoặc nội dung mô tả
AssetSet: Một tập hợp các thành phần xoay quanh một chủ đề hoặc được sắp xếp theo chiến dịch
AssetSetType: Lớp của nhóm tài sản
Có những đối tượng đại diện cho các mối liên kết giữa thành phần, nhóm thành phần, nhóm quảng cáo, chiến dịch và khách hàng:
Mối liên kết với tài sản
CustomerAsset: Mối liên kết giữa khách hàng và tài sản
CampaignAsset: Mối liên kết giữa một chiến dịch và một thành phần
AdGroupAsset: Mối liên kết giữa một nhóm quảng cáo và một thành phần
AssetSetAsset: Mối liên kết giữa một nhóm tài sản và một tài sản
Mối liên kết với nhóm tài sản
CustomerAssetSet: Mối liên kết giữa khách hàng và một nhóm tài sản
CampaignAssetSet: Mối liên kết giữa một chiến dịch và một nhóm thành phần
AdGroupAssetSet: Mối liên kết giữa một nhóm quảng cáo và một nhóm thành phần
Ví dụ về thành phần của chiến dịch
Sau đây là hình ảnh minh hoạ cách liên kết một số đối tượng. Ví dụ này bắt đầu bằng các chiến dịch ở trên cùng, nhưng hệ thống phân cấp tương tự cũng áp dụng cho khách hàng và nhóm quảng cáo.
Sơ đồ về nhóm thành phần của chiến dịch
Trước khi tạo một CampaignAssetSet, trước tiên, bạn phải tạo một Campaign và một AssetSet chứa một hoặc nhiều thành phần. Bạn có thể tập hợp các thành phần để tạo khoảng không quảng cáo cho tất cả các định dạng quảng cáo áp dụng được trong chiến dịch của mình, hoặc cho phép Google Ads kết hợp các thành phần có sẵn dựa trên kênh mà quảng cáo đang được phân phát: YouTube, Gmail, Mạng Tìm kiếm và những kênh khác.
Các loại thành phần được liên kết với quảng cáo
Bạn có thể liên kết trực tiếp một số loại thành phần với quảng cáo.
Loại thành phần
AssetFieldType
Loại quảng cáo
Video
YOUTUBE_VIDEO
Quảng cáo ứng dụng Quảng cáo tương tác với ứng dụng Quảng cáo địa phương Quảng cáo hiển thị thích ứng
Gói phương tiện
MEDIA_BUNDLE CUSTOM_LAYOUT
Quảng cáo ứng dụng Quảng cáo tải lên hiển thị
Hình ảnh
MARKETING_IMAGE SQUARE_MARKETING_IMAGE LOGO LANDSCAPE_LOGO PORTRAIT_MARKETING_IMAGE
Quảng cáo ứng dụng Quảng cáo tương tác với ứng dụng Quảng cáo địa phương Quảng cáo hiển thị thích ứng
Quảng cáo ứng dụng Quảng cáo tương tác với ứng dụng Quảng cáo địa phương Quảng cáo hiển thị thích ứng Quảng cáo tìm kiếm thích ứng Quảng cáo chiến dịch thông minh
Kêu gọi hành động
CALL_TO_ACTION
Quảng cáo địa phương Quảng cáo hiển thị thích ứng
Các loại thành phần được liên kết với khách hàng, chiến dịch và nhóm quảng cáo
Bạn có thể liên kết một số loại thành phần với khách hàng, chiến dịch hoặc nhóm quảng cáo thông qua các đối tượng liên kết.
Loại thành phần
AssetFieldType
Mối liên kết
Có thể thay đổi
Tin nhắn cho doanh nghiệp
BUSINESS_MESSAGE
AdGroupAsset CampaignAsset CustomerAsset
Có
Văn bản
BUSINESS_NAME
CampaignAsset CustomerAsset
Không
Hình ảnh
AD_IMAGE
AdGroupAsset CampaignAsset
Không
Hình ảnh
BUSINESS_LOGO
CampaignAsset CustomerAsset
Không
Biểu mẫu khách hàng tiềm năng
LEAD_FORM
CampaignAsset
Có
Khuyến mãi
KHUYẾN MÃI
AdGroupAsset CampaignAsset CustomerAsset
Có
Chú thích
CHÚ THÍCH
AdGroupAsset CampaignAsset CustomerAsset
Có
Đoạn thông tin có cấu trúc
STRUCTURED_SNIPPET
AdGroupAsset CampaignAsset CustomerAsset
Có
Đường liên kết của trang web
LIÊN KẾT TRANG WEB
AdGroupAsset CampaignAsset CustomerAsset
Có
Ứng dụng dành cho thiết bị di động
MOBILE_APP
AdGroupAsset CampaignAsset CustomerAsset
Có
Chú thích cho khách sạn
HOTEL_CALLOUT
AdGroupAsset CampaignAsset CustomerAsset
Có
Gọi
GỌI
AdGroupAsset CampaignAsset CustomerAsset
Có
Giá
GIÁ
AdGroupAsset CampaignAsset CustomerAsset
Có
Thành phần địa điểm
Thành phần vị trí được xử lý khác với các loại thành phần khác. Hãy xem bài viết Thành phần vị trí để biết thông tin chi tiết.
Thành phần được tạo tự động
Bạn không thể sửa đổi các thành phần được tạo tự động. AssetSource cho biết liệu một thành phần do người dùng tạo hay do hệ thống tự động tạo. Bạn không thể liên kết các loại có thể thay đổi như đường liên kết của trang web với thành phần được tạo tự động.
Các loại thành phần được liên kết với nhóm thành phần
Bạn có thể liên kết một số loại thành phần với các loại nhóm thành phần cụ thể.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-09-05 UTC."],[[["\u003cp\u003eAssets are shareable data units like images and text, used to build various ad types across different platforms.\u003c/p\u003e\n"],["\u003cp\u003eAssets are organized into Asset Sets and linked to Campaigns, Ad Groups, and Customers for streamlined management.\u003c/p\u003e\n"],["\u003cp\u003eSpecific Asset Types can be directly linked to ads or linked through linkage objects for greater flexibility.\u003c/p\u003e\n"],["\u003cp\u003eSome Asset Types are automatically created by the system and cannot be modified, indicated by their AssetSource.\u003c/p\u003e\n"],["\u003cp\u003eCertain Asset Types are designed to be used with specific Asset Set Types for specialized campaign setups.\u003c/p\u003e\n"]]],[],null,["Assets are units of shareable data---such as images, videos, headlines, and\ndescriptions---that are used to construct different types of ads across\nmultiple formats, such as display, YouTube, app store, and others.\n\nObjects\n\nThe most basic objects in the API are the following:\n\n- **`Asset`:** A unit of shareable advertising data\n - **`AssetType`:** The kind of content the asset contains---for example, text or image\n - **`AssetFieldType`:** How the asset is used---for example, a text asset type can be used as a headline or a description asset field type\n- **`AssetSet`** : A collection of assets centered around a theme or organized by campaign\n - **`AssetSetType`**: The class of the asset set\n\nThere are objects that represent links among assets, asset sets, ad groups,\ncampaigns, and customers:\n\n- Linkages to assets\n\n - **`CustomerAsset`:** The link between a customer and an asset\n - **`CampaignAsset`:** The link between a campaign and an asset\n - **`AdGroupAsset`:** The link between an ad group and an asset\n - **`AssetSetAsset`:** The link between an asset set and an asset\n- Linkages to asset sets\n\n - **`CustomerAssetSet`:** The link between a customer and an asset set\n - **`CampaignAssetSet`:** The link between a campaign and an asset set\n - **`AdGroupAssetSet`:** The link between an ad group and an asset set\n\nCampaign assets example\n\nHere's a visual representation of how some of the objects can be linked. The\nexample starts with campaigns at the top, but the same hierarchy also applies to\ncustomers and ad groups.\nDiagram of campaign asset sets\n\nBefore you create a `CampaignAssetSet`, you must first create a\n[`Campaign`](/google-ads/api/docs/campaigns/create-campaigns) and an `AssetSet` containing\none or more assets. You can assemble assets to create an inventory for all\napplicable ad formats in your campaign, or let Google Ads mix and match available\nassets based on which channel the ad is being served: YouTube, Gmail, Search,\nand others.\n| **Key Point:** A `Campaign` can link to one or more `CampaignAssetSet` objects, but each `CampaignAssetSet` can be linked to only one `Campaign`.\n\nAsset types linked to ads\n\nSome asset types can be linked directly to ads.\n\n| Asset type | AssetFieldType | Ad type |\n|----------------|---------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| Video | YOUTUBE_VIDEO | App ad App engagement ad Local ad Responsive display ad |\n| Media bundle | MEDIA_BUNDLE CUSTOM_LAYOUT | App ad Display upload Ad |\n| Image | MARKETING_IMAGE SQUARE_MARKETING_IMAGE LOGO LANDSCAPE_LOGO PORTRAIT_MARKETING_IMAGE | App ad App engagement ad Local ad Responsive display ad |\n| Text | HEADLINE LONG_HEADLINE DESCRIPTION MANDATORY_AD_TEXT CALL_TO_ACTION_SELECTION BUSINESS_NAME | App ad App engagement ad Local ad Responsive display ad Responsive search ad Smart campaign ad |\n| Call to Action | CALL_TO_ACTION | Local ad Responsive display ad |\n\nAsset types linked to customers, campaigns, and ad groups\n\nSome types of assets can be linked to customers, campaigns, or ad groups through\nlinkage objects.\n| **Note:** For `BUSINESS_MESSAGE` assets:\n|\n| - Each customer can have only one active business message asset.\n| - At the campaign and ad group levels, you can assign only one active business message asset for each message provider type.\n\n| Asset type | AssetFieldType | Linkage | Mutable |\n|--------------------|--------------------|------------------------------------------|---------|\n| Business message | BUSINESS_MESSAGE | AdGroupAsset CampaignAsset CustomerAsset | Yes |\n| Text | BUSINESS_NAME | CampaignAsset CustomerAsset | No |\n| Image | AD_IMAGE | AdGroupAsset CampaignAsset | No |\n| Image | BUSINESS_LOGO | CampaignAsset CustomerAsset | No |\n| Lead form | LEAD_FORM | CampaignAsset | Yes |\n| Promotion | PROMOTION | AdGroupAsset CampaignAsset CustomerAsset | Yes |\n| Callout | CALLOUT | AdGroupAsset CampaignAsset CustomerAsset | Yes |\n| Structured snippet | STRUCTURED_SNIPPET | AdGroupAsset CampaignAsset CustomerAsset | Yes |\n| Sitelink | SITELINK | AdGroupAsset CampaignAsset CustomerAsset | Yes |\n| Mobile app | MOBILE_APP | AdGroupAsset CampaignAsset CustomerAsset | Yes |\n| Hotel callout | HOTEL_CALLOUT | AdGroupAsset CampaignAsset CustomerAsset | Yes |\n| Call | CALL | AdGroupAsset CampaignAsset CustomerAsset | Yes |\n| Price | PRICE | AdGroupAsset CampaignAsset CustomerAsset | Yes |\n\nLocation assets\n\nLocation assets are handled differently from other asset types. See [Location\nassets](/google-ads/api/docs/assets/location-assets) for details.\n\nAutomatically created assets\n\nAutomatically created assets cannot be modified. The\n[`AssetSource`](/google-ads/api/reference/rpc/v21/AssetSourceEnum.AssetSource) indicates whether an\nasset was user-created or was automatically generated by the system. Mutable\ntypes like sitelink can't be linked to automatically created assets.\n\nAsset types linked to asset sets\n\nCertain asset types can be linked to specific types of asset sets.\n\n| AssetType | AssetSetType | Linkage | Mutable |\n|----------------------------|------------------------------|---------------------------------------------------|-----------------------|\n| PAGE_FEED | PAGE_FEED | CampaignAssetSet | Yes |\n| DYNAMIC_EDUCATION | DYNAMIC_EDUCATION | CampaignAssetSet | Yes |\n| DYNAMIC_CUSTOM | DYNAMIC_CUSTOM | CampaignAssetSet | Yes |\n| DYNAMIC_HOTELS_AND_RENTALS | DYNAMIC_HOTELS_AND_RENTALS | CampaignAssetSet | Yes |\n| DYNAMIC_REAL_ESTATE | DYNAMIC_REAL_ESTATE | CampaignAssetSet | Yes |\n| DYNAMIC_LOCAL | DYNAMIC_LOCAL | CampaignAssetSet | Yes |\n| DYNAMIC_FLIGHTS | DYNAMIC_FLIGHTS | CampaignAssetSet | Yes |\n| DYNAMIC_JOBS | DYNAMIC_JOBS | CampaignAssetSet | Yes |\n| DYNAMIC_TRAVEL | DYNAMIC_TRAVEL | CampaignAssetSet | Yes |\n| LOCATION | LOCATION_SYNC | CustomerAssetSet CampaignAssetSet AdGroupAssetSet | No (system generated) |\n| LOCATION | GMB_DYNAMIC_LOCATION_GROUP | CampaignAssetSet AdGroupAssetSet | No (system generated) |\n| LOCATION | CHAIN_DYNAMIC_LOCATION_GROUP | CampaignAssetSet AdGroupAssetSet | No (system generated) |\n| LOCATION | STATIC_LOCATION_GROUP | CampaignAssetSet AdGroupAssetSet | No (system generated) |"]]