amphtml
amphtml copied to clipboard
ClientID: Support viewer:getClientId in addition to publisher:getClientId
In addition to publisher:getClientId, add support for calling viewer:getClientId.
This should only be done when an AMP document is served from the AMP Cache and when the containing Viewer is not responsible for calling the CID API.
Internal: b/72373408
/cc @lannka
This will actually use a new endpoint, cache:getClientId.