Skip to content

Prebid Mobile: document plugin registration and extended ID providers - #6998

Open
mdanylov-sigma wants to merge 2 commits into
masterfrom
agent/plugin-register-extended-ids
Open

mdanylov-sigma wants to merge 2 commits into
masterfrom
agent/plugin-register-extended-ids

Conversation

@mdanylov-sigma

@mdanylov-sigma mdanylov-sigma commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Docs for the Prebid Mobile plugin registration functions and extended ID providers on iOS and Android, merged in prebid/prebid-mobile-ios#1424, prebid/prebid-mobile-ios#1361 and prebid/prebid-mobile-android#1057. They ship in 3.5.0 on both platforms, so the new sections say "requires SDK v3.5.0".

Plugin Renderer pages (iOS and Android)

  • The examples register renderers with the unified functions:
    • iOS: Prebid.register(renderer, as: .renderer) (Objective-C: [Prebid registerPlugin:as:]).
    • Android: PrebidMobile.registerPlugin(renderer, PluginCapability.RENDERER).
  • A new "Registration functions" section lists register / unregister / contains:
    • Renderers are identified by name, so a second renderer with the same name is ignored.
    • Plugins should be registered during SDK setup.
  • registerPluginRenderer, unregisterPluginRenderer and containsPluginRenderer stay documented, marked deprecated with removal in 4.0. On iOS the docs note that containsPluginRenderer(_:) matches the instance, while contains(_:as:) matches by name.

Targeting pages (iOS and Android)

  • Storing IDs: documents addExternalUserId (adds, or replaces by source), removeExternalUserId, clearExternalUserIds and getExtendedIds. The example uses addExternalUserId.
  • Deprecations: setExternalUserIds and getExternalUserIds stay documented, marked deprecated with removal in 4.0.
  • New "Extended ID providers" section:
    • how to implement and register an ExtendedIdProvider;
    • the provider members and lifecycle (onRegister, getExtendedIds on any thread, onUnregister with requests still in flight);
    • wrapping a pre-built EID: RawExtendedId(json:) on iOS, ExtendedId.wrap(JSONObject) on Android.
  • New "EID order and checks" section:
    • the order: Targeting / TargetingParams IDs, then the Shared ID, then providers in registration order;
    • the checks that skip an ID with a warning;
    • the rule that a provider's ID is skipped when its source is already present.
  • EID placement: the paragraph now lists provider IDs.
  • iOS example fix: UserUniqueID(uniqueId:aType:ext:). The page used the label id:, which doesn't exist.

Checks

  • markdownlint-cli2 --config .markdownlint.json on the four pages: 0 issues.
  • Merges cleanly with Prebid Mobile: document the plugin renderer win notice #6789 (plugin renderer win notice), which also edits both Plugin Renderer pages.
  • The Netlify preview renders the new sections, tables and deprecation alerts on all four pages. bundle exec jekyll build wasn't run locally.

🤖 Generated with Claude Code

mdanylov-sigma and others added 2 commits November 19, 2026 15:22
Covers iOS and Android:

- Plugin Renderer pages: register renderers with Prebid.register(_:as:) /
  PrebidMobile.registerPlugin(plugin, capability) and the matching
  unregister/contains functions; registerPluginRenderer and its companions
  are marked deprecated, to be removed in 4.0.
- Targeting pages: addExternalUserId, removeExternalUserId,
  clearExternalUserIds and getExtendedIds; setExternalUserIds and
  getExternalUserIds marked deprecated; new sections on extended ID
  providers (lifecycle, RawExtendedId / ExtendedId.wrap) and on the EID
  order and the checks that skip an ID.
- iOS example: UserUniqueID's label is uniqueId:, not id:.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 4.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for prebid-docs-preview ready!

Name Link
🔨 Latest commit 730e721
🔍 Latest deploy log https://app.netlify.com/projects/prebid-docs-preview/deploys/6aff140ee0d841054ded8c24
😎 Deploy Preview https://deploy-preview-6998--prebid-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
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.

1 participant