Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial commit #1

Merged
merged 6 commits into from
Apr 15, 2020
Merged

Initial commit #1

merged 6 commits into from
Apr 15, 2020

Conversation

sander-adhese
Copy link

No description provided.

@sander-adhese
Copy link
Author

sander-adhese commented Mar 9, 2020

Still to do (now or in later iterations)

  • usersync & usersync tests
  • rewrite processing of bid response?
  • gdpr
  • reference
  • write more tests

@sander-adhese
Copy link
Author

If you want to test this:

  1. Check out the project
  2. Run go build (after installing everything for go)
  3. Run ./prebid-server
  4. In another tab, curl

curl -v http://localhost:8000/openrtb2/auction -d '{ "id": "sander", "imp": [{ "id": "sander", "banner": { "format": [{"w": 300, "h": 250}]}, "ext": { "adhese": { "account": "demo", "location": "_adhese_prebid_demo_", "format": "leaderboard", "targets": [{ "key": "ci", "value": ["gent", "brussels"] }, { "key": "ag", "value": ["55"] }, { "key": "tl", "value": ["all"] } ] } } }], "site": { "id": "test", "publisher": {"id": "123"}}}'

@sander-adhese
Copy link
Author

There is also a file file adhese_test.go which run the jsons in adapters/adhese/adhesetest/

@paulvv
Copy link

paulvv commented Apr 15, 2020

OK

@sander-adhese sander-adhese merged commit 11096e3 into master Apr 15, 2020
@sander-adhese sander-adhese deleted the add_adhese_bidder branch April 15, 2020 14:59
AdDuration5th string `json:"adDuration5th"`
AdDuration6th string `json:"adDuration6th"`
Width3rd string `json:"width3rd"`
Width4th string `json:"width4th"`
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need to expose that kind of fields? what for?

Extension Prebid `json:"extension"`
}

type AdheseAdditionalCreative struct {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the same goes for this - how is it supposed to be used in prebid context?

mefjush pushed a commit that referenced this pull request Apr 23, 2021
* Pubstack Analytics V1 (#11)

* V1 Pubstack (#7)

* feat: Add Pubstack Logger (#6)

* first version of pubstack analytics

* bypass viperconfig

* commit #1

* gofmt

* update configuration and make the tests pass

* add readme on how to configure the adapter and update the network calls

* update logging and fix intake url definition

* feat: Pubstack Analytics Connector

* fixing go mod

* fix: bad behaviour on appending path to auction url

* add buffering

* support bootstyrap like configuration

* implement route for all the objects

* supports termination signal handling for goroutines

* move readme to the correct location

* wording

* enable configuration reload + add tests

* fix logs messages

* fix tests

* fix log line

* conclude merge

* merge

* update go mod

Co-authored-by: Amaury Ravanel <[email protected]>

* fix duplicated channel keys

Co-authored-by: Amaury Ravanel <[email protected]>

* first pass - PR reviews

* rename channel* -> eventChannel

* dead code

* Review (#10)

* use json.Decoder

* update documentation

* use nil instead []byte("")

* clean code

* do not use http.DefaultClient

* fix race condition (need validation)

* separate the sender and buffer logics

* refactor the default configuration

* remove error counter

* Review GP + AR

* updating default config

* add more logs

* remove alias fields in json

* fix json serializer

* close event channels

Co-authored-by: Amaury Ravanel <[email protected]>

* fix race condition

* first pass (pr reviews)

* refactor: store enabled modules into a dedicated struct

* stop goroutine

* test: improve coverage

* PR Review

* Revert "refactor: store enabled modules into a dedicated struct"

This reverts commit f57d9d6.

# Conflicts:
#	analytics/config/config_test.go

Co-authored-by: Amaury Ravanel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants