The push for the code,now being developed by the Australian Competition and Consumer Commission,has come mainly from commercial media organisations whose advertising revenue has collapsed,scooped up by the tech giants.
Speaking at the National Press Club in Canberra on Wednesday,Mr Anderson said it would be"entirely appropriate"for the public broadcaster to receive revenue from digital platforms in return for the value it is providing to Australian people.
He said the funds"should come to the ABC to be reinvested in public interest journalism"and fund the organisation's five-year strategy,which is focused on local content.
Loading
"I certainly accept that it's difficult times for commercial operators. They are doing it tough,they are relying on a revenue stream which is falling and falling dramatically,"he said.
"I think the ABC performs a different role. And while others will retreat from the regions and retreat from being local,that's why this strategy is about being more local."
He said the ABC sought to bring in commercial revenue wherever possible but it was currently not an enormous amount and a mandatory bargaining code with Facebook and Google"might change that".