buy-from-seller · version 1.0.0 · for buyers.
When to use
- A person says “buy on Larkstone Media” or otherwise names the seller they want.
- A person has a direct deal in mind and wants it staged on a campaign.
- A seller is missing from a proposal request and the person wants to know why.
Before you start
- The account is ready to buy and the advertiser exists.
- A draft campaign exists for the work, or you have what Set up a campaign needs to create one.
Steps
- Call
get_statusand confirm the account and advertiser. - Find the seller with
searchandkind: "seller", then callgetwithkind: "seller"and its id. Addinclude: ["products"]when the person wants to see the catalog. - Call
open_connections_pagewith thesellerIdso the person sees the seller’s status for this advertiser. - If the seller is not active for the advertiser, call
save_connectionwithtarget: { kind: "seller", id }andadvertiserActivationwith theadvertiserIdanddecision: "ENABLED". If the person wants the seller on every brief, sendselection: "ALWAYS_INCLUDE"in a separate call. - Choose a path with the person:
- Proposal. Call
request_proposalswithcampaignId,expectedCampaignRevision,expectedSellerIdset to the seller’s id, and anidempotencyKey. Collect results as in Set up a campaign, then callrefine_proposalfor any change the person asks for. - Products. Pick products and pricing options from the seller’s catalog with the person.
- Proposal. Call
- Stage the buy with
save_media_buy:- from a proposal:
fromProposalIdand anidempotencyKey; - from products:
campaignId,sellerId,products(each withproductId,pricingOptionIdandbudget), optionallyflight, and anidempotencyKey.
- from a proposal:
- Call
open_campaign_receiptto show the staged buy. Launch belongs to Manage a campaign.
Guardrails
- Reach the seller only through Semicola tools. Do not guess or call a seller’s own agent URL.
- If the seller is excluded for the account, or not available in the advertiser’s countries or channels, tell the person instead of changing their settings on your own.
- Respect the seller’s answer. A seller may decline a refinement or a price below its floor.
- A staged buy books nothing. Do not describe it as bought.
Done when
- The draft campaign has a staged media buy with the named seller, and the person has seen it on the receipt; or
- you have told the person why that seller cannot take this buy, and what would change that.