Skip to content

fluid ads dont work on Android #132

@MicahDavid

Description

@MicahDavid

Ad size "fluid" works on iOS, but does not work on Android.

On Android, onAdLoaded is called, but returns the following size object:

{"gadSize": {"adSize": "320x50_mb", "height": 50, "width": 320}, "isFluid": "true", "measurements": {"adHeight": 0, "adWidth": 0, "height": 0, "left": 0, "top": 0, "width": 0}, "type": "banner"}

No ad shows up for Android.

On iOS, when onAdLoaded is called for the same ad, the Fluid GADAdSize is properly returned:

{"gadSize": {"adSize": "Fluid GADAdSize: {393, 263.5625}", "height": 263.5625, "width": 393}, "isFluid": "true", "measurements": {"adHeight": 263.5625, "adWidth": 393, "height": 263.5625, "left": 0, "top": 0, "width": 393}, "target": 54813, "type": "banner"}

The ad properly shows up for iOS.

Is there a code issue here that isn't calling for the proper Fluid ad on Android, but is instead calling for the 320x50_mb ad?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions