// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Information about an ad a given AdRequestConfig might show. // https://github.com/WICG/privacy-preserving-ads/blob/main/Parakeet.md enum AdSignals { "coarse-geolocation", "coarse-ua", "targeting", "user-ad-interests" }; dictionary AdProperties { DOMString width; DOMString height; DOMString slot; DOMString lang; DOMString adtype; double bidFloor; }; dictionary AdTargeting { sequence interests; GeolocationCoordinates geolocation; }; dictionary AdRequestConfig { required USVString adRequestUrl; required (AdProperties or sequence) adProperties; DOMString publisherCode; AdTargeting targeting; sequence anonymizedProxiedSignals; USVString fallbackSource; };