flutter_native_admob icon indicating copy to clipboard operation
flutter_native_admob copied to clipboard

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

Open korchix opened this issue 4 years ago • 18 comments

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

korchix avatar Mar 29 '20 15:03 korchix

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

duyduong avatar Mar 30 '20 02:03 duyduong

@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.banner of 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.

korchix avatar Mar 30 '20 19:03 korchix

@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

duyduong avatar Mar 31 '20 00:03 duyduong

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

korchix avatar Mar 31 '20 20:03 korchix

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 avatar Mar 31 '20 21:03 korchix

and here are some examples of Banner Ads :

image

image

korchix avatar Mar 31 '20 21:03 korchix

one more example of full ads:

image

korchix avatar Mar 31 '20 21:03 korchix

@korchix cool, change to enhancement

duyduong avatar Apr 01 '20 05:04 duyduong

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 avatar Apr 11 '20 16:04 SaadArdati

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

SaadArdati avatar Apr 11 '20 16:04 SaadArdati

@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!

tvajjhala avatar Apr 18 '20 19:04 tvajjhala

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

angel1st avatar Jul 03 '20 13:07 angel1st

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

imcouri avatar Dec 30 '20 13:12 imcouri

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

bdlukaa avatar Dec 30 '20 19:12 bdlukaa

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

comlaterra avatar Dec 30 '20 20:12 comlaterra

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

bdlukaa avatar Dec 30 '20 20:12 bdlukaa

@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.

imcouri avatar Jan 04 '21 23:01 imcouri

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

bdlukaa avatar Jan 05 '21 03:01 bdlukaa