-
Notifications
You must be signed in to change notification settings - Fork 93
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
[AdManager][Banner] An ad is not rendered properly #175
Comments
I am confirming the issue, the GADBannerView has the correct size but the GADWebAdView is keeping the 1x1 size. The "x-afma-ad-size" header used by the SDK to build the GADWebAdView, this header field is returning 1x1 instead of the real creative size. The other header "X-Afma-Ad-Slot-Size" has the correct size. I have found a fix using the mraid.resize() in the prebid creative but hope Google could fix it... |
This issue was posted in a Google Forum support page here: Google Groups If this issue can be validated by others, I would like to get momentum behind the google support post to encourage Google to address the issue. If anyone is able to provide additional details, please post both here and the Google ticket. |
As a variant of solution that should be implemented from a publisher side it is using iOS For example func adViewDidReceiveAd(_ bannerView: GADBannerView) {
print("adViewDidReceiveAd")
self.dfpBanner.resize(bannerView.adSize)
} Android For Example dfpAdView.setAdListener(new AdListener() {
@Override
public void onAdLoaded() {
super.onAdLoaded();
dfpAdView.setAdSizes(dfpAdView.getAdSize());
}
}); Do not use this approach with multi-size adunit |
This needs to be documented here http://prebid.org/prebid-mobile/pbm-api/ios/pbm-bannerad-ios.html && http://prebid.org/prebid-mobile/pbm-api/android/banneradunit-android.html to include adManager and the implementation logics like these to address specific mediation partner issues |
I have run some tests on iOS and Android for different SDK version and seems to work well. |
Released in 1.1.1 |
Type of issue
Bug
Description
When running a standard banner adunit it is not rendered by AdManager SDK.
Steps to reproduce
1 - Follow the Guide to DFP setup
2 - Make a Code Integration for iOS
3 - Setup BannerAdUnit for Google Mobile Ads
4 - Run and check the result. When a banner ad is returned, the rendering fails.
Test config
Host = Appnexus
ServerAccountId = "bfa84af2-bd16-4d35-96ad-31c6bb888df0"
configId = "6ace8c7d-88c0-4623-8117-75bc3f0a2e45"
adUnitID = /5300653/test_adunit_pavliuchyk_300x250_puc_ucTagData_prebid-server.rubiconproject.com
Charles log: ios_Pv1.0_AMv7.42.2_prod_appnexus_rubicon-puc_ucTagData.chls.zip
Expected results
If AdManager response contains an ad it should be rendered
Actual results
A creative is not showed
Platform details
Prebid SDK v 1.0, git hash: beeee28
AdManager v 7.42.2
Other information
The text was updated successfully, but these errors were encountered: