-
Notifications
You must be signed in to change notification settings - Fork 867
New adapter: DPAI #4684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
New adapter: DPAI #4684
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| aliasOf: "teqblaze" | ||
| endpoint: "https://ssp.drift-pixel.ai/pserver" | ||
| maintainer: | ||
| email: "adops@driftpixel.ai" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sent a mail to verify this mailbox. Please acknowledge over the mailbox with "recieved".
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The response was sent on February 17
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hello, I dont see the response over the mailbox |
||
| capabilities: | ||
| site: | ||
| mediaTypes: | ||
| - banner | ||
| - video | ||
| - native | ||
| app: | ||
| mediaTypes: | ||
| - banner | ||
| - video | ||
| - native | ||
| userSync: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Verifying that userSyncing works as expected |
||
| redirect: | ||
| url: "https://sync.drift-pixel.ai/pbserver?gdpr={{.GDPR}}&gdpr_consent={{.GDPRConsent}}&us_privacy={{.USPrivacy}}&gpp={{.GPP}}&gpp_sid={{.GPPSID}}&redir={{.RedirectURL}}" | ||
| userMacro: "[UID]" | ||
| iframe: | ||
| url: "https://sync.drift-pixel.ai/pbserverIframe?gdpr={{.GDPR}}&gdpr_consent={{.GDPRConsent}}&us_privacy={{.USPrivacy}}&gpp={{.GPP}}&gpp_sid={{.GPPSID}}&pbserverUrl={{.RedirectURL}}" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Successfully verified iframe type of userSync. |
||
| userMacro: "[UID]" | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting 404 when trying to hit endpoint.
`curl -s -w "\nHTTP_STATUS:%{http_code}\n" -X POST "https://ssp.drift-pixel.ai/pserver?placementId=aaaaaaaaaaaaaaaaaaaaaaaa" -H "Content-Type: application/json" -d "{"id":"1234","imp":[{"id":"imp1234"}]}"
HTTP_STATUS:404`
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, @karwaankit32
The endpoint works correctly — it accepts placementId in the request body, not as a query parameter.
When hitting POST /pserver without query params, it returns 204 No Content as expected:
The 404 you're getting is because ?placementId=... in the URL changes the routing. The correct way to test:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Acknowledging I received 204 response. Thanks