You'll receive more Candy and XP for catching Pokémon that share a type with a Mega-Evolved Pokémon during its Mega Evolution period. At a high enough Trainer level, you can also gain an increased chance to earn Candy XL for Mega-Evolved Pokémon that have reached High Level or Max Level.