Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Is it possible to display an ad in a row of a TableView?
Started by support_pz Jun 18 2018 10:40 PM

1 reply to this topic

Best Answer Rob Miracle , 19 June 2018 - 06:20 AM

Corona's main display content is done in an OpenGL based window. Ads are not OpenGL based and cannot be intermixed with OpenGL based objects like a tableView. Ads are always drawn on top of the OpenGL canvas. Banners can be positioned at the top or bottom of the screen in general. Some ad providers will let you set the Y position of the ad when you show the ad, but it would be impossible to move the ad inside of a tableView of scrollView.

 

Rob

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

support_pz

[GLOBAL: userInfoPane.html]
support_pz
  • Observer

  • 5 posts
  • Corona SDK

Hey fellow Corona devs,

 

The behavior I'm after is to show an ad in between search results (rows) of a TableView.

 

Eg:

 

Search result 1 (TableView row 1)

Search result 2 (TableView row 2)

Show ad (TableView row 3)

Search result 3 (TableView row 4)

Search result 4 (TableView row 5)

Show ad (TableView row 6)

 

Is there some kind of ad plugin where I could make a request at a particular point in time of rendering the table which would return an ad / image / object to be inserted into a / the row?

 

Any info would be greatly appreciated.

 

Thanks.

 

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,118 posts
  • Corona Staff

  Best Answer

Corona's main display content is done in an OpenGL based window. Ads are not OpenGL based and cannot be intermixed with OpenGL based objects like a tableView. Ads are always drawn on top of the OpenGL canvas. Banners can be positioned at the top or bottom of the screen in general. Some ad providers will let you set the Y position of the ad when you show the ad, but it would be impossible to move the ad inside of a tableView of scrollView.

 

Rob




[topic_controls]
[/topic_controls]