Optimal social ad budget allocation strategy