04. SDK for Java
SDK Installation
gradle์ ์ด์ฉํ์ฌ SDK ์ค์ ์ด ๊ฐ๋ฅํฉ๋๋ค. (You can configure the SDK using gradle.)
Maven Settings
ํ๋ก์ ํธ ์์ค build.gradle์ ๋ค์๊ณผ ๊ฐ์ด maven์ ์ถ๊ฐํฉ๋๋ค. (Add maven to your project level build.gradle as follows:)
Dependency Settings
์ฑ ์์ค build.gradle์ ๋ค์๊ณผ ๊ฐ์ด dependency๋ฅผ ์ถ๊ฐํฉ๋๋ค. (Add the dependency to your app level build.gradle as follows:)
ํ์ Permission ์ถ๊ฐ ๋ฐ ํ์ธ(Adding and Verifying Required Permissions)
๋ค์์ ํ์ ๊ถํ์ดAndroid Manifest์ ์ถ๊ฐ๋์ด ์์ด์ผ ํฉ๋๋ค. (The following essential permissions must be added to your Android Manifest as follows:)
ONE AdMax SDK
๋งค์ฒดํค ๋ฑ๋ก(Media Key Registration)
ONE AdMax ์ฝ์์์ ๋ฐ๊ธ๋ฐ์ ๋งค์ฒดํค๋ ๋ค์๊ณผ ๊ฐ์ด Android Manifest์ application ํ๊ทธ ๋ด์ ์ถ๊ฐํด์ผ ํฉ๋๋ค. (The media key issued by the ONE AdMax console must be added within the application tag of your Android Manifest as follows:)
SDK ์ด๊ธฐํ(SDK Initialize)
ONE AdMax SDK ์์๋ ๋ค์ํ ํํ์ ๊ด๊ณ ๋ฅผ ์ ๊ณตํ๋ฉฐ, ๊ฐ ์ธ๋ถ ๊ด๊ณ ๋ฅผ ์ฌ์ฉํ๊ธฐ ์ ์ SDK ์ด๊ธฐํ ์์ ์ ํด์ผ ํฉ๋๋ค. (The ONE AdMax SDK offers various types of ads, and you need to initialize the SDK before using any specific ad formats.)
SDK ํด์ (SDK Destroy)
์ดํ๋ฆฌ์ผ์ด์ ์ด ์ข ๋ฃ๋ ๋ ๋ฉ๋ชจ๋ฆฌ์ ํ ๋น๋ ๋ฆฌ์์ค( View, Memory )๋ฅผ ํด์ ํฉ๋๋ค.
์ฑ์ด ์ข ๋ฃ๋ ๋ ํธ์ถ๋๋ activity์ onDestroy()์์ ํธ์ถํฉ๋๋ค. (Delete allocated resources (View, Memory) when the application is about to close. Call this in the onDestroy() method of the activity that gets called when the app is closing.)
Log Settings
ONE AdMax SDK์ ๋ก๊ทธ๋ฅผ ํ์ฑ ๋๋ ๋นํ์ฑํ ํฉ๋๋ค. (Enable or disable logs for the ONE AdMax SDK.)
GDPR Settings
EU์ GDPR (General Data protection Regulation) ๋ฒ์์ ๋์ํ๊ธฐ ์ํด ์๋ API๋ฅผ ์ฌ์ฉํฉ๋๋ค. GDPR ๋์๊ฐ ํ์ํ ์ ์ ์ ํํด ๋ค์ API๋ฅผ ํธ์ถํ์๊ธฐ ๋ฐ๋๋๋ค. (To comply with the EU's General Data Protection Regulation (GDPR), use the following API. Call the following API for users who require GDPR consent.)
COPPA Settings
COPPA(Children's Online Privacy Protection Rule)๋ฒ์์ ๋์ํ๊ธฐ ์ํด ์๋ API๋ฅผ ์ถ๊ฐ ํฉ๋๋ค. ํด๋น ๋๋ฐ์ด์ค์์๋ ๋ชจ๋ ๊ด๊ณ ํ์ ์ ๊ด๊ณ ์์ฒญ์ ๋ํด No ad ์ฒ๋ฆฌ ๋ฉ๋๋ค. (๊ธฐ๋ณธ๊ฐ: false) (To comply with the Children's Online Privacy Protection Rule (COPPA), we've added the following API. This API will ensure that no ads are served on devices where this setting is enabled. (Default: false))
Last updated