Click on IP > Hotspot > Walled Garden.
Click on the + sign to add the desired host or domain to the Dst. Host in this format:
*.domain.com
Please note that in this case, all subdomains of domain.com is whitelisted, but domain.com itself is not. Please check point #2 below.

2. In some cases you might need to use the following format: *domain.com or *domain*
For the Youtube advertising feature use this format:
*.doubleclick.net
*.googlevideo.com
*.googlesyndication.com
*.ytimg.com
*.youtube.com
*youtube*.google.com
Don't forget to restart the router and wait a few minutes! Sometimes DNS queries are cached and wildcard names have to be queried again otherwise they won't work.