- Allow passing a complete map of request headers, not just user-agent
- Don't include the user-agent header at all if no userAgent option is provided
- Made userAgent (and all request options) optional. HOWEVER, this does not change the fact that tracked impressions may be marked invalid by Ad Manager in the event that the user-agent for the tagless request does not align with that for the impression pixel.
- Restored types to the bundle
- Accidentally published the unbundled src instead of the bundle, corrected
- BUGFIX: Added RequestOptions argument type to createTaglessRequest definition
- BREAKING: Enforces a userAgent as an option to createTaglessRequest
- Ad Manager will not count impressions of pixels requested with a different user-agent than the one used to fire the tagless request. As such, you should include the userAgent you intend to fire the impression with.
Introduces a createTaglessRequest
function and relevant types for making calls to the Ad Manager tagless request endpoint.