ad_manager_google_upsert_segment
Create or update a Google Ads audience segment by defining type, members, rules, and targeting options to manage custom, website visitor, customer match, or lookalike segments.
Instructions
Upsert segment
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": {
"type": "<type>",
"name": "<name>"
},
"name": "ad_manager_google_upsert_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Segment identifier | |
| name | Yes | Segment name | |
| type | Yes | Segment type | |
| status | No | Segment status | |
| members | No | Segment members — keywords, URLs, or apps that define the custom segment | |
| locationId | No | Location identifier Defaults to GHL_LOCATION_ID when omitted. | |
| description | No | Segment description | |
| countryCodes | No | Country codes | |
| expansionLevel | No | Expansion level | |
| seedUserListIds | No | Seed user list IDs | |
| membershipStatus | No | Membership status | |
| ruleBasedUserList | No | Rule-based user list config | |
| membershipLifeSpan | No | Membership life span |