create_sp_keywords
Add one or more keywords to an existing Sponsored Products ad group. Use list_sp_ad_groups or execute_sql against ad_group_performance to find adGroupId and campaignId.
Each keyword requires keywordText, matchType (BROAD, PHRASE, or EXACT), and an optional bid. If bid is omitted, the ad group's default bid is used. Keywords are created in ENABLED state.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"adGroupId": "<adGroupId>",
"campaignId": "<campaignId>",
"keywords": "<keywords>",
"venueId": "<venueId>"
},
"name": "create_sp_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venueId | Yes | Venue ID of the storefront to change (required; never defaulted). In an agency account each venue can be a different client, so if the user has not named the venue, ask them before calling. Use get_ads_connection_status or execute_sql with 'SELECT venue_id, name, marketplace_name FROM venues' to list venue IDs. | |
| keywords | Yes | List of keywords to create (required). Each needs keywordText, matchType (BROAD/PHRASE/EXACT), and optional bid. | |
| adGroupId | Yes | Ad group ID to add keywords to (required). Use list_sp_ad_groups or execute_sql against ad_group_performance to find IDs. | |
| campaignId | Yes | Campaign ID the ad group belongs to (required). Use list_sp_campaigns or execute_sql against campaign_performance to find IDs. |