素材资源自动化设置

Google Ads 提供了多项可自动执行的素材资源优化功能,以提升广告效力。

这些功能包括:通过预览广告着陆页自动制作图片素材资源,以及针对不同格式和不同时长优化视频素材资源。

每个素材资源自动化设置都有一个 asset_automation_type(用于定义其代表的素材资源自动化类型)和一个 asset_automation_status(用于表示自动化是启用还是停用)。

部分素材资源自动化功能在广告系列一级进行配置,而其他功能则在广告组广告一级进行设置。

广告系列级素材资源自动化设置

这些设置会为整个广告系列配置素材资源自动化。 并非所有这些字段都适用于每种广告系列类型:如需了解更多详情,请参阅参考文档。

素材资源自动化类型 支持的广告系列类型 默认
AUTOMATED_VIDEO_CRAWL 效果最大化广告系列

已停用(从 v25 开始提供)

允许 Google 查找和使用来自您的着陆页、YouTube 频道以及着陆页上关联的自然社交媒体渠道的视频。选择启用后,您可以配置 automated_video_crawl_setting 字段。

FINAL_URL_EXPANSION_TEXT_ASSET_AUTOMATION 效果最大化广告系列、搜索广告系列

为效果最大化广告系列启用,为搜索广告系列停用。

注意:启用最终到达网址扩展功能后,Google 会动态生成文字素材资源(标题和广告内容描述),以匹配动态选择的着陆页的内容。如果最终到达网址扩展功能处于启用状态,则无法停用此选项。这与标准 TEXT_ASSET_AUTOMATION(文案适配)不同,后者会自定义广告系列中所有广告的文案。

GENERATE_ENHANCED_YOUTUBE_VIDEOS 效果最大化广告系列 已启用
GENERATE_IMAGE_ENHANCEMENT 效果最大化广告系列 已启用
GENERATE_IMAGE_EXTRACTION 效果最大化广告系列 账号级动态图片素材资源控制值。

注意:此账号级设置只能在 Google Ads 网页界面中配置。

TEXT_ASSET_AUTOMATION 效果最大化广告系列、搜索广告系列 为效果最大化广告系列启用,为搜索广告系列停用

以下代码段展示了如何将效果最大化广告系列的素材资源自动化设置设为 OPTED_IN:

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

'asset_automation_settings' => [
    new AssetAutomationSetting(
        [
        'asset_automation_type' => AssetAutomationType::TEXT_ASSET_AUTOMATION,
        'asset_automation_status' => AssetAutomationStatus::OPTED_IN
        ]
    ),
    new AssetAutomationSetting(
        [
        'asset_automation_type' => AssetAutomationType::URL_EXPANSION,
        'asset_automation_status' => AssetAutomationStatus::OPTED_IN
        ]
    )
],
      

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::V26::Resources::AssetAutomationSetting->new({
      assetAutomationStatus => OPTED_IN,
      assetAutomationType   => $asset_automation_type
    });
}
      

curl

广告级素材资源自动化设置

这些参数用于为单个广告配置素材资源自动化。 并非所有这些方法都适用于每种广告类型:如需了解更多详情,请参阅参考文档。

素材资源自动化类型 支持的广告类型 默认
GENERATE_ANIMATED_IMAGES_FROM_OTHER_ASSETS DemandGenMultiAssetAd 已启用(从 v25 开始)
GENERATE_DESIGN_VERSIONS_FOR_IMAGES DemandGenMultiAssetAd 已启用
GENERATE_LANDING_PAGE_PREVIEW DemandGenVideoResponsiveAd 已停用
GENERATE_LANDING_PAGE_TEXT DemandGenVideoResponsiveAd 已启用(从 v24 开始)
GENERATE_SHORTER_YOUTUBE_VIDEOS DemandGenVideoResponsiveAd 已启用
GENERATE_VERTICAL_YOUTUBE_VIDEOS DemandGenVideoResponsiveAd 已启用
GENERATE_VIDEOS_FROM_OTHER_ASSETS DemandGenMultiAssetAd 已启用

文案准则

借助文案准则,您可以通过指定字词排除对象和广告内容限制条件,为效果最大化广告系列和 AI Max 广告系列中自动生成的文字素材资源优化品牌宣传内容。

如需使用文案准则,请填充 Campaign 资源的 text_guidelines 字段:

  • 字词排除对象:提供要从生成的文字素材资源中排除的确切字词或词组列表。每个排除对象最多可包含 30 个字符,最多可添加 25 个排除对象。
  • 广告内容限制条件:提供自由格式的指令(每条最多 300 个字符),以引导 AI 生成文案。您最多可以提供 40 个限制条件。限制类型仅支持 RESTRICTION_BASED_EXCLUSION。

自动视频抓取设置

借助自动化视频抓取功能(从 v25 开始提供,也称为来源视频),Google 可以发现已获批准的来源中的相关视频,并将其用于效果最大化广告系列,从而帮助提升广告效果,而无需手动上传视频。

如需使用自动视频抓取功能,请执行以下操作:

  1. 将 asset_automation_type 设置为 AUTOMATED_VIDEO_CRAWL。
  2. 将 asset_automation_status 设置为 OPTED_IN。
  3. 使用 automated_video_crawl_infos 中的一个或多个 AutomatedVideoCrawlInfo 条目配置 AssetAutomationSetting 的 automated_video_crawl_setting 字段:

    • url:要包含在抓取范围内的网址(例如您的着陆页、社交媒体个人资料或 YouTube 频道)。
    • source_platform:表示来源类型的 VideoCrawlSourcePlatform:
      • LANDING_PAGE:在广告客户的着陆页上找到的视频。
      • SOCIAL:广告客户着陆页上链接的自然社交媒体流量视频网址(Facebook、Instagram、X、LinkedIn、TikTok)。
      • YOUTUBE:广告客户 YouTube 频道中的视频。
    • enabled:一个布尔值,指示此来源网址是否已获批准并已启用抓取。