Use a 12” bit to drill through the board. To mark the anchor positions on the wall, position the ledger against the wall. You can drill through the brick veneer with a masonry bit in a hammer drill. Don't drill into the wood.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.