Skip to content
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

Kargo: Add iframe sync option #3855

Closed
wants to merge 1 commit into from
Closed

Conversation

nickllerandi
Copy link
Contributor

Adds iframe sync option to kargo.yaml.

This endpoint will append the specified r (RedirectURL) to the list of returned pixels in the iframe. Aside from the appended redirecturl, this list of pixels are the same as from Kargo's prebid js adapter.
Test url here: https://crb.kargo.com/api/v1/initsyncpbs?r=https%3A%2F%2Fwww.kargo.com%3Fuid%3D%24UID

@@ -10,6 +10,9 @@ capabilities:
- video
- native
userSync:
iframe:
url: "https://crb.kargo.com/api/v1/initsyncpbs?gdpr={{.GDPR}}&gdpr_consent={{.GDPRConsent}}&us_privacy={{.USPrivacy}}&gpp={{.GPP}}&gpp_sid={{.GPPSID}}&r={{.RedirectURL}}"
userMacro: "$UID"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The user sync url is not setting UID for the following URL. Please check -

https://crb.kargo.com/api/v1/initsyncpbs?gdpr=&gdpr_consent=&us_privacy=&gpp=&gpp_sid=&r=https%3A%2F%2Fib.adnxs.com%2Fprebid%2Fsetuid%3Fbidder%3Dkargo%26gdpr%3D%26gdpr_consent%3D%26gpp%3D%26gpp_sid%3D%26f%3Db%26uid%3D%24UID

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same is happening for me

Copy link
Contributor Author

@nickllerandi nickllerandi Aug 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If youve only called once it wont work until we've had a chance to place a cookie. Refresh and you should see it. Implementing a loop-redirect to place a cookie on the first attempt is in the backlog.
Screenshot 2024-08-14 at 11 08 59 AM

I'm addressing that extra \n now but that shouldnt cause any issues.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please raise this PR once you have implemented a loop-redirect to place a cookie on the first attempt. We should be able to merge it when that is resolved.

@bsardo bsardo changed the title Kargo bid adapter: adds iframe sync option Kargo: Add iframe sync option Aug 16, 2024
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