Third Party SDK plugin for Cocos

I am planning to create advertising sdk plugin in cocos2dx for both iOS and Android platform. I need third party sdk plugin creation steps. Could you please help me on this. Quick response is appreciated .