Google AnalyticsGoogle AnalyticsSEO/AEO

Update a custom dimension on your GA4 property

google-analytics.x.analyticsadmin-properties-customdimensions-patch

customDimensions.patch — Updates a CustomDimension on a property.

Price
freeAt list price
Success rate
—No success-rate data yetLast 30 days · 0 calls
Latency p50
——
Last verified
—Not verified yet
PATCHhttps://toolswitch.dev/v1/tools/google-analytics.x.analyticsadmin-properties-customdimensions-patchBeta
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

ParameterTypeRequiredDescriptionExample
Path parameters
namestringRequiredIdentifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension}
Query parameters
updateMaskstringOptionalRequired. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
  • Path parameters
  • namestringRequired

    Identifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension}

  • Query parameters
  • updateMaskstringOptional

    Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

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

This gateway API is in beta; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.