Google Ads cung cấp một số tính năng tối ưu hoá thành phần có thể được thực hiện tự động để cải thiện độ mạnh của quảng cáo.
Các tính năng này bao gồm từ việc tự động tạo thành phần hình ảnh có bản xem trước trang đích của quảng cáo, đến việc tối ưu hoá thành phần video cho nhiều định dạng và độ dài khác nhau.
Mỗi chế độ cài đặt tự động hoá thành phần đều có một asset_automation_type, xác định loại chế độ tự động hoá thành phần mà chế độ này đại diện, và một asset_automation_status, cho biết chế độ tự động hoá có được bật hay không.
Một số tính năng tự động hoá thành phần được định cấu hình ở cấp chiến dịch, trong khi những tính năng khác được đặt ở cấp quảng cáo của nhóm quảng cáo.
Chế độ cài đặt tự động hoá thành phần ở cấp chiến dịch
Các chế độ cài đặt này sẽ định cấu hình tính năng tự động hoá thành phần cho toàn bộ chiến dịch. Không phải loại chiến dịch nào cũng có sẵn tất cả các lựa chọn này: hãy tham khảo tài liệu tham khảo để biết thêm thông tin chi tiết.
| Loại tự động hoá thành phần | Các loại chiến dịch được hỗ trợ | Mặc định |
|---|---|---|
| FINAL_URL_EXPANSION_TEXT_ASSET_AUTOMATION | Tối đa hoá hiệu suất, Tìm kiếm | Được bật cho chiến dịch Tối đa hoá hiệu suất, bị tắt cho chiến dịch Tìm kiếm |
| GENERATE_ENHANCED_YOUTUBE_VIDEOS | Tối đa hoá hiệu suất | Đang bật |
| GENERATE_IMAGE_ENHANCEMENT | Tối đa hoá hiệu suất | Được bật cho chiến dịch Tối đa hoá hiệu suất, bị tắt cho chiến dịch Tìm kiếm |
| GENERATE_IMAGE_EXTRACTION | Tối đa hoá hiệu suất | Giá trị kiểm soát Phần mở rộng về hình ảnh linh hoạt ở cấp tài khoản. |
| TEXT_ASSET_AUTOMATION | Tối đa hoá hiệu suất, Tìm kiếm | Được bật cho chiến dịch Tối đa hoá hiệu suất, bị tắt cho chiến dịch Tìm kiếm |
Đoạn mã sau cho biết cách đặt chế độ cài đặt tự động hoá thành phần thành OPT_IN cho chiến dịch Tối đa hoá hiệu suất:
Java
// Configures the optional opt-in/out status for asset automation settings. .addAllAssetAutomationSettings(ImmutableList.of( AssetAutomationSetting.newBuilder() .setAssetAutomationType(AssetAutomationType.GENERATE_IMAGE_EXTRACTION) .setAssetAutomationStatus(AssetAutomationStatus.OPTED_IN).build(), AssetAutomationSetting.newBuilder() .setAssetAutomationType( AssetAutomationType.FINAL_URL_EXPANSION_TEXT_ASSET_AUTOMATION) .setAssetAutomationStatus(AssetAutomationStatus.OPTED_IN).build(), AssetAutomationSetting.newBuilder() .setAssetAutomationType(AssetAutomationType.TEXT_ASSET_AUTOMATION) .setAssetAutomationStatus(AssetAutomationStatus.OPTED_IN).build(), AssetAutomationSetting.newBuilder() .setAssetAutomationType(AssetAutomationType.GENERATE_ENHANCED_YOUTUBE_VIDEOS) .setAssetAutomationStatus(AssetAutomationStatus.OPTED_IN).build(), AssetAutomationSetting.newBuilder() .setAssetAutomationType(AssetAutomationType.GENERATE_IMAGE_ENHANCEMENT) .setAssetAutomationStatus(AssetAutomationStatus.OPTED_IN).build()))
C#
campaign.AssetAutomationSettings.AddRange(new[]{ new Campaign.Types.AssetAutomationSetting { AssetAutomationType = AssetAutomationType.GenerateImageExtraction, AssetAutomationStatus = AssetAutomationStatus.OptedIn }, new Campaign.Types.AssetAutomationSetting { AssetAutomationType = AssetAutomationType.FinalUrlExpansionTextAssetAutomation, AssetAutomationStatus = AssetAutomationStatus.OptedIn }, new Campaign.Types.AssetAutomationSetting { AssetAutomationType = AssetAutomationType.TextAssetAutomation, AssetAutomationStatus = AssetAutomationStatus.OptedIn }, new Campaign.Types.AssetAutomationSetting { AssetAutomationType = AssetAutomationType.GenerateEnhancedYoutubeVideos, AssetAutomationStatus = AssetAutomationStatus.OptedIn }, new Campaign.Types.AssetAutomationSetting { AssetAutomationType = AssetAutomationType.GenerateImageEnhancement, AssetAutomationStatus = AssetAutomationStatus.OptedIn }, });
PHP
This example is not yet available in PHP; you can take a look at the other languages.
Python
# Configures the optional opt-in/out status for asset automation settings. for asset_automation_type_enum in [ client.enums.AssetAutomationTypeEnum.GENERATE_IMAGE_EXTRACTION, client.enums.AssetAutomationTypeEnum.FINAL_URL_EXPANSION_TEXT_ASSET_AUTOMATION, client.enums.AssetAutomationTypeEnum.TEXT_ASSET_AUTOMATION, client.enums.AssetAutomationTypeEnum.GENERATE_ENHANCED_YOUTUBE_VIDEOS, client.enums.AssetAutomationTypeEnum.GENERATE_IMAGE_ENHANCEMENT ]: asset_automattion_setting: Campaign.AssetAutomationSetting = client.get_type("Campaign").AssetAutomationSetting() asset_automattion_setting.asset_automation_type = asset_automation_type_enum asset_automattion_setting.asset_automation_status = client.enums.AssetAutomationStatusEnum.OPTED_IN campaign.asset_automation_settings.append(asset_automattion_setting)
Ruby
# Configures the optional opt-in/out status for asset automation settings. c.asset_automation_settings << client.resource.asset_automation_setting do |aas| aas.asset_automation_type = :GENERATE_IMAGE_EXTRACTION aas.asset_automation_status = :OPTED_IN end c.asset_automation_settings << client.resource.asset_automation_setting do |aas| aas.asset_automation_type = :FINAL_URL_EXPANSION_TEXT_ASSET_AUTOMATION aas.asset_automation_status = :OPTED_IN end c.asset_automation_settings << client.resource.asset_automation_setting do |aas| aas.asset_automation_type = :TEXT_ASSET_AUTOMATION aas.asset_automation_status = :OPTED_IN end c.asset_automation_settings << client.resource.asset_automation_setting do |aas| aas.asset_automation_type = :GENERATE_ENHANCED_YOUTUBE_VIDEOS aas.asset_automation_status = :OPTED_IN end c.asset_automation_settings << client.resource.asset_automation_setting do |aas| aas.asset_automation_type = :GENERATE_IMAGE_ENHANCEMENT aas.asset_automation_status = :OPTED_IN end
Perl
# Configures the optional opt-in/out status for asset automation settings. # When we create the campaign object, we set campaign->{assetAutomationSettings} # equal to $asset_automation_settings. my $asset_automation_settings = []; my $asset_automation_types = [ GENERATE_IMAGE_EXTRACTION, FINAL_URL_EXPANSION_TEXT_ASSET_AUTOMATION, TEXT_ASSET_AUTOMATION, GENERATE_ENHANCED_YOUTUBE_VIDEOS, GENERATE_IMAGE_ENHANCEMENT ]; foreach my $asset_automation_type (@$asset_automation_types) { push @$asset_automation_settings, Google::Ads::GoogleAds::V22::Resources::AssetAutomationSetting->new({ assetAutomationStatus => OPTED_IN, assetAutomationType => $asset_automation_type }); }
Chế độ cài đặt tự động hoá thành phần ở cấp quảng cáo
Các đối tượng này định cấu hình tính năng tự động hoá thành phần cho một quảng cáo duy nhất. Không phải tất cả các tham số này đều có sẵn cho mọi loại quảng cáo: hãy tham khảo tài liệu tham khảo để biết thêm thông tin chi tiết.
| Loại tự động hoá thành phần | Các loại quảng cáo được hỗ trợ | Mặc định |
|---|---|---|
| GENERATE_DESIGN_VERSIONS_FOR_IMAGES | DemandGenMultiAssetAd | Đang bật |
| GENERATE_LANDING_PAGE_PREVIEW | DemandgenVideoResponsiveAd | Đã tắt |
| GENERATE_SHORTER_YOUTUBE_VIDEOS | DemandGenVideoResponsiveAd | Đang bật |
| GENERATE_VERTICAL_YOUTUBE_VIDEOS | DemandGenVideoResponsiveAd | Đang bật |
| GENERATE_VIDEOS_FROM_OTHER_ASSETS | DemandGenMultiAssetAds | Đang bật |