manage_activation_query
Create or update an audience activation: the source data to pull, which fields are email or phone identifiers, and optional destinations. Omit activation_query_id to create; provide it to update. On update, send only the parts that change: an omitted source or destinations is kept, but a source or destinations list you send replaces the stored one and must be complete ([] removes all destinations). Returns its state (activation_query_id, ready_to_run, missing). Saving stores configuration only and reads or sends no records; identifiers are SHA-256 hashed before upload, and sending happens only in a separate run step the user confirms. Discover source/accounts/fields with the data_source_discovery, accounts_discovery, and field_discovery tools first, and each destination's audience with activation_audience_list. A source that needs connector settings (e.g. BigQuery's date_column) takes them in source.settings. Confirm the setup with the user before saving. For a Google Ads (AW) destination, show the user this notice verbatim before setting its terms acceptance and consent, and set them only from their answer, never on your own: "By setting the consent status to "granted", you confirm on behalf of the organisation you represent that it complies with Google's Customer Match Policy and, for any end users in the EEA, UK or Switzerland in this audience, that it has provided all required notices and obtained valid consent to the sharing of their data with Google for advertising and ad personalization, as required by applicable law and Google's EU User Consent Policy. You instruct Supermetrics to send this consent status to Google, and Supermetrics relies on this confirmation."
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "manage_activation_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | The source data to pull plus its identifier mapping. Required on create. On update, omit it to keep the stored source, or send it complete to replace it. If data_source_discovery reports is_date_range_required, pass a date range (a relative one such as last_30_days is re-evaluated on every run). BigQuery (BQ2) needs settings={'date_column': '<column>'} and a date range; only rows whose date falls in the range are included. A run sends at most a capped number of source rows (50,000 by default); rows past the cap are not delivered. | |
| destinations | No | Optional destination instances. On update, the list sent replaces the stored one; omit it to keep them. | |
| activation_query_id | No | Audience activation id. Omit to create a new one; provide it to update an existing one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| notes | No | ||
| success | Yes | ||
| business_context | No |