NEW YORK (CBSNewYork) – The Federal Trade Commission has fined Google’s video site, YouTube, for violating children’s privacy.

The FTC says the company collected children’s data without their parents’ consent.

READ MORE: Retired FDNY Firefighter Suffering From 9/11-Related Illness In Need Of Lifesaving Bone Marrow Transplant

Of the $170 million settlement, $34 million will go to New York State.

READ MORE: Harlem Man Arrested After Allegedly Punching Woman, Striking 5-Year-Old Child

Attorney General Letitia James says YouTube specifically tracked and served targeted ads in videos meant for children under the age of 13.

MORE NEWS: New York Judge Suspends Father's Visitation Rights With Daughter Unless He Gets COVID Vaccine Or Subjects To Weekly Testing

“Google and YouTube knowingly and illegally monitored, tracked, and served targeted ads to young children just to keep advertising dollars rolling in,” James said in a statement Wednesday. “These companies put children at risk and abused their power, which is why we are imposing major reforms to their practices and making them pay one of the largest settlements for a privacy matter in U.S. history. My office is committed to protecting children and holding those who put our kids in harm’s way — both on and offline — accountable.”