デマンド ジェネレーション キャンペーンを作成する

最小要件を満たしていることを確認する: デマンド ジェネレーション キャンペーンのアセットは、Discover や YouTube など、視覚とエンターテイメントを重視したサーフェスに配信されるため、高い品質基準を満たしている必要があります。

デマンド ジェネレーション キャンペーンを作成する手順は次のとおりです。

  1. 予算を作成する。
  2. 適切な入札戦略を使用してデマンド ジェネレーション キャンペーンを作成します。
  3. タイプのない広告グループを作成する。
  4. オーディエンスを作成する。
  5. アセットとデマンド ジェネレーション広告を作成します。

予算の作成

予算を作成します。なお、デマンド ジェネレーション キャンペーンでは共有予算を使用できません。1 日の予算として十分な金額(予想される目標コンバージョン単価の 15 倍以上)をアカウントに設定することをおすすめします。詳細

JavaC#PHPPythonRubyPerl
private static String addCampaignBudget(GoogleAdsClient googleAdsClient, long customerId) {
  CampaignBudget budget =
      CampaignBudget.newBuilder()
          .setName("Interplanetary Cruise Budget #" + getPrintableDateTime())
          .setDeliveryMethod(BudgetDeliveryMethod.STANDARD)
          .setAmountMicros(500_000)
          .build();

  CampaignBudgetOperation op = CampaignBudgetOperation.newBuilder().setCreate(budget).build();

  try (CampaignBudgetServiceClient campaignBudgetServiceClient =
      googleAdsClient.getLatestVersion().createCampaignBudgetServiceClient()) {
    MutateCampaignBudgetsResponse response =
        campaignBudgetServiceClient.mutateCampaignBudgets(
            Long.toString(customerId), ImmutableList.of(op));
    String budgetResourceName = response.getResults(0).getResourceName();
    System.out.printf("Added budget: %s%n", budgetResourceName);
    return budgetResourceName;
  }
}
      
private static string CreateBudget(GoogleAdsClient client, long customerId)
{
    // Get the BudgetService.
    CampaignBudgetServiceClient budgetService = client.GetService(
        Services.V19.CampaignBudgetService);

    // Create the campaign budget.
    CampaignBudget budget = new CampaignBudget()
    {
        Name = "Interplanetary Cruise Budget #" + ExampleUtilities.GetRandomString(),
        DeliveryMethod = BudgetDeliveryMethod.Standard,
        AmountMicros = 500000
    };

    // Create the operation.
    CampaignBudgetOperation budgetOperation = new CampaignBudgetOperation()
    {
        Create = budget
    };

    // Create the campaign budget.
    MutateCampaignBudgetsResponse response = budgetService.MutateCampaignBudgets(
        customerId.ToString(), new CampaignBudgetOperation[] { budgetOperation });
    return response.Results[0].ResourceName;
}
      
private static function addCampaignBudget(GoogleAdsClient $googleAdsClient, int $customerId)
{
    // Creates a campaign budget.
    $budget = new CampaignBudget([
        'name' => 'Interplanetary Cruise Budget #' . Helper::getPrintableDatetime(),
        'delivery_method' => BudgetDeliveryMethod::STANDARD,
        'amount_micros' => 500000
    ]);

    // Creates a campaign budget operation.
    $campaignBudgetOperation = new CampaignBudgetOperation();
    $campaignBudgetOperation->setCreate($budget);

    // Issues a mutate request.
    $campaignBudgetServiceClient = $googleAdsClient->getCampaignBudgetServiceClient();
    $response = $campaignBudgetServiceClient->mutateCampaignBudgets(
        MutateCampaignBudgetsRequest::build($customerId, [$campaignBudgetOperation])
    );

    /** @var CampaignBudget $addedBudget */
    $addedBudget = $response->getResults()[0];
    printf("Added budget named '%s'%s", $addedBudget->getResourceName(), PHP_EOL);

    return $addedBudget->getResourceName();
}
      
# Create a budget, which can be shared by multiple campaigns.
campaign_budget_operation = client.get_type("CampaignBudgetOperation")
campaign_budget = campaign_budget_operation.create
campaign_budget.name = f"Interplanetary Budget {uuid.uuid4()}"
campaign_budget.delivery_method = (
    client.enums.BudgetDeliveryMethodEnum.STANDARD
)
campaign_budget.amount_micros = 500000

# Add budget.
try:
    campaign_budget_response = (
        campaign_budget_service.mutate_campaign_budgets(
            customer_id=customer_id, operations=[campaign_budget_operation]
        )
    )
except GoogleAdsException as ex:
    handle_googleads_exception(ex)
      
# Create a budget, which can be shared by multiple campaigns.
campaign_budget = client.resource.campaign_budget do |cb|
  cb.name = "Interplanetary Budget #{(Time.new.to_f * 1000).to_i}"
  cb.delivery_method = :STANDARD
  cb.amount_micros = 500000
end

operation = client.operation.create_resource.campaign_budget(campaign_budget)

# Add budget.
return_budget = client.service.campaign_budget.mutate_campaign_budgets(
  customer_id: customer_id,
  operations: [operation],
)
      
# Create a campaign budget, which can be shared by multiple campaigns.
my $campaign_budget =
  Google::Ads::GoogleAds::V19::Resources::CampaignBudget->new({
    name           => "Interplanetary budget #" . uniqid(),
    deliveryMethod => STANDARD,
    amountMicros   => 500000
  });

# Create a campaign budget operation.
my $campaign_budget_operation =
  Google::Ads::GoogleAds::V19::Services::CampaignBudgetService::CampaignBudgetOperation
  ->new({create => $campaign_budget});

# Add the campaign budget.
my $campaign_budgets_response = $api_client->CampaignBudgetService()->mutate({
    customerId => $customer_id,
    operations => [$campaign_budget_operation]});
      

キャンペーンと入札戦略を作成する

予算を作成したら、キャンペーンの作成に進みます。

デマンド ジェネレーション キャンペーンの AdvertisingChannelTypeDEMAND_GEN です。AdvertisingChannelSubType は設定しないでください。

キャンペーンのコンバージョン目標を設定します。

サポートされている入札戦略は、クリック数の最大化、目標コンバージョン単価、コンバージョン数の最大化、目標広告費用対効果です。

広告グループの作成

タイプのない広告グループを作成して、ファインド キャンペーンに関連付けます。

オーディエンスを作成

AdGroupCriterion を使用してオーディエンスを作成して接続します。

アセットと広告を作成する

デマンド ジェネレーション キャンペーンで使用できる広告は次の 3 種類です。

まず、これらの広告タイプ用のアセットを作成します。デマンド ジェネレーションの各広告タイプで使用できるアセットのリストについては、デマンド ジェネレーション キャンペーンのアセットの仕様とベスト プラクティス ガイドをご覧ください。このガイドでは、必要なアセットと推奨されるアセット数について説明しています。また、アセットのパフォーマンスを評価してクリエイティブを微調整することもおすすめします。レポートのセクションでは、デマンド ジェネレーション キャンペーンのパフォーマンス指標を取得する方法について説明します。

DemandGenCarouselAdInfo には、AdDemandGenCarouselCardAsset という追加の特殊なアセットがあります。

アセットと広告を作成したら、広告を広告グループに追加します。