Global Targeting Types for Node.js provides easy access to common ad targeting types based on the isocket API
npm install isocket-targeting --save
const Targeting =Targeting
Loads data synchronously. Mostly provided as backwards compatibility with pre-v1. Optionally takes a callback argument.
Given a type of
fcap returns list of targetings
- Given a targeting UID returns a targeting
- Given a list of targeting UIDs returns a list of targetings
- If no targetings are found returns
Returns a tree of root -> countries -> DMAs. Each child is a targeting.