Google AnalyticsGoogle AnalyticsSEO/AEO

Update your GA4 property's data retention settings

google-analytics.x.analyticsadmin-properties-updatedataretentionsettings

properties.updateDataRetentionSettings — Updates the singleton data retention settings for this property.

価格
freeカタログ価格で提供
成功率
—成功率データはまだありません直近 30 日 · 0 回
レイテンシ p50
——
最終確認
—未確認
PATCHhttps://toolswitch.dev/v1/tools/google-analytics.x.analyticsadmin-properties-updatedataretentionsettingsBeta
  • プラットフォームのクォータを使用
  • 同期レスポンス
  • 公開データを読み取る

パラメータ

パラメータ型必須説明例
パスパラメータ
name文字列必須Identifier. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings
クエリパラメータ
updateMask文字列任意Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
  • パスパラメータ
  • name文字列必須

    Identifier. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings

  • クエリパラメータ
  • updateMask文字列任意

    Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

コード例

$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。

Beta
curl -X PATCH 'https://toolswitch.dev/v1/tools/google-analytics.x.analyticsadmin-properties-updatedataretentionsettings' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。