refactoring adgensqlrepository: campaign and content create, update inline functions, created from createorupdate