I believe there's a mistake in the first code block on the 8th page of the codelab (for "Add an interstitial ad").
The very last line in the _loadInterstitialAd() function sets _isInterstitialAdReady = false;, however this variable wasn't previously defined.
This snippet does not exist in the GitHub repo here, so I'd assume this is just a mistake in the codelab website:
Hi Taeho, great codelab!
I believe there's a mistake in the first code block on the 8th page of the codelab (for "Add an interstitial ad"). The very last line in the _loadInterstitialAd() function sets
_isInterstitialAdReady = false;
, however this variable wasn't previously defined.This snippet does not exist in the GitHub repo here, so I'd assume this is just a mistake in the codelab website:
Thanks in advance!