Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UserIDs

Hierarchy

  • UserIDs

Index

Constructors

constructor

Methods

addUserToken

  • Create an advertising token for the current user, based on their email address.

    You should obtain consent to use email address for personalized ad matching first, before using this.

    example
    window.nitroAds.addUserToken('example@test.com', 'PLAIN');

    Parameters

    • email: string

      email address or hashed email address

    • Default value encoding: UserDataEncoding = UserDataEncoding.Plain

      prefered encodings are either "PLAIN" or "SHA-256"

    Returns void

clearUserTokens

  • clearUserTokens(): void
  • Returns void

Generated using TypeDoc