account | DynamicAccount | Yes | - | Select Pinterest Ads account to update campaign budgets in. |
update_type | string or SelectableOption | Yes | - | Choose whether to update a single campaign budget or multiple at once. Options: single or bulk. |
budget_type | string or SelectableOption | No | {'value': 'daily', 'label': 'Daily'} | Which campaign spending cap to set: daily or lifetime. Must match how the campaign budgets (a campaign cannot have both caps, and a lifetime cap requires the campaign to have an end time). Applies to all rows in bulk mode. Default: daily. |
campaign_id | string or SelectItem | No | - | Pinterest campaign ID to update. Required for single update. |
budget_value | number | No | - | The new spending cap in the ad account’s currency (for example 100 for $100). Markifact converts it to Pinterest microcurrency automatically. Required for single update. |
structured_data | array (also accepts a comma-separated string) | No | - | Use only when update_type is bulk. Required columns: campaign_id and budget_value (in the ad account’s currency). Up to 100 rows. |