sync_audience
Upload an audience to multiple ad platforms (Google, Meta, LinkedIn, etc.) using hashed emails, phones, mobile IDs, company domains, or a CSV URL.
Instructions
Upload an audience to an ad platform (Google, Meta, LinkedIn, Microsoft, Reddit, TikTok, X). Accepts inline hashed identifiers (hashed_emails, hashed_phones), raw mobile_ids (IDFA/GAID), company_domains, a public csv_url, or *_artifact_id references staged via stage_audience_artifact. Costs 10 credits on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_url | No | Public CSV URL with audience identifiers. Alternative to inline params / artifact ids. | |
| platform | Yes | Ad platform to upload to. | |
| account_id | No | Platform ad account id. Optional — defaults to the user's primary account on that platform. | |
| mobile_ids | No | Comma-separated raw mobile advertising IDs (IDFA / GAID, uppercase UUID). Meta and TikTok only. NOT hashed. | |
| audience_name | No | Name for the audience as it should appear in the platform's UI. | |
| hashed_emails | No | Comma-separated SHA-256 hashed emails (lowercase hex). For small batches; use hashed_emails_artifact_id for >500. | |
| hashed_phones | No | Comma-separated SHA-256 hashed phones (E.164 format pre-hash). For small batches. | |
| i_have_consent | No | Confirm the customer has lawful basis (GDPR Art. 6) and required consent under CCPA / Meta Custom Audience Terms / Google Customer Match Policy for every identifier in this audience. Soft-launch: omitting this flag logs a warning until 2026-05-21, after which the upload is rejected with PII_CONSENT_REQUIRED. Pass true only if your customer has obtained the required consents. | |
| company_domains | No | Comma-separated company domains for B2B account targeting (Google + LinkedIn). | |
| customer_file_source | No | Meta only: USER_PROVIDED_ONLY (default), PARTNER_PROVIDED_ONLY, or BOTH_USER_AND_PARTNER_PROVIDED. | |
| mobile_ids_artifact_id | No | Artifact id for raw mobile ids. Meta only. | |
| hashed_emails_artifact_id | No | Artifact id from stage_audience_artifact for SHA-256 hashed emails. | |
| hashed_phones_artifact_id | No | Artifact id from stage_audience_artifact for SHA-256 hashed phones. Meta + most platforms; not supported by Google's customer match script today. |