自動生成アセット
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Google Ads API は、Google 広告で直接管理される自動アセットをサポートしています。API のスコープは、個々のアセットの一時停止または削除と、統計情報の取得に限定されます。自動生成アセットの有効 / 無効は、Google 広告のウェブ インターフェースで設定します。
作成と更新
アカウントでこの機能を有効にすると、Google 広告で自動生成アセットが次のように作成されます。
- アセットが作成されます。
CampaignAsset
、AdGroupAsset
、または CustomerAsset
オブジェクトが作成され、アセットがそれぞれキャンペーン、広告グループ、顧客リソースに関連付けられます。
Google Ads API を使用して自動アセットを作成または更新することはできません。また、Google Ads API を使用して自動アセットの CampaignAsset
、AdGroupAsset
、CustomerAsset
を作成することもできません。
自動アセットを対応するリソースに関連付ける CampaignAsset
、AdGroupAsset
、または CustomerAsset
エンティティを一時停止または削除できます。
関連付けを一時停止または削除する
関連付けを一時停止すると、アセットは対応するエンティティに対して一時的に配信されなくなります。関連付けを一時停止すると、ウェブ インターフェースまたは API で再度有効にするまで、Google 広告で自動的に再有効化されたり、そのリソースに対して対応するアセットが配信されたりすることはありません。アセットとリソース間の関連付けを完全に無効にするには、関連付けを削除します。
Google 広告では、特定のエンティティに関連付けることができる特定のタイプ(キャンペーンあたりの自動サイトリンクの数など)の自動生成アセットの数に上限が適用されます。一時停止された関連付けはこの上限にカウントされますが、削除された関連付けはカウントされません。自動生成アセットは、手動で追加したアセットの上限の対象には含まれません。
自動生成アセットを取得する
AssetSource = AUTOMATICALLY_CREATED
でフィルタして、自動生成アセットのデータを取得できます。広告にリンクできるアセットの場合は、source
を確認します。広告にリンクできるアセットタイプの一覧については、AssetType
をご覧ください。
広告内のアセットのクエリの例を次に示します。
SELECT
ad_group.name,
ad_group_ad_asset_view.asset,
ad_group_ad_asset_view.ad_group_ad
FROM ad_group_ad_asset_view
WHERE asset.source = 'AUTOMATICALLY_CREATED'
他のタイプのアセットの場合は、Asset
リソースを直接クエリします。
SELECT
asset.id,
asset.name
FROM asset
WHERE asset.source = 'AUTOMATICALLY_CREATED'
レポート
アセットのパフォーマンス統計情報は、asset_field_type_view
レポートからリクエストできます。このレポートには、自動で追加されたアセットと手動で追加されたアセットの両方の集計統計が含まれます。
個々のアセットのパフォーマンス統計情報は、campaign_asset
、customer_asset
、ad_group_asset
の各レポートから取得できます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-09-05 UTC。
[null,null,["最終更新日 2025-09-05 UTC。"],[[["\u003cp\u003eThe Google Ads API allows you to manage automated assets (created by Google Ads) by pausing, removing, or retrieving their performance data.\u003c/p\u003e\n"],["\u003cp\u003eYou can opt in or out of using automated assets through the Google Ads web interface, but cannot create or update them directly via the API.\u003c/p\u003e\n"],["\u003cp\u003ePausing an automated asset's association with a campaign, ad group, or customer temporarily disables it, while removing the association permanently disables it.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve data for automated assets using specific queries and filters within the Google Ads API.\u003c/p\u003e\n"],["\u003cp\u003ePerformance statistics for automated assets are available through various reporting features within the Google Ads API, including aggregated and individual asset data.\u003c/p\u003e\n"]]],[],null,["# Automated assets\n\nThe Google Ads API supports [automated\nassets](//support.google.com/google-ads/answer/7175034) managed directly by\nGoogle Ads, with the scope of the API limited to pausing or removing individual\nassets and retrieving stats. You opt in or out of automated assets through the\nGoogle Ads web interface.\n\nCreation and update\n-------------------\n\nOnce an account is opted in to this feature, Google Ads creates automated assets as\nfollows:\n\n1. Assets are created.\n2. [`CampaignAsset`](/google-ads/api/reference/rpc/v21/CampaignAsset), [`AdGroupAsset`](/google-ads/api/reference/rpc/v21/AdGroupAsset), or [`CustomerAsset`](/google-ads/api/reference/rpc/v21/CustomerAsset) objects are created to associate the asset with campaign, ad group, or customer resources, respectively.\n\nYou cannot create or update automated assets using the Google Ads API, nor can you\ncreate [`CampaignAsset`](/google-ads/api/reference/rpc/v21/CampaignAsset),\n[`AdGroupAsset`](/google-ads/api/reference/rpc/v21/AdGroupAsset), or\n[`CustomerAsset`](/google-ads/api/reference/rpc/v21/CustomerAsset) for the automated assets using\nthe Google Ads API.\n\nYou can pause or remove [`CampaignAsset`](/google-ads/api/reference/rpc/v21/CampaignAsset),\n[`AdGroupAsset`](/google-ads/api/reference/rpc/v21/AdGroupAsset), or\n[`CustomerAsset`](/google-ads/api/reference/rpc/v21/CustomerAsset) entities that associate the\nautomated asset with the corresponding resource.\n\nPause or remove the association\n-------------------------------\n\nPausing the association disables the asset from serving against the\ncorresponding entity temporarily. Once you pause the association, Google Ads won't\nautomatically re-enable or serve the corresponding asset against that resource\nuntil it is re-enabled through the web interface or API. To disable the\nassociation between asset and resource permanently, remove the association.\n\nGoogle Ads enforces a limit on the number of automated assets of a given type that\ncan be associated with a given entity, for example, the number of automated\nsitelinks per campaign. A paused association counts against this limit, whereas\na removed association doesn't. Automated assets don't count towards the limits\nfor manually added assets.\n\nRetrieve automated assets\n-------------------------\n\nYou can retrieve automated assets data by filtering for\n[`AssetSource = AUTOMATICALLY_CREATED`](/google-ads/api/reference/rpc/v21/AssetSourceEnum.AssetSource#automatically_created).\nFor assets that can link to ads, check its\n[`source`](/google-ads/api/reference/rpc/v21/AdGroupAdAssetView#source). Refer to\n[`AssetType`](/google-ads/api/reference/rpc/v21/AssetTypeEnum.AssetType) for a list of asset types\nthat can be linked to ads.\n\nHere is a sample query for assets in an ad: \n\n SELECT\n ad_group.name,\n ad_group_ad_asset_view.asset,\n ad_group_ad_asset_view.ad_group_ad\n FROM ad_group_ad_asset_view\n WHERE asset.source = 'AUTOMATICALLY_CREATED'\n\nFor other types of assets, query the [`Asset`](/google-ads/api/reference/rpc/v21/Asset) resource\ndirectly: \n\n SELECT\n asset.id,\n asset.name\n FROM asset\n WHERE asset.source = 'AUTOMATICALLY_CREATED'\n\nReports\n-------\n\nAsset performance statistics can be requested from the\n[`asset_field_type_view`](/google-ads/api/fields/v21/asset_field_type_view) report. This report\nincludes the aggregated stats for both automated and manually added assets.\n\nPerformance stats for individual assets can be retrieved from the\n[`campaign_asset`](/google-ads/api/fields/v21/campaign_asset),\n[`customer_asset`](/google-ads/api/fields/v21/customer_asset), and\n[`ad_group_asset`](/google-ads/api/fields/v21/ad_group_asset) reports."]]