duyduong / flutter_native_admob

Plugin to integrate native firebase admob to Flutter application
MIT License
62 stars 85 forks source link

Change the Size (Height - width) of the AD Image #28

Open korchix opened 4 years ago

korchix commented 4 years ago

Hello Duyduong, thank you very much for this package. it helps a lot.

if you could help with this request, it will be great.

is it possible to change the size of the Small image of the AD ? image

because, if you disable the showMediaContent the ad doesn't look intuitive.

one great feature will be, if we could have the possibility to change the position of the ad component ourself. as if the whole AD is a Stack and we can position (for example) "callToAction" to the bottom-left , MediaContent to the right ...etc

duyduong commented 4 years ago

@korchix Hey, new version is released. New property NativeAdmobType that allows u to do that. Please check the example

korchix commented 4 years ago

@duyduong first thank you very much for the effort and your time.

the new NativeTextStyle property isVisible is very helpful, thank you for it

the other Property NativeAdmobType is nice, but you still can't change the Size/Position of any Property. here is the NativeAdmobType.bannerof my app :

image

as you can see, the icon still small, and the space between Properties could be better used, nice will be if we can move them to get something like this :

image

or like this image, where the AD-Image and CallToAction Button take the whole height of the row

image

i don't know if what i'm saying is even Possible, hence the google team couldn't provide a better solution to Native Ads as you did. but if you can make it possible, that will be awesome.

duyduong commented 4 years ago

@korchix cool, you can list down all the useful layouts, then I can support them in the plugin later For this current version, you can try to adjust your widget height to make the ad better

The next major version will let u to customize your ad layout. I am still finding the best way to do that

korchix commented 4 years ago

@duyduong that sounds great. thank you a lot. i will try to share some different layouts, that might be more engaging and intuitiv.

korchix commented 4 years ago

Hi @duyduong here are two examples of NativeAdmobType.**full**in Landscape orientation :

image

image

and here some example of portrait orientation

image

image

image

korchix commented 4 years ago

and here are some examples of Banner Ads :

image

image

korchix commented 4 years ago

one more example of full ads:

image

duyduong commented 4 years ago

@korchix cool, change to enhancement

SaadArdati commented 4 years ago

Personally, I just want to be able to manipulate the image myself, so I can use different sizes and different BoxFits

image This is very out of place right now. If I could have control over the ad icon, the info icon on the top right, the image height/width and its BoxFit, etc... that would be AMAZING

SaadArdati commented 4 years ago

Also it seems the image doesn't always load?

image Not sure if some ads just dont have images, but a placeholder that we can specify would be great.

This is the most amount of customization I can do btw. I would love for finer control

tvajjhala commented 4 years ago

@duyduong any update on this? Would be cool if we could position ad elements in the widget and change the size of the image/crop it/round corners. Thank you for the plugin!

angel1st commented 4 years ago

@duyduong - any update on the feature will be greatly appreciated, thanks!

imcouri commented 3 years ago

its been 9 months, is this going to be a feature or not?

bdlukaa commented 3 years ago

I was done waiting so some days ago I started building my own library. https://github.com/bdlukaa/native_admob_flutter

It's android only for now (I don't have an apple env).

It allows you to manipulate almost everything :) Examples are in the readme

comlaterra commented 3 years ago

Hello @bdlukaa, Just for curiosity, why you didn't fork this repository, perform the changes you want, and make a PR?

bdlukaa commented 3 years ago

@comlaterra because my package has a total different dynamic from this one.

imcouri commented 3 years ago

@bdlukaa I'm new to flutter (i started learning it like 1 month ago) and I really liked how customizable your package is, I don't know much about flutter but I can help with apple env and test your package on it if you need help with it.

bdlukaa commented 3 years ago

@imcouri You can create a pull request with the implementation for it (guide), It'd be awesome :)