google_ads_export_to_csv
Export Google Ads account structure to CSV format. Choose to export campaigns or keywords, optionally filtered by campaign ID.
Instructions
Export account structure to CSV format.
Args: customer_id: Google Ads customer ID (10 digits, no hyphens) entity_type: Type to export (campaigns, keywords) campaign_id: Optional campaign ID filter (for keywords export)
Returns: CSV formatted data
Example: google_ads_export_to_csv( customer_id="1234567890", entity_type="campaigns" )
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": {
"customer_id": "<customer_id>",
"entity_type": "<entity_type>"
},
"name": "google_ads_export_to_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | ||
| entity_type | Yes | ||
| campaign_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |