> ## 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: Inputs, Cost & CLI Example

> List assets associated with a marketing campaign. Includes inputs, outputs, pricing notes, Deepline CLI examples, and GTM automation guidance.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=hubspot_list_campaign_assets:{"campaign_guid":"{{campaign_guid}}","asset_type":"AD_CAMPAIGN"}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| 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      |         |                                                                 |
| `payload.limit`         | `integer`                                                                                                                                                                                                                                                       | No       |         | Maximum results to return. HubSpot allows values from 1 to 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. |
| `payload.end_date`      | `string`                                                                                                                                                                                                                                                        | No       |         | Optional end date for asset metrics, formatted as YYYY-MM-DD.   |
| `payload.query_params`  | `record`                                                                                                                                                                                                                                                        | No       |         |                                                                 |

### 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` |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "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 Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `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={null}
  {
    "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>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
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

<details>
  <summary>Show provider reference (optional)</summary>

  ````md theme={null}
  Source: https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/list

  Learn about the List component for use in UI extensions.

  The `List` component renders a list of items. Each item in `List` will be wrapped in `&lt;li>` tags. A list can be styled as inline, ordered, or unordered with the `variant` prop.

  &lt;Frame>
    &lt;img alt="ui-components-list-example" />
  &lt;/Frame>

  ```jsx theme={null}
  import { List } from '@hubspot/ui-extensions';

  const Extension() {
    return (
      &lt;List variant="unordered-styled">
        &lt;Link href="www.hubspot.com">List item 1&lt;/Link>
        &lt;Link href="www.developers.hubspot.com">List item 2&lt;/Link>
        &lt;Link href="www.knowledge.hubspot.com">List item 3&lt;/Link>
      &lt;/List>
     );
  }
  ```

  | Prop      | Type                                                                                                                     | Description                                                                       |
  | --------- | ------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------- |
  | `variant` | `'unordered'` (default) \| `'unordered-styled'` \| `'ordered'` \| `'ordered-styled'` \| `'inline'` \| `'inline-divided'` | The type of list to render. See [variants section](#variants) below for examples. |

  ## Variants

  By default, lists will be configured as vertically stacked list items without bullets. To customize the styling, use the `variant` prop, as shown below.

  To create a bulleted unordered list:

  &lt;Frame>
    &lt;img alt="ui-components-list-variants_2" />
  &lt;/Frame>

  ```jsx theme={null}
  &lt;List variant="unordered-styled">
    &lt;Link href="www.hubspot.com">List item 1&lt;/Link>
    &lt;Link href="www.developers.hubspot.com">List item 2&lt;/Link>
    &lt;Link href="www.knowledge.hubspot.com">List item 3&lt;/Link>
  &lt;/List>;
  ```

  To create a numbered list without styling:

  &lt;Frame>
    &lt;img alt="ui-components-list-variants_3" />
  &lt;/Frame>

  ```jsx theme={null}
  &lt;List variant="ordered">
    &lt;Link href="www.hubspot.com">List item 1&lt;/Link>
    &lt;Link href="www.developers.hubspot.com">List item 2&lt;/Link>
    &lt;Link href="www.knowledge.hubspot.com">List item 3&lt;/Link>
  &lt;/List>;
  ```

  To create a numbered list with styling:

  &lt;Frame>
    &lt;img alt="ui-components-list-variants_4" />
  &lt;/Frame>

  ```jsx theme={null}
  &lt;List variant="ordered-styled">
    &lt;Link href="www.hubspot.com">List item 1&lt;/Link>
    &lt;Link href="www.developers.hubspot.com">List item 2&lt;/Link>
    &lt;Link href="www.knowledge.hubspot.com">List item 3&lt;/Link>
  &lt;/List>;
  ```

  To stack list items horizontally:

  &lt;Frame>
    &lt;img alt="ui-components-list-variants_5" />
  &lt;/Frame>

  ```jsx theme={null}
  &lt;List variant="inline">
    &lt;Link href="www.hubspot.com">List item 1&lt;/Link>
    &lt;Link href="www.developers.hubspot.com">List item 2&lt;/Link>
    &lt;Link href="www.knowledge.hubspot.com">List item 3&lt;/Link>
  &lt;/List>;
  ```

  To stack list items horizontally with a divider between each item:

  &lt;Frame>
    &lt;img alt="ui-components-list-variants_6" />
  &lt;/Frame>

  ```jsx theme={null}
  &lt;List variant="inline-divided">
    &lt;Link href="www.hubspot.com">List item 1&lt;/Link>
    &lt;Link href="www.developers.hubspot.com">List item 2&lt;/Link>
    &lt;Link href="www.knowledge.hubspot.com">List item 3&lt;/Link>
  &lt;/List>;
  ```

  ## Related components

  * [Text](/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/text)
  * [Accordion](/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/accordion)
  * [DescriptionList](/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/description-list)
  ````
</details>

## 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`.
