Composable function that provides ad loading state management.
Pair of loading state and error state management
Initial loading state