Peace be upon you.
Grand Ayatollah Sayyid Khamenei (may Allah protect him): Generally, without specific reference to the mentioned companies, earning money through such companies is permissible if the individuals responsible for those companies or others offer a payment for promoting their advertisements, provided that the work you provide is lawful and there are no other prohibited aspects, such as promoting companies or products that are not permissible to promote. It is the responsibility of the individual to determine this.
Source:
Tahrir al-Wasilah - Book of Ja'alah, Issue 12.
Grand Ayatollah Sayyid Sistani (may Allah protect him): Such transactions are not valid, and one may refer to others - while considering the most knowledgeable - for validation.
Source:
Legal Office of Sayyid Sistani - Lebanon.
May you be successful in all good.