Okay .. my code knowlege is not much
But should this do .. I have ads running in fb admanager
if this is put in config.xml
<plugin name="https://github.com/jeduan/cordova-plugin-facebook4.git" spec="https://github.com/jeduan/cordova-plugin-facebook4.git">
<variable name="APP_ID" value="YOUR ID"/>
<variable name="APP_NAME" value="YOUR NAME"/>
</plugin>
Im unsure about the variables