Google AnalyticsGoogle AnalyticsSEO/AEO

Update a GA4 account's settings

google-analytics.x.analyticsadmin-accounts-patch

accounts.patch — Updates an account.

Price
freeZum Listenpreis
Success rate
—Noch keine ErfolgsratendatenLast 30 days · 0 calls
Latency p50
——
Last verified
—Not verified yet
PATCHhttps://toolswitch.dev/v1/tools/google-analytics.x.analyticsadmin-accounts-patchBeta
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameter

ParameterTypErforderlichBeschreibungBeispiel
Pfadparameter
nameZeichenketteErforderlichIdentifier. Resource name of this account. Format: accounts/{account} Example: "accounts/100"
Abfrageparameter
updateMaskZeichenketteOptionalRequired. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
  • Pfadparameter
  • nameZeichenketteErforderlich

    Identifier. Resource name of this account. Format: accounts/{account} Example: "accounts/100"

  • Abfrageparameter
  • updateMaskZeichenketteOptional

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

Codebeispiele

Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.

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

Diese Gateway-API ist in der Beta; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit free einschließlich Servicegebühr abgerechnet.