Usually you do it yourself, you are the developer. Some publishers though might offer to do it themselves.
Usually you as the developer will put the ad ID's into your game. They will provide you with their keys / ID's for what will be the build that is submitted to their account.