# Remove ad banners for 1 hour

**URL:** <https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889>\
**Category:** Questions about Thunkable X\
**Created:** [May 6, 2019, 6:53am UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889 "2019-05-06T06:53:26Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![STX-121](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stx-121/32/11466_2.png) [@STX-121](https://community.thunkable.com/u/STX-121)\
**Post date:** [May 6, 2019, 6:53am UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/1 "2019-05-06T06:53:26Z")

</div>

Hi everyone!

I want to make the function disable advertising banners for 1 hour after watching the reward video.  
I add this functionality to the “RewardUser” block, but after it finishes watching the video, it does not work, respectively, the display of banners continues.  
How can you determine that the video ad was viewed to the end?

Thank!

---

<div class="post-metadata">

**Author:** ![STX-121](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stx-121/32/11466_2.png) [@STX-121](https://community.thunkable.com/u/STX-121)\
**Post date:** [May 6, 2019, 10:00am UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/2 "2019-05-06T10:00:30Z")

</div>

Does anyone have experience successfully using Admob Reward Video Ads?  
Please show working blocks.

---

<div class="post-metadata">

**Author:** ![jane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jane/32/27575_2.png) [@jane](https://community.thunkable.com/u/jane)\
**Post date:** [May 6, 2019, 8:55pm UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/3 "2019-05-06T20:55:04Z")

</div>

Hi there,

Would you mind sharing your blocks? You can PM me if it’s a private app.  
I’ve tried making something [here](https://x.thunkable.com/copy/86439c42a37d2edfa3259b54e3d8969b) that works using stored variables. For convenience’s sake the thing that triggers a video ad being shown is the button ‘Watch Ad’.  
The variable ‘lengthOfRTInSeconds’ is the length of time you want this reward to last. An hour would be 360 seconds, I’ve set it to 20 here for testing.  
Give it a look and see what you think!

---

<div class="post-metadata">

**Author:** ![STX-121](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stx-121/32/11466_2.png) [@STX-121](https://community.thunkable.com/u/STX-121)\
**Post date:** [May 7, 2019, 5:57am UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/4 "2019-05-07T05:57:06Z")

</div>

Yes, of course, here is a link to [my test project](https://x.thunkable.com/copy/15bffaee5801f89ae5cf9f77ceea27dc)

I did everything about the same, “app time” - the absolute time to turn on the banner  
After watching the video, 3600 seconds are added to the current time.  
The timer checks every 5 minutes “is it time to turn on the banner?”

In theory, everything is fine, but in reality I could not get a response from RewardUser. Regardless of whether the video was interrupted or viewed to the end, work only AdClose.

---

<div class="post-metadata">

**Author:** ![jane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jane/32/27575_2.png) [@jane](https://community.thunkable.com/u/jane)\
**Post date:** [May 7, 2019, 2:23pm UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/5 "2019-05-07T14:23:53Z")

</div>

Hi there,

I think it would be easier for you to work with [stored variables](https://docs.thunkable.com/variables#app-stored-and-cloud-variables) than to make these calls to the Local Storage component. Even the [docs](https://docs.thunkable.com/local-storage) for Local Storage say so! Feel free to ask anything about using stored variables here or in a private message. Again, you’re completely welcome to use my app as a reference.

You should also notice that calling the value ‘seconds since 1970’ measures the time in seconds. The value of [seconds since 1970 plus 1 hour] is [seconds since 1970 + 3600]. You have the value [seconds since 1970 plus 216000]. 216,000 seconds is 60 hours!

However, while you’re testing your app you probably only want to set this to about 20 or 30 seconds anyway.

[Here](https://x.thunkable.com/copy/82c89e17b3532a47ddbe4510c18e0dd3) is the same test project back except now it’s working with the stored variable end\_time instead of the app variable time and a Local Storage component. I’ve also added in two nice big Labels called End (displays end\_time) and Now (displays seconds since 1970) so you can see how it works.  
In this app, the timer fires every 1 second and the reward time is 20 seconds long.

---

<div class="post-metadata">

**Author:** ![STX-121](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stx-121/32/11466_2.png) [@STX-121](https://community.thunkable.com/u/STX-121)\
**Post date:** [May 8, 2019, 6:05am UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/6 "2019-05-08T06:05:01Z")

</div>

Thank you, Jane!  
Unfortunately, I can’t check it out, Test ID doesn’t work  
Do you see test Rewarded Video Ads?

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [May 9, 2019, 12:58pm UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/7 "2019-05-09T12:58:45Z")

</div>

> [@STX-121](#):
>
> Unfortunately, I can’t check it out, Test ID doesn’t work

Hey @STX-121 when I click on the link it creates a copy of the app for me without any issues.

If you are seeing any error messages or error codes can you please share them here?

Thanks!

---

<div class="post-metadata">

**Author:** ![STX-121](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stx-121/32/11466_2.png) [@STX-121](https://community.thunkable.com/u/STX-121)\
**Post date:** [May 9, 2019, 4:24pm UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/8 "2019-05-09T16:24:02Z")

</div>

Hi, Domhnall!  
When using a real identifier, the video appears normal, but the functionality cannot be tested with it - it violates Google’s rules  
If I use Google’s test id ca-app-pub-3940256099942544/5224354917, The application does not load the video, I get this error:

 ![Image-1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/b/3b407a3f4cd87887331d2f2fdef8295ed213d884.jpeg)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [May 9, 2019, 5:06pm UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/9 "2019-05-09T17:06:22Z")

</div>

Are you installing this app on your iPhone?

Have you submitted it to Thunkable for AdMob approval?

---

<div class="post-metadata">

**Author:** ![STX-121](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stx-121/32/11466_2.png) [@STX-121](https://community.thunkable.com/u/STX-121)\
**Post date:** [May 9, 2019, 6:18pm UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/11 "2019-05-09T18:18:35Z")

</div>

I created a new ADMOB account, I accepted you invitation to manage this account for 5% of the revenue, Thunkable approved my application.  
Then I put the application in appstore, my testers successfully tested it in the TestFlight, all this time, my ads worked fine, now all the ads from the managed account of Thunkable do not work  
Does it have something to do with manage Thunkable?

Prior to transferring account management, when my ads were still running, the test Google ID for Reward Video was no longer displayed. (That is why I created this topic)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [May 9, 2019, 7:36pm UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/12 "2019-05-09T19:36:06Z")

</div>

So, if I understand correctly, originally the Google rewarded video test ad did not work in your app, but your ads did.

Then you set up a new account and the test ad works but your new account does not.

Is that correct?

Can you check your email to see what date you set up this new account on?

---

<div class="post-metadata">

**Author:** ![STX-121](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stx-121/32/11466_2.png) [@STX-121](https://community.thunkable.com/u/STX-121)\
**Post date:** [May 9, 2019, 10:10pm UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/13 "2019-05-09T22:10:50Z")

</div>

No not like this )))  
Unfortunately i do not speak English, i use machine translation…

All in order:

I already have an AdMob account that is monetizing some Android-apps not build on Thunkable.  
I want to transfer my applications to IOS, I chose Thunkable as the development environment, I paid for the PRO-account and built the application  
When I first tried to publish the application in AppStore, I received a letter of content from you:

> We received your requests to download or publish your app with AdMob. Before we can review your app, we need you to first accept an invitation from AdMob. This acceptance gives Thunkable the permission to charge a 5% maintenance fee for all revenue earned via AdMob across all apps in your account that are associated with your publisher ID. We may increase this revenue share to 10% for future creators.
> 
> If you have other apps in your account, we recommend that you do NOT accept this invitation and instead create a new account for just your Thunkable app. When you have a new publisher ID, you can resubmit your app here.
> 
> You will only have to accept this invitation once.

Google’s support informed me that the second account is in direct violation of AdMob’s rules, so I registered a new account in the name of an outsider, 02/05/2019 i created this account.

I created 2 ads: Banner and Video Reward

- Banners work with both real and test IDs.
- Reward Video works with a real ID, and with a test ID it gives this error:  
 ![Image-1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/0/90301103ca35a00c0215861010fad2a7b8c323cd.jpeg)

I hided the ability to call Reward Video and sent the application to Thunkable for verification  
After 2 days I received an answer saying that I need to take control of my AdMob account  
In the AdMob console, I accepted your invitation and resubmitted the application to you for review, waited 2 days, there was no response  
I sent the application for verification for the third time, on day 2, the application was approved and uploaded it to TestFlight AppStore (07/05/2019), after successful verification, application was published in AppStore

All this time I am trying to understand why the test IDs Video Reward is not working …

Today, a new problem has arisen: banners have ceased to appear in my application. In the Admob console everything is fine, no locks and restrictions.

To be honest, I already regretted that he started this venture…

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [May 10, 2019, 9:13am UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/14 "2019-05-10T09:13:35Z")

</div>

> [@STX-121](#):
>
> I hided the ability to call Reward Video and sent the application to Thunkable for verification

I don’t fully understand why you would hide this from us. What was your motivation for doing this?

> [@STX-121](#):
>
> Today, a new problem has arisen: banners have ceased to appear in my application

This might just be due to you AdMob account being new, did you work through our [troubleshooting tips](http://community.thunkable.com/t/admob-troubleshooting/74430)?

> [@STX-121](#):
>
> To be honest, I already regretted that he started this venture…

App development is a complex and time consuming process. At Thunkable, we’re working hard to make this process easier, faster and more accessible than ever but it still requires patience and perseverance:

> [@Getting your Thunkable X app accepted into the Apple App Store](http://community.thunkable.com/t/getting-your-thunkable-x-app-accepted-into-the-apple-app-store/74101):
>
> Hi all! This is my first Creator Lounge post, and I’m very excited to share some tips that will hopefully help some of you get your apps onto Apple’s App Store! Background For anyone who’s tried before, getting an app onto the App Store is certainly not easy – but it is very possible, and any one of you can do it. Personally, it took me 8 months and 7 rejections from Apple before I got my debut app accepted – but perseverance is key ([Thunkable App released to Apple App Store!](http://community.thunkable.com/t/thunkable-app-released-to-apple-app-store/71553)). Anyways, that’s…

---

<div class="post-metadata">

**Author:** ![STX-121](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stx-121/32/11466_2.png) [@STX-121](https://community.thunkable.com/u/STX-121)\
**Post date:** [May 10, 2019, 10:20am UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/15 "2019-05-10T10:20:47Z")

</div>

You understand me wrong again

> I don’t fully understand why you would hide this from us. What was your motivation for doing this?

I hid the Reward Video call button from users of my application, because these ads do not work (1, 4, 6 and 8 post of this topic)

> This might just be due to you AdMob account being new, did you work through our [troubleshooting tips](http://community.thunkable.com/t/admob-troubleshooting/74430)?

With the tips worked. Before publishing the application in AppStore, I made sure beforehand that they are working. They stopped working already later (I wrote about this earlier)

> App development is a complex and time consuming process. At Thunkable, we’re working hard to make this process easier, faster and more accessible than ever but it still requires patience and perseverance:

I understand this perfectly well and I am glad that you are developing this undoubtedly important project.  
I have experience with a site like Thunkable. I spent more than 3 years on developing one successful application (this application installed by more than 250.000 users in Google Play)

I created this topic with a single question, to which I really need to get an answer:  
Under what conditions will this block work?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/9/19d3256e641d6cb39c9df02a99352e80373b9514.png)

After the end of viewing the advertising video, nothing happens. I also need to determine - the user has watched the entire commercial or interrupted the viewing at the beginning.

Thank you!

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [May 10, 2019, 10:42am UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/16 "2019-05-10T10:42:42Z")

</div>

> [@STX-121](#):
>
> I created this topic with a single question, to which I really need to get an answer:  
> Under what conditions will this block work?
> 
> ![image](http://community.thunkable.com/uploads/thunkable1/original/3X/1/9/19d3256e641d6cb39c9df02a99352e80373b9514.png)

I’m not so sure about that…

> [@STX-121](#):
>
> I want to make the function disable advertising banners for 1 hour

Perhaps a better subject line would be, “How do I use the RewardUser block?”

Ok, I understand your question now, let me see if I can make an example about this.

---

<div class="post-metadata">

**Author:** ![STX-121](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stx-121/32/11466_2.png) [@STX-121](https://community.thunkable.com/u/STX-121)\
**Post date:** [May 10, 2019, 1:49pm UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/17 "2019-05-10T13:49:41Z")

</div>

Link to [my test project](https://x.thunkable.com/copy/a35896eefee4d8554d1f3800c35f82cf).  
Thanks Jane. She built it more gracefull, but unfortunately, turning off the banner after watching the Reward Video still does not work.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:13pm UTC](https://community.thunkable.com/t/remove-ad-banners-for-1-hour/75889/18 "2024-11-08T12:13:48Z")

</div>


