Integration guide

iOS

Open the web wall from your iOS app.

iOS

A native iOS SDK is not shipped yet. Open the hosted wall with SFSafariViewController (in-app) or UIApplication.shared.open.

Wall URL

code
https://prismads.co/wall/{PLACEMENT_ID}?user_id={USER_ID}&api_key={PUBLIC_KEY}
Param Required Notes
placement_id yes From Integrate modal
api_key yes Public key (pk_) — safe in the client
user_id yes Stable per player. URL-encode if needed

SFSafariViewController example

swift
let raw = "https://prismads.co/wall/\(placementId)?user_id=\(userId)&api_key=\(publicKey)"
guard let url = URL(string: raw) else { return }
let safari = SFSafariViewController(url: url)
present(safari, animated: true)

Checklist

  1. Placement platform is iOS and status is Live
  2. Pass a stable user_id matching your account system
  3. Keep the secret key on your server only
  4. Verify rewards via S2S postback, never from client-only events
  5. Optional: test postback before production traffic