بسم الله الرّحمن الرّحیم
سلام. ترجمهش اون قدر هم سخت نبود:
- Go to www.admob.com and sign up an account. (This is free)
- Once logged in, create Ad Unit IDs for the ad types you want to use
- Add the AdMob object to your Construct 2 project
- In the AdMob object's properties, copy and paste in the relevant Ad Unit IDs from your account
- Now you can add actions to show ads in your game.
۱. به سایت admob.com برید و به صورت رایگان ثبت نام کنید.
۲. بعد از اینکه وارد شدید، برای نوع تبلیغاتی که میخواهید در بازی نشان دهید Ad Unit ID بسازید.
۳. شیء AdMob رو به پروژه اضافه کنید.
۴. در تنظیمات شیء AdMob اون Ad Unit IDهای مربوطه رو کپی و پیست کنید.
۵. حالا میتونید از اکشنهای مربوطه برای نمایش تبلیغات استفاده کنید.
بعد برای خروجی گرفتن در Intel XDK هم گفته این کارها رو بکنید:
- Go to the 'Projects' tab (in the top-left)
- Under 'CORDOVA 3.X HYBRID MOBILE APP SETTINGS', click 'Plugins and Permissions'
- Click 'Third Party Plugins'
- Click 'Get Plugin from the Web'
- Enter the following details:
Name: AdMob Plugin
Plugin ID: com.cranberrygame.phonegap.plugin.ad.admob
Check the 'Plugin is located in the Apache Cordova Plugins Registry' box
Then click 'Import'.
به سربرگ Projects بروید.
زیر CORDOVA 3.X HYBRID MOBILE APP SETTINGS روی Plugins and Permissions کلیک کنید.
روی Third Party Plugins کلیک کنید.
روی Get Plugin from the Web کلیک کنید.
و بعد جزئیات زیر رو مثل زیر وارد کنید:
Name: AdMob Plugin
Plugin ID: com.cranberrygame.phonegap.plugin.ad.admob
بعد Plugin is located in the Apache Cordova Plugins Registry رو تیک بزنید.
بعد روی Import کلیک کنید.
(این نشون میده که از پلاگینهای Cordova هم میشه در کراسواک استفاده کرد)