In the context of a growing national debate on tech and privacy, Google has come under increased scrutiny for how it may be tracking and targeting children for advertising.

Two House members sent a letter this week to the company’s chief executive, Sundar Pichai, expressing concern that the collection practices of YouTube, a Google subsidiary, may not comply with the Children’s Online Privacy Protection Act, known as Coppa.

The letter on Monday — from David Cicilline, Democrat of Rhode Island, and Jeff Fortenberry, Republican of Nebraska — followed up on a complaint filed in April by more than 20 advocacy groups. The groups sought an investigation by the Federal Trade Commission, which enforces Coppa.

In addition to the complaint and the lawmakers’ letter, Google is facing pressure from the New Mexico attorney general on how it may collect children’s location data. The state official named the tech giant as a defendant in a lawsuit filed last week against the developer of Fun Kid Racing and other gaming apps, along with advertisers involved with them, claiming that they were sharing children’s data without their parents’ permission.