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

Cross App and Web Attribution reporting - sdk #1106

Closed
roistaboola opened this issue Nov 10, 2023 · 5 comments
Closed

Cross App and Web Attribution reporting - sdk #1106

roistaboola opened this issue Nov 10, 2023 · 5 comments

Comments

@roistaboola
Copy link

roistaboola commented Nov 10, 2023

the use case in reference has the SDK (at the publisher app) presenting the Ad and calling the OS android API registerSource(register source end point url).
that request is successful as the API does send an http request to the and the register source end point.

The Ad is then presented at the Web browser on the advertiser site page where our 3p script send http impression logs.
The logs http request were added the attribution request & response headers as follows::

request headers:
Attribution-Reporting-Eligible: trigger
Attribution-Reporting-Support: os, web

response headers:
Attribution-Reporting-Support: os, web
Attribution-Reporting-Register-OS-Trigger: register trigger end point url

Though all permissions were set at the browser:
Chrome Version is 119, Privacy Sandbox Ads API was enabled (chrome://flags)

The browser did not send a request to the register trigger end point url
1. what should be done for the browser to send a request to the URL defined at Attribution-Reporting-Register-OS-Trigger ?

Have also registered to Registration for the Cross App and Web Attribution Measurement trial with these values:
Third Party: Yes
Origin: the script web origin

Have added the method defined at
https://github.com/GoogleChrome/OriginTrials/blob/gh-pages/developer-guide.md#16-can-i-provide-tokens-by-running-script
to the 3p script (that send the http request with the attribution related headers).

The browser still did not send a request to the
2. is that the expected use of the Token ? can the Token be added to the header ? what should be done for the browser to send a request to the URL defined at Attribution-Reporting-Register-OS-Trigger ?

@linnan-github
Copy link
Collaborator

@roistaboola Thanks for the feedback. The Attribution-Reporting-Register-OS-Trigger header is empty in the response, could you please try to validate the response you set with the header validator? Thanks.
https://wicg.github.io/attribution-reporting-api/validate-headers

@roistaboola
Copy link
Author

Hi, have updated the case.
The Attribution-Reporting-Register-OS-Trigger header value was the register trigger end point url such as the following:
https://hostname.com/trigger?conv_id=18

@linnan-github
Copy link
Collaborator

@roistaboola Has the host completed the enrollment process? https://github.com/privacysandbox/attestation/blob/main/how-to-enroll.md

If not, for testing, this can be overridden with chrome://flags/#privacy-sandbox-enrollment-overrides

@linnan-github
Copy link
Collaborator

Given that this is an implementation issue, please consider re-filing at https://github.com/GoogleChromeLabs/privacy-sandbox-dev-support/issues/new/choose by selecting the "Attribution Reporting API" question.

@roistaboola
Copy link
Author

roistaboola commented Nov 11, 2023

Hi, given the focus is specific to 'Cross App and Web Attribution reporting', can i continue at the current thread ?
please note the following that is written in https://github.com/GoogleChromeLabs/privacy-sandbox-dev-support/issues/new:
"For questions on how to fulfil a certain use case with the API, file an issue in the spec repository instead._"

  1. what should be done for the browser to send a request to the URL defined at
    Attribution-Reporting-Register-OS-Trigger ?

  2. being an android SDK implementation, is 3th party the Token to be used at the Origin Trial ? can the Token be added to the header ? what should be done for the browser to send a request to the URL defined at Attribution-Reporting-Register-OS-Trigger ?

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

No branches or pull requests

3 participants