Google Display & Video 360
App · 25 actions
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.
Actions
| Action | What it does |
|---|---|
| Create campaign | Create a campaign for an advertiser, with its goal and planned dates. |
| Create insertion order | Create an insertion order in a campaign, with its budget, pacing and goal. |
| Create line item | Create a display, video, audio or connected TV line item in an insertion order, with its bid, budget and creatives. |
| Create negative keyword list | Create a negative keyword list for an advertiser, with its keywords. |
| Delete campaign | Permanently delete a campaign. |
| Delete insertion order | Permanently delete an insertion order. |
| Delete line item | Permanently delete a line item. |
| Delete negative keyword list | Delete a negative keyword list, with its keywords. |
| Duplicate line item | Copy a line item, with its settings and targeting, into the same insertion order. |
| Edit negative keywords | Add keywords to a negative keyword list, remove some, or both at once. |
| Get advertiser | Get an advertiser: its partner, currency, time zone and website. |
| Get campaign | Get one campaign: its status, goal, planned dates and spend, and frequency cap. |
| Get creative | Get one creative: its type, size, review status and the line items serving it. |
| Get insertion order | Get one insertion order: its status, budget segments, pacing, goal and frequency cap. |
| Get line item | Get one line item: its status, flight, budget, pacing, bid, creatives and warnings. |
| List advertisers | List a partner's advertisers: the brands campaigns are run for. |
| List campaigns | List an advertiser's campaigns, with their goals and planned dates and spend. |
| List creatives | List an advertiser's creatives, newest first, with their review status and size. |
| List insertion orders | List an advertiser's insertion orders, with their budgets, pacing and goals. |
| List invoices | List the invoices issued for an advertiser in a month, with their totals and a link to each PDF. |
| List line items | List an advertiser's line items, with their flights, budgets, bids and creatives. |
| List partners | List the Display & Video 360 partners your Google account can open. |
| Update campaign | Change a campaign: its name, status, goal, planned dates and spend, or frequency cap. |
| 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. |
| Update line item | Change a line item: make it active or pause it, rename it, change its dates, budget, fixed bid, pacing or creatives. |
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_idtextRequired - The advertiser. Pick one, or give its id.
- Name
nametextRequired - The campaign's name.
- Campaign goal
goal_typetextRequired - 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_goaltextRequired - 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_valuenumber - 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_descriptiontext - 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_datedateRequired - When the campaign is planned to start: today or later.
- Planned end date
planned_end_datedate - When it is planned to end. Leave blank for no end date.
- Planned spend
planned_spendnumber - 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
statustext - Whether the campaign starts active or paused. Defaults to active.One of:
active,paused. Default:active. - Frequency cap: impressions
frequency_cap_impressionsnumber - 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_periodtext - 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_countnumber - 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
campaignobject- A campaign: insertion orders with a common goal
campaign_idtext- The new campaign's id
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Campaign
campaign_idtextRequired - The campaign. Pick one, or give its id from an earlier step.
- Name
nametextRequired - The insertion order's name.
- Budget in
budget_unittext - 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_amountnumberRequired - 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_datedateRequired - When the budget starts: a future date.
- Budget end date
budget_end_datedateRequired - When the budget ends: on or after the start, before 2037.
- Goal
kpi_typetextRequired - 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_valuenumber - 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_descriptiontext - For an 'Other' goal: what it is, in up to 100 characters.Only when Goal is Other (describe it).
- Pacing
pacing_periodtext - 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_typetext - 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_maxnumber - 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_objectivetext - 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_automationtext - 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_impressionsnumber - 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_periodtext - 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_countnumber - 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_orderobject- An insertion order: line items sharing a budget
insertion_order_idtext- The new insertion order's id
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Insertion order
insertion_order_idtextRequired - The insertion order. Pick one, or give its id from an earlier step.
- Name
nametextRequired - The line item's name.
- Line item type
line_item_typetextRequired - 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_adstextRequired - 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_strategytext - 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_amountnumber - 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_goaltext - 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_amountnumber - 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_datedate - Its own start date, a future date. Leave both dates blank to use the insertion order's.
- End date
end_datedate - Its own end date. Leave both dates blank to use the insertion order's.
- Budget
budget_typetext - 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_amountnumber - 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_periodtext - 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_typetext - 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_maxnumber - 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_typetext - 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_amountnumber - 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_idslist - The creatives it serves. It needs at least one approved creative to serve.
- Frequency cap: impressions
frequency_cap_impressionsnumber - 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_periodtext - 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_countnumber - 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_itemobject- A line item: what bids on ads and serves creatives
line_item_idtext- The new line item's id
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Name
nametextRequired - The list's name.
- Keywords
keywordslist - The keywords to add, such as car insurance: each up to 80 plain characters and 10 words.
Outputs
added_keywordslist- The keywords added
negative_keyword_listobject- A negative keyword list: words line items stay away from
negative_keyword_list_idtext- The new list's id
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Campaign
campaign_idtextRequired - The campaign. Pick one, or give its id from an earlier step.
Outputs
archived_firsttrue/false- True if it was archived first, as Display & Video 360 requires
campaign_idtext- The campaign deleted
deletedtrue/false- True once it is deleted
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Insertion order
insertion_order_idtextRequired - The insertion order. Pick one, or give its id from an earlier step.
Outputs
archived_firsttrue/false- True if it was archived first, as Display & Video 360 requires
deletedtrue/false- True once it is deleted
insertion_order_idtext- The insertion order deleted
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Line item
line_item_idtextRequired - The line item. Pick one, or give its id from an earlier step.
Outputs
archived_firsttrue/false- True if it was archived first, as Display & Video 360 requires
deletedtrue/false- True once it is deleted
line_item_idtext- The line item deleted
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Negative keyword list
negative_keyword_list_idtextRequired - The negative keyword list. Pick one, or give its id from an earlier step.
Outputs
deletedtrue/false- True once it is deleted
negative_keyword_list_idtext- The list deleted
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Line item
line_item_idtextRequired - The line item. Pick one, or give its id from an earlier step.
- New name
nametext - The copy's name. Leave blank for Display & Video 360's.
- EU political ads
contains_eu_political_adstext - 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_idtext- The copy's id
source_line_item_idtext- The line item copied
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Negative keyword list
negative_keyword_list_idtextRequired - The negative keyword list. Pick one, or give its id from an earlier step.
- Keywords to add
add_keywordslist - Keywords to add: each up to 80 plain characters and 10 words.
- Keywords to remove
remove_keywordslist - Keywords to remove, as they are in the list.
Outputs
added_keywordslist- The keywords added
negative_keyword_list_idtext- The list changed
removed_keywordslist- The keywords asked to be removed
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
Outputs
advertiserobject- An advertiser: the brand its campaigns are for
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Campaign
campaign_idtextRequired - The campaign. Pick one, or give its id from an earlier step.
Outputs
campaignobject- A campaign: insertion orders with a common goal
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Creative
creative_idtextRequired - The creative. Pick one, or give its id from an earlier step.
Outputs
creativeobject- A creative: an ad line items serve
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Insertion order
insertion_order_idtextRequired - The insertion order. Pick one, or give its id from an earlier step.
Outputs
insertion_orderobject- An insertion order: line items sharing a budget
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Line item
line_item_idtextRequired - The line item. Pick one, or give its id from an earlier step.
Outputs
line_itemobject- A line item: what bids on ads and serves creatives
Example output
{
"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_idtextRequired - The partner. Pick one, or give its id.
- Status
statuslist - Only those with these statuses. Leave blank for all.One or more of:
active,paused. - Most to list
limitnumber - The most to list, up to 1000. Defaults to 100.From 1 to 1000.
Outputs
advertiserslist- The advertisers
countnumber- How many there are
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Status
statuslist - Only those with these statuses. Leave blank for all but archived ones.One or more of:
active,paused,draft,archived. - Most to list
limitnumber - The most to list, up to 1000. Defaults to 100.From 1 to 1000.
Outputs
campaignslist- The campaigns
countnumber- How many there are
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Review status
approval_statuslist - 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_typelist - 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_idtext - Only those in this line item. Leave blank for all.
- Status
statustext - Only creatives with this status. Leave blank for all but archived ones.One of:
active,paused,archived. - Most to list
limitnumber - The most to list, up to 1000. Defaults to 100.From 1 to 1000.
Outputs
countnumber- How many there are
creativeslist- The creatives
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Campaign
campaign_idtext - Only those in this campaign. Leave blank for all.
- Status
statuslist - Only those with these statuses. Leave blank for all but archived ones.One or more of:
active,paused,draft,archived. - Most to list
limitnumber - The most to list, up to 1000. Defaults to 100.From 1 to 1000.
Outputs
countnumber- How many there are
insertion_orderslist- The insertion orders
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Month
monthdate - Any day in the month the invoices were issued. Leave blank for last month.
Outputs
countnumber- How many there are
invoiceslist- The invoices
monthtext- The month listed, YYYY-MM
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Campaign
campaign_idtext - Only those in this campaign. Leave blank for all.
- Insertion order
insertion_order_idtext - Only those in this insertion order. Leave blank for all.
- Status
statuslist - Only those with these statuses. Leave blank for all but archived ones.One or more of:
active,paused,draft,archived. - Most to list
limitnumber - The most to list, up to 1000. Defaults to 100.From 1 to 1000.
Outputs
countnumber- How many there are
line_itemslist- The line items
Example output
{
"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
limitnumber - The most to list, up to 1000. Defaults to 100.From 1 to 1000.
Outputs
countnumber- How many there are
partnerslist- The partners
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Campaign
campaign_idtextRequired - The campaign. Pick one, or give its id from an earlier step.
- Name
nametext - A new name for the campaign. Leave blank to keep it.
- Status
statustext - 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_goaltext - 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_valuenumber - 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_descriptiontext - 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_datedate - A new planned start date. Leave blank to keep it.
- Planned end date
planned_end_datedate - A new planned end date. Leave blank to keep it.
- Planned spend
planned_spendnumber - 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_impressionsnumber - 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_periodtext - 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_countnumber - 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
campaignobject- A campaign: insertion orders with a common goal
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Insertion order
insertion_order_idtextRequired - The insertion order. Pick one, or give its id from an earlier step.
- Name
nametext - A new name for the insertion order. Leave blank to keep it.
- Status
statustext - 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_typetext - 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_valuenumber - 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_descriptiontext - For an 'Other' goal: what it is, in up to 100 characters.Only when Goal is Other (describe it).
- Pacing
pacing_periodtext - 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_typetext - 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_maxnumber - 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_amountnumber - 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_datedate - When the new budget segment starts: a future date.
- Add budget: end date
add_budget_end_datedate - When the new budget segment ends.
- Frequency cap: impressions
frequency_cap_impressionsnumber - 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_periodtext - 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_countnumber - 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_orderobject- An insertion order: line items sharing a budget
Example output
{
"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_idtextRequired - The advertiser. Pick one, or give its id.
- Line item
line_item_idtextRequired - The line item. Pick one, or give its id from an earlier step.
- Name
nametext - A new name for the line item. Leave blank to keep it.
- Status
statustext - 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_datedate - A new start date. Leave blank to keep it.
- End date
end_datedate - A new end date. Leave blank to keep it.
- Budget amount
budget_amountnumber - 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_amountnumber - 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_periodtext - 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_typetext - 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_maxnumber - 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_idslist - The creatives it serves. Replaces the current ones; leave blank to keep them.
- EU political ads
contains_eu_political_adstext - 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_impressionsnumber - 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_periodtext - 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_countnumber - 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_itemobject- A line item: what bids on ads and serves creatives
Example output
{
"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"
]
}
}