# Google Display & Video 360

> Run programmatic display, video, audio and connected TV ads: create and change campaigns, insertion orders and line items, manage negative keywords, read creatives and invoices, and start workflows when something is added, changed, paused or reviewed.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/google-display-video-360

## Actions

### Create campaign

Create a campaign for an advertiser, with its goal and planned dates. A campaign spends nothing until it has active insertion orders.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Name (`name`, text, required): The campaign's name.
- Campaign goal (`goal_type`, text, required): What the campaign is for. One of: `CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS` (Raise awareness of my brand or product), `CAMPAIGN_GOAL_TYPE_ONLINE_ACTION` (Drive online action or visits), `CAMPAIGN_GOAL_TYPE_OFFLINE_ACTION` (Drive offline or in-store sales), `CAMPAIGN_GOAL_TYPE_APP_INSTALL` (Drive app installs or engagements).
- Measured by (`performance_goal`, text, required): How the campaign's success is measured. One of: `CPM` (CPM: cost per thousand impressions), `CPC` (CPC: cost per click), `CPA` (CPA: cost per action), `CPIAVC` (CPIAVC: cost per audible and visible on completion), `CTR` (CTR: click-through rate (%)), `VIEWABILITY` (Viewability (%)), `OTHER` (Other (describe it)).
- Goal (`goal_value`, number): The goal: an amount in the advertiser's currency for a cost (CPM, CPC, CPA), or a percentage for a rate (10 for 10%). Only when Measured by is CPM: cost per thousand impressions, CPC: cost per click, CPA: cost per action, CPIAVC: cost per audible and visible on completion, CTR: click-through rate (%) or Viewability (%). At least 0.
- Goal description (`goal_description`, text): For an 'Other' goal: what it is, in up to 100 characters. Only when Measured by is Other (describe it).
- Planned start date (`planned_start_date`, date, required): When the campaign is planned to start: today or later.
- Planned end date (`planned_end_date`, date): When it is planned to end. Leave blank for no end date.
- Planned spend (`planned_spend`, number): What the campaign is planned to spend. It is for tracking only: it doesn't limit spending. In the advertiser's currency, such as 2.50. At least 0.
- Status (`status`, text): Whether the campaign starts active or paused. Defaults to active. One of: `active`, `paused`. Default: `active`.
- Frequency cap: impressions (`frequency_cap_impressions`, number): The most times one person may see its ads in each period. Leave blank for no cap. At least 1.
- Frequency cap: period (`frequency_cap_period`, text): What the period is counted in. Defaults to days. One of: `TIME_UNIT_MINUTES` (Minutes), `TIME_UNIT_HOURS` (Hours), `TIME_UNIT_DAYS` (Days), `TIME_UNIT_WEEKS` (Weeks), `TIME_UNIT_MONTHS` (Month).
- Frequency cap: period length (`frequency_cap_period_count`, number): How many of those the period lasts, such as 7 for a week of days: up to 59 minutes, 23 hours, 6 days, 4 weeks or 1 month. Defaults to 1. From 1 to 59.

**Outputs**

- `campaign` (object): A campaign: insertion orders with a common goal
- `campaign_id` (text): The new campaign's id

**Example output**

```json
{
  "campaign": {
    "advertiser_id": "4567890",
    "budgets": [],
    "campaign_id": "11223344",
    "display_name": "Holiday sale",
    "frequency_cap": {
      "max_impressions": 5,
      "period": "TIME_UNIT_DAYS",
      "period_count": 1,
      "unlimited": false
    },
    "goal_type": "CAMPAIGN_GOAL_TYPE_ONLINE_ACTION",
    "performance_goal_amount": 12.5,
    "performance_goal_description": "",
    "performance_goal_percentage": null,
    "performance_goal_type": "CPA",
    "planned_end_date": "2026-12-31",
    "planned_spend": 50000.0,
    "planned_start_date": "2026-12-01",
    "status": "active",
    "update_time": "2026-11-10T09:30:00.000Z"
  },
  "campaign_id": "11223344"
}
```

### Create insertion order

Create an insertion order in a campaign, with its budget, pacing and goal. It is made as a draft; use 'Update insertion order' to make it active.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Campaign (`campaign_id`, text, required): The campaign. Pick one, or give its id from an earlier step.
- Name (`name`, text, required): The insertion order's name.
- Budget in (`budget_unit`, text): Whether the budget is money or impressions. It can't be changed later. One of: `BUDGET_UNIT_CURRENCY` (Money), `BUDGET_UNIT_IMPRESSIONS` (Impressions). Default: `BUDGET_UNIT_CURRENCY`.
- Budget (`budget_amount`, number, required): What it may spend between the budget dates: an amount in the advertiser's currency, or a number of impressions. At least 0.
- Budget start date (`budget_start_date`, date, required): When the budget starts: a future date.
- Budget end date (`budget_end_date`, date, required): When the budget ends: on or after the start, before 2037.
- Goal (`kpi_type`, text, required): How the insertion order's success is measured. One of: `CPM` (CPM: cost per thousand impressions), `CPC` (CPC: cost per click), `CPA` (CPA: cost per action), `CPIAVC` (CPIAVC: cost per audible and visible on completion), `VCPM` (Viewable CPM), `CTR` (CTR: click-through rate (%)), `VIEWABILITY` (Viewability (%)), `CLICK_CVR` (Click conversion rate (%)), `IMPRESSION_CVR` (Impression conversion rate (%)), `VTR` (View-through rate (%)), and 3 more.
- Goal (`goal_value`, number): The goal: an amount in the advertiser's currency for a cost (CPM, CPC, CPA), or a percentage for a rate (10 for 10%). Only when Goal is CPM: cost per thousand impressions, CPC: cost per click, CPA: cost per action, CPIAVC: cost per audible and visible on completion, Viewable CPM, CTR: click-through rate (%), Viewability (%), Click conversion rate (%), Impression conversion rate (%), View-through rate (%), Audio completion rate (%) or Video completion rate (%). At least 0.
- Goal description (`goal_description`, text): For an 'Other' goal: what it is, in up to 100 characters. Only when Goal is Other (describe it).
- Pacing (`pacing_period`, text): Whether the budget is paced across the whole flight or each day. Defaults to the whole flight. One of: `PACING_PERIOD_FLIGHT` (Across the whole flight), `PACING_PERIOD_DAILY` (Each day). Default: `PACING_PERIOD_FLIGHT`.
- Pacing speed (`pacing_type`, text): How fast it spends. Defaults to even. One of: `PACING_TYPE_EVEN` (Even), `PACING_TYPE_AHEAD` (Ahead), `PACING_TYPE_ASAP` (As fast as possible). Default: `PACING_TYPE_EVEN`.
- Daily spend cap (`daily_max`, number): With daily pacing: the most it spends a day (for an impressions budget, the most impressions). In the advertiser's currency, such as 2.50. Only when Pacing is Each day. At least 0.
- Optimize for (`optimization_objective`, text): What the insertion order optimizes for. Defaults to no objective. One of: `NO_OBJECTIVE` (No objective), `BRAND_AWARENESS` (Brand awareness), `CLICK` (Clicks), `CONVERSION` (Conversions), `CUSTOM` (Custom (a custom bidding algorithm)). Default: `NO_OBJECTIVE`.
- Budget automation (`budget_automation`, text): Whether DV360 shares the budget across line items. Defaults to none. One of: `INSERTION_ORDER_AUTOMATION_TYPE_NONE` (None: set each line item's budget), `INSERTION_ORDER_AUTOMATION_TYPE_BUDGET` (Automate budget allocation across line items), `INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET` (Automate bids and budget across line items). Default: `INSERTION_ORDER_AUTOMATION_TYPE_NONE`.
- Frequency cap: impressions (`frequency_cap_impressions`, number): The most times one person may see its ads in each period. Leave blank for no cap. At least 1.
- Frequency cap: period (`frequency_cap_period`, text): What the period is counted in. Defaults to days. One of: `TIME_UNIT_MINUTES` (Minutes), `TIME_UNIT_HOURS` (Hours), `TIME_UNIT_DAYS` (Days), `TIME_UNIT_WEEKS` (Weeks), `TIME_UNIT_MONTHS` (Month).
- Frequency cap: period length (`frequency_cap_period_count`, number): How many of those the period lasts, such as 7 for a week of days: up to 59 minutes, 23 hours, 6 days, 4 weeks or 1 month. Defaults to 1. From 1 to 59.

**Outputs**

- `insertion_order` (object): An insertion order: line items sharing a budget
- `insertion_order_id` (text): The new insertion order's id

**Example output**

```json
{
  "insertion_order": {
    "advertiser_id": "4567890",
    "automation_type": "INSERTION_ORDER_AUTOMATION_TYPE_NONE",
    "budget_segments": [
      {
        "amount": 20000.0,
        "campaign_budget_id": "",
        "description": "",
        "end_date": "2026-12-31",
        "start_date": "2026-12-01"
      }
    ],
    "budget_unit": "BUDGET_UNIT_CURRENCY",
    "campaign_id": "11223344",
    "daily_max": null,
    "daily_max_impressions": null,
    "display_name": "Holiday sale: display",
    "end_date": "2026-12-31",
    "frequency_cap": {
      "max_impressions": null,
      "period": "",
      "period_count": null,
      "unlimited": true
    },
    "insertion_order_id": "55667788",
    "insertion_order_type": "RTB",
    "kpi_amount": 12.5,
    "kpi_description": "",
    "kpi_percentage": null,
    "kpi_type": "CPA",
    "optimization_objective": "CONVERSION",
    "pacing_period": "PACING_PERIOD_FLIGHT",
    "pacing_type": "PACING_TYPE_EVEN",
    "reservation_type": "RESERVATION_TYPE_NOT_GUARANTEED",
    "start_date": "2026-12-01",
    "status": "draft",
    "total_budget": 20000.0,
    "update_time": "2026-11-10T09:31:00.000Z"
  },
  "insertion_order_id": "55667788"
}
```

### Create line item

Create a display, video, audio or connected TV line item in an insertion order, with its bid, budget and creatives. It is made as a draft; use 'Update line item' to make it active.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Insertion order (`insertion_order_id`, text, required): The insertion order. Pick one, or give its id from an earlier step.
- Name (`name`, text, required): The line item's name.
- Line item type (`line_item_type`, text, required): What it buys. It can't be changed later. One of: `LINE_ITEM_TYPE_DISPLAY_DEFAULT` (Display), `LINE_ITEM_TYPE_VIDEO_DEFAULT` (Video), `LINE_ITEM_TYPE_AUDIO_DEFAULT` (Audio), `LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP` (Connected TV (over the top)), `LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY` (Display in mobile apps), `LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY` (Video in mobile apps), `LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME` (Display out of home), `LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME` (Video out of home).
- EU political ads (`contains_eu_political_ads`, text, required): Whether it serves European Union political ads. Display & Video 360 requires this on every new line item. One of: `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` (No EU political ads), `CONTAINS_EU_POLITICAL_ADVERTISING` (Serves EU political ads).
- Bidding (`bid_strategy`, text): How it bids. Defaults to a fixed bid. One of: `fixed` (Fixed bid (CPM)), `maximize_spend` (Automated: spend the whole budget, optimizing a goal), `performance_goal` (Automated: meet or beat a goal amount). Default: `fixed`.
- Bid (`bid_amount`, number): The fixed CPM bid, or for automated bidding, the highest average CPM it may bid (optional). In the advertiser's currency, such as 2.50. At least 0.
- Bidding goal (`bid_goal`, text): For automated bidding: what it optimizes. Only when Bidding is Automated: spend the whole budget, optimizing a goal or Automated: meet or beat a goal amount. One of: `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA` (CPA: cost per action), `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC` (CPC: cost per click), `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` (Viewable CPM), `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` (Viewable and audible impressions (maximize spend only)), `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` (Impressions viewed for 10 seconds (maximize spend only)), `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` (Active View viewed impressions (maximize spend only)).
- Bidding goal amount (`bid_goal_amount`, number): The cost per action, click or viewable thousand to meet or beat. In the advertiser's currency, such as 2.50. Only when Bidding is Automated: meet or beat a goal amount. At least 0.
- Start date (`start_date`, date): Its own start date, a future date. Leave both dates blank to use the insertion order's.
- End date (`end_date`, date): Its own end date. Leave both dates blank to use the insertion order's.
- Budget (`budget_type`, text): How much it may spend. Defaults to unlimited, up to the insertion order's budget. One of: `unlimited` (Unlimited, up to the insertion order's budget), `fixed` (A fixed amount), `automatic` (Automatic (set by the insertion order)). Default: `unlimited`.
- Budget amount (`budget_amount`, number): The most it may spend. In the advertiser's currency, such as 2.50. Only when Budget is A fixed amount. At least 0.
- Pacing (`pacing_period`, text): Whether the budget is paced across the whole flight or each day. Defaults to the whole flight. One of: `PACING_PERIOD_FLIGHT` (Across the whole flight), `PACING_PERIOD_DAILY` (Each day). Default: `PACING_PERIOD_FLIGHT`.
- Pacing speed (`pacing_type`, text): How fast it spends. Defaults to even. One of: `PACING_TYPE_EVEN` (Even), `PACING_TYPE_AHEAD` (Ahead), `PACING_TYPE_ASAP` (As fast as possible). Default: `PACING_TYPE_EVEN`.
- Daily spend cap (`daily_max`, number): With daily pacing: the most it spends a day (for an impressions budget, the most impressions). In the advertiser's currency, such as 2.50. Only when Pacing is Each day. At least 0.
- Partner markup (`markup_type`, text): How your markup on media is worked out. Defaults to a percent of total media cost. One of: `PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP` (Percent of total media cost), `PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP` (Percent of media cost), `PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM` (Fixed CPM). Default: `PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP`.
- Partner markup amount (`markup_amount`, number): The markup: a percent (10 for 10%), or for a fixed CPM an amount in the advertiser's currency. Defaults to 0. At least 0.
- Creatives (`creative_ids`, list): The creatives it serves. It needs at least one approved creative to serve.
- Frequency cap: impressions (`frequency_cap_impressions`, number): The most times one person may see its ads in each period. Leave blank for no cap. At least 1.
- Frequency cap: period (`frequency_cap_period`, text): What the period is counted in. Defaults to days. One of: `TIME_UNIT_MINUTES` (Minutes), `TIME_UNIT_HOURS` (Hours), `TIME_UNIT_DAYS` (Days), `TIME_UNIT_WEEKS` (Weeks), `TIME_UNIT_MONTHS` (Month).
- Frequency cap: period length (`frequency_cap_period_count`, number): How many of those the period lasts, such as 7 for a week of days: up to 59 minutes, 23 hours, 6 days, 4 weeks or 1 month. Defaults to 1. From 1 to 59.

**Outputs**

- `line_item` (object): A line item: what bids on ads and serves creatives
- `line_item_id` (text): The new line item's id

**Example output**

```json
{
  "line_item": {
    "advertiser_id": "4567890",
    "bid_amount": 2.5,
    "bid_goal": "",
    "bid_goal_amount": null,
    "bid_strategy": "fixed",
    "budget_amount": 5000.0,
    "budget_type": "fixed",
    "budget_unit": "BUDGET_UNIT_CURRENCY",
    "campaign_id": "11223344",
    "contains_eu_political_ads": "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING",
    "creative_ids": [
      "33445566"
    ],
    "daily_max": 200.0,
    "daily_max_impressions": null,
    "display_name": "Holiday sale: retargeting",
    "end_date": "2026-12-31",
    "flight_dates": "custom",
    "frequency_cap": {
      "max_impressions": 3,
      "period": "TIME_UNIT_DAYS",
      "period_count": 1,
      "unlimited": false
    },
    "insertion_order_id": "55667788",
    "line_item_id": "99887766",
    "line_item_type": "LINE_ITEM_TYPE_DISPLAY_DEFAULT",
    "markup_amount": 10.0,
    "markup_type": "PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP",
    "pacing_period": "PACING_PERIOD_DAILY",
    "pacing_type": "PACING_TYPE_EVEN",
    "reservation_type": "RESERVATION_TYPE_NOT_GUARANTEED",
    "start_date": "2026-12-01",
    "status": "draft",
    "update_time": "2026-11-10T09:32:00.000Z",
    "warning_messages": [
      "PENDING_FLIGHT"
    ]
  },
  "line_item_id": "99887766"
}
```

### Create negative keyword list

Create a negative keyword list for an advertiser, with its keywords. Line items targeting it stay away from pages about those words. An advertiser can have 20.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Name (`name`, text, required): The list's name.
- Keywords (`keywords`, list): The keywords to add, such as car insurance: each up to 80 plain characters and 10 words.

**Outputs**

- `added_keywords` (list): The keywords added
- `negative_keyword_list` (object): A negative keyword list: words line items stay away from
- `negative_keyword_list_id` (text): The new list's id

**Example output**

```json
{
  "added_keywords": [
    "free",
    "cheap"
  ],
  "negative_keyword_list": {
    "advertiser_id": "4567890",
    "display_name": "Brand safety",
    "negative_keyword_list_id": "778899",
    "targeted_line_item_count": 0
  },
  "negative_keyword_list_id": "778899"
}
```

### Delete campaign

Permanently delete a campaign. It is archived first, as Display & Video 360 requires. It can't be undone.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Campaign (`campaign_id`, text, required): The campaign. Pick one, or give its id from an earlier step.

**Outputs**

- `archived_first` (true/false): True if it was archived first, as Display & Video 360 requires
- `campaign_id` (text): The campaign deleted
- `deleted` (true/false): True once it is deleted

**Example output**

```json
{
  "archived_first": true,
  "campaign_id": "11223344",
  "deleted": true
}
```

### Delete insertion order

Permanently delete an insertion order. It is archived first, as Display & Video 360 requires. It can't be undone.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Insertion order (`insertion_order_id`, text, required): The insertion order. Pick one, or give its id from an earlier step.

**Outputs**

- `archived_first` (true/false): True if it was archived first, as Display & Video 360 requires
- `deleted` (true/false): True once it is deleted
- `insertion_order_id` (text): The insertion order deleted

**Example output**

```json
{
  "archived_first": true,
  "deleted": true,
  "insertion_order_id": "55667788"
}
```

### Delete line item

Permanently delete a line item. It is archived first, as Display & Video 360 requires. It can't be undone.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Line item (`line_item_id`, text, required): The line item. Pick one, or give its id from an earlier step.

**Outputs**

- `archived_first` (true/false): True if it was archived first, as Display & Video 360 requires
- `deleted` (true/false): True once it is deleted
- `line_item_id` (text): The line item deleted

**Example output**

```json
{
  "archived_first": true,
  "deleted": true,
  "line_item_id": "99887766"
}
```

### Delete negative keyword list

Delete a negative keyword list, with its keywords. Line items stop using it.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Negative keyword list (`negative_keyword_list_id`, text, required): The negative keyword list. Pick one, or give its id from an earlier step.

**Outputs**

- `deleted` (true/false): True once it is deleted
- `negative_keyword_list_id` (text): The list deleted

**Example output**

```json
{
  "deleted": true,
  "negative_keyword_list_id": "778899"
}
```

### Duplicate line item

Copy a line item, with its settings and targeting, into the same insertion order.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Line item (`line_item_id`, text, required): The line item. Pick one, or give its id from an earlier step.
- New name (`name`, text): The copy's name. Leave blank for Display & Video 360's.
- EU political ads (`contains_eu_political_ads`, text): Whether the copy serves European Union political ads. Leave blank to follow the advertiser's setting. One of: `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` (No EU political ads), `CONTAINS_EU_POLITICAL_ADVERTISING` (Serves EU political ads).

**Outputs**

- `line_item_id` (text): The copy's id
- `source_line_item_id` (text): The line item copied

**Example output**

```json
{
  "line_item_id": "99887767",
  "source_line_item_id": "99887766"
}
```

### Edit negative keywords

Add keywords to a negative keyword list, remove some, or both at once.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Negative keyword list (`negative_keyword_list_id`, text, required): The negative keyword list. Pick one, or give its id from an earlier step.
- Keywords to add (`add_keywords`, list): Keywords to add: each up to 80 plain characters and 10 words.
- Keywords to remove (`remove_keywords`, list): Keywords to remove, as they are in the list.

**Outputs**

- `added_keywords` (list): The keywords added
- `negative_keyword_list_id` (text): The list changed
- `removed_keywords` (list): The keywords asked to be removed

**Example output**

```json
{
  "added_keywords": [
    "giveaway"
  ],
  "negative_keyword_list_id": "778899",
  "removed_keywords": [
    "cheap"
  ]
}
```

### Get advertiser

Get an advertiser: its partner, currency, time zone and website.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.

**Outputs**

- `advertiser` (object): An advertiser: the brand its campaigns are for

**Example output**

```json
{
  "advertiser": {
    "advertiser_id": "4567890",
    "contains_eu_political_ads": "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING",
    "currency_code": "USD",
    "display_name": "Acme Shoes",
    "domain_url": "https://acmeshoes.example",
    "partner_id": "2345678",
    "status": "active",
    "time_zone": "America/New_York",
    "update_time": "2026-11-02T15:04:05.123Z"
  }
}
```

### Get campaign

Get one campaign: its status, goal, planned dates and spend, and frequency cap.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Campaign (`campaign_id`, text, required): The campaign. Pick one, or give its id from an earlier step.

**Outputs**

- `campaign` (object): A campaign: insertion orders with a common goal

**Example output**

```json
{
  "campaign": {
    "advertiser_id": "4567890",
    "budgets": [],
    "campaign_id": "11223344",
    "display_name": "Holiday sale",
    "frequency_cap": {
      "max_impressions": 5,
      "period": "TIME_UNIT_DAYS",
      "period_count": 1,
      "unlimited": false
    },
    "goal_type": "CAMPAIGN_GOAL_TYPE_ONLINE_ACTION",
    "performance_goal_amount": 12.5,
    "performance_goal_description": "",
    "performance_goal_percentage": null,
    "performance_goal_type": "CPA",
    "planned_end_date": "2026-12-31",
    "planned_spend": 50000.0,
    "planned_start_date": "2026-12-01",
    "status": "active",
    "update_time": "2026-11-10T09:30:00.000Z"
  }
}
```

### Get creative

Get one creative: its type, size, review status and the line items serving it.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Creative (`creative_id`, text, required): The creative. Pick one, or give its id from an earlier step.

**Outputs**

- `creative` (object): A creative: an ad line items serve

**Example output**

```json
{
  "creative": {
    "advertiser_id": "4567890",
    "approval_status": "approved_servable",
    "create_time": "2026-11-01T12:00:00.000Z",
    "creative_id": "33445566",
    "creative_review_status": "approved",
    "creative_type": "CREATIVE_TYPE_STANDARD",
    "display_name": "Holiday banner 300x250",
    "dynamic": false,
    "height": 250,
    "hosting_source": "HOSTING_SOURCE_HOSTED",
    "line_item_ids": [
      "99887766"
    ],
    "media_duration": "",
    "policy_review_status": "approved",
    "status": "active",
    "update_time": "2026-11-01T14:10:00.000Z",
    "width": 300
  }
}
```

### Get insertion order

Get one insertion order: its status, budget segments, pacing, goal and frequency cap.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Insertion order (`insertion_order_id`, text, required): The insertion order. Pick one, or give its id from an earlier step.

**Outputs**

- `insertion_order` (object): An insertion order: line items sharing a budget

**Example output**

```json
{
  "insertion_order": {
    "advertiser_id": "4567890",
    "automation_type": "INSERTION_ORDER_AUTOMATION_TYPE_NONE",
    "budget_segments": [
      {
        "amount": 20000.0,
        "campaign_budget_id": "",
        "description": "",
        "end_date": "2026-12-31",
        "start_date": "2026-12-01"
      }
    ],
    "budget_unit": "BUDGET_UNIT_CURRENCY",
    "campaign_id": "11223344",
    "daily_max": null,
    "daily_max_impressions": null,
    "display_name": "Holiday sale: display",
    "end_date": "2026-12-31",
    "frequency_cap": {
      "max_impressions": null,
      "period": "",
      "period_count": null,
      "unlimited": true
    },
    "insertion_order_id": "55667788",
    "insertion_order_type": "RTB",
    "kpi_amount": 12.5,
    "kpi_description": "",
    "kpi_percentage": null,
    "kpi_type": "CPA",
    "optimization_objective": "CONVERSION",
    "pacing_period": "PACING_PERIOD_FLIGHT",
    "pacing_type": "PACING_TYPE_EVEN",
    "reservation_type": "RESERVATION_TYPE_NOT_GUARANTEED",
    "start_date": "2026-12-01",
    "status": "draft",
    "total_budget": 20000.0,
    "update_time": "2026-11-10T09:31:00.000Z"
  }
}
```

### Get line item

Get one line item: its status, flight, budget, pacing, bid, creatives and warnings.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Line item (`line_item_id`, text, required): The line item. Pick one, or give its id from an earlier step.

**Outputs**

- `line_item` (object): A line item: what bids on ads and serves creatives

**Example output**

```json
{
  "line_item": {
    "advertiser_id": "4567890",
    "bid_amount": 2.5,
    "bid_goal": "",
    "bid_goal_amount": null,
    "bid_strategy": "fixed",
    "budget_amount": 5000.0,
    "budget_type": "fixed",
    "budget_unit": "BUDGET_UNIT_CURRENCY",
    "campaign_id": "11223344",
    "contains_eu_political_ads": "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING",
    "creative_ids": [
      "33445566"
    ],
    "daily_max": 200.0,
    "daily_max_impressions": null,
    "display_name": "Holiday sale: retargeting",
    "end_date": "2026-12-31",
    "flight_dates": "custom",
    "frequency_cap": {
      "max_impressions": 3,
      "period": "TIME_UNIT_DAYS",
      "period_count": 1,
      "unlimited": false
    },
    "insertion_order_id": "55667788",
    "line_item_id": "99887766",
    "line_item_type": "LINE_ITEM_TYPE_DISPLAY_DEFAULT",
    "markup_amount": 10.0,
    "markup_type": "PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP",
    "pacing_period": "PACING_PERIOD_DAILY",
    "pacing_type": "PACING_TYPE_EVEN",
    "reservation_type": "RESERVATION_TYPE_NOT_GUARANTEED",
    "start_date": "2026-12-01",
    "status": "draft",
    "update_time": "2026-11-10T09:32:00.000Z",
    "warning_messages": [
      "PENDING_FLIGHT"
    ]
  }
}
```

### List advertisers

List a partner's advertisers: the brands campaigns are run for.

**Inputs**

- Partner (`partner_id`, text, required): The partner. Pick one, or give its id.
- Status (`status`, list): Only those with these statuses. Leave blank for all. One or more of: `active`, `paused`.
- Most to list (`limit`, number): The most to list, up to 1000. Defaults to 100. From 1 to 1000.

**Outputs**

- `advertisers` (list): The advertisers
- `count` (number): How many there are

**Example output**

```json
{
  "advertisers": [
    {
      "advertiser_id": "4567890",
      "contains_eu_political_ads": "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING",
      "currency_code": "USD",
      "display_name": "Acme Shoes",
      "domain_url": "https://acmeshoes.example",
      "partner_id": "2345678",
      "status": "active",
      "time_zone": "America/New_York",
      "update_time": "2026-11-02T15:04:05.123Z"
    }
  ],
  "count": 1
}
```

### List campaigns

List an advertiser's campaigns, with their goals and planned dates and spend.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Status (`status`, list): Only those with these statuses. Leave blank for all but archived ones. One or more of: `active`, `paused`, `draft`, `archived`.
- Most to list (`limit`, number): The most to list, up to 1000. Defaults to 100. From 1 to 1000.

**Outputs**

- `campaigns` (list): The campaigns
- `count` (number): How many there are

**Example output**

```json
{
  "campaigns": [
    {
      "advertiser_id": "4567890",
      "budgets": [],
      "campaign_id": "11223344",
      "display_name": "Holiday sale",
      "frequency_cap": {
        "max_impressions": 5,
        "period": "TIME_UNIT_DAYS",
        "period_count": 1,
        "unlimited": false
      },
      "goal_type": "CAMPAIGN_GOAL_TYPE_ONLINE_ACTION",
      "performance_goal_amount": 12.5,
      "performance_goal_description": "",
      "performance_goal_percentage": null,
      "performance_goal_type": "CPA",
      "planned_end_date": "2026-12-31",
      "planned_spend": 50000.0,
      "planned_start_date": "2026-12-01",
      "status": "active",
      "update_time": "2026-11-10T09:30:00.000Z"
    }
  ],
  "count": 1
}
```

### List creatives

List an advertiser's creatives, newest first, with their review status and size.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Review status (`approval_status`, list): Only creatives with these review outcomes. Leave blank for all. One or more of: `APPROVAL_STATUS_APPROVED_SERVABLE` (Approved), `APPROVAL_STATUS_PENDING_SERVABLE` (Pending review, can serve), `APPROVAL_STATUS_PENDING_NOT_SERVABLE` (Pending review, can't serve), `APPROVAL_STATUS_REJECTED_NOT_SERVABLE` (Rejected).
- Creative type (`creative_type`, list): Only creatives of these types. Leave blank for all. One or more of: `CREATIVE_TYPE_STANDARD` (Standard display), `CREATIVE_TYPE_EXPANDABLE` (Expandable), `CREATIVE_TYPE_VIDEO` (Video), `CREATIVE_TYPE_NATIVE` (Native), `CREATIVE_TYPE_NATIVE_SITE_SQUARE` (Native square), `CREATIVE_TYPE_NATIVE_VIDEO` (Native video), `CREATIVE_TYPE_AUDIO` (Audio), `CREATIVE_TYPE_LIGHTBOX` (Lightbox), `CREATIVE_TYPE_PUBLISHER_HOSTED` (Publisher hosted), `CREATIVE_TYPE_TEMPLATED_APP_INSTALL` (App install), and 5 more.
- Line item (`line_item_id`, text): Only those in this line item. Leave blank for all.
- Status (`status`, text): Only creatives with this status. Leave blank for all but archived ones. One of: `active`, `paused`, `archived`.
- Most to list (`limit`, number): The most to list, up to 1000. Defaults to 100. From 1 to 1000.

**Outputs**

- `count` (number): How many there are
- `creatives` (list): The creatives

**Example output**

```json
{
  "count": 1,
  "creatives": [
    {
      "advertiser_id": "4567890",
      "approval_status": "approved_servable",
      "create_time": "2026-11-01T12:00:00.000Z",
      "creative_id": "33445566",
      "creative_review_status": "approved",
      "creative_type": "CREATIVE_TYPE_STANDARD",
      "display_name": "Holiday banner 300x250",
      "dynamic": false,
      "height": 250,
      "hosting_source": "HOSTING_SOURCE_HOSTED",
      "line_item_ids": [
        "99887766"
      ],
      "media_duration": "",
      "policy_review_status": "approved",
      "status": "active",
      "update_time": "2026-11-01T14:10:00.000Z",
      "width": 300
    }
  ]
}
```

### List insertion orders

List an advertiser's insertion orders, with their budgets, pacing and goals.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Campaign (`campaign_id`, text): Only those in this campaign. Leave blank for all.
- Status (`status`, list): Only those with these statuses. Leave blank for all but archived ones. One or more of: `active`, `paused`, `draft`, `archived`.
- Most to list (`limit`, number): The most to list, up to 1000. Defaults to 100. From 1 to 1000.

**Outputs**

- `count` (number): How many there are
- `insertion_orders` (list): The insertion orders

**Example output**

```json
{
  "count": 1,
  "insertion_orders": [
    {
      "advertiser_id": "4567890",
      "automation_type": "INSERTION_ORDER_AUTOMATION_TYPE_NONE",
      "budget_segments": [
        {
          "amount": 20000.0,
          "campaign_budget_id": "",
          "description": "",
          "end_date": "2026-12-31",
          "start_date": "2026-12-01"
        }
      ],
      "budget_unit": "BUDGET_UNIT_CURRENCY",
      "campaign_id": "11223344",
      "daily_max": null,
      "daily_max_impressions": null,
      "display_name": "Holiday sale: display",
      "end_date": "2026-12-31",
      "frequency_cap": {
        "max_impressions": null,
        "period": "",
        "period_count": null,
        "unlimited": true
      },
      "insertion_order_id": "55667788",
      "insertion_order_type": "RTB",
      "kpi_amount": 12.5,
      "kpi_description": "",
      "kpi_percentage": null,
      "kpi_type": "CPA",
      "optimization_objective": "CONVERSION",
      "pacing_period": "PACING_PERIOD_FLIGHT",
      "pacing_type": "PACING_TYPE_EVEN",
      "reservation_type": "RESERVATION_TYPE_NOT_GUARANTEED",
      "start_date": "2026-12-01",
      "status": "draft",
      "total_budget": 20000.0,
      "update_time": "2026-11-10T09:31:00.000Z"
    }
  ]
}
```

### List invoices

List the invoices issued for an advertiser in a month, with their totals and a link to each PDF. Invoices billed at partner level aren't listed.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Month (`month`, date): Any day in the month the invoices were issued. Leave blank for last month.

**Outputs**

- `count` (number): How many there are
- `invoices` (list): The invoices
- `month` (text): The month listed, YYYY-MM

**Example output**

```json
{
  "count": 1,
  "invoices": [
    {
      "corrected_invoice_id": "",
      "currency_code": "USD",
      "display_name": "October 2026",
      "due_date": "2026-12-03",
      "invoice_id": "3912345678",
      "invoice_type": "invoice",
      "issue_date": "2026-11-03",
      "payments_account_id": "1234-5678-9012",
      "payments_profile_id": "9876-5432-1098",
      "pdf_url": "https://displayvideo.googleapis.com/download/invoices/3912345678",
      "purchase_order_number": "PO-1042",
      "service_end_date": "2026-10-31",
      "service_start_date": "2026-10-01",
      "subtotal_amount": 1000.0,
      "tax_amount": 80.0,
      "total_amount": 1080.0
    }
  ],
  "month": "2026-11"
}
```

### List line items

List an advertiser's line items, with their flights, budgets, bids and creatives.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Campaign (`campaign_id`, text): Only those in this campaign. Leave blank for all.
- Insertion order (`insertion_order_id`, text): Only those in this insertion order. Leave blank for all.
- Status (`status`, list): Only those with these statuses. Leave blank for all but archived ones. One or more of: `active`, `paused`, `draft`, `archived`.
- Most to list (`limit`, number): The most to list, up to 1000. Defaults to 100. From 1 to 1000.

**Outputs**

- `count` (number): How many there are
- `line_items` (list): The line items

**Example output**

```json
{
  "count": 1,
  "line_items": [
    {
      "advertiser_id": "4567890",
      "bid_amount": 2.5,
      "bid_goal": "",
      "bid_goal_amount": null,
      "bid_strategy": "fixed",
      "budget_amount": 5000.0,
      "budget_type": "fixed",
      "budget_unit": "BUDGET_UNIT_CURRENCY",
      "campaign_id": "11223344",
      "contains_eu_political_ads": "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING",
      "creative_ids": [
        "33445566"
      ],
      "daily_max": 200.0,
      "daily_max_impressions": null,
      "display_name": "Holiday sale: retargeting",
      "end_date": "2026-12-31",
      "flight_dates": "custom",
      "frequency_cap": {
        "max_impressions": 3,
        "period": "TIME_UNIT_DAYS",
        "period_count": 1,
        "unlimited": false
      },
      "insertion_order_id": "55667788",
      "line_item_id": "99887766",
      "line_item_type": "LINE_ITEM_TYPE_DISPLAY_DEFAULT",
      "markup_amount": 10.0,
      "markup_type": "PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP",
      "pacing_period": "PACING_PERIOD_DAILY",
      "pacing_type": "PACING_TYPE_EVEN",
      "reservation_type": "RESERVATION_TYPE_NOT_GUARANTEED",
      "start_date": "2026-12-01",
      "status": "draft",
      "update_time": "2026-11-10T09:32:00.000Z",
      "warning_messages": [
        "PENDING_FLIGHT"
      ]
    }
  ]
}
```

### List partners

List the Display & Video 360 partners your Google account can open.

**Inputs**

- Most to list (`limit`, number): The most to list, up to 1000. Defaults to 100. From 1 to 1000.

**Outputs**

- `count` (number): How many there are
- `partners` (list): The partners

**Example output**

```json
{
  "count": 1,
  "partners": [
    {
      "currency_code": "USD",
      "display_name": "Acme Media",
      "partner_id": "2345678",
      "status": "active",
      "time_zone": "America/New_York",
      "update_time": "2026-11-02T15:04:05.123Z"
    }
  ]
}
```

### Update campaign

Change a campaign: its name, status, goal, planned dates and spend, or frequency cap. Only the fields filled in change.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Campaign (`campaign_id`, text, required): The campaign. Pick one, or give its id from an earlier step.
- Name (`name`, text): A new name for the campaign. Leave blank to keep it.
- Status (`status`, text): Make the campaign active, pause it or archive it. Leave blank to keep it. It can't go back to draft. One of: `active`, `paused`, `archived`.
- Measured by (`performance_goal`, text): How the campaign's success is measured. Leave blank to keep it. One of: `CPM` (CPM: cost per thousand impressions), `CPC` (CPC: cost per click), `CPA` (CPA: cost per action), `CPIAVC` (CPIAVC: cost per audible and visible on completion), `CTR` (CTR: click-through rate (%)), `VIEWABILITY` (Viewability (%)), `OTHER` (Other (describe it)).
- Goal (`goal_value`, number): The goal: an amount in the advertiser's currency for a cost (CPM, CPC, CPA), or a percentage for a rate (10 for 10%). Give it with a new goal type. At least 0.
- Goal description (`goal_description`, text): For an 'Other' goal: what it is, in up to 100 characters. Only when Measured by is Other (describe it).
- Planned start date (`planned_start_date`, date): A new planned start date. Leave blank to keep it.
- Planned end date (`planned_end_date`, date): A new planned end date. Leave blank to keep it.
- Planned spend (`planned_spend`, number): A new planned spend. Leave blank to keep it. In the advertiser's currency, such as 2.50. At least 0.
- Frequency cap: impressions (`frequency_cap_impressions`, number): The most times one person may see its ads in each period. Leave blank to keep the current cap. At least 1.
- Frequency cap: period (`frequency_cap_period`, text): What the period is counted in. Defaults to days. One of: `TIME_UNIT_MINUTES` (Minutes), `TIME_UNIT_HOURS` (Hours), `TIME_UNIT_DAYS` (Days), `TIME_UNIT_WEEKS` (Weeks), `TIME_UNIT_MONTHS` (Month).
- Frequency cap: period length (`frequency_cap_period_count`, number): How many of those the period lasts, such as 7 for a week of days: up to 59 minutes, 23 hours, 6 days, 4 weeks or 1 month. Defaults to 1. From 1 to 59.

**Outputs**

- `campaign` (object): A campaign: insertion orders with a common goal

**Example output**

```json
{
  "campaign": {
    "advertiser_id": "4567890",
    "budgets": [],
    "campaign_id": "11223344",
    "display_name": "Holiday sale",
    "frequency_cap": {
      "max_impressions": 5,
      "period": "TIME_UNIT_DAYS",
      "period_count": 1,
      "unlimited": false
    },
    "goal_type": "CAMPAIGN_GOAL_TYPE_ONLINE_ACTION",
    "performance_goal_amount": 12.5,
    "performance_goal_description": "",
    "performance_goal_percentage": null,
    "performance_goal_type": "CPA",
    "planned_end_date": "2026-12-31",
    "planned_spend": 50000.0,
    "planned_start_date": "2026-12-01",
    "status": "active",
    "update_time": "2026-11-10T09:30:00.000Z"
  }
}
```

### Update insertion order

Change an insertion order: make it active or pause it, rename it, change its goal or pacing, or add a budget segment. Only the fields filled in change.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Insertion order (`insertion_order_id`, text, required): The insertion order. Pick one, or give its id from an earlier step.
- Name (`name`, text): A new name for the insertion order. Leave blank to keep it.
- Status (`status`, text): Make the insertion order active, pause it or archive it. Leave blank to keep it. It can't go back to draft. One of: `active`, `paused`, `archived`.
- Goal (`kpi_type`, text): How the insertion order's success is measured. Leave blank to keep it. One of: `CPM` (CPM: cost per thousand impressions), `CPC` (CPC: cost per click), `CPA` (CPA: cost per action), `CPIAVC` (CPIAVC: cost per audible and visible on completion), `VCPM` (Viewable CPM), `CTR` (CTR: click-through rate (%)), `VIEWABILITY` (Viewability (%)), `CLICK_CVR` (Click conversion rate (%)), `IMPRESSION_CVR` (Impression conversion rate (%)), `VTR` (View-through rate (%)), and 3 more.
- Goal (`goal_value`, number): The goal: an amount in the advertiser's currency for a cost (CPM, CPC, CPA), or a percentage for a rate (10 for 10%). Give it with a new goal type. At least 0.
- Goal description (`goal_description`, text): For an 'Other' goal: what it is, in up to 100 characters. Only when Goal is Other (describe it).
- Pacing (`pacing_period`, text): Whether the budget is paced across the whole flight or each day. Leave blank to keep it. One of: `PACING_PERIOD_FLIGHT` (Across the whole flight), `PACING_PERIOD_DAILY` (Each day).
- Pacing speed (`pacing_type`, text): How fast it spends. Leave blank to keep it. One of: `PACING_TYPE_EVEN` (Even), `PACING_TYPE_AHEAD` (Ahead), `PACING_TYPE_ASAP` (As fast as possible).
- Daily spend cap (`daily_max`, number): With daily pacing: the most it spends a day (for an impressions budget, the most impressions). Leave blank to keep it. In the advertiser's currency, such as 2.50. At least 0.
- Add budget: amount (`add_budget_amount`, number): To add a budget segment: what it may spend between the two dates below, in the insertion order's budget unit. At least 0.
- Add budget: start date (`add_budget_start_date`, date): When the new budget segment starts: a future date.
- Add budget: end date (`add_budget_end_date`, date): When the new budget segment ends.
- Frequency cap: impressions (`frequency_cap_impressions`, number): The most times one person may see its ads in each period. Leave blank to keep the current cap. At least 1.
- Frequency cap: period (`frequency_cap_period`, text): What the period is counted in. Defaults to days. One of: `TIME_UNIT_MINUTES` (Minutes), `TIME_UNIT_HOURS` (Hours), `TIME_UNIT_DAYS` (Days), `TIME_UNIT_WEEKS` (Weeks), `TIME_UNIT_MONTHS` (Month).
- Frequency cap: period length (`frequency_cap_period_count`, number): How many of those the period lasts, such as 7 for a week of days: up to 59 minutes, 23 hours, 6 days, 4 weeks or 1 month. Defaults to 1. From 1 to 59.

**Outputs**

- `insertion_order` (object): An insertion order: line items sharing a budget

**Example output**

```json
{
  "insertion_order": {
    "advertiser_id": "4567890",
    "automation_type": "INSERTION_ORDER_AUTOMATION_TYPE_NONE",
    "budget_segments": [
      {
        "amount": 20000.0,
        "campaign_budget_id": "",
        "description": "",
        "end_date": "2026-12-31",
        "start_date": "2026-12-01"
      }
    ],
    "budget_unit": "BUDGET_UNIT_CURRENCY",
    "campaign_id": "11223344",
    "daily_max": null,
    "daily_max_impressions": null,
    "display_name": "Holiday sale: display",
    "end_date": "2026-12-31",
    "frequency_cap": {
      "max_impressions": null,
      "period": "",
      "period_count": null,
      "unlimited": true
    },
    "insertion_order_id": "55667788",
    "insertion_order_type": "RTB",
    "kpi_amount": 12.5,
    "kpi_description": "",
    "kpi_percentage": null,
    "kpi_type": "CPA",
    "optimization_objective": "CONVERSION",
    "pacing_period": "PACING_PERIOD_FLIGHT",
    "pacing_type": "PACING_TYPE_EVEN",
    "reservation_type": "RESERVATION_TYPE_NOT_GUARANTEED",
    "start_date": "2026-12-01",
    "status": "draft",
    "total_budget": 20000.0,
    "update_time": "2026-11-10T09:31:00.000Z"
  }
}
```

### Update line item

Change a line item: make it active or pause it, rename it, change its dates, budget, fixed bid, pacing or creatives. Only the fields filled in change.

**Inputs**

- Advertiser (`advertiser_id`, text, required): The advertiser. Pick one, or give its id.
- Line item (`line_item_id`, text, required): The line item. Pick one, or give its id from an earlier step.
- Name (`name`, text): A new name for the line item. Leave blank to keep it.
- Status (`status`, text): Make the line item active, pause it or archive it. Leave blank to keep it. It can't go back to draft. One of: `active`, `paused`, `archived`.
- Start date (`start_date`, date): A new start date. Leave blank to keep it.
- End date (`end_date`, date): A new end date. Leave blank to keep it.
- Budget amount (`budget_amount`, number): A new fixed budget, for a line item with a fixed budget. Leave blank to keep it. In the advertiser's currency, such as 2.50. At least 0.
- Bid (`bid_amount`, number): A new fixed CPM bid, for a line item with a fixed bid. Leave blank to keep it. In the advertiser's currency, such as 2.50. At least 0.
- Pacing (`pacing_period`, text): Whether the budget is paced across the whole flight or each day. Leave blank to keep it. One of: `PACING_PERIOD_FLIGHT` (Across the whole flight), `PACING_PERIOD_DAILY` (Each day).
- Pacing speed (`pacing_type`, text): How fast it spends. Leave blank to keep it. One of: `PACING_TYPE_EVEN` (Even), `PACING_TYPE_AHEAD` (Ahead), `PACING_TYPE_ASAP` (As fast as possible).
- Daily spend cap (`daily_max`, number): With daily pacing: the most it spends a day (for an impressions budget, the most impressions). Leave blank to keep it. In the advertiser's currency, such as 2.50. At least 0.
- Creatives (`creative_ids`, list): The creatives it serves. Replaces the current ones; leave blank to keep them.
- EU political ads (`contains_eu_political_ads`, text): Whether it serves European Union political ads. Leave blank to keep it. One of: `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` (No EU political ads), `CONTAINS_EU_POLITICAL_ADVERTISING` (Serves EU political ads).
- Frequency cap: impressions (`frequency_cap_impressions`, number): The most times one person may see its ads in each period. Leave blank to keep the current cap. At least 1.
- Frequency cap: period (`frequency_cap_period`, text): What the period is counted in. Defaults to days. One of: `TIME_UNIT_MINUTES` (Minutes), `TIME_UNIT_HOURS` (Hours), `TIME_UNIT_DAYS` (Days), `TIME_UNIT_WEEKS` (Weeks), `TIME_UNIT_MONTHS` (Month).
- Frequency cap: period length (`frequency_cap_period_count`, number): How many of those the period lasts, such as 7 for a week of days: up to 59 minutes, 23 hours, 6 days, 4 weeks or 1 month. Defaults to 1. From 1 to 59.

**Outputs**

- `line_item` (object): A line item: what bids on ads and serves creatives

**Example output**

```json
{
  "line_item": {
    "advertiser_id": "4567890",
    "bid_amount": 2.5,
    "bid_goal": "",
    "bid_goal_amount": null,
    "bid_strategy": "fixed",
    "budget_amount": 5000.0,
    "budget_type": "fixed",
    "budget_unit": "BUDGET_UNIT_CURRENCY",
    "campaign_id": "11223344",
    "contains_eu_political_ads": "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING",
    "creative_ids": [
      "33445566"
    ],
    "daily_max": 200.0,
    "daily_max_impressions": null,
    "display_name": "Holiday sale: retargeting",
    "end_date": "2026-12-31",
    "flight_dates": "custom",
    "frequency_cap": {
      "max_impressions": 3,
      "period": "TIME_UNIT_DAYS",
      "period_count": 1,
      "unlimited": false
    },
    "insertion_order_id": "55667788",
    "line_item_id": "99887766",
    "line_item_type": "LINE_ITEM_TYPE_DISPLAY_DEFAULT",
    "markup_amount": 10.0,
    "markup_type": "PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP",
    "pacing_period": "PACING_PERIOD_DAILY",
    "pacing_type": "PACING_TYPE_EVEN",
    "reservation_type": "RESERVATION_TYPE_NOT_GUARANTEED",
    "start_date": "2026-12-01",
    "status": "draft",
    "update_time": "2026-11-10T09:32:00.000Z",
    "warning_messages": [
      "PENDING_FLIGHT"
    ]
  }
}
```
