> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# HubSpot: List Campaign Assets

> List the emails, forms, landing pages, and other assets in a HubSpot marketing campaign, filtered by asset type. Includes SDK V2 examples, schemas, and cost.

List the emails, forms, landing pages, and other assets in a HubSpot marketing campaign, filtered by asset type.

> [!NOTE]
>
> Tool ID: `hubspot_list_campaign_assets`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'hubspot_list_campaign_assets',
  {
    "campaign_guid": "campaign_123",
    "asset_type": "AD_CAMPAIGN"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute hubspot_list_campaign_assets --input '{
  "campaign_guid": "campaign_123",
  "asset_type": "AD_CAMPAIGN"
}' --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe hubspot_list_campaign_assets --json` for the complete live contract.

## Input reference

List assets associated with a marketing campaign.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `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: `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`. |
| `payload.limit` | `integer` | No | — | Maximum results to return. HubSpot allows values from 1 to 100. Minimum: 1. Maximum: 100. |
| `payload.after` | `string` | No | — | Forward paging cursor. |
| `payload.before` | `string` | No | — | Backward paging cursor. |
| `payload.start_date` | `string` | No | — | Optional start date for asset metrics, formatted as YYYY-MM-DD. Pattern: `^\d&#123;4&#125;-\d&#123;2&#125;-\d&#123;2&#125;$`. |
| `payload.end_date` | `string` | No | — | Optional end date for asset metrics, formatted as YYYY-MM-DD. Pattern: `^\d&#123;4&#125;-\d&#123;2&#125;-\d&#123;2&#125;$`. |
| `payload.query_params` | `record` | No | — | — |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "List assets associated with a marketing campaign.",
    "properties": {
      "campaign_guid": {
        "type": "string",
        "description": "HubSpot campaign GUID."
      },
      "asset_type": {
        "type": "string",
        "enum": [
          "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"
        ]
      },
      "limit": {
        "type": "integer",
        "description": "Maximum results to return. HubSpot allows values from 1 to 100.",
        "minimum": 1,
        "maximum": 100
      },
      "after": {
        "type": "string",
        "description": "Forward paging cursor."
      },
      "before": {
        "type": "string",
        "description": "Backward paging cursor."
      },
      "start_date": {
        "type": "string",
        "description": "Optional start date for asset metrics, formatted as YYYY-MM-DD.",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "end_date": {
        "type": "string",
        "description": "Optional end date for asset metrics, formatted as YYYY-MM-DD.",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "query_params": {
        "type": "object",
        "additionalProperties": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "array",
              "items": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "boolean"
                  }
                ]
              }
            }
          ]
        }
      }
    },
    "required": [
      "campaign_guid",
      "asset_type"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `record` | Yes | — | Provider response payload. |
| `result.meta` | `record` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "additionalProperties": {}
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [HubSpot provider guide](https://deepline.com/docs/providers/hubspot/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.