tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

parakeet.tentative.idl (746B)


      1 enum AdSignals {
      2  "coarse-geolocation",
      3  "coarse-ua",
      4  "targeting",
      5  "user-ad-interests"
      6 };
      7 dictionary AdProperties{
      8  DOMString width;
      9  DOMString height;
     10  DOMString slot;
     11  DOMString lang;
     12  DOMString adtype;
     13  double bidFloor;
     14 };
     15 dictionary AdTargeting{
     16  sequence<DOMString> interests;
     17  GeolocationCoordinates geolocation;
     18 };
     19 
     20 dictionary AdRequestConfig{
     21  required USVString adRequestUrl;
     22  required(AdProperties or sequence<AdProperties>) adProperties;
     23  DOMString publisherCode;
     24  AdTargeting targeting;
     25  sequence<AdSignals> anonymizedProxiedSignals;
     26  USVString fallbackSource;
     27 };
     28 
     29 partial interface Navigator {
     30  Promise<Ads> createAdRequest(AdRequestConfig config);
     31  Promise<URL> finalizeAd(Ads ads, AuctionAdConfig config);
     32 };