Skip to content

Updated event type from personalization.request to decisioning.propositionFetch#159

Merged
akhiljain1907 merged 3 commits into
adobe:dev-v5.7.0from
akhiljain1907:feat/decisioning.propositionFetch
Jun 25, 2026
Merged

Updated event type from personalization.request to decisioning.propositionFetch#159
akhiljain1907 merged 3 commits into
adobe:dev-v5.7.0from
akhiljain1907:feat/decisioning.propositionFetch

Conversation

@akhiljain1907

@akhiljain1907 akhiljain1907 commented May 6, 2026

Copy link
Copy Markdown
Contributor

MOB-24547
PLATIR-51299

Description

Desktop and Mobile SDKs are using "personalization.request" to fetch decisions. This is deprecated and should be replaced with "decisioning.propositionFetch".

Table of valid event types:
https://experienceleague.adobe.com/en/docs/experience-platform/xdm/classes/experienceevent

Related Issue

Motivation and Context

How Has This Been Tested?

Tested AEPOptimize SDK with personalization requests being sent with event type as decisioning.propositionFetch instead of personalization.request. Passed decision scope for both Target and Offer Decisioning and retrieved offers for both. Also compared the Tracking payload sent for Display and Click for corresponding offers.

Assurance session - https://experience.adobe.com/#/@aemonacpprodcampaign/data-collection/assurance/session/b22ec762-9a8b-4094-bc0e-20fe819c0651/view/event-list

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

mohdashraf010897 added a commit to adobe/griffon-toolkit that referenced this pull request Jun 18, 2026
…quests

Mobile SDKs are migrating the XDM eventType used to fetch propositions from
the deprecated `personalization.request` to `decisioning.propositionFetch`,
aligning Mobile with the XDM spec already used by Web SDK. Both SDK PRs are
open:
  - Optimize:  adobe/aepsdk-optimize-ios#159
  - Messaging: adobe/aepsdk-messaging-ios#491 (in-app, content cards, CBE)

Assurance must match events from both old and new SDK builds, so the
affected matchers now accept either eventType (additive — no break for
existing sessions).

Changes:
- New personalizationFetchEventTypes.ts: exports LEGACY_EDGE_EVENT_TYPE,
  PROPOSITION_FETCH_EDGE_EVENT_TYPE, and edgeEventTypeMatcher (combineAny
  of both values). Single source of truth for all three matchers.
- optimizeMessagesRequest.ts, personalizationEdgeRequest.ts,
  iamMessagesRequest.ts: replace the hardcoded personalization.request
  JMESPath clause with edgeEventTypeMatcher; export the new constants.
- personalizationEdgeRequest.json schema: widen const -> enum [both].
  optimize + iam schemas inherit this via allOf, so all three are covered.
- index.ts: re-exports personalizationFetchEventTypes.
- Version bump: 0.13.0 -> 0.14.0 (additive, no breaking changes).

All three matchers (optimize, edge, IAM) covered now — Messaging SDK #491
is open, so accepting the new type in the IAM matcher is forward-ready and
safe (legacy type still matches today).

Tests: 11/11 pass (2 existing sharedStateConfig + 9 new across all three
matchers + constants).

MOB-25095 / MOB-24547 / PLATIR-51299
@akhiljain1907 akhiljain1907 changed the base branch from main to dev-v5.7.0 June 25, 2026 05:04
@akhiljain1907 akhiljain1907 merged commit 37896eb into adobe:dev-v5.7.0 Jun 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants