A couple of versions (at least one at the Bodleian) have no mention of Ceylon (in whatever spelling).
"inventiveness of broadside publishers"- the insertion of a place name may be just that.
In any case, there is no reason to associate the song with any particular campaign.