アセットの自動生成の設定

Google 広告には、広告の広告スコアを向上させるために自動的に実行できるアセットの最適化がいくつか用意されています。

たとえば、広告のランディング ページのプレビューを含む画像アセットの自動作成や、さまざまなフォーマットや長さの動画アセットの最適化などがあります。

各アセットの自動化設定には、その設定が表すアセットの自動化のタイプを定義する asset_automation_type, と、自動化が有効か無効かを表す asset_automation_status, があります。

一部のアセットの自動化はキャンペーン単位で設定され、一部は広告グループの広告単位で設定されます。

キャンペーン単位のアセットの自動化設定

キャンペーン全体のアセットの自動化を設定します。 すべてのキャンペーン タイプで利用できるわけではありません。詳しくは、 リファレンス ドキュメント をご覧ください。

アセットの自動化の種類 サポートされているキャンペーン タイプ デフォルト
FINAL_URL_EXPANSION_TEXT_ASSET_AUTOMATION P-MAX、検索

P-MAX では有効、検索では無効。

注: 最終ページ URL の拡張を有効にすると、動的に選択されたランディング ページの内容に合わせて、テキスト アセット(広告見出しと説明文)が Google によって動的に生成されます。最終ページ URL の拡張が有効になっている場合、この設定を無効にすることはできません。これに対し、標準の TEXT_ASSET_AUTOMATION(テキストのカスタマイズ)では、キャンペーン内のすべての広告のコピーがカスタマイズされます。

GENERATE_ENHANCED_YOUTUBE_VIDEOS P-MAX 有効
GENERATE_IMAGE_ENHANCEMENT P-MAX P-MAX では有効、検索では無効
GENERATE_IMAGE_EXTRACTION P-MAX アカウント単位の動的画像表示オプションの制御値。

注: このアカウント単位の設定は、Google 広告のウェブ インターフェースでのみ構成できます。

TEXT_ASSET_AUTOMATION P-MAX、検索 P-MAX では有効、検索では無効

次のスニペットは、P-MAX キャンペーンのアセットの自動化設定を OPT_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

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

curl

広告レベルのアセットの自動化設定

単一の広告のアセットの自動化を設定します。 すべてがすべての広告タイプで利用できるわけではありません。詳しくは、 リファレンス ドキュメント をご覧ください。

アセットの自動化の種類 サポートされる広告タイプ デフォルト
GENERATE_DESIGN_VERSIONS_FOR_IMAGES DemandGenMultiAssetAd 有効
GENERATE_LANDING_PAGE_PREVIEW DemandgenVideoResponsiveAd 無効
GENERATE_SHORTER_YOUTUBE_VIDEOS DemandGenVideoResponsiveAd 有効
GENERATE_VERTICAL_YOUTUBE_VIDEOS DemandGenVideoResponsiveAd 有効
GENERATE_VIDEOS_FROM_OTHER_ASSETS DemandGenMultiAssetAds 有効

テキストのガイドライン

テキストのガイドラインを使用すると、除外する語句やメッセージの制限を指定することで、P-MAX キャンペーンと AI Max キャンペーンで自動生成されるテキスト アセットのブランド メッセージを絞り込むことができます。

テキストのガイドラインを使用するには、 text_guidelines リソースの Campaign フィールドに値を入力します。

  • 除外する語句: 生成されるテキスト アセットから除外する単語やフレーズを正確に指定します。除外する語句は 1 つあたり 30 文字以内で、最大 25 個まで指定できます。
  • メッセージの制限: AI によるテキスト生成をガイドするフリーフォームの指示(1 つあたり最大 300 文字)を指定します。最大 40 個の制限を指定できます。制限タイプでは RESTRICTION_BASED_EXCLUSION のみがサポートされています。