mailchimp_get_preferences

Get Mailchimp Preferences

Mailchimp

Description

Get all stored preferences for a Mailchimp entity. Preferences are also automatically attached to entity-listing responses, so you often don't need to call this explicitly.

Read-onlyIdempotent

Usage

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "mailchimp_get_preferences",
    "arguments": {
      "entity_type": "audience",
      "entity_id": "abc123",
      "reason": "Check stored preferences before running report"
    }
  }
}

Parameters

NameTypeRequiredDescription
entity_type string Required Type of ad entity: ad_account, campaign, ad_set, or ad
ad_account campaign ad_set ad
entity_id string Required The platform entity IDminLength: 1
key string Required The preference key to deleteminLength: 1
reason string Required Why this tool call is neededminLength: 1, maxLength: 500

Examples

Get prefs

{
  "entity_type": "audience",
  "entity_id": "abc123",
  "reason": "Check stored preferences before running report"
}

hopkin mailchimp preferences --entity-type audience --entity-id abc123