Docsity

Unity Ads Certified Associate Programmer Practice Exam, Exams of Technology

Toggle sidebar
bg1
Unity Ads Certified Associate Programmer
Practice Exam
**Question 1. Which method is used to initialize Unity Ads in a Unity project?**
A) UnityAds.Start()
B) UnityAds.Initialize()
C) UnityAds.Load()
D) UnityAds.Setup()
Answer: B
Explanation: UnityAds.Initialize() is the official call that starts the Unity Ads SDK and registers
the Game ID for the current platform.
**Question 2. In which Unity lifecycle method is it generally safest to call
UnityAds.Initialize()?**
A) Update()
B) FixedUpdate()
C) Awake()
D) OnDestroy()
Answer: C
Explanation: Awake() runs before any other scripts start, ensuring the SDK is ready before you
attempt to load or show ads.
**Question 3. What is the purpose of the Game ID in Unity Ads integration?**
A) It uniquely identifies the ad placement within a scene.
B) It links the Unity project to the Unity Monetization dashboard for a specific platform.
C) It stores the player's consent status.
D) It defines the ad format (banner, interstitial, rewarded).
Answer: B
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
pf54
pf55
pf56
pf57
pf58

Partial preview of the text

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

Practice Exam

Question 1. Which method is used to initialize Unity Ads in a Unity project? A) UnityAds.Start() B) UnityAds.Initialize() C) UnityAds.Load() D) UnityAds.Setup() Answer: B Explanation: UnityAds.Initialize() is the official call that starts the Unity Ads SDK and registers the Game ID for the current platform. Question 2. In which Unity lifecycle method is it generally safest to call UnityAds.Initialize()? A) Update() B) FixedUpdate() C) Awake() D) OnDestroy() Answer: C Explanation: Awake() runs before any other scripts start, ensuring the SDK is ready before you attempt to load or show ads. Question 3. What is the purpose of the Game ID in Unity Ads integration? A) It uniquely identifies the ad placement within a scene. B) It links the Unity project to the Unity Monetization dashboard for a specific platform. C) It stores the player's consent status. D) It defines the ad format (banner, interstitial, rewarded). Answer: B

Practice Exam

Explanation: The Game ID tells the SDK which project and platform (iOS or Android) to report data for and fetch ads from. Question 4. Which of the following is NOT a valid way to add the Unity Ads SDK to a project? A) Using the Unity Package Manager (UPM). B) Importing a .unitypackage from the Asset Store. C) Manually copying the Ads folder from another project without updating dependencies. D) Adding the SDK via the Services window’s “Ads” toggle. Answer: C Explanation: Manually copying the SDK can lead to missing dependencies and version conflicts; the supported methods are UPM, Asset Store, or Services window. Question 5. When enabling Unity Services in the Unity Editor, which window do you use? A) Project Settings B) Services C) Package Manager D) Analytics Answer: B Explanation: The Services window provides toggles for Unity Ads, Analytics, Cloud Build, etc., and is where you enable Ads. Question 6. Which API should you use to comply with GDPR when showing personalized ads? A) UnityEngine.Advertisements.Advertisement B) UnityEngine.Advertisements.UnityAdsConsent C) UnityEngine.Advertisements.ConsentManagement

Practice Exam

C) It is used to store the player’s reward balance. D) It defines the ad network’s bidding price. Answer: B Explanation: Placement IDs map directly to ad units you create in the Unity Monetization dashboard. Question 10. How do you check if a rewarded video placement is ready to be shown? A) Advertisement.IsReady("rewardedVideo") B) UnityAds.IsLoaded("rewardedVideo") C) Advertisement.CanShow("rewardedVideo") D) UnityAds.IsReady("rewardedVideo") Answer: D Explanation: UnityAds.IsReady() returns true when the specified placement has cached ad content and can be displayed. Question 11. Which callback is invoked when a rewarded video finishes successfully? A) OnUnityAdsStart() B) OnUnityAdsReady() C) OnUnityAdsFinish() with UnityAds.FinishState.Completed D) OnUnityAdsDidError() Answer: C Explanation: OnUnityAdsFinish() provides the finish state; a Completed state indicates the user watched the ad fully and should be rewarded. Question 12. What is the correct order of steps to show an interstitial ad? A) Call UnityAds.Show(), then check UnityAds.IsReady().

Practice Exam

B) Check UnityAds.IsReady(), then call UnityAds.Show(). C) Directly call UnityAds.Show() without any checks. D) Initialize the SDK, then call UnityAds.IsReady() only. Answer: B Explanation: You must verify the placement is ready before attempting to show the ad to avoid errors. Question 13. Which banner position constant places the banner at the bottom of the screen? A) BannerPosition.TOP_CENTER B) BannerPosition.BOTTOM_CENTER C) BannerPosition.TOP_RIGHT D) BannerPosition.CENTER Answer: B Explanation: BannerPosition.BOTTOM_CENTER aligns the banner horizontally centered at the bottom edge. Question 14. How can you hide a banner ad after it has been displayed? A) UnityAds.HideBanner() B) Advertisement.Banner.Hide() C) UnityAds.DestroyBanner() D) Advertisement.Hide() Answer: B Explanation: Advertisement.Banner.Hide() removes the banner from view while keeping the placement active for later reuse.

Practice Exam

Question 18. Which error code corresponds to “No Fill” when an ad cannot be served? A) 1001 B) 2001 C) 4000 D) 5000 Answer: C Explanation: Unity Ads uses error code 4000 to indicate no ad inventory (No Fill) for the requested placement. Question 19. What is the primary benefit of using ad mediation with Unity Ads? A) It reduces the SDK size. B) It allows Unity Ads to compete with other networks for higher eCPM and fill rates. C) It disables GDPR compliance. D) It forces all ads to be rewarded videos. Answer: B Explanation: Mediation lets multiple demand sources compete, improving fill rate and revenue. Question 20. Which platform can act as a mediation wrapper for Unity Ads? A) Google AdMob B) Unity Analytics C) Unity Collaborate D) Unity Cloud Build Answer: A Explanation: Google AdMob (or other mediation platforms like IronSource) can include Unity Ads as one of its demand sources.

Practice Exam

Question 21. What does “Personalized Placement” allow developers to do? A) Show the same ad to every user. B) Dynamically select different ad formats based on user segment or game state. C) Disable all ads for premium users. D) Force banner ads to appear on every level. Answer: B Explanation: Personalized Placement lets you serve different ad types (e.g., rewarded vs. interstitial) based on criteria you define. Question 22. Which of the following is a best practice for timing rewarded video ads? A) Show them immediately after the game loads. B) Offer them after a natural gameplay break, such as a level completion. C) Force them every 30 seconds regardless of player action. D) Display them during critical cutscenes. Answer: B Explanation: Placing rewarded ads at logical pause points preserves user experience and increases completion rates. Question 23. How can you enable test mode programmatically for Unity Ads? A) Advertisement.Initialize(gameId, true) B) UnityAds.SetTestMode(true) C) Advertisement.Show("testPlacement") D) UnityAds.EnableTestMode() Answer: A

Practice Exam

Answer: B Explanation: The SDK cannot find the placement and will trigger an error callback indicating the mismatch. Question 27. Which metric on the Unity Monetization dashboard shows the average revenue earned per 1,000 impressions? A) CPM B) eCPM C) Fill Rate D) Click‑Through Rate Answer: B Explanation: Effective Cost Per Mille (eCPM) reflects revenue per 1,000 ad impressions. Question 28. How does the Game ID affect reporting in the Unity dashboard? A) It groups all ad data under a single project regardless of platform. B) It separates iOS and Android performance data. C) It determines the ad format shown. D) It disables analytics for that project. Answer: B Explanation: Separate Game IDs for iOS and Android allow the dashboard to display platform‑specific metrics. Question 29. Which of the following is NOT a valid Unity Ads finish state? A) Completed B) Skipped C) Failed

Practice Exam

D) Cancelled Answer: D Explanation: Unity Ads defines Completed, Skipped, and Failed; “Cancelled” is not a recognized state. Question 30. When should you destroy a banner ad to free resources? A) Immediately after showing it. B) When the scene that displayed it is unloaded or the ad is no longer needed. C) After every frame. D) Never; Unity Ads handles it automatically. Answer: B Explanation: Destroying the banner when it’s no longer needed releases memory and network resources. Question 31. Which Unity Ads API method is used to set a custom user identifier for analytics? A) UnityAds.SetUserID() B) Advertisement.SetMetaData() with “userId” key C) UnityAds.SetMetaData() with “userId” key D) Advertisement.SetUserIdentifier() Answer: C Explanation: UnityAds.SetMetaData() can include a “userId” field that is sent with ad requests for better analytics. Question 32. What does the “Fill Rate” metric represent? A) Percentage of ad requests that resulted in an ad being shown.

Practice Exam

A) Banner B) Interstitial (non‑rewarded) C) Rewarded video D) Native Answer: C Explanation: Rewarded videos often command higher eCPM because advertisers value the guaranteed user attention. Question 36. What is the purpose of the UnityAdsSettings class? A) To store placement IDs. B) To configure SDK options such as test mode and debug logging. C) To manage user reward balances. D) To handle banner positioning. Answer: B Explanation: UnityAdsSettings provides static properties for global SDK configuration. Question 37. Which of the following is a required step before publishing a Unity Ads‑enabled game to the store? A) Removing all test device IDs. B) Switching the SDK to production mode (testMode = false). C) Deleting the app‑ads.txt file. D) Changing all placement IDs to “test”. Answer: B Explanation: Production mode must be enabled so real ads are served after launch.

Practice Exam

Question 38. How can you programmatically check whether the user has given consent for personalized ads? A) UnityAds.HasConsent() B) ConsentManagement.IsConsentGiven() C) Advertisement.IsReady() D) UnityAds.GetConsentStatus() Answer: B Explanation: The ConsentManagement API provides methods like IsConsentGiven() to query the user’s consent state. Question 39. Which callback is invoked the moment an ad starts playing? A) OnUnityAdsReady() B) OnUnityAdsStart() C) OnUnityAdsFinish() D) OnUnityAdsDidError() Answer: B Explanation: OnUnityAdsStart() signals that the ad video has begun. Question 40. What is the correct way to reward a player after a successful rewarded video? A) Grant the reward immediately after calling UnityAds.Show(). B) Grant the reward inside OnUnityAdsFinish() when the finish state is Completed. C) Grant the reward in OnUnityAdsReady(). D) Grant the reward in OnUnityAdsDidError(). Answer: B Explanation: Only after the SDK confirms the ad was fully watched (Completed) should the reward be given.

Practice Exam

Answer: A Explanation: Premium IAPs commonly grant an ad‑free experience; the SDK can be disabled for those users. Question 44. How does Unity Ads differentiate between “non‑personalized” and “personalized” ads? A. By using separate placement IDs. B. By setting a flag in the ConsentManagement API. C. By changing the Game ID. D. By switching the SDK version. Answer: B Explanation: The consent flag tells the SDK whether to request personalized ad content. Question 45. Which method can be used to log all Unity Ads events for debugging? A) Advertisement.SetDebugMode(true) B) UnityAds.EnableLogging() C) UnityAdsSettings.debugMode = true D) Advertisement.ShowDebugPanel() Answer: A Explanation: Advertisement.SetDebugMode(true) enables verbose logging of ad lifecycle events. Question 46. What is the recommended way to handle an ad that fails to display due to a network error? A) Immediately exit the game. B) Retry after a short delay or fallback to another placement.

Practice Exam

C) Show a full‑screen error message and block further gameplay. D) Disable all future ads. Answer: B Explanation: A retry or fallback maintains user flow while giving the network a chance to recover. Question 47. Which Unity Ads placement type can be displayed while the game is paused? A) Banner B) Interstitial (non‑rewarded) C) Rewarded video D) None; all ads pause the game. Answer: A Explanation: Banners are overlay UI elements that can remain visible while the game is paused. Question 48. In Unity Ads, what does the term “eCPM floor” refer to? A) The minimum revenue per thousand impressions the publisher is willing to accept. B) The maximum number of ads that can be shown per session. C) The lowest possible fill rate. D) The default banner size. Answer: A Explanation: Setting an eCPM floor tells the network to only serve ads that meet or exceed that revenue threshold. Question 49. Which class is used to pass custom metadata (e.g., user age) to Unity Ads? A) MetaData B) UserInfo

Practice Exam

B) Delete the placement from the dashboard. C) Set UnityAdsSettings.bannerEnabled = false globally. D) Change the Game ID for that scene. Answer: A Explanation: Hiding the banner at runtime removes it from the current scene without affecting other scenes. Question 53. Which Unity Ads callback provides the placement ID of the ad that just finished? A) OnUnityAdsReady(string placementId) B) OnUnityAdsStart(string placementId) C) OnUnityAdsFinish(string placementId, UnityAds.FinishState state) D) OnUnityAdsDidError(string message) Answer: C Explanation: OnUnityAdsFinish supplies both the placement ID and the finish state. Question 54. What does the “Ad Revenue” metric on the dashboard represent? A) Total clicks on ads. B) Total money earned from all ad impressions and clicks. C) Number of ads displayed. D) Average session length. Answer: B Explanation: Ad Revenue aggregates the monetary earnings from all ad activity. Question 55. Which of the following is NOT a supported banner size in Unity Ads? A) 320x

Practice Exam

B) 728x C) 300x D) 120x Answer: D Explanation: Unity Ads supports standard mobile banner sizes like 320x50, 728x90, and 300x but not 120x600. Question 56. When implementing IUnityAdsListener, which method must you always include even if you don’t use it? A) OnUnityAdsReady() B) OnUnityAdsStart() C) OnUnityAdsFinish() D) All of the above – the interface requires all four methods. Answer: D Explanation: The interface defines four methods; all must be implemented, though they can be empty. Question 57. Which Unity Ads placement is best suited for offering extra lives in a casual game? A) Banner B) Interstitial (non‑rewarded) C) Rewarded video D) Native Answer: C Explanation: Rewarded videos are designed to grant in‑game benefits after completion, making them ideal for extra lives.