Syntax

Parameters

| Param | Details | |—|—| | ads:adUnitId=”@string/main_screen_ad” | The ID of your ad. Get your ID from the admob site. “While it’s not a requirement, storing your ad unit ID values in a resource file is a good practice. As your app grows and your ad publishing needs mature, it may be necessary to change the ID values. If you keep them in a resource file, you never have to search through your code looking for them.”.[1]|

Remarks