<?xml version="1.0" encoding="UTF-8"?>
<game-data>

	<include>
		<field name="enableAdmobAds" type="boolean" />
		<field name="iosAppID"       type="text" if="ios"     regex="ca-app-pub-\d{16}~\d{10}" error="@errors.appid" />
		<field name="androidAppID"   type="text" if="android" regex="ca-app-pub-\d{16}~\d{10}" error="@errors.appid" />
	</include>

	<config classname="com.stencyl.admob.AdmobConfig">
		<field name="enableTestAds"          type="boolean" />
		<field name="enableTestConsent"      type="boolean" />
		
		
		<field name="iosBannerKey"           type="text" embedded="true" if="ios"     regex="^$|^ca-app-pub-\d{16}\/\d{10}$" />
		<field name="iosInterstitialKey"     type="text" embedded="true" if="ios"     regex="^$|^ca-app-pub-\d{16}\/\d{10}$" />
		<field name="iosRewardedKey"         type="text" embedded="true" if="ios"     regex="^$|^ca-app-pub-\d{16}\/\d{10}$" />
		<field name="iosRewardedInterstitialKey"
			                                 type="text" embedded="true" if="ios"     regex="^$|^ca-app-pub-\d{16}\/\d{10}$" />
		
		
		<field name="androidBannerKey"       type="text" embedded="true" if="android" regex="^$|^ca-app-pub-\d{16}\/\d{10}$" />
		<field name="androidInterstitialKey" type="text" embedded="true" if="android" regex="^$|^ca-app-pub-\d{16}\/\d{10}$" />
		<field name="androidRewardedKey"     type="text" embedded="true" if="android" regex="^$|^ca-app-pub-\d{16}\/\d{10}$" />
		<field name="androidRewardedInterstitialKey"
			                                 type="text" embedded="true" if="android" regex="^$|^ca-app-pub-\d{16}\/\d{10}$" />
	</config>

</game-data>