Hello,
the activation code has been sent to you as a part of the purchase confirmation email. Could you please try to look up the email? If not, could you please contact our support team using following form https://support.avast.com/support/home? They can surely find the activation code in our database.

I’m deeply sorry about the inconvenience caused to you,
Martin