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

Audience Network - If Native Format is passed ANY size should work #2196

Closed
jfb716 opened this issue Feb 26, 2018 · 10 comments
Closed

Audience Network - If Native Format is passed ANY size should work #2196

jfb716 opened this issue Feb 26, 2018 · 10 comments
Labels

Comments

@jfb716
Copy link

jfb716 commented Feb 26, 2018

Type of issue

Bug

Description

In the adapter you have 300x250 and 320x50 as the only accepted sizes (which is correct), but if a publisher is running native we should accept any size since it'll be native on their site and not a standard IAB size like 300x250 and 320x50. You actually wouldn't want to run native through those sizes since that wouldn't be true native.

Steps to reproduce

This configuration doesn't fire the AN endpoint but it should since i'm passing 'native' as the format:

var adUnits = [{
code: 'div-gpt-ad-1',
sizes: [[728, 90]],
bids: [{
bidder: 'audienceNetwork',
params: {
placementId: '154187914959322_519264628451647',
format: 'native'
}
}]
}];

Test page

I have this live here: https://jfb716.github.io/

If you change the adUnit size to 300x250 or 320x50 you see the bid request triggers.

Expected results

If 'native' is passed in the adUnit configs, we should not do a size check since native can be any size the publisher wishes.

Actual results

The endpoint doesn't trigger, doesn't get past the invalid size check.

Platform details

N/A - happening across the board, not platform specific

Other information

N/A

CC @lovell

@snapwich
Copy link
Collaborator

@lovell maybe native needs an exception here, like video does? https://github.com/prebid/Prebid.js/blob/master/modules/audienceNetworkBidAdapter.js#L29

@snapwich snapwich added the bug label Feb 26, 2018
@lovell
Copy link
Contributor

lovell commented Feb 27, 2018

Hello, thanks for reporting this problem, I plan to submit a PR to address this in the next couple of days.

@snapwich
Copy link
Collaborator

@lovell would you mind looking at #2199 while you're at it as well to see if it's an issue? Thanks.

@lovell
Copy link
Contributor

lovell commented Feb 28, 2018

PR for this at #2203.

@jfb716
Copy link
Author

jfb716 commented Feb 28, 2018

Hey @lovell technically the Fullwidth should only work when configured for a 300x250. We wouldn't ever want this to server through a 320x50 because it would look really bad and cause problems on a publishers site. Native should work for any and all sizes, but fullwidth i would restrict to 300x250. Let me know what you think.

@lovell
Copy link
Contributor

lovell commented Mar 1, 2018

@jfb716 That's a good question. The fullwidth format "extends beyond the 300x250 frame" so perhaps it might make sense to future-proof and remove the existing size limitation here also, even if most ads will still be using IAB dimensions for now.

https://developers.facebook.com/docs/audience-network/web/fullwidth

@jfb716
Copy link
Author

jfb716 commented Mar 1, 2018

@lovell I spoke to the team and the consensus is to restrict fullwidth to only 300x250 if possible (messaged you on facebook). Let me know if that's feasible, thanks for your help!

@stale
Copy link

stale bot commented Mar 15, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 15, 2018
@lovell
Copy link
Contributor

lovell commented Mar 15, 2018

This was fixed in v1.5.0 via commit c54a179

@stale stale bot removed the wontfix label Mar 15, 2018
@jfb716
Copy link
Author

jfb716 commented May 1, 2018

Hey @lovell! We just realized this is only in the 1.0+ library, is there any way to get it into the pre 1.0 library as well? Thanks!

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

No branches or pull requests

4 participants