How do I resize admob ads?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By sumguy05

Is there a way to resize the admob ads? I just need them to be a little smaller. I tried resize(x, y) with a custom number for x and y but nothing changed.

:bust_in_silhouette: Reply From: Skyline

try:
#Get the Banner width
#@return int Banner width
getBannerWidth()

#Get the Banner height
#@return int Banner height
getBannerHeight()