Google ads appear automatically on published hubs so you don't have to add them. What you do need to do is apply to google. This guide in the HELP section tells you exactly what to do.
It also tells you how to sign up as an Amazon affiliate. Once you have been given your affliate codes you can add amazon capsules by going back to your hubs (through MY ACCOUNT), choosing EDIT and adding the capsules. You can either choose what products you would like to sell or type in keywords relevant to your hub and amazon will automatically show relevant products.