Skip to content

optable-targeting smoke tests - #5

Open
justadreamer wants to merge 2 commits into
optable-targeting-hid-plus-id5-mobile-inapp-resolver-paramsfrom
smoke-tests
Open

optable-targeting smoke tests#5
justadreamer wants to merge 2 commits into
optable-targeting-hid-plus-id5-mobile-inapp-resolver-paramsfrom
smoke-tests

Conversation

@justadreamer

Copy link
Copy Markdown
Collaborator

A manual smoke test for the optable-targeting module against the live Optable edge.

./sample/optable-smoke-test.sh runs three scenarios, each starting its own Prebid Server with its own config, posting sample/requests/optable-app-smoke.json (a mobile in-app request), then asserting on the response:

Scenario Asserts
na.edge.optable.co bidder requests enriched with eids; ext.prebid.passthrough.optable.id5_signature present
ca.edge.optable.co enriched with eids; ad server targeting keywords on the bids; no id5 signature
legacy execution plan processed-auction-request hook still enriches

The two edges hold different data for the prebidtest tenant, so expectations differ per scenario rather than being uniform: na resolves an ID5 signature but returns an empty audience, ca returns audience segments but no ID5. Between them both halves of what the module renders are covered. Each scenario also asserts the negative, so an unexpected signature or keyword fails the run.

The two split-plan scenarios additionally verify that pubmatic, pinned at 0 in bidder-enrichment-percentages, is never enriched.

Also adds the configs the scenarios need (-ca, -legacy-plan) and enables the bidders the sample request names.

Notes:

  • device.ip in the sample request must stay non-EU. The Optable edge derives its privacy jurisdiction from the forwarded IP, and an EU address makes it withhold the ID5 signature.
  • Not wired into CI: it calls a live third-party endpoint.

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