Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

SPIKE: --disable=VIDEO #4

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

mbcrute
Copy link

@mbcrute mbcrute commented Dec 30, 2022

Type of change

  • Feature

Description of change

Adds support for disabling support for video ads and dropping related code from the final build, thus
reducing bundle size. This is a spike and not a complete implementation, just the result of some
time-boxed exploration on how this might be implemented.

Results

Currently zeus-neo doesn't appear to make use of the --disable command line argument to Prebid's build. Combined with disabling support for native ads, this exploration on disabling video ads has shaved ~6K off of the final, compressed bundle size.

It's not much but every bit counts and there's more KB that can be saved with a more thorough analysis.

--disable Size on Disk GZipped Brotli compressed
Empty (current) 278K 90K 75K
NATIVE 262K 85K 71K
NATIVE,VIDEO 255K 83K 69K

Other information

Jira ticket: ZTB-1672

mbcrute pushed a commit that referenced this pull request Mar 30, 2023
…populate imp-level `ext.tid` (prebid#9726)

* RTBHouse Bid Adapter: add global vendor list id

* structured user agent - browsers.brands

* fix lint errors

* Added sda into rtbhouse adapter

* spreading ortb2: user & site props

* examples reverted

* init version

* using mergedeep

* removed wrong imp array augm.; slot imp augm. with addtl check

* [SUA] merging ortb2.device into request

* fledge auctionConfig adapted to our bid response structure

* new bidder response structure for fledge

* make sure bidderRequest has proper flag turned on

* fledge endpoint hardcoded; code cleanups

* remove obsolete function

* obsolete function removed

* [RTB House] Process FLEDGE request/response (#4)

* [SDA & SUA] refactor using mergedeep

* [FLEDGE] fledge auctionConfig adapted to our bid response structure

* [FLEDGE] new bidder response structure for fledge

* [FLEDGE] make sure bidderRequest has proper flag turned on

* [FLEDGE] fledge endpoint hardcoded; code cleanups

* [FLEDGE] remove obsolete functions

* fixed lint errors

* fledge test suites; adapter: delete imp.ext.ae when no fledge (#5)

* RTBHouse Bid Adapter: use auctionId for source.tid

* RTBHouse bid adapter: fixed source.tid tests

* Imp level transaction id + mapSource fix

* lint: removed obsolete whitespaces

* RTBHouse Bid Adapter: change `source.tid` to contain `auctionId` and populate imp-level `ext.tid` (#8)

* RTBHouse Bid Adapter: use auctionId for source.tid

* Imp level transaction id + mapSource fix

* lint: removed obsolete whitespaces

---------

Co-authored-by: Leandro Otani <leandro.otani@rtbhouse.com>
Co-authored-by: rtbh-lotani <83652735+rtbh-lotani@users.noreply.github.com>
Co-authored-by: Tomasz Swirski <tomasz.swirski@rtbhouse.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant