ampproject / ampproject/amphtml

User Agent Client Hints variables in RTC

Open
#38,687 1 comment 0 reactions 0 assignees View on GitHub
Component: amp-ad P3: When Possible Stale Type: Feature Request WG: monetization
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

Hello,

Is there any way to pass a UA CH variable:

https://github.com/ampproject/amphtml/blob/main/docs/spec/amp-var-substitutions.md#user-agent-client-hint

To an amp-ad RTC vendor's url?

https://github.com/ampproject/amphtml/blob/main/src/service/real-time-config/callout-vendors.js#L38

Alternatively, is there a different way to do this?

Thank-you!

Contributor guide

Open the contributing guide

Research direction

Start with the User-Agent Client Hints section in docs/spec/amp-var-substitutions.md and the vendor URL construction around src/service/real-time-config/callout-vendors.js#L38. Trace how substitutions are passed to an amp-ad RTC vendor URL and determine whether this request has a supported implementation path. Done should be a documented or implemented way to pass the requested variable, but the issue names no target test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.