To connect Ads-Mediabox, please, use the settings shown in the picture below.
With WordPress Gallery, Ads-Mediabox should run with the default selector in automatic mode.
If the plugin does not run, please, use the composite selector that is suitable for your theme. See this page for more details.