Codify — Article

California AB 796 would tax programmatic social‑media ads to fund youth safety programs

Imposes a service‑specific tax on programmatic advertising sold on social platforms and directs proceeds to a newly created Social Media Safety Trust Fund for education, mental health, research, and social services.

The Brief

AB 796 creates a temporary, service‑specific tax on programmatic advertising sold on social media platforms that have users in California and funnels revenue into a new Social Media Safety Trust Fund. The fund is continuously appropriated and earmarked—by formula—to support school‑based education, mental‑health care, research and development, and social services focused on harms from adolescent social media use.

The bill defines the taxable base, carves out limited exemptions (501(c)(3) nonprofits and advertisers with less than $100,000 annual ad spend), excludes refunded ad purchases, and requires the California Department of Tax and Fee Administration (CDTFA) to administer collection under the state’s Fee Collection Procedures Law. The law sunsets on January 1, 2031.

Key operational details—most notably the tax rate and the allocation percentages among accounts—are left blank in the text and would need to be specified to implement the program.

At a Glance

What It Does

The bill imposes a percentage tax on annual gross receipts from programmatic advertising on social media platforms tied to California origin or distribution to California residents; refunded ad purchases are excluded and two exemptions protect small advertisers and 501(c)(3) nonprofits. Revenues flow into a continuously appropriated trust fund that must be allocated across education, mental‑health care, research, and social services accounts.

Who It Affects

Social media platform providers that sell programmatic ads and have users in California are the direct taxpayers. Advertisers who buy programmatic inventory for California audiences, statewide service vendors (grantees) that would receive Trust Fund grants, and the CDTFA (as the collector) are also directly implicated.

Why It Matters

This is one of the first California efforts to tax a specific digital advertising service as a policy tool to finance mitigation of platform‑related harms to minors. It raises practical questions about sourcing and tax incidence in programmatic markets, creates a new dedicated revenue stream with continuous appropriation, and leaves open constitutional and administrative challenges.

More articles like this one.

A weekly email with all the latest developments on this topic.

Unsubscribe anytime.

What This Bill Actually Does

AB 796 targets the subset of digital advertising that uses automated, algorithmic systems—what the bill calls programmatic advertising—when that advertising is purchased for distribution on social media platforms with users in California. The bill defines which online services qualify as "social media platforms" (public or semipublic services that enable user profiles, social connections, and user‑generated content) and which commercial actors qualify as platform providers (those who operate or control the platform for commercial purposes).

The taxable base is the platform provider’s annual gross receipts from programmatic ad purchases that either originate in California or are distributed to California residents.

The bill builds an administrative structure around the tax: the California Department of Tax and Fee Administration (CDTFA) administers and collects the tax using the state’s existing Fee Collection Procedures Law, and all receipts are directed to a newly created Social Media Safety Trust Fund in the State Treasury. That Fund is continuously appropriated to pay for the division’s activities.

The statute requires that fund money be split into separate accounts—Education, Mental Health Care, Research and Development, and Social Services—and allocated according to percentages that the bill’s text leaves blank. Each account’s grantmaking authority is anchored to an existing state office (for example, the Superintendent of Public Instruction for education grants).Practical mechanics and limits are built into the text: the tax excludes refunded programmatic ad purchases, exempts nonprofit organizations qualifying under Section 501(c)(3), and exempts advertisers whose aggregate annual payments to a platform for ads do not exceed $100,000.

The law also contains a clause clarifying that it does not grant the state additional authority over collection or use of user data or geolocation information. The entire package is temporary: both the tax provisions and the fund’s enabling division automatically repeal on January 1, 2031.

Several operational details—most notably the tax rate and the precise allocation percentages among the Fund’s accounts—are blanks in the bill and would need to be specified before collection and grantmaking could begin.

The Five Things You Need to Know

1

The tax base is limited to programmatic advertising receipts: the bill defines programmatic advertising by automation, cross‑channel targeting, and algorithmic optimization and taxes platform providers’ gross receipts from those purchases tied to California origin or distribution.

2

Two explicit exemptions narrow the base: purchases by 501(c)(3) nonprofits and any advertiser whose annual aggregate ad spend to a single platform does not exceed $100,000 are excluded from the taxed receipts.

3

Refunded programmatic advertising (cash or credit refunds issued by the platform) is excluded from taxable gross receipts when calculating the tax owed.

4

All tax proceeds flow into a new Social Media Safety Trust Fund that is continuously appropriated and must be divided among Education, Mental Health Care, Research & Development, and Social Services accounts, but the bill does not set the allocation percentages.

5

The law (both the tax and the trust fund authority) sunsets and is repealed on January 1, 2031.

Section-by-Section Breakdown

Every bill we cover gets an analysis of its key sections. Expand all ↓

Section 1

Findings framing state authority and purpose

This opening section contains legislative findings that justify a state tax on social media advertising as an exercise of state taxation power and as a response to public‑health and regulatory burdens tied to platform harms to minors. The findings are significant because they articulate the policy rationale that would support the statute in administrative or judicial review—emphasizing nexus, distinctiveness of social ad services, and public costs the Legislature seeks to offset.

Division 11 (Business & Professions Code): Chapter 1 (Sections 29000–29001)

Definitions and Act name (California Social Media Accountability Act)

This chunk names the initiative and defines the operative term “social media platform” for the purposes of the trust fund and programmatic tax, focusing on platforms that enable profiles, social connections, and user‑generated content. The definition excludes mere email or direct messaging functionality from meeting the social interaction criterion by itself—an implementation guardrail that affects which services fall into scope.

Division 11: Chapter 2 (Sections 29005–29130)

Social Media Safety Trust Fund and program structure

These sections create the Social Media Safety Trust Fund as a continuously appropriated account and establish four subaccounts—Education, Mental Health Care, Research & Development, and Social Services—tied to existing state grant authorities. The statute requires that funds be used only for new services or to supplement existing services and forbids supplanting the General Fund. Importantly, the bill leaves the percentage splits blank, meaning the Legislature or implementing regulations must specify allocation shares before grants can be distributed.

4 more sections
Part 27 (Revenue & Taxation Code): Chapter 1 (Section 51000–51002)

Tax definitions and administrative authority

This chapter defines “advertisement,” reiterates the programmatic advertising definition used to identify taxable transactions, and designates the Department (CDTFA) as the collector, applying the Fee Collection Procedures Law to this tax. Treating the tax as a ‘fee’ for collection purposes pulls it into an existing administrative apparatus but raises technical questions about audit, reporting, and assessment processes specific to programmatic markets.

Part 27: Chapter 2 (Section 51005 / 51100)

Imposition of the programmatic social media advertising tax

The core taxing provision imposes a percentage tax on annual gross receipts from programmatic advertisements sold for distribution on a platform to California audiences or that originate in California. The provision also specifies exclusions (refunds), exemptions (501(c)(3) and <$100,000 annual advertiser spend), and ties receipts to the Social Media Safety Trust Fund. The bill text omits the numeric tax rate—an implementation gap central to revenue estimates and behavioral responses by platforms and advertisers.

Section 51009

Data and geolocation non‑authorization clause

This short clause clarifies that the part does not grant or alter any authority to collect, access, or use user information or geolocation. Practically, it aims to limit the statute’s reach into privacy law, but it also leaves unresolved how CDTFA will verify sourcing or distribution without relying on data the clause says the part does not grant authority to access.

Sunset provisions (Sections 29130 and 51110)

Temporary duration and repeal date

Both the trust fund division and the tax part include identical sunset language terminating the law effective January 1, 2031. The temporary window compresses program rollout and creates a fixed funding horizon, shaping how agencies, grantees, and vendors plan services and capital investments supported by the new revenue stream.

At scale

This bill is one of many.

Codify tracks hundreds of bills on Finance across all five countries.

Explore Finance in Codify Search →

Who Benefits and Who Bears the Cost

Every bill creates winners and losers. Here's who stands to gain and who bears the cost.

Who Benefits

  • Adolescents and caregivers: The bill directs new, dedicated funding toward school curricula, mental‑health services, and community programs aimed at preventing and responding to platform‑related harms to minors.
  • K–12 education systems and school districts: Eligible districts could receive grants (via the Superintendent) to adopt evidence‑based social‑media safety curricula and contract with specialized providers.
  • Mental‑health and social‑service providers: Licensed mental‑health practitioners and community organizations become grant recipients for screening, treatment, prevention, and after‑school programs targeted at youth affected by platform harms.
  • Researchers and technology developers: The Research & Development account funds studies and tools to understand platform harms and develop technology to protect children, creating opportunities for academic and private‑sector grants.
  • Public health and child welfare agencies: The bill supplies a new, dedicated revenue stream to support programs these agencies oversee without relying on General Fund allocations (subject to appropriation and the bill’s non‑supplanting rule).

Who Bears the Cost

  • Social media platform providers: Platforms that sell programmatic inventory and have California users will bear the statutory tax liability; they also face compliance costs to identify taxable transactions and support audits.
  • Advertisers targeting California users: Platforms may pass some or all of the tax through to advertisers via higher CPMs or fees, raising advertising costs for businesses that rely on targeted social ads.
  • Platform ad‑tech ecosystem (exchanges, DSPs, SSPs): Parties in the programmatic supply chain may incur operational changes to support sourcing, reporting, and refund adjustments demanded by CDTFA audit and collection procedures.
  • State administrative agencies: CDTFA must build auditing and collection capacity specific to programmatic markets, and implementing agencies (Education, Public Health, Social Services) must set up grant programs and oversight—work funded from the same tax stream but requiring near‑term administrative ramp‑up.
  • California businesses reliant on low‑cost targeted ads: If platforms pass through the tax, smaller for‑profit advertisers near the $100,000 threshold may face higher customer‑acquisition costs and market distortions.

Key Issues

The Core Tension

The bill pits two legitimate objectives against each other: using a tailored tax to generate dedicated funding for mitigating demonstrable harms to children from social media, versus imposing a service‑specific tax on a dynamic national digital advertising market that risks economic distortion, administrative complexity, and constitutional challenge. Solving for one side—sufficient funding and targeted grants—creates problems for the other side—market behavior, enforceability, and long‑term program stability.

AB 796 raises several implementation and policy puzzles. First, the statutory definitions rely on programmatic advertising characteristics (automation, cross‑channel targeting, algorithmic optimization) and a functional test for “social media platforms,” but real ad markets mix programmatic, direct‑sold, and hybrid buys.

Distinguishing taxable programmatic receipts from exempted or nonprogrammatic sales will require detailed data flows and audit rules; the bill’s express non‑authorization to collect user data complicates the practical task of verifying whether an impression was distributed to California residents.

Second, the bill leaves crucial numeric choices blank: the tax rate and the allocation percentages across the Fund’s accounts. Those omissions are not minor drafting errors—they determine revenue magnitude, distributional effects, and the political economy of implementation.

A high rate invites aggressive tax‑planning or product redesign by platforms (for example, shifting inventory to direct deals or alternative targeting methods); a low rate may produce limited benefit relative to compliance costs. Third, the law’s continuous appropriation of receipts to the Trust Fund removes ordinary annual budgetary controls and could complicate fiscal oversight and audit, even as the statute attempts to prevent supplanting of General Fund money.

Finally, the temporary sunset to 2031 forces a short‑term planning horizon for programs and could generate "start‑stop" funding cycles that impair services requiring sustained investment.

Try it yourself.

Ask a question in plain English, or pick a topic below. Results in seconds.