update_activity_selector
Update one or more location selectors in a Target activity to match the intended CSS injection target. Returns available location names if the specified name is not found.
Instructions
Update one or more location selectors in an Adobe Target activity. Use this when the activity's primary location selector (e.g. "BODY > *:eq(0)") does not match the intended CSS injection target (e.g. "#business"). Returns a list of available location names if the specified name is not found. API key and tenant are loaded from environment variables automatically. Supports both AB and XT activity types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activityId | Yes | The ID of the Adobe Target activity to update (MANDATORY). | |
| activityType | No | The activity type: "ab" (default) or "xt". | ab |
| selectorUpdates | Yes | List of location selector updates to apply. |