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

AMX: PBS request not made. Check endpoints. #2745

Closed
v0idxyz opened this issue Nov 3, 2023 · 2 comments
Closed

AMX: PBS request not made. Check endpoints. #2745

v0idxyz opened this issue Nov 3, 2023 · 2 comments
Assignees

Comments

@v0idxyz
Copy link

v0idxyz commented Nov 3, 2023

Hi!

Just installed the Prebid Server and now facing this issue.

My configurations are as follows:

PB.js:

        pbjs.setConfig({
            enableTIDs: true,
            userSync: {
                filterSettings: {
                    iframe: {
                        bidders: ['adagio'],
                        filter: 'include'
                    }
                }
            },
            s2sConfig: [{
        accountId: '1001',
        bidders: ['amx'],
        adapter: 'prebidServer',
        enabled: true,
        endpoint: 'http://revbidder.de/openrtb2/auction',
        syncEndpoint: 'http://revbidder.de/cookie_sync',
        timeout: 500,
        extPrebid: {
            cache: {
                vastxml: { returnCreative: false }
            },
            targeting: {
                pricegranularity: {"ranges": [{"max":40.00,"increment":1.00}]}
            }
        }
    }]
        });

sample/prebid-config.yaml:

adapters:
amx:
enabled: true

sample/sample-app-setting.yaml:
left on standard

src/main/resources/application.yaml:

external-url: revbidder.de

PBJS Debug:

Prebid MESSAGE: Emitting event for: requestBids
network.js:5 Prebid INFO: Invoking pbjs.requestBids Arguments(1)
network.js:5 Prebid MESSAGE: Emitting event for: beforeRequestBids
network.js:5 Prebid INFO: Bids Requested for Auction with id: f9d088d2-ef92-482f-ac07-24da408f0827 Array(2)
network.js:5 Prebid MESSAGE: Emitting event for: auctionInit
network.js:5 Prebid MESSAGE: CALLING S2S HEADER BIDDERS ==== amx
network.js:5 Prebid MESSAGE: Emitting event for: bidRequested
network.js:5 Prebid INFO: BidRequest: {"imp":[{"ext":{"tid":"cc816df2-9a90-4197-aaef-9da0840491a9","data":{"pbadslot":"sample-div1"},"prebid":{"bidder":{"amx":{"tagId":"cmV2YmlkLmNvbQ"}},"adunitcode":"sample-div1"}},"id":"sample-div1","banner":{"topframe":1,"format":[{"w":300,"h":250},{"w":336,"h":280}]}},{"ext":{"tid":"e536a33b-9f8f-4b89-a208-21e6dc7059e9","data":{"pbadslot":"sample-div3"},"prebid":{"bidder":{"amx":{"tagId":"cmV2YmlkLmNvbQ"}},"adunitcode":"sample-div3"}},"id":"sample-div3","banner":{"topframe":1,"format":[{"w":300,"h":600},{"w":120,"h":600},{"w":160,"h":600}]}}],"source":{"tid":"f9d088d2-ef92-482f-ac07-24da408f0827"},"site":{"domain":"networkhint.com","publisher":{"domain":"networkhint.com","id":"1001"},"page":"https://networkhint.com/2023/10/30/header-bidding-the-ultimate-guide-to-increasing-your-ad-revenue/","ref":"https://networkhint.com/"},"device":{"w":2560,"h":1283,"dnt":0,"ua":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36","language":"de","sua":{"source":1,"platform":{"brand":"Windows"},"browsers":[{"brand":"Chromium","version":["118"]},{"brand":"Google Chrome","version":["118"]},{"brand":"Not=A?Brand","version":["99"]}],"mobile":0}},"ext":{"prebid":{"auctiontimestamp":1699015263035,"targeting":{"includewinners":true,"includebidderkeys":false,"pricegranularity":{"ranges":[{"max":40,"increment":1}]}},"cache":{"vastxml":{"returnCreative":false}},"debug":true,"channel":{"name":"pbjs","version":"v8.21.0"}}},"id":"8a01f4cd-a963-4e12-be7e-39f99ff473b2","test":0,"tmax":500}
network.js:5 Prebid ERROR: PBS request not made.  Check endpoints.

Don't know what else to do. I added the correct endpoint into bidder-adapters/amx.yaml

@VeryExtraordinaryUsername
Copy link
Contributor

VeryExtraordinaryUsername commented Nov 16, 2023

Hi, @v0idxyz
Sorry for late response. From what I'm see now, please check external-url property value.
Instead of revbidder.de use http://revbidder.de (or with https). Without protocol prefix in external-url PBS server will not start.

I tried now locally, using your settings and fixed external-url. Request from Postman to PBS server was performed just fine.

Also don't forget about proper indentations in .yaml config files:

adapters:
    amx:
        enabled: true

@SerhiiNahornyi
Copy link
Collaborator

@v0idxyz Closing issue as it has no activities for the last three months.
Feel free to open, if you have other questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants