afg-setup.js is our wrapper to make Performing with ads somewhat easier. It's going to configure Google's SDK and include some helper functions to implement for pausing the game right before an ad is shown and resuming afterwards.While in the beforeReward callback, we hold a reference to the perform to show the advertisement and allow the reward bu