In open terrain the Ewoks would probably be dead meat, considering the technological superiority of the Gungans.

In the woods, where the Gungans would have problems utilizing their heavier equipment, the Ewoks might eventually overwhelm them using their dreaded pointy sticks and pebbles.

Anyway, I sure hope a potential war between the two will be looong and bloody and leave the victor to weak to prevail much longer afterwards