Docsity

PrepIQ Unity Ads Certified Associate Programmer Ultimate Exam, Exams of Technology

Toggle sidebar
bg1
PrepIQ Unity Ads Certified Associate
Programmer Ultimate Exam
**Question 1.** Which Unity Editor window must be opened to enable Unity
Ads for a project?
A) Services
B) Package Manager
C) Analytics
D) Profiler
Answer: A
Explanation: The Services window provides toggles for all Unity services,
including Unity Ads, allowing you to activate and configure them.
**Question 2.** In Unity Ads SDK, what is the purpose of the Game ID?
A) Identifies the specific ad placement within a scene
B) Authenticates the app with Unity’s ad servers for a given platform
C) Determines the ad format (banner, interstitial, rewarded)
D) Sets the maximum eCPM for the app
Answer: B
Explanation: The Game ID is unique per platform (iOS/Android) and links the
app to the Unity Ads dashboard for reporting and ad delivery.
**Question 3.** When integrating Unity Ads via the Unity Package Manager,
which package should be added?
A) com.unity.ads
B) com.unity.analytics
C) com.unity.purchasing
D) com.unity.render-pipelines.high-definition
Answer: A
Explanation: The `com.unity.ads` package contains the Unity Ads SDK and
related APIs.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53

Partial preview of the text

Download PrepIQ Unity Ads Certified Associate Programmer Ultimate Exam and more Exams Technology in PDF only on Docsity!

Programmer Ultimate Exam

Question 1. Which Unity Editor window must be opened to enable Unity Ads for a project? A) Services B) Package Manager C) Analytics D) Profiler Answer: A Explanation: The Services window provides toggles for all Unity services, including Unity Ads, allowing you to activate and configure them. Question 2. In Unity Ads SDK, what is the purpose of the Game ID? A) Identifies the specific ad placement within a scene B) Authenticates the app with Unity’s ad servers for a given platform C) Determines the ad format (banner, interstitial, rewarded) D) Sets the maximum eCPM for the app Answer: B Explanation: The Game ID is unique per platform (iOS/Android) and links the app to the Unity Ads dashboard for reporting and ad delivery. Question 3. When integrating Unity Ads via the Unity Package Manager, which package should be added? A) com.unity.ads B) com.unity.analytics C) com.unity.purchasing D) com.unity.render-pipelines.high-definition Answer: A Explanation: The com.unity.ads package contains the Unity Ads SDK and related APIs.

Programmer Ultimate Exam

Question 4. Which Unity lifecycle method is recommended for initializing Unity Ads as early as possible? A) Update() B) OnEnable() C) Awake() D) OnApplicationQuit() Answer: C Explanation: Awake() runs before the first frame and before other scripts’ Start(), ensuring the SDK is ready when needed. Question 5. How can you verify that Unity Ads initialization succeeded? A) Check the return value of UnityAds.Initialize() B) Listen for the OnUnityAdsReady callback for a placement C) Use UnityAds.IsSupported() D) Call UnityAds.GetVersion() Answer: B Explanation: The OnUnityAdsReady callback indicates that the SDK has successfully loaded ad content for a placement, confirming initialization. Question 6. Which error code indicates that the requested placement ID does not exist? A) 0 (No error) B) 1001 (Initialization error) C) 1013 (Placement not found) D) 2000 (Network error) Answer: C Explanation: Error code 1013 is returned when the SDK cannot locate the specified placement ID in the dashboard. Question 7. Under GDPR, what must a Unity Ads implementation do before loading personalized ads for EU users? A) Automatically show ads without consent

Programmer Ultimate Exam

C) Initialize SDK → Load placement → Set banner position → Show banner D) Load placement → Initialize SDK → Set banner position → Show banner Answer: C Explanation: After initialization, you must ensure the placement is loaded, then set the desired banner position before calling ShowBanner. Question 11. Which Unity Ads listener interface must a script implement to receive ad callbacks? A) IUnityAdsListener B) IAdsListener C) IAdEventHandler D) IUnityMonetizationListener Answer: A Explanation: IUnityAdsListener defines methods for ready, start, finish, and error events. Question 12. When using Unity LevelPlay mediation, what is the primary benefit? A) Reducing the size of the final build B) Automatically selecting the highest-paying ad network for each impression C) Enabling in-app purchases without ads D) Providing a custom UI for ad placement selection Answer: B Explanation: Mediation platforms like LevelPlay aggregate multiple demand sources and serve the ad with the highest eCPM for each request. Question 13. Which of the following is NOT a valid FinishState value for rewarded ads? A) COMPLETED B) SKIPPED C) FAILED

Programmer Ultimate Exam

D) NOT_SHOWN

Answer: D Explanation: The valid FinishState enum values are COMPLETED, SKIPPED, and FAILED. NOT_SHOWN does not exist. Question 14. How should you handle a situation where UnityAds.IsReady("rewardedVideo") returns false? A) Immediately call UnityAds.Show("rewardedVideo") anyway B) Disable the reward button and optionally retry after a short delay C) Crash the application to alert the developer D) Switch to a different ad network without user notice Answer: B Explanation: If the ad isn’t ready, you should prevent the user from triggering it and optionally retry later. Question 15. Which file helps prevent ad fraud by declaring authorized sellers of your inventory? A) privacy.txt B) app-ads.txt C) ad-fraud.xml D) monetization.csv Answer: B Explanation: app-ads.txt is a standard file placed on the developer’s domain to list authorized ad sellers, reducing fraudulent inventory. Question 16. What does enabling “Test Mode” in Unity Ads do? A) Shows live ads but records them as test impressions B) Replaces all ad requests with mock ads that never generate revenue C) Sends real revenue data to the dashboard while using placeholder creatives D) Disables all ad requests completely Answer: B

Programmer Ultimate Exam

Question 20. When integrating Unity Ads with a third-party Consent Management Platform (CMP), which API should you call after the user makes a choice? A) ConsentManagement.SetConsentStatus() B) UnityAds.SetGDPRConsent() C) UnityEngine.Advertisements.MetaData.SetUserConsent() D) UnityAds.SetMetaData(new MetaData("gdpr")) Answer: D Explanation: Unity Ads uses the MetaData class; you create a MetaData("gdpr") object, set the consent flag, and pass it to UnityAds.SetMetaData. Question 21. Which placement type is most appropriate for showing an ad after a player completes a level without interrupting gameplay? A) Interstitial (non-rewarded) B) Rewarded video C) Banner D) Splash screen ad Answer: A Explanation: An interstitial is displayed at natural breakpoints (e.g., after a level) and does not require the player to watch for a reward. Question 22. What Unity Ads API should you use to retrieve the current SDK version at runtime? A) UnityAds.GetVersion() B) UnityAds.Version() C) UnityAds.GetSdkVersion() D) UnityAds.SDKVersion() Answer: A Explanation: UnityAds.GetVersion() returns a string representing the SDK version, useful for debugging.

Programmer Ultimate Exam

Question 23. Which callback is invoked when an ad fails to load due to a timeout? A) OnUnityAdsReady B) OnUnityAdsStart C) OnUnityAdsFinish D) OnUnityAdsDidError Answer: D Explanation: OnUnityAdsDidError receives an error message and code whenever the SDK encounters a problem, such as a timeout. Question 24. In Unity’s Monetization dashboard, what metric indicates the average revenue earned per thousand ad impressions? A) CPM B) eCPM C) ROI D) ARPU Answer: B Explanation: Effective Cost Per Mille (eCPM) measures the revenue generated per 1,000 impressions, factoring in fill rate and payout. Question 25. Which of the following is a recommended practice when showing rewarded ads to avoid “reward fraud”? A) Grant the reward immediately when the ad starts B) Verify the FinishState is COMPLETED before awarding the reward C) Use a static reward amount for every ad regardless of length D) Hide the reward UI during the ad playback Answer: B Explanation: Only COMPLETED confirms the user watched the entire ad, preventing exploitation.

Programmer Ultimate Exam

Question 29. Which Unity Ads placement ID is typically used for a “Continue after death” reward scenario? A) “banner_main” B) “interstitial_pause” C) “rewarded_continue” D) “rewarded_extra_life” Answer: C Explanation: Naming conventions are flexible, but “rewarded_continue” clearly describes a reward that lets a player continue after a loss. Question 30. What is the effect of calling Advertisement.SetDebugMode(true) during development? A) Increases eCPM automatically B) Shows detailed log messages for ad lifecycle events in the console C) Forces all ads to be shown in full-screen mode D) Disables ad network mediation Answer: B Explanation: Enabling debug mode provides verbose logging, helping developers troubleshoot integration issues. Question 31. Which Unity Ads event is triggered the moment an ad begins playback? A) OnUnityAdsReady B) OnUnityAdsStart C) OnUnityAdsFinish D) OnUnityAdsDidError Answer: B Explanation: OnUnityAdsStart signals that the ad has started, allowing you to pause game logic or mute audio. Question 32. How should you store the user’s consent choice to survive app restarts?

Programmer Ultimate Exam

A) In a static variable B) In PlayerPrefs or a secure persistent store C) In a local JSON file that is not encrypted D) In the Unity Ads dashboard Answer: B Explanation: PlayerPrefs (or a more secure solution) persists data across sessions, ensuring the consent flag is retained. Question 33. Which ad format is most suitable for displaying a persistent promotional banner at the top of a menu screen? A) Interstitial B) Rewarded video C) Banner D) Native Answer: C Explanation: Banners are designed for continuous, non-intrusive display and can be positioned at the top, bottom, or corners. Question 34. When using Unity Ads with LevelPlay mediation, how do you prioritize Unity Ads over other networks? A) Set Unity Ads as “Primary” in the mediation dashboard B) Increase Unity Ads’ eCPM floor value in the mediation settings C) Disable all other networks D) Use a custom script to force Unity Ads calls Answer: B Explanation: Raising the eCPM floor for Unity Ads makes it more likely to win the auction, effectively prioritizing it. Question 35. Which method should you call to pause the game when an ad starts, assuming you have a GameManager with a PauseGame() method? A) UnityAds.Pause()

Programmer Ultimate Exam

B) Add the device’s ID to the “Test Devices” list in the Unity Dashboard C) Both A and B are required D) No setting is needed; release builds always show test ads on development devices Answer: C Explanation: Enabling test mode programmatically and registering the device in the dashboard guarantees test ads regardless of build type. Question 39. Which UnityAds API method is used to check whether the SDK has been successfully initialized? A) UnityAds.IsInitialized() B) UnityAds.Initialized() C) UnityAds.CheckInit() D) UnityAds.GetStatus() Answer: A Explanation: IsInitialized() returns a boolean indicating whether initialization completed without errors. Question 40. In the Unity Monetization dashboard, what does the “Impressions” metric represent? A) Number of times a user clicked an ad B) Number of times an ad was loaded into memory C) Number of times an ad was actually displayed to the user D) Number of revenue-generating clicks Answer: C Explanation: Impressions count each time an ad is shown on screen, regardless of user interaction. Question 41. Which statement about using multiple ad placements in a single scene is correct? A) Only one placement can be active at a time per scene

Programmer Ultimate Exam

B) Each placement must have a unique placement ID and can be managed independently C) All placements share the same readiness state D) Unity Ads automatically merges placements with similar names Answer: B Explanation: Distinct placement IDs allow independent loading, showing, and callbacks for each ad unit. Question 42. How can you ensure that a rewarded ad is not shown during a tutorial segment where the player cannot afford a reward? A) Disable the reward button during the tutorial B) Force the ad to play but hide the reward UI C) Use a different placement ID that is configured as non-rewarded D) Show a banner instead of a rewarded video Answer: A Explanation: Preventing the user from triggering the ad avoids confusion and respects the tutorial flow. Question 43. Which UnityAds method allows you to preload an interstitial ad without displaying it immediately? A) UnityAds.Load("interstitial") B) UnityAds.Preload("interstitial") C) UnityAds.IsReady("interstitial") automatically preloads if not ready D) UnityAds.Fetch("interstitial") Answer: A Explanation: Load(string placementId) forces the SDK to start downloading the ad content ahead of time. Question 44. What does the MetaData class primarily manage for Unity Ads? A) Audio volume settings during ads

Programmer Ultimate Exam

A) The placement has a low fill rate and reduces overall eCPM B) The placement ID is too long C) The game is being ported to a new platform D) The developer wants to test a new ad network Answer: A Explanation: Disabling underperforming placements prevents wasted impressions and can improve overall fill and revenue. Question 48. In Unity Ads, what does the PlacementState enum indicate? A) Whether a placement is ready, disabled, or not configured B) The geographic region of the user C) The type of ad (banner, interstitial, rewarded) D) The current network bandwidth Answer: A Explanation: PlacementState provides states such as Ready, NotReady, Disabled, helping developers decide when to show an ad. Question 49. Which callback provides the most detailed information about why an ad failed to load? A) OnUnityAdsReady B) OnUnityAdsStart C) OnUnityAdsFinish D) OnUnityAdsDidError Answer: D Explanation: OnUnityAdsDidError includes an error message and code describing the failure reason. Question 50. When implementing a “watch ad to double coins” feature, where should the coin amount be multiplied? A) Immediately when the ad starts B) In OnUnityAdsFinish after confirming FinishState.COMPLETED

Programmer Ultimate Exam

C) After the ad is shown, regardless of completion state D) In the UI layer before the ad call Answer: B Explanation: Multiplying only after a successful completion ensures the reward is granted fairly. Question 51. Which of the following is NOT a recommended practice for banner ad placement? A) Positioning the banner where it overlaps critical UI elements B) Using the default banner size for the device’s screen density C) Hiding the banner when the player enters a full-screen gameplay mode D) Testing banner visibility on multiple device resolutions Answer: A Explanation: Overlapping UI can degrade user experience; banners should be placed in non-obstructive areas. Question 52. How can you programmatically check if a user has opted out of personalized ads under GDPR? A) UnityAds.HasGDPRConsent() B) MetaData privacy = new MetaData("privacy"); bool consent = privacy.Get("gdpr_consent") as bool; C) UnityAds.GetConsentStatus() D) There is no API; you must store the choice yourself Answer: D Explanation: Unity provides the mechanism to send consent data, but it does not expose a direct query; developers must track the user’s choice locally. Question 53. Which Unity Ads error code corresponds to “No fill”? A) 1010 B) 1001 C) 2002

Programmer Ultimate Exam

D) Registers a new placement with the given ID Answer: B Explanation: The ShowOptions allows you to specify a callback that receives the ad result (completed, skipped, failed). Question 57. Which Unity Ads feature helps you limit ad frequency to avoid overwhelming players? A) Frequency Capping (set in the dashboard) B) Automatic eCPM adjustment C) Dynamic placement ID generation D) Reward multiplier scaling Answer: A Explanation: Frequency capping controls how many times a specific placement can be shown within a time window. Question 58. When an interstitial ad is shown, which Unity method should you typically pause to prevent gameplay from continuing in the background? A) Time.timeScale = 0 B) AudioListener.pause = true C) Both A and B are common practices D) No pause is needed; Unity Ads handles it automatically Answer: C Explanation: Pausing timeScale halts game logic, while muting audio prevents overlapping sounds; both are widely used. Question 59. Which of the following best describes “ad mediation waterfall”? A) A visual UI element that displays ads sequentially B) The process of trying multiple ad networks in order of priority until one fills the request C) A method for streaming video ads over a low-bandwidth connection D) The way Unity Ads splits revenue with publishers

Programmer Ultimate Exam

Answer: B Explanation: The waterfall model attempts to fill an ad request by querying networks from highest to lowest priority until an ad is returned. Question 60. In Unity Ads, what does the ShowOptions.gamerSid property allow you to set? A) The user’s session identifier for server-side reward verification B) The placement’s unique ID C) The ad’s playback speed D) The ad’s sound volume Answer: A Explanation: gamerSid is used for server-side verification of reward eligibility, linking the ad impression to a specific user. Question 61. Which of the following is a correct way to hide a banner ad after a level ends? A) Advertisement.HideBanner(); B) Advertisement.SetBannerPosition(BannerPosition.BOTTOM_CENTER); C) Advertisement.DestroyBanner(); D) Advertisement.Banner.Hide(); Answer: D Explanation: The Advertisement.Banner.Hide() method hides the banner while keeping it loaded for later reuse. Question 62. What is the purpose of the UnityEngine.Advertisements.Advertisement.IsSupported() method? A) Checks whether the current platform (iOS/Android) supports Unity Ads B) Verifies that the device has enough storage for ad assets C) Determines if the user has consented to personalized ads D) Returns true if the SDK version is newer than 3. Answer: A