Run in Enrichment Spreadsheet
Use this function as a column step in deepline enrich.
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=hubspot_list_campaign_assets:{"campaign_guid":"{{campaign_guid}}","asset_type":"AD_CAMPAIGN"}' --json
Map payload values to spreadsheet columns with {{column_name}} placeholders.
Required Fields
| Name | Type | Required | Default | Description |
|---|
payload.campaign_guid | string | Yes | | HubSpot campaign GUID. |
payload.asset_type | "AD_CAMPAIGN" | "BLOG_POST" | "SOCIAL_BROADCAST" | "WEB_INTERACTIVE" | "CTA" | "EXTERNAL_WEB_URL" | "FORM" | "LANDING_PAGE" | "MARKETING_EMAIL" | "MARKETING_EVENT" | "OBJECT_LIST" | "SITE_PAGE" | "AUTOMATION_PLATFORM_FLOW" | "MARKETING_SMS" | Yes | | |
Allowed values
| Field | Allowed values |
|---|
payload.asset_type | AD_CAMPAIGN, BLOG_POST, SOCIAL_BROADCAST, WEB_INTERACTIVE, CTA, EXTERNAL_WEB_URL, FORM, LANDING_PAGE, MARKETING_EMAIL, MARKETING_EVENT, OBJECT_LIST, SITE_PAGE, AUTOMATION_PLATFORM_FLOW, MARKETING_SMS |
Advanced: Direct CLI
Use direct execution for single payload debugging.
deepline tools execute hubspot_list_campaign_assets --payload '{
"campaign_guid": "string",
"asset_type": "AD_CAMPAIGN"
}' --json
CLI flags
| Flag | Description |
|---|
--json | Print machine-readable output. |
--wait | Wait for terminal provider status when supported. |
--debug | Enable wait mode with additional status/log output. |
--wait-timeout SECONDS | Max seconds to wait in wait mode. |
--poll-interval SECONDS | Polling interval in seconds during wait mode. |
--timeout SECONDS | Request timeout in seconds. |
--connect-timeout SECONDS | Connection timeout in seconds. |
Provider API Context
Cost
- Pricing model:
fixed (per call).
- Estimated Deepline credits:
0 per pricing unit.
- Provider-native pricing may still exist outside Deepline credit billing.
- Billing mode:
no_bill.