Skip to content

Commit

Permalink
AdYouLike Bid Adapter: add gvlid (#8005)
Browse files Browse the repository at this point in the history
* add required clickurl in every native adrequest

* allows the native response to be given as is to prebid if possible

* add unit tests on new Native case

* Handle meta object in bid response with default addomains array

* fix icon retrieval in Native case

* Update priorities in case of multiple mediatypes given

* improve robustness and fix associated unit test on picture urls

* add support for params.size parameter

* add unit test on new size format

* Makes sure the playerSize format is consistent

* enable Vast response on bidder adapter

* fix lint errors

* add test on Vast format case

* add userId to bidrequest

* revert package-lock.json changes

* improve multiple mediatype handling

* Expose adyoulike GVL id
  • Loading branch information
guiann authored Feb 4, 2022
1 parent fd6ac2a commit 6a619c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/adyoulikeBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const VERSION = '1.0';
const BIDDER_CODE = 'adyoulike';
const DEFAULT_DC = 'hb-api';
const CURRENCY = 'USD';
const GVLID = 259;

const NATIVE_IMAGE = {
image: {
Expand Down Expand Up @@ -36,6 +37,7 @@ const NATIVE_IMAGE = {

export const spec = {
code: BIDDER_CODE,
gvlid: GVLID,
supportedMediaTypes: [BANNER, NATIVE, VIDEO],
aliases: ['ayl'], // short code
/**
Expand Down
4 changes: 4 additions & 0 deletions test/spec/modules/adyoulikeBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -805,5 +805,9 @@ describe('Adyoulike Adapter', function () {
expect(result.length).to.equal(1);
expect(result).to.deep.equal(videoResult);
});

it('should expose gvlid', function() {
expect(spec.gvlid).to.equal(259)
})
});
});

0 comments on commit 6a619c2

Please sign in to comment.