Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

OpenX's revenues are not recorded

Open salvoaranzulla opened this issue 10 years ago • 9 comments

I'm trying to use OpenX inside Prebid.js: all creativities seem to be perfect. After I have gone live, I have discovered that earnings are not recorded by my OpenX's dashboard:

screenshot 2015-12-12 09 47 14

My configuration is very easy:

screenshot 2015-12-11 04 40 58

Do you have this problem?

Thanks

salvoaranzulla avatar Dec 12 '15 08:12 salvoaranzulla

You didn't specify the 'Page ID' (pgid), according to the documentation this is a required parameter: http://prebid.org/dev-docs/bidders.html

Are you sure that you have access to the OpenX bidder interface? Apparently OpenX has a couple of different types of accounts for publishers. The 'default' account type is unable to receive individual bids on impressions.

BartVB avatar Dec 14 '15 07:12 BartVB

Hi Bart,

Yes, I have the right account. I think pgid is used to do 1 ad requests:

http://docs.openx.com/ad_server/adtagguide_structured_structure_page.html

salvoaranzulla avatar Dec 14 '15 08:12 salvoaranzulla

Ah, indeed. It looks like either the pgid or unit parameters are required.

Also check what happens in the network tab of your browsers development tools. Is a call being made to OpenX? What does OpenX respond?

BartVB avatar Dec 14 '15 09:12 BartVB

Ah, indeed. It looks like either the pgid or unit parameters are required.

Yes, it's correct: ither the pgid or ad unit id.

Is a call being made to OpenX?

Yes, sure.

What does OpenX respond?

It's the same response of OpenX Bidder.

For the moment, I have solved loading OpenX Bidder:

            var OpenXAdaptor = function OpenXAdaptor() {
                return {
                    callBids: function(p) {
                        pbjs.loadScript('//ox-d.[my-account].servedbyopenx.com/w/1.0/jstag?nc=[my-account]', function() {
                                pbjs.bidsAvailableForAdapter('openx');
                        });
                    }
                };
            };
            pbjs.registerBidAdapter(OpenXAdaptor, 'openx');

And

                        {
                            bidder: 'openx'
                        },

Thanks

salvoaranzulla avatar Dec 14 '15 09:12 salvoaranzulla

At Consumed Media, we had the same problem, in that OpenX doesn’t record revenue with Prebid. Our sister company, bRealtime, was able to get us working using their Biddr+ header bidding solution. Their’s is the only one that works correctly with OpenX. Let me know if you want their help.

ConsumedMedia1 avatar Dec 14 '15 21:12 ConsumedMedia1

Hi,

I have solved loading original OpenX Bidder's script.

salvoaranzulla avatar Dec 15 '15 02:12 salvoaranzulla

@salvoaranzulla mind help us understand how you solved this issue? This could benefit a lot of us. Thanks!

Heray avatar Dec 15 '15 15:12 Heray

@Heray I have created a "fake" adaptor:

        var OpenXAdaptor = function OpenXAdaptor() {
            return {
                callBids: function(p) {
                    pbjs.loadScript('//ox-d.[my-account].servedbyopenx.com/w/1.0/jstag?nc=[my-account]', function() {
                            pbjs.bidsAvailableForAdapter('openx');
                    });
                }
            };
        };
        pbjs.registerBidAdapter(OpenXAdaptor, 'openx');

And I have added this bidder on 1 ad unit:

                    {
                        bidder: 'openx'
                    }

In this way, you can load original OpenX Bidder script. You need to configure DFP with a different order and different line items.

salvoaranzulla avatar Dec 15 '15 15:12 salvoaranzulla

Closing as the OP has resolved the issue. Thanks @salvoaranzulla for posting your solution.

protonate avatar Feb 04 '16 23:02 protonate