Growth Plan

Create or update a media plan item

Create or update a media plan item. If id is provided, updates that row (by id+org); otherwise inserts a new one. Only the fields you pass are written. Scoped to the current org.

post/api/v1/upsert_media_plan_item

Request

  • Base URL: https://api.pymaia.com
  • URL: https://api.pymaia.com/api/v1/upsert_media_plan_item
  • Auth: HTTP bearer

Request body

idstring

Item id to update. Omit to create a new item.

platformstring

Uno de: meta, google, tiktok, microsoft, linkedin, youtube, twitter, pinterest.

funnel_stagestring

Uno de: awareness, consideracion, conversion, retargeting, brand.

campaign_namestring
objectivestring
budget_pctnumber
budget_amountnumber
bidding_strategystring
kpi_primarystring
kpi_targetnumber
creative_formatstring
notesstring
is_activeboolean
sort_ordernumber

Response

Tool executed successfully

okboolean
resultunknown
duration_msnumber

Changes

No recorded changes to this operation across all 1 revision of this API.