Can ads be included in a scrollview?

Can ads be included in a scrollview?
If so, how are they added?

I have tried various combinations of:

local temp = ads.show( "banner", { x=1, y=100, isAnimated = false, } ) scrollView:insert(temp)

but always receive:
ERROR: table expected. If this is a function call, you might have used ‘.’ instead of ‘:’

Any suggestions?

Hi Brian,

No, ads can’t be inserted into scrollViews. They are separate from the Corona display object heirarchy and are treated uniquely.

Take care,

Brent

Thanks Brent.

I’ll just hide it on the slide up and show it on the slide down.

Hi Brian,

No, ads can’t be inserted into scrollViews. They are separate from the Corona display object heirarchy and are treated uniquely.

Take care,

Brent

Thanks Brent.

I’ll just hide it on the slide up and show it on the slide down.