# Gumball API reference Read Gumball shows, prices, open ad slots, and bookings, set up a buy (create campaigns, fill carts, and reserve), and manage show schedules and bookings. In version 1, fields and operations may be added, and a list of allowed values may gain members. Base URL: `https://api.gumball.fm`. Send an API key as `Authorization: Bearer gum_...`. Each operation ID is also the name of its MCP tool. ## Operations ### whoami `GET /v1/me` Returns the account the API key acts as: the user, whether it is an advertiser or a creator, the key's access level, and the shows or campaigns it can reach. Call it first to learn which other operations the account can use. Returns `Me`. ### search_shows `GET /v1/shows` Searches the shows that sell ads on Gumball, by words and by the filters the Browse Shows page offers, and returns each show's audience and price figures. For advertiser accounts only. - `q` (query, string, optional): Words to search show titles, descriptions, and topics for. - `sort` (query, string, optional): What to order the shows by. The default is relevance when q is given and recommended otherwise. Allowed values: `recommended`, `relevance`, `title`, `impressions_per_ad`, `lowest_cpm`, `minimum_spend`, `date_added`. - `sort_direction` (query, string, optional): Which way to order them. A relevance sort ignores it. Allowed values: `desc`, `asc`. - `genres` (query, array, optional): Sales genres a show is sold under. Allowed values: `art_and_design`, `business_and_entrepreneurship`, `comedy`, `culture`, `dating_and_relationships`, `education`, `entertainment`, `family_and_parenting`, `fashion`, `food`, `gaming`, `health_and_wellness`, `hobbies`, `music`, `news`, `religion_and_spirituality`, `science_and_technology`, `sports`, `travel`, `true_crime`. - `genre_operator` (query, string, optional): Whether a show must carry all of the genres or any one of them. Allowed values: `all`, `any`. - `tags` (query, array, optional): Tags a show must carry, all of them. Allowed values: `420_friendly`, `advice`, `art`, `basketball`, `c_suite`, `celebrity_guests`, `co_listening`, `conservative_values`, `conversational`, `cult_following`, `debate`, `deep_dives`, `diy`, `documentary`, `drama`, `environment`, `film`, `gen_z`, `history`, `home_decor`, `improv`, `influencer`, `interior_design`, `investigative`, `lgbtq`, `life_hack`, `live_recording`, `makeup_tutorials`, `mental_health`, `music_analysis`, `music_covers`, `original_music`, `panel_discussion`, `parents`, `personal_stories`, `pet_owners`, `pop_culture`, `q_and_a`, `quiz_games`, `reaction`, `relatable`, `self_improvement`, `sound_design`, `spirituality`, `storytelling`, `stream_highlights`, `trends`, `unexplained_phenomena`, `van_life`. - `age_ranges` (query, array, optional): Age ranges that must each hold at least 10% of the audience. Allowed values: `18-20`, `21-29`, `30-39`, `40-49`, `50-59`. - `ethnicity` (query, array, optional): Ethnicities that must each be at least 20% of the surveyed audience. Allowed values: `latinox-or-hispanic`, `white-or-caucasian`, `black-or-african-american`, `american-indian-andor-alaska-native`, `asian-or-pacific-islander`, `other`. - `employment` (query, array, optional): Employment statuses that must each be at least 15% of the surveyed audience. Allowed values: `employed-full-time`, `employed-part-time`, `self-employed`, `business-owner`, `stay-at-home-parent`, `retired`, `student`. - `relationship_status` (query, array, optional): Relationship statuses that must each be at least 25% of the surveyed audience. Allowed values: `single`, `married-or-domestic-partnership`, `widowed`, `divorced`, `separated`. - `pet_ownership` (query, array, optional): Pets that at least 25% of the surveyed audience must own, each. Allowed values: `dogs`, `cats`, `fish`, `small-animals`, `birds`, `no-pets`. - `household_composition` (query, array, optional): Ages of children that at least 15% of the surveyed audience must have at home, each. Allowed values: `newborn`, `toddler`, `pre-teens`, `teenagers`, `none-of-the-above`. - `female_audience_percentage` (query, integer, optional): Above 50, the audience must be at least this percentage female; below 50, at least 100 minus this percentage male. 0 and 50 apply no filter. - `homeowner_audience_percentage` (query, integer, optional): Above 50, at least this percentage of the audience must own a home; below 50, at least 100 minus this percentage must rent. 0 and 50 apply no filter. - `ad_responsiveness` (query, integer, optional): The lowest score, out of 10, the surveyed audience may give for how likely it is to buy from a sponsor. 5 applies no filter. - `start_date` (query, string, optional): Keeps shows with an open ad slot airing on or after this day. - `end_date` (query, string, optional): Keeps shows with an open ad slot airing on or before this day. It must not come before start_date. - `platform` (query, string, optional): Where a show lists impressions: podcast only, youtube only, or both. Allowed values: `any`, `podcast`, `youtube`, `both`. - `delivery` (query, string, optional): A way the show delivers ads. Allowed values: `any`, `dynamic`, `embedded`, `integrated`. - `sales_format` (query, string, optional): The format the show is sold as. Allowed values: `any`, `commentary`, `expertise`, `fiction`, `interview`, `review`, `sketch`, `tutorial_and_how_to`, `vlog`, `write_in`. - `education` (query, string, optional): At least half the audience has this level of education or a higher one. Allowed values: `any`, `high_school`, `some_college`, `bachelors`, `graduate`. - `household_income` (query, string, optional): At least 30% of the audience has this household income or a higher one. Allowed values: `any`, `50k_plus`, `75k_plus`, `100k_plus`, `200k_plus`. - `audience_lifespan` (query, string, optional): At least 40% of the surveyed audience has listened for this long or longer. Allowed values: `any`, `moderate`, `dedicated`, `hardcore`. - `audience_fandom_intensity` (query, string, optional): At least 60% of the surveyed audience listens this often or more often. Allowed values: `any`, `followers`, `true-fans`, `superfans`. - `favorites_only` (query, boolean, optional): When true, keeps only the shows you have marked as favorites. - `campaign_id` (query, string, optional): A campaign you are on the team of. Leaves out shows that exclude its category or declined its brand. - `limit` (query, integer, optional): This list returns 15 shows a page and takes no other size. - `cursor` (query, string, optional) Returns `ShowSearchResultList`. ### get_show `GET /v1/shows/{show_id}` Returns one show as an advertiser sees it: description, genres, platforms, ad formats, rating, impressions per ad, lowest CPM, minimum spend, and audience demographics. For advertiser accounts only. - `show_id` (path, string, required) Returns `Show`. ### list_show_slots `GET /v1/shows/{show_id}/slots` Lists the ad slots a show has open to book in a range of air dates of at most 92 days, each with its air date, position, length, price, impressions, and CPM. For advertiser accounts only. - `show_id` (path, string, required) - `start_date` (query, string, required): The first air date to return, as an Eastern calendar day. - `end_date` (query, string, required): The last air date to return, as an Eastern calendar day. It must not come before start_date, and the two span 92 days at most. - `limit` (query, integer, optional) - `cursor` (query, string, optional) Returns `ShowSlotList`. ### list_my_shows `GET /v1/me/shows` Lists the shows the creator is a member of, oldest first. For creator accounts only. - `limit` (query, integer, optional) - `cursor` (query, string, optional) Returns `MyShowSummaryList`. ### get_my_show `GET /v1/me/shows/{show_id}` Returns one of the creator's own shows, with its description, platforms, and the audience numbers the creator sees on their show pages. For creator accounts only. - `show_id` (path, string, required) Returns `MyShow`. ### list_show_schedule `GET /v1/me/shows/{show_id}/schedule` Lists the episodes of one of the creator's own shows from a start date, earliest first, each with every ad slot and whether the slot is open, reserved, sold, or a blackout. limit counts episodes. For creator accounts only. - `show_id` (path, string, required) - `start_date` (query, string, optional): The first air date to return, as an Eastern calendar day. Defaults to today. - `end_date` (query, string, optional): The last air date to return, as an Eastern calendar day. It must not come before start_date. - `limit` (query, integer, optional) - `cursor` (query, string, optional) Returns `MyShowScheduleEpisodeList`. ### list_bookings `GET /v1/bookings` Lists the booked ads of one campaign, for an advertiser, or of one show, for a creator, earliest air date first. Each carries its show, brand, air date, delivery, and script, aircheck, and social post status. Send start_date as today to see what is coming up. - `campaign_id` (query, string, optional): Advertisers: the campaign whose bookings to list. Required for an advertiser account, and refused for a creator account. - `show_id` (query, string, optional): Creators: the show whose bookings to list. Required for a creator account, and refused for an advertiser account. - `start_date` (query, string, optional): The first air date to return, as an Eastern calendar day. Send today's date to list upcoming bookings. - `end_date` (query, string, optional): The last air date to return, as an Eastern calendar day. It must not come before start_date. - `limit` (query, integer, optional) - `cursor` (query, string, optional) Returns `BookingList`. ### get_booking `GET /v1/bookings/{booking_id}` Returns one booked ad with everything list_bookings returns, plus the script's text. A creator gets the text from 30 days before the ad airs, and their first read of each version of it before the ad airs is recorded on the booking as opening the script. - `booking_id` (path, string, required) Returns `Booking`. ### list_invoices `GET /v1/invoices` Lists the invoices of one campaign the advertiser is on the team of, oldest first, each with its number, status, amount, and a link to view and pay it. For advertiser accounts only. - `campaign_id` (query, string, required): A campaign you are on the team of. - `limit` (query, integer, optional) - `cursor` (query, string, optional) Returns `InvoiceList`. ### list_payouts `GET /v1/payouts` Lists the payouts Gumball has sent one of the creator's shows, newest first, each with its amount, when it was sent, and the bookings it paid for. For creator accounts with financial access on the show. - `show_id` (query, string, required): A show you are a member of with financial access. - `limit` (query, integer, optional) - `cursor` (query, string, optional) Returns `PayoutList`. ### list_campaigns `GET /v1/campaigns` Lists the campaigns the advertiser is on the team of, newest first, each with its brand, category, ad counts, and the advertiser's own open and reserved carts. For advertiser accounts only. - `limit` (query, integer, optional) - `cursor` (query, string, optional) Returns `CampaignList`. ### create_campaign `POST /v1/campaigns` Creates a campaign for a brand and opens a cart on it, ready for add_cart_slots. With a finished campaign build, the cart starts with the build's slots that can still be booked. Changes data: needs a key with read and write access. An account can create 20 campaigns in 24 hours. For advertiser accounts only. - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `Campaign`. ### get_campaign `GET /v1/campaigns/{campaign_id}` Returns one campaign the advertiser is on the team of: its brand, category, ad counts, and the advertiser's own open and reserved carts with every slot and price. For advertiser accounts only. - `campaign_id` (path, string, required) Returns `Campaign`. ### add_cart_slots `POST /v1/campaigns/{campaign_id}/cart/slots` Adds up to 50 slots from list_show_slots to your open cart on a campaign, opening a cart when the campaign has none. Each slot is checked at once and answers on its own, so one unavailable slot does not stop the rest. Adding holds nothing: reserve_cart does. Changes data: needs a key with read and write access. For advertiser accounts only. - `campaign_id` (path, string, required): A campaign you are on the team of. - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `CartSlotsAdded`. ### remove_cart_slots `POST /v1/carts/{cart_id}/slots/remove` Removes up to 50 slots from one of your open carts. Removing the last slot discards the cart; add_cart_slots opens a new one. Changes data: needs a key with read and write access. For advertiser accounts only. - `cart_id` (path, string, required): One of your open carts, from get_campaign. - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `CartSlotsRemoved`. ### reserve_cart `POST /v1/carts/{cart_id}/reserve` Asks Gumball to hold every slot in one of your open carts while its accounts team confirms the order with you. Nothing is charged and nothing is purchased. The reserve has no end time: it stays until you release it or Gumball books it. An account can hold 5 reserves at a time, and reserve 10 times in 24 hours. Changes data: needs a key with read and write access. For advertiser accounts only. - `cart_id` (path, string, required): One of your open carts, from get_campaign. - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `CartReserved`. ### release_reserve `POST /v1/carts/{cart_id}/release` Releases the reserve on one of your reserved carts. Its slots go back on sale, where another advertiser can take them, and the cart is open again for remove_cart_slots and reserve_cart. add_cart_slots adds to the campaign's newest open cart, which is another cart if you added slots while this one was reserved. Changes data: needs a key with read and write access. For advertiser accounts only. - `cart_id` (path, string, required): One of your reserved carts, from get_campaign. - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `Cart`. ### start_campaign_build `POST /v1/campaign_builds` Asks Gumball's campaign builder to propose shows and slots for a brand, a budget, and a date range. Answers at once with status pending; call get_campaign_build until it is done, which takes up to a few minutes. A build holds and buys nothing. Changes data: needs a key with read and write access. An account can start 10 builds in 24 hours. For advertiser accounts only. - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `CampaignBuild`. ### get_campaign_build `GET /v1/campaign_builds/{campaign_build_id}` Returns a campaign build you started: its status and, once done, the shows Gumball picked with a match score, each show's slots and prices, the totals, and a written summary. For advertiser accounts only. - `campaign_build_id` (path, string, required) Returns `CampaignBuild`. ### add_episode `POST /v1/me/shows/{show_id}/episodes` Adds one episode to one of the creator's own shows on a day that is today or later, and puts the ad slots from the show's rate card on sale for it. A show takes 20 episodes added this way in 24 hours. For creator accounts only. - `show_id` (path, string, required) - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `MyShowScheduleEpisode`. ### blackout_slots `POST /v1/me/shows/{show_id}/slots/blackout` Takes open ad slots on one of the creator's own shows off sale, for example because the show sold them outside Gumball. Every slot must be open and not past its booking deadline; if one is not, nothing changes. For creator accounts only. - `show_id` (path, string, required) - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `MyShowScheduleSlotsChanged`. ### reopen_slots `POST /v1/me/shows/{show_id}/slots/reopen` Puts blackout slots on one of the creator's own shows back on sale. Every slot must be a blackout; if one is not, nothing changes. For creator accounts only. - `show_id` (path, string, required) - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `MyShowScheduleSlotsChanged`. ### set_social_post_link `POST /v1/bookings/{booking_id}/social_post_links` Records the link to a booked social post on one social network, as proof the post went up, replacing any link recorded for that network. The post counts as posted once every network it was booked on has a link. For creator accounts only. - `booking_id` (path, string, required) - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `Booking`. ### remove_social_post_link `POST /v1/bookings/{booking_id}/social_post_links/remove` Removes the link recorded for a booked social post on one social network. Removing a link that was never recorded changes nothing. For creator accounts only. - `booking_id` (path, string, required) - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `Booking`. ### submit_youtube_aircheck `POST /v1/bookings/{booking_id}/aircheck` Hands in a clip of a YouTube video as the aircheck that proves a booked ad ran. Only for a booking that runs on YouTube and has no aircheck yet; replacing an aircheck, and audio or video uploads, are done on the website. For creator accounts only. - `booking_id` (path, string, required) - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `YoutubeAircheckSubmitted`. ### list_vetting_requests `GET /v1/me/shows/{show_id}/vetting_requests` Lists the brands Gumball has asked one of the creator's own shows to approve before selling them ads, newest request first. Filter to status requested for the ones still waiting on an answer. For creator accounts only. - `show_id` (path, string, required) - `status` (query, string, optional): Return only requests in this state. Allowed values: `requested`, `approved`, `declined`. - `limit` (query, integer, optional) - `cursor` (query, string, optional) Returns `VettingRequestList`. ### answer_vetting_request `POST /v1/me/shows/{show_id}/vetting_requests/{vetting_request_id}/answer` Approves or declines a brand for one of the creator's own shows. Only a request still in status requested can be answered, and one that carries a question needs text. Changing an answer is done on the website. For creator accounts only. - `show_id` (path, string, required) - `vetting_request_id` (path, string, required) - `Idempotency-Key` (header, string, optional): Optional. Send the same value when you retry a request, and a request that already succeeded returns its first response without running again. Remembered for 24 hours. Returns `VettingRequest`. ## Schemas ### Error ```json { "type": "object", "properties": { "error": { "type": "object", "properties": { "code": { "type": "string", "enum": [ "invalid_request", "unauthenticated", "key_revoked", "key_expired", "account_disabled", "account_not_approved", "terms_not_accepted", "forbidden", "not_found", "conflict", "slots_unavailable", "limit_reached", "internal_error" ], "description": "Stable and safe to branch on. New codes may be added." }, "message": { "type": "string", "description": "For a person to read. The wording may change." }, "param": { "description": "The input field at fault, when there is one.", "type": [ "string", "null" ] }, "doc_url": { "type": [ "string", "null" ] } }, "required": [ "code", "message", "param", "doc_url" ] } }, "required": [ "error" ] } ``` ### Me ```json { "type": "object", "properties": { "user": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "email": { "type": "string" } }, "required": [ "id", "name", "email" ] }, "role": { "type": "string", "enum": [ "advertiser", "creator" ] }, "access_level": { "type": "string", "enum": [ "read", "read_write" ], "description": "What the API key or connected app may do. No operation changes data yet, so both levels read the same." }, "shows": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "name" ] }, "description": "The shows a creator is a member of, by title, up to 100. Empty for an advertiser." }, "campaigns": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "name" ] }, "description": "The campaigns an advertiser is on the team of, oldest first, up to 100. Empty for a creator." } }, "required": [ "user", "role", "access_level", "shows", "campaigns" ] } ``` ### ShowSearchResultList ```json { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/ShowSearchResult" } }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "data", "next_cursor" ] } ``` ### ShowSearchResult ```json { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "sales_genres": { "type": "array", "items": { "type": "string", "enum": [ "art_and_design", "business_and_entrepreneurship", "comedy", "culture", "dating_and_relationships", "education", "entertainment", "family_and_parenting", "fashion", "food", "gaming", "health_and_wellness", "hobbies", "music", "news", "religion_and_spirituality", "science_and_technology", "sports", "travel", "true_crime" ] }, "description": "The sales genres the show is sold under, primary genre first." }, "tags": { "type": "array", "items": { "type": "string", "enum": [ "420_friendly", "advice", "art", "basketball", "c_suite", "celebrity_guests", "co_listening", "conservative_values", "conversational", "cult_following", "debate", "deep_dives", "diy", "documentary", "drama", "environment", "film", "gen_z", "history", "home_decor", "improv", "influencer", "interior_design", "investigative", "lgbtq", "life_hack", "live_recording", "makeup_tutorials", "mental_health", "music_analysis", "music_covers", "original_music", "panel_discussion", "parents", "personal_stories", "pet_owners", "pop_culture", "q_and_a", "quiz_games", "reaction", "relatable", "self_improvement", "sound_design", "spirituality", "storytelling", "stream_highlights", "trends", "unexplained_phenomena", "van_life" ] } }, "sales_format": { "anyOf": [ { "type": "string", "enum": [ "commentary", "expertise", "fiction", "interview", "review", "sketch", "tutorial_and_how_to", "vlog", "write_in" ] }, { "type": "null" } ] }, "platforms": { "type": "array", "items": { "type": "string", "enum": [ "podcast", "youtube", "spotify" ] }, "description": "The platforms the show lists impressions on." }, "next_available_date": { "anyOf": [ { "type": "string", "format": "date" }, { "type": "null" } ], "description": "The air date of the show's next open ad slot, as an Eastern calendar day, or null when it has none." }, "impressions_per_ad": { "type": "number", "description": "The impressions one ad on the show is listed at, across its platforms. It is the figure on the show's rate card, not a measurement." }, "lowest_cpm": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "The lowest price per thousand impressions among the show's ad slots." }, "minimum_spend": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "The least one ad on the show costs: its impressions per ad at its lowest CPM." }, "female_audience_percentage": { "description": "The share of the audience that is female, from 0 to 100, or null when the show has no gender figures.", "type": [ "number", "null" ] } }, "required": [ "id", "title", "description", "sales_genres", "tags", "sales_format", "platforms", "next_available_date", "impressions_per_ad", "lowest_cpm", "minimum_spend", "female_audience_percentage" ] } ``` ### Show ```json { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "sales_genres": { "type": "array", "items": { "type": "string", "enum": [ "art_and_design", "business_and_entrepreneurship", "comedy", "culture", "dating_and_relationships", "education", "entertainment", "family_and_parenting", "fashion", "food", "gaming", "health_and_wellness", "hobbies", "music", "news", "religion_and_spirituality", "science_and_technology", "sports", "travel", "true_crime" ] }, "description": "The sales genres the show is sold under, primary genre first." }, "tags": { "type": "array", "items": { "type": "string", "enum": [ "420_friendly", "advice", "art", "basketball", "c_suite", "celebrity_guests", "co_listening", "conservative_values", "conversational", "cult_following", "debate", "deep_dives", "diy", "documentary", "drama", "environment", "film", "gen_z", "history", "home_decor", "improv", "influencer", "interior_design", "investigative", "lgbtq", "life_hack", "live_recording", "makeup_tutorials", "mental_health", "music_analysis", "music_covers", "original_music", "panel_discussion", "parents", "personal_stories", "pet_owners", "pop_culture", "q_and_a", "quiz_games", "reaction", "relatable", "self_improvement", "sound_design", "spirituality", "storytelling", "stream_highlights", "trends", "unexplained_phenomena", "van_life" ] } }, "sales_format": { "anyOf": [ { "type": "string", "enum": [ "commentary", "expertise", "fiction", "interview", "review", "sketch", "tutorial_and_how_to", "vlog", "write_in" ] }, { "type": "null" } ] }, "platforms": { "type": "array", "items": { "type": "string", "enum": [ "podcast", "youtube", "spotify" ] }, "description": "The platforms the show lists impressions on." }, "next_available_date": { "anyOf": [ { "type": "string", "format": "date" }, { "type": "null" } ], "description": "The air date of the show's next open ad slot, as an Eastern calendar day, or null when it has none." }, "impressions_per_ad": { "type": "number", "description": "The impressions one ad on the show is listed at, across its platforms. It is the figure on the show's rate card, not a measurement." }, "lowest_cpm": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "The lowest price per thousand impressions among the show's ad slots." }, "minimum_spend": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "The least one ad on the show costs: its impressions per ad at its lowest CPM." }, "female_audience_percentage": { "description": "The share of the audience that is female, from 0 to 100, or null when the show has no gender figures.", "type": [ "number", "null" ] }, "impressions_per_ad_by_platform": { "type": "array", "items": { "type": "object", "properties": { "platform": { "type": "string", "enum": [ "podcast", "youtube", "spotify" ] }, "impressions": { "type": "number" } }, "required": [ "platform", "impressions" ] }, "description": "The rate-card impressions of one ad, split by the platforms the show lists them on." }, "ad_formats": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "generic", "postroll", "postroll-dynamic", "liveread", "dynamic", "bonus", "run-of-network-pre", "run-of-network-mid-7d", "run-of-network-mid-30d", "feed-drop", "trailer-drop", "opening-mention", "embedded-one-hundred-percent-share-of-voice", "integrated-video-preroll-ep-12m", "integrated-video-midroll-ep-12m", "integrated-video-postroll-ep-12m", "preroll", "midroll", "integrated-simulcast-preroll-ep-12m", "integrated-simulcast-midroll-ep-12m", "embedded-audio-preroll-ep-30d", "embedded-audio-midroll-ep-30d", "embedded-audio-preroll-2ep-30d", "embedded-audio-midroll-2ep-30d", "embedded-simulcast-preroll-ep-30d", "embedded-simulcast-midroll-ep-30d", "embedded-simulcast-postroll-ep-30d", "preroll-dynamic", "dynamic-audio-preroll-ros-30d", "midroll-dynamic", "dynamic-audio-midroll-ros-30d", "dynamic-simulcast-preroll-7d", "dynamic-simulcast-midroll-7d", "dynamic-simulcast-preroll-30d", "dynamic-simulcast-midroll-30d", "dynamic-audio-preroll-7d-presenting-sponsorship", "dynamic-audio-midroll-7d-presenting-sponsorship", "dynamic-audio-postroll-7d-presenting-sponsorship", "dynamic-simulcast-preroll-7d-presenting-sponsorship", "dynamic-simulcast-midroll-7d-presenting-sponsorship", "dynamic-simulcast-postroll-7d-presenting-sponsorship", "preroll-presenting-sponsorship", "midroll-presenting-sponsorship", "postroll-presenting-sponsorship", "integrated-simulcast-preroll-ep-12m-presenting-sponsorship", "integrated-simulcast-midroll-ep-12m-presenting-sponsorship", "integrated-simulcast-postroll-ep-12m-presenting-sponsorship", "embedded-audio-preroll-ep-30d-presenting-sponsorship", "embedded-audio-midroll-ep-30d-presenting-sponsorship", "embedded-audio-postroll-ep-30d-presenting-sponsorship", "embedded-simulcast-preroll-ep-30d-presenting-sponsorship", "embedded-simulcast-midroll-ep-30d-presenting-sponsorship", "embedded-simulcast-postroll-ep-30d-presenting-sponsorship", "adaptive-ad-midroll", "social-sponsored-clip" ], "description": "The kind of ad: how it is delivered, where it plays, on which platforms, and for how long it is guaranteed." }, "position": { "anyOf": [ { "type": "string", "enum": [ "preroll", "midroll", "postroll" ] }, { "type": "null" } ], "description": "Where in the episode the ad plays, or null for a type with no fixed position." }, "length_seconds": { "type": "number" } }, "required": [ "type", "position", "length_seconds" ] }, "description": "The kinds of episode ad on the show's rate card, each type and length once." }, "rating": { "anyOf": [ { "type": "object", "properties": { "average": { "type": "number", "description": "Out of 5." }, "count": { "type": "number" } }, "required": [ "average", "count" ] }, { "type": "null" } ], "description": "The show's listener rating, or null when it has no ratings." }, "age_demographics": { "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "label": { "type": "string" }, "percentage": { "type": "number", "description": "From 0 to 100." } }, "required": [ "label", "percentage" ] } }, { "type": "null" } ], "description": "The audience's share in each age range, or null when the show has none." }, "gender_demographics": { "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "label": { "type": "string" }, "percentage": { "type": "number", "description": "From 0 to 100." } }, "required": [ "label", "percentage" ] } }, { "type": "null" } ], "description": "The audience's share of each gender, or null when the show has none." } }, "required": [ "id", "title", "description", "sales_genres", "tags", "sales_format", "platforms", "next_available_date", "impressions_per_ad", "lowest_cpm", "minimum_spend", "female_audience_percentage", "impressions_per_ad_by_platform", "ad_formats", "rating", "age_demographics", "gender_demographics" ] } ``` ### ShowSlotList ```json { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/ShowSlot" } }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "data", "next_cursor" ] } ``` ### ShowSlot ```json { "type": "object", "properties": { "id": { "type": "string" }, "air_date": { "type": "string", "format": "date", "description": "The day the slot's episode airs, as an Eastern calendar day." }, "episode": { "type": "object", "properties": { "title": { "description": "The episode's title, or null when it has none yet.", "type": [ "string", "null" ] } }, "required": [ "title" ] }, "type": { "type": "string", "enum": [ "generic", "postroll", "postroll-dynamic", "liveread", "dynamic", "bonus", "run-of-network-pre", "run-of-network-mid-7d", "run-of-network-mid-30d", "feed-drop", "trailer-drop", "opening-mention", "embedded-one-hundred-percent-share-of-voice", "integrated-video-preroll-ep-12m", "integrated-video-midroll-ep-12m", "integrated-video-postroll-ep-12m", "preroll", "midroll", "integrated-simulcast-preroll-ep-12m", "integrated-simulcast-midroll-ep-12m", "embedded-audio-preroll-ep-30d", "embedded-audio-midroll-ep-30d", "embedded-audio-preroll-2ep-30d", "embedded-audio-midroll-2ep-30d", "embedded-simulcast-preroll-ep-30d", "embedded-simulcast-midroll-ep-30d", "embedded-simulcast-postroll-ep-30d", "preroll-dynamic", "dynamic-audio-preroll-ros-30d", "midroll-dynamic", "dynamic-audio-midroll-ros-30d", "dynamic-simulcast-preroll-7d", "dynamic-simulcast-midroll-7d", "dynamic-simulcast-preroll-30d", "dynamic-simulcast-midroll-30d", "dynamic-audio-preroll-7d-presenting-sponsorship", "dynamic-audio-midroll-7d-presenting-sponsorship", "dynamic-audio-postroll-7d-presenting-sponsorship", "dynamic-simulcast-preroll-7d-presenting-sponsorship", "dynamic-simulcast-midroll-7d-presenting-sponsorship", "dynamic-simulcast-postroll-7d-presenting-sponsorship", "preroll-presenting-sponsorship", "midroll-presenting-sponsorship", "postroll-presenting-sponsorship", "integrated-simulcast-preroll-ep-12m-presenting-sponsorship", "integrated-simulcast-midroll-ep-12m-presenting-sponsorship", "integrated-simulcast-postroll-ep-12m-presenting-sponsorship", "embedded-audio-preroll-ep-30d-presenting-sponsorship", "embedded-audio-midroll-ep-30d-presenting-sponsorship", "embedded-audio-postroll-ep-30d-presenting-sponsorship", "embedded-simulcast-preroll-ep-30d-presenting-sponsorship", "embedded-simulcast-midroll-ep-30d-presenting-sponsorship", "embedded-simulcast-postroll-ep-30d-presenting-sponsorship", "adaptive-ad-midroll", "social-sponsored-clip" ], "description": "The kind of ad: how it is delivered, where it plays, on which platforms, and for how long it is guaranteed." }, "position": { "anyOf": [ { "type": "string", "enum": [ "preroll", "midroll", "postroll" ] }, { "type": "null" } ], "description": "Where in the episode the ad plays, or null for a type with no fixed position." }, "length_seconds": { "type": "number" }, "price": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "What the slot costs: its impressions at its CPM." }, "cpm": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "The slot's price per thousand impressions." }, "impressions": { "type": "number", "description": "The impressions the slot is sold at, across its platforms. It is the figure on the show's rate card, not a measurement." } }, "required": [ "id", "air_date", "episode", "type", "position", "length_seconds", "price", "cpm", "impressions" ] } ``` ### MyShowSummaryList ```json { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/MyShowSummary" } }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "data", "next_cursor" ] } ``` ### MyShowSummary ```json { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" }, "available_for_sale": { "type": "boolean", "description": "Whether advertisers can find and book the show. A show that is not is unlisted." } }, "required": [ "id", "title", "available_for_sale" ] } ``` ### MyShow ```json { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "platforms": { "type": "array", "items": { "type": "string", "enum": [ "podcast", "youtube", "spotify" ] }, "description": "The platforms the show lists impressions on." }, "sales_genres": { "type": "array", "items": { "type": "string" }, "description": "The sales genres the show is sold under, primary genre first." }, "available_for_sale": { "type": "boolean", "description": "Whether advertisers can find and book the show. A show that is not is unlisted." }, "impressions_per_ad": { "type": "number", "description": "The impressions one ad on the show is listed at, across its platforms. It is the figure on the show's rate card, not a measurement." }, "impressions_per_ad_by_platform": { "type": "array", "items": { "type": "object", "properties": { "platform": { "type": "string", "enum": [ "podcast", "youtube", "spotify" ] }, "impressions": { "type": "number" } }, "required": [ "platform", "impressions" ] } }, "age_demographics": { "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "label": { "type": "string" }, "percentage": { "type": "number", "description": "From 0 to 100." } }, "required": [ "label", "percentage" ] } }, { "type": "null" } ], "description": "The audience's share in each age range, or null when the show has none." }, "gender_demographics": { "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "label": { "type": "string" }, "percentage": { "type": "number", "description": "From 0 to 100." } }, "required": [ "label", "percentage" ] } }, { "type": "null" } ], "description": "The audience's share of each gender, or null when the show has none." } }, "required": [ "id", "title", "description", "platforms", "sales_genres", "available_for_sale", "impressions_per_ad", "impressions_per_ad_by_platform", "age_demographics", "gender_demographics" ] } ``` ### MyShowScheduleEpisodeList ```json { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/MyShowScheduleEpisode" } }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "data", "next_cursor" ] } ``` ### MyShowScheduleEpisode ```json { "type": "object", "properties": { "id": { "type": "string" }, "title": { "description": "The episode's title, or null when it has none yet.", "type": [ "string", "null" ] }, "air_date": { "type": "string", "format": "date", "description": "The day the episode airs, as an Eastern calendar day." }, "type": { "anyOf": [ { "type": "string", "enum": [ "full", "trailer", "bonus", "unattributed" ] }, { "type": "null" } ], "description": "The kind of episode, or null for one imported with no kind." }, "aired": { "type": "boolean" }, "slots": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "type": { "type": "string", "enum": [ "generic", "postroll", "postroll-dynamic", "liveread", "dynamic", "bonus", "run-of-network-pre", "run-of-network-mid-7d", "run-of-network-mid-30d", "feed-drop", "trailer-drop", "opening-mention", "embedded-one-hundred-percent-share-of-voice", "integrated-video-preroll-ep-12m", "integrated-video-midroll-ep-12m", "integrated-video-postroll-ep-12m", "preroll", "midroll", "integrated-simulcast-preroll-ep-12m", "integrated-simulcast-midroll-ep-12m", "embedded-audio-preroll-ep-30d", "embedded-audio-midroll-ep-30d", "embedded-audio-preroll-2ep-30d", "embedded-audio-midroll-2ep-30d", "embedded-simulcast-preroll-ep-30d", "embedded-simulcast-midroll-ep-30d", "embedded-simulcast-postroll-ep-30d", "preroll-dynamic", "dynamic-audio-preroll-ros-30d", "midroll-dynamic", "dynamic-audio-midroll-ros-30d", "dynamic-simulcast-preroll-7d", "dynamic-simulcast-midroll-7d", "dynamic-simulcast-preroll-30d", "dynamic-simulcast-midroll-30d", "dynamic-audio-preroll-7d-presenting-sponsorship", "dynamic-audio-midroll-7d-presenting-sponsorship", "dynamic-audio-postroll-7d-presenting-sponsorship", "dynamic-simulcast-preroll-7d-presenting-sponsorship", "dynamic-simulcast-midroll-7d-presenting-sponsorship", "dynamic-simulcast-postroll-7d-presenting-sponsorship", "preroll-presenting-sponsorship", "midroll-presenting-sponsorship", "postroll-presenting-sponsorship", "integrated-simulcast-preroll-ep-12m-presenting-sponsorship", "integrated-simulcast-midroll-ep-12m-presenting-sponsorship", "integrated-simulcast-postroll-ep-12m-presenting-sponsorship", "embedded-audio-preroll-ep-30d-presenting-sponsorship", "embedded-audio-midroll-ep-30d-presenting-sponsorship", "embedded-audio-postroll-ep-30d-presenting-sponsorship", "embedded-simulcast-preroll-ep-30d-presenting-sponsorship", "embedded-simulcast-midroll-ep-30d-presenting-sponsorship", "embedded-simulcast-postroll-ep-30d-presenting-sponsorship", "adaptive-ad-midroll", "social-sponsored-clip" ], "description": "The kind of ad: how it is delivered, where it plays, on which platforms, and for how long it is guaranteed." }, "position": { "anyOf": [ { "type": "string", "enum": [ "preroll", "midroll", "postroll" ] }, { "type": "null" } ], "description": "Where in the episode the ad plays, or null for a type with no fixed position." }, "length_seconds": { "type": "number" }, "state": { "type": "string", "enum": [ "open", "reserved", "sold", "blackout" ], "description": "open: on sale. reserved: held in an advertiser's cart. sold: a booking has bought it. blackout: the show withholds it from sale." }, "blackout_reason": { "description": "Why the show withholds a blackout slot, or null when it gave no reason or the slot is not a blackout.", "type": [ "string", "null" ] } }, "required": [ "id", "type", "position", "length_seconds", "state", "blackout_reason" ] } } }, "required": [ "id", "title", "air_date", "type", "aired", "slots" ] } ``` ### BookingList ```json { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/Booking" } }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "data", "next_cursor" ] } ``` ### Booking ```json { "type": "object", "properties": { "id": { "type": "string" }, "show": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" } }, "required": [ "id", "title" ] }, "brand_name": { "description": "The brand the ad is for, or null when the campaign names none.", "type": [ "string", "null" ] }, "type": { "type": "string", "enum": [ "generic", "postroll", "postroll-dynamic", "liveread", "dynamic", "bonus", "run-of-network-pre", "run-of-network-mid-7d", "run-of-network-mid-30d", "feed-drop", "trailer-drop", "opening-mention", "embedded-one-hundred-percent-share-of-voice", "integrated-video-preroll-ep-12m", "integrated-video-midroll-ep-12m", "integrated-video-postroll-ep-12m", "preroll", "midroll", "integrated-simulcast-preroll-ep-12m", "integrated-simulcast-midroll-ep-12m", "embedded-audio-preroll-ep-30d", "embedded-audio-midroll-ep-30d", "embedded-audio-preroll-2ep-30d", "embedded-audio-midroll-2ep-30d", "embedded-simulcast-preroll-ep-30d", "embedded-simulcast-midroll-ep-30d", "embedded-simulcast-postroll-ep-30d", "preroll-dynamic", "dynamic-audio-preroll-ros-30d", "midroll-dynamic", "dynamic-audio-midroll-ros-30d", "dynamic-simulcast-preroll-7d", "dynamic-simulcast-midroll-7d", "dynamic-simulcast-preroll-30d", "dynamic-simulcast-midroll-30d", "dynamic-audio-preroll-7d-presenting-sponsorship", "dynamic-audio-midroll-7d-presenting-sponsorship", "dynamic-audio-postroll-7d-presenting-sponsorship", "dynamic-simulcast-preroll-7d-presenting-sponsorship", "dynamic-simulcast-midroll-7d-presenting-sponsorship", "dynamic-simulcast-postroll-7d-presenting-sponsorship", "preroll-presenting-sponsorship", "midroll-presenting-sponsorship", "postroll-presenting-sponsorship", "integrated-simulcast-preroll-ep-12m-presenting-sponsorship", "integrated-simulcast-midroll-ep-12m-presenting-sponsorship", "integrated-simulcast-postroll-ep-12m-presenting-sponsorship", "embedded-audio-preroll-ep-30d-presenting-sponsorship", "embedded-audio-midroll-ep-30d-presenting-sponsorship", "embedded-audio-postroll-ep-30d-presenting-sponsorship", "embedded-simulcast-preroll-ep-30d-presenting-sponsorship", "embedded-simulcast-midroll-ep-30d-presenting-sponsorship", "embedded-simulcast-postroll-ep-30d-presenting-sponsorship", "adaptive-ad-midroll", "social-sponsored-clip" ], "description": "The kind of ad: how it is delivered, where it plays, on which platforms, and for how long it is guaranteed." }, "position": { "anyOf": [ { "type": "string", "enum": [ "preroll", "midroll", "postroll" ] }, { "type": "null" } ], "description": "Where in the episode the ad plays, or null for a type with no fixed position." }, "length_seconds": { "description": "How long the ad runs, or null for a type with no length, such as a social post.", "type": [ "number", "null" ] }, "air_date": { "type": "string", "format": "date", "description": "The day the ad airs or the post goes up, as an Eastern calendar day." }, "aired": { "type": "boolean", "description": "Whether the ad has aired. An episode ad counts as aired once its aircheck is in." }, "episode": { "anyOf": [ { "type": "object", "properties": { "id": { "type": "string" }, "title": { "description": "The episode's title, or null when it has none yet.", "type": [ "string", "null" ] } }, "required": [ "id", "title" ] }, { "type": "null" } ], "description": "The episode the ad runs in, or null for a booking that sits on no episode, such as a social post." }, "booked_impressions": { "type": "number", "description": "The impressions the booking was sold at, across its platforms." }, "booked_impressions_by_platform": { "type": "array", "items": { "type": "object", "properties": { "platform": { "type": "string", "description": "A listening platform, or a social network for a social post." }, "impressions": { "type": "number" } }, "required": [ "platform", "impressions" ] } }, "delivery": { "type": "object", "properties": { "delivered_impressions": { "type": "integer" }, "progress_percentage": { "type": "number", "description": "Delivered impressions as a share of booked impressions. 100 is fully delivered, and it can pass 100." }, "estimated": { "type": "boolean", "description": "True when impressions are not tracked for this booking, so both figures are modeled from the time since it aired." } }, "required": [ "delivered_impressions", "progress_percentage", "estimated" ] }, "script": { "type": "object", "properties": { "status": { "type": "string", "enum": [ "none", "not_yet_open", "open" ], "description": "none: the advertiser has written no script yet. not_yet_open: a creator is reading before the script's reading window. open: the script can be read." }, "opens_date": { "anyOf": [ { "type": "string", "format": "date" }, { "type": "null" } ], "description": "The Eastern calendar day a script that is not_yet_open opens to the creator, 30 days before the ad airs. Null otherwise." }, "updated_at": { "anyOf": [ { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" }, { "type": "null" } ], "description": "When the script last changed, or null when it never has." }, "text": { "description": "The script as Markdown. Only get_booking returns it, and only when status is open; a list always sends null.", "type": [ "string", "null" ] }, "url": { "description": "The link the host sends listeners to.", "type": [ "string", "null" ] }, "promo_code": { "type": [ "string", "null" ] }, "notes": { "description": "The advertiser's notes for the host, as Markdown.", "type": [ "string", "null" ] }, "pinned_comment": { "description": "The comment to pin under a video, as Markdown.", "type": [ "string", "null" ] } }, "required": [ "status", "opens_date", "updated_at", "text", "url", "promo_code", "notes", "pinned_comment" ], "description": "The link, promo code, notes, and pinned comment are null for a creator until the script opens." }, "aircheck": { "anyOf": [ { "type": "object", "properties": { "submitted": { "type": "boolean" }, "due_date": { "type": "string", "format": "date", "description": "The day the aircheck is due, as an Eastern calendar day." }, "overdue": { "type": "boolean" }, "requires_pre_approval": { "type": "boolean", "description": "Whether the advertiser approves the aircheck before the ad airs." }, "approval_status": { "type": "string", "enum": [ "none", "approved", "rejected" ] }, "url": { "description": "The page that plays the aircheck, or null until one is submitted.", "type": [ "string", "null" ] } }, "required": [ "submitted", "due_date", "overdue", "requires_pre_approval", "approval_status", "url" ] }, { "type": "null" } ], "description": "The recording that proves the ad ran. Null for a social post, which is proven by its post links." }, "social_post": { "anyOf": [ { "type": "object", "properties": { "status": { "type": "string", "enum": [ "upcoming", "overdue", "posted" ], "description": "posted once every social network has a link; overdue when the post's day has passed without them." }, "links": { "type": "array", "items": { "type": "object", "properties": { "platform": { "type": "string" }, "url": { "description": "The link to the post on this social network, or null until the creator adds it.", "type": [ "string", "null" ] } }, "required": [ "platform", "url" ] } } }, "required": [ "status", "links" ] }, { "type": "null" } ], "description": "Null unless the booking is a social post." }, "campaign": { "anyOf": [ { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "name" ] }, { "type": "null" } ], "description": "Advertisers only; null for a creator." }, "cost": { "anyOf": [ { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ] }, { "type": "null" } ], "description": "What the booking costs the advertiser, after any adjustment. Advertisers only; null for a creator." }, "cpm": { "anyOf": [ { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ] }, { "type": "null" } ], "description": "The price per thousand impressions the booking was sold at. Advertisers only; null for a creator." }, "requirements": { "anyOf": [ { "type": "object", "properties": { "rules": { "type": "array", "items": { "type": "string" }, "description": "The campaign rules a creator who schedules the ad applies by hand. Empty when Gumball schedules it." }, "ad_ops_instructions": { "type": [ "string", "null" ] } }, "required": [ "rules", "ad_ops_instructions" ] }, { "type": "null" } ], "description": "Creators only; null for an advertiser." }, "payout": { "anyOf": [ { "type": "object", "properties": { "amount": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "What the show earns for this booking, after fees and adjustments." }, "paid": { "type": "boolean" }, "paid_at": { "anyOf": [ { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" }, { "type": "null" } ] }, "expected_date": { "anyOf": [ { "type": "string", "format": "date" }, { "type": "null" } ], "description": "The Eastern calendar day the payout is due, or null while it is held or once it is paid." }, "status": { "type": "string", "description": "Where the payout stands, in words, as the payments page shows it. For reading, not for branching on." }, "covered_by_guarantee": { "type": "boolean", "description": "True when a minimum guarantee payout already covered this booking, so its amount is not paid again." } }, "required": [ "amount", "paid", "paid_at", "expected_date", "status", "covered_by_guarantee" ] }, { "type": "null" } ], "description": "Creators with financial access on the show only; null for everyone else." } }, "required": [ "id", "show", "brand_name", "type", "position", "length_seconds", "air_date", "aired", "episode", "booked_impressions", "booked_impressions_by_platform", "delivery", "script", "aircheck", "social_post", "campaign", "cost", "cpm", "requirements", "payout" ] } ``` ### InvoiceList ```json { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/Invoice" } }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "data", "next_cursor" ] } ``` ### Invoice ```json { "type": "object", "properties": { "id": { "type": "string" }, "campaign": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "name" ] }, "number": { "description": "The invoice number printed on the invoice, or null when it has none.", "type": [ "string", "null" ] }, "status": { "type": "string", "enum": [ "unpaid", "paid", "cancelled" ] }, "amount": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "The invoice's total." }, "created_at": { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" }, "paid_at": { "anyOf": [ { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" }, { "type": "null" } ] }, "url": { "description": "A gumball.fm link that opens the invoice where it can be paid, for a signed-in member of the campaign's team. Null for an invoice with no online copy.", "type": [ "string", "null" ] } }, "required": [ "id", "campaign", "number", "status", "amount", "created_at", "paid_at", "url" ] } ``` ### PayoutList ```json { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/Payout" } }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "data", "next_cursor" ] } ``` ### Payout ```json { "type": "object", "properties": { "id": { "type": "string" }, "show": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" } }, "required": [ "id", "title" ] }, "amount": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "The total sent to the show's members in this payout." }, "sent_at": { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$", "description": "When Gumball sent the payout." }, "description": { "description": "What Gumball told the show the payout is for, or null when it said nothing.", "type": [ "string", "null" ] }, "one_time": { "type": "boolean", "description": "True for a payout that is not for bookings, such as a bonus or a correction." }, "reversed": { "type": "boolean", "description": "True when Gumball took the payout back after sending it." }, "booking_ids": { "type": "array", "items": { "type": "string" }, "description": "The bookings the payout paid for; empty for most one-time payouts. An adaptive ad's ID is listed too, though get_booking does not return adaptive ads." } }, "required": [ "id", "show", "amount", "sent_at", "description", "one_time", "reversed", "booking_ids" ] } ``` ### CampaignList ```json { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/Campaign" } }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "data", "next_cursor" ] } ``` ### Campaign ```json { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "brand": { "type": "object", "properties": { "name": { "description": "The brand the campaign advertises, or null while Gumball is still looking the brand up.", "type": [ "string", "null" ] }, "website": { "type": [ "string", "null" ] } }, "required": [ "name", "website" ] }, "description": { "type": "string" }, "category": { "type": "string", "enum": [ "none", "adult-education", "adult-entertainment", "adult-toys", "apparel-accessories", "apparel-clothing", "apparel-shoes", "apparel-underwear-bras-socks", "automotive", "baby-diapers", "baby-food", "baby-gear", "beauty-cosmetics", "beauty-grooming", "beauty-haircare", "beauty-skincare", "beauty-subscription-box", "business-nonprofit", "cbd", "coupons-rewards", "cpg", "dental-care", "department-store", "drinkware", "education", "eldercare", "electronics", "entertainment-audio", "entertainment-books", "entertainment-film", "entertainment-podcast", "entertainment-streaming-service", "entertainment-tv", "feminine-products", "finance", "finance-investing", "finance-crypto", "food-beverages-alcohol", "food-beverages-confections-gift", "food-beverages-delivery", "food-beverages-meal-subscription", "food-beverages-nonalcoholic", "furniture", "gambling", "gaming-toys", "gifts", "health-fitness-allergies", "health-fitness-exercise-equipment", "health-fitness-hydration", "health-fitness-meditation-mindfulness", "health-fitness-mental-health", "health-fitness-online-program", "health-fitness-pharmaceutical", "health-fitness-sexual-health", "health-fitness-vision", "health-fitness-vitamins-supplements", "health-fitness-weight-loss-product", "home-furnishings", "home-hygiene", "home-services", "insurance", "lifestyle-subscription-box", "luggage", "pet-food", "pet-health", "pet-subscription-box", "sleep-products", "software-apps-ai", "software-apps-automotive-marketplace", "software-apps-dating", "software-apps-human-resource-services", "software-apps-privacy", "software-apps-scheduling", "software-apps-web-services", "survey", "stamps", "telecom", "travel-services", "thc", "ticketing", "tourism", "vapes-ecigarettes", "wedding-services" ], "description": "What the campaign advertises. Shows can exclude a category, and a show takes one advertiser per category on an episode." }, "created_at": { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" }, "ads": { "type": "object", "properties": { "booked": { "type": "number", "description": "Ads Gumball has booked for the campaign." }, "reserved": { "type": "number", "description": "Slots held in the campaign's reserved carts." }, "delivered": { "type": "number", "description": "Booked ads that have aired." } }, "required": [ "booked", "reserved", "delivered" ], "description": "Counts Gumball keeps for the campaign. They can trail a change by a few minutes. Use list_bookings for the bookings themselves." }, "carts": { "type": "array", "items": { "$ref": "#/components/schemas/Cart" }, "description": "Your own carts on this campaign that are open or reserved, oldest first. At most one is open." } }, "required": [ "id", "name", "brand", "description", "category", "created_at", "ads", "carts" ] } ``` ### Cart ```json { "type": "object", "properties": { "id": { "type": "string" }, "campaign_id": { "type": "string" }, "status": { "type": "string", "enum": [ "open", "reserved" ], "description": "open: slots can be added and removed, and nothing is held. reserved: Gumball is holding the slots while the order is confirmed, and the cart is locked until it is released." }, "reserved_at": { "anyOf": [ { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" }, { "type": "null" } ], "description": "When the cart was reserved, or null for an open cart. A reserve has no end time: it stays until it is released or Gumball books it." }, "slots": { "type": "array", "items": { "$ref": "#/components/schemas/CartSlot" }, "description": "Earliest air date first." }, "subtotal": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "The price of every slot in the cart." }, "impressions": { "type": "number", "description": "The impressions of every slot in the cart." } }, "required": [ "id", "campaign_id", "status", "reserved_at", "slots", "subtotal", "impressions" ] } ``` ### CartSlot ```json { "type": "object", "properties": { "id": { "type": "string" }, "show": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" } }, "required": [ "id", "title" ] }, "air_date": { "type": "string", "format": "date", "description": "The day the slot's episode airs, as an Eastern calendar day." }, "episode": { "type": "object", "properties": { "title": { "description": "The episode's title, or null when it has none yet.", "type": [ "string", "null" ] } }, "required": [ "title" ] }, "type": { "type": "string", "enum": [ "generic", "postroll", "postroll-dynamic", "liveread", "dynamic", "bonus", "run-of-network-pre", "run-of-network-mid-7d", "run-of-network-mid-30d", "feed-drop", "trailer-drop", "opening-mention", "embedded-one-hundred-percent-share-of-voice", "integrated-video-preroll-ep-12m", "integrated-video-midroll-ep-12m", "integrated-video-postroll-ep-12m", "preroll", "midroll", "integrated-simulcast-preroll-ep-12m", "integrated-simulcast-midroll-ep-12m", "embedded-audio-preroll-ep-30d", "embedded-audio-midroll-ep-30d", "embedded-audio-preroll-2ep-30d", "embedded-audio-midroll-2ep-30d", "embedded-simulcast-preroll-ep-30d", "embedded-simulcast-midroll-ep-30d", "embedded-simulcast-postroll-ep-30d", "preroll-dynamic", "dynamic-audio-preroll-ros-30d", "midroll-dynamic", "dynamic-audio-midroll-ros-30d", "dynamic-simulcast-preroll-7d", "dynamic-simulcast-midroll-7d", "dynamic-simulcast-preroll-30d", "dynamic-simulcast-midroll-30d", "dynamic-audio-preroll-7d-presenting-sponsorship", "dynamic-audio-midroll-7d-presenting-sponsorship", "dynamic-audio-postroll-7d-presenting-sponsorship", "dynamic-simulcast-preroll-7d-presenting-sponsorship", "dynamic-simulcast-midroll-7d-presenting-sponsorship", "dynamic-simulcast-postroll-7d-presenting-sponsorship", "preroll-presenting-sponsorship", "midroll-presenting-sponsorship", "postroll-presenting-sponsorship", "integrated-simulcast-preroll-ep-12m-presenting-sponsorship", "integrated-simulcast-midroll-ep-12m-presenting-sponsorship", "integrated-simulcast-postroll-ep-12m-presenting-sponsorship", "embedded-audio-preroll-ep-30d-presenting-sponsorship", "embedded-audio-midroll-ep-30d-presenting-sponsorship", "embedded-audio-postroll-ep-30d-presenting-sponsorship", "embedded-simulcast-preroll-ep-30d-presenting-sponsorship", "embedded-simulcast-midroll-ep-30d-presenting-sponsorship", "embedded-simulcast-postroll-ep-30d-presenting-sponsorship", "adaptive-ad-midroll", "social-sponsored-clip" ], "description": "The kind of ad: how it is delivered, where it plays, on which platforms, and for how long it is guaranteed." }, "position": { "anyOf": [ { "type": "string", "enum": [ "preroll", "midroll", "postroll" ] }, { "type": "null" } ], "description": "Where in the episode the ad plays, or null for a type with no fixed position." }, "length_seconds": { "type": "number" }, "price": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "What the slot costs in this cart: its impressions at its CPM." }, "cpm": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "The slot's price per thousand impressions in this cart." }, "impressions": { "type": "number", "description": "The impressions the slot is sold at, across its platforms. It is the figure on the show's rate card, not a measurement." } }, "required": [ "id", "show", "air_date", "episode", "type", "position", "length_seconds", "price", "cpm", "impressions" ] } ``` ### CartSlotsAdded ```json { "type": "object", "properties": { "cart": { "$ref": "#/components/schemas/Cart" }, "results": { "type": "array", "items": { "type": "object", "properties": { "slot_id": { "type": "string" }, "result": { "type": "string", "enum": [ "added", "already_in_cart", "unavailable", "not_found" ], "description": "added: the slot is now in the cart. already_in_cart: it was there before. unavailable: it can't be booked for this campaign. not_found: no such slot." }, "reason": { "description": "Why the slot was not added, for a person to read. Null when it was added or already there.", "type": [ "string", "null" ] } }, "required": [ "slot_id", "result", "reason" ] }, "description": "One per slot ID sent, in the order sent." } }, "required": [ "cart", "results" ] } ``` ### CartSlotsRemoved ```json { "type": "object", "properties": { "cart": { "anyOf": [ { "$ref": "#/components/schemas/Cart" }, { "type": "null" } ], "description": "The cart after the removal, or null when its last slot was removed and the cart was discarded." }, "results": { "type": "array", "items": { "type": "object", "properties": { "slot_id": { "type": "string" }, "result": { "type": "string", "enum": [ "removed", "not_in_cart" ] } }, "required": [ "slot_id", "result" ] }, "description": "One per slot ID sent, in the order sent." } }, "required": [ "cart", "results" ] } ``` ### CartReserved ```json { "type": "object", "properties": { "cart": { "$ref": "#/components/schemas/Cart" }, "swapped_slots": { "type": "array", "items": { "type": "object", "properties": { "original_slot_id": { "type": "string", "description": "The slot that was in the cart and could no longer be booked." }, "slot_id": { "type": "string", "description": "The slot of the same type on the same episode that was reserved in its place." } }, "required": [ "original_slot_id", "slot_id" ] }, "description": "Empty unless a slot was taken by someone else after it was added and a like slot on the same episode was open." } }, "required": [ "cart", "swapped_slots" ] } ``` ### CampaignBuild ```json { "type": "object", "properties": { "id": { "type": "string" }, "status": { "type": "string", "enum": [ "pending", "done", "failed" ], "description": "pending: Gumball is still building; ask again in a few seconds. done: the shows, slots, and summary are ready. failed: the build could not be made; start another." }, "brand_website": { "type": "string" }, "budget": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ] }, "start_date": { "type": "string", "format": "date" }, "end_date": { "type": "string", "format": "date" }, "platform": { "type": "string", "enum": [ "both", "any", "podcast", "youtube" ] }, "created_at": { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" }, "summary": { "description": "Why Gumball picked these shows, as Markdown. Null until the build is done.", "type": [ "string", "null" ] }, "shows": { "type": "array", "items": { "type": "object", "properties": { "show": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" } }, "required": [ "id", "title" ] }, "match_score": { "description": "How well the show fits the brand, from 0 to 100.", "type": [ "number", "null" ] }, "cost": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "The price of this show's slots in the build." }, "impressions": { "type": "number" }, "slots": { "type": "array", "items": { "$ref": "#/components/schemas/CartSlot" }, "description": "The slots Gumball picked on this show, earliest air date first. Pass their IDs to add_cart_slots, or the build's ID to create_campaign." } }, "required": [ "show", "match_score", "cost", "impressions", "slots" ] }, "description": "Best match first. Empty until the build is done." }, "total_cost": { "type": "object", "properties": { "amount": { "type": "integer", "description": "In whole cents." }, "currency": { "type": "string", "enum": [ "usd" ] } }, "required": [ "amount", "currency" ], "description": "The price of every slot in the build." }, "total_impressions": { "type": "number" } }, "required": [ "id", "status", "brand_website", "budget", "start_date", "end_date", "platform", "created_at", "summary", "shows", "total_cost", "total_impressions" ] } ``` ### MyShowScheduleSlotsChanged ```json { "type": "object", "properties": { "data": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "type": { "type": "string", "enum": [ "generic", "postroll", "postroll-dynamic", "liveread", "dynamic", "bonus", "run-of-network-pre", "run-of-network-mid-7d", "run-of-network-mid-30d", "feed-drop", "trailer-drop", "opening-mention", "embedded-one-hundred-percent-share-of-voice", "integrated-video-preroll-ep-12m", "integrated-video-midroll-ep-12m", "integrated-video-postroll-ep-12m", "preroll", "midroll", "integrated-simulcast-preroll-ep-12m", "integrated-simulcast-midroll-ep-12m", "embedded-audio-preroll-ep-30d", "embedded-audio-midroll-ep-30d", "embedded-audio-preroll-2ep-30d", "embedded-audio-midroll-2ep-30d", "embedded-simulcast-preroll-ep-30d", "embedded-simulcast-midroll-ep-30d", "embedded-simulcast-postroll-ep-30d", "preroll-dynamic", "dynamic-audio-preroll-ros-30d", "midroll-dynamic", "dynamic-audio-midroll-ros-30d", "dynamic-simulcast-preroll-7d", "dynamic-simulcast-midroll-7d", "dynamic-simulcast-preroll-30d", "dynamic-simulcast-midroll-30d", "dynamic-audio-preroll-7d-presenting-sponsorship", "dynamic-audio-midroll-7d-presenting-sponsorship", "dynamic-audio-postroll-7d-presenting-sponsorship", "dynamic-simulcast-preroll-7d-presenting-sponsorship", "dynamic-simulcast-midroll-7d-presenting-sponsorship", "dynamic-simulcast-postroll-7d-presenting-sponsorship", "preroll-presenting-sponsorship", "midroll-presenting-sponsorship", "postroll-presenting-sponsorship", "integrated-simulcast-preroll-ep-12m-presenting-sponsorship", "integrated-simulcast-midroll-ep-12m-presenting-sponsorship", "integrated-simulcast-postroll-ep-12m-presenting-sponsorship", "embedded-audio-preroll-ep-30d-presenting-sponsorship", "embedded-audio-midroll-ep-30d-presenting-sponsorship", "embedded-audio-postroll-ep-30d-presenting-sponsorship", "embedded-simulcast-preroll-ep-30d-presenting-sponsorship", "embedded-simulcast-midroll-ep-30d-presenting-sponsorship", "embedded-simulcast-postroll-ep-30d-presenting-sponsorship", "adaptive-ad-midroll", "social-sponsored-clip" ], "description": "The kind of ad: how it is delivered, where it plays, on which platforms, and for how long it is guaranteed." }, "position": { "anyOf": [ { "type": "string", "enum": [ "preroll", "midroll", "postroll" ] }, { "type": "null" } ], "description": "Where in the episode the ad plays, or null for a type with no fixed position." }, "length_seconds": { "type": "number" }, "state": { "type": "string", "enum": [ "open", "reserved", "sold", "blackout" ], "description": "open: on sale. reserved: held in an advertiser's cart. sold: a booking has bought it. blackout: the show withholds it from sale." }, "blackout_reason": { "description": "Why the show withholds a blackout slot, or null when it gave no reason or the slot is not a blackout.", "type": [ "string", "null" ] } }, "required": [ "id", "type", "position", "length_seconds", "state", "blackout_reason" ] }, "description": "Each slot the request changed, in the order sent." } }, "required": [ "data" ] } ``` ### YoutubeAircheckSubmitted ```json { "type": "object", "properties": { "booking": { "$ref": "#/components/schemas/Booking" }, "warning": { "anyOf": [ { "type": "string", "enum": [ "too_short", "too_long", "duplicate" ] }, { "type": "null" } ], "description": "Null for a clean aircheck. Otherwise the aircheck was accepted but marked for Gumball's review: too_short is under the slot's length, too_long is over five times it, and duplicate is the same clip as another booking's aircheck. Replace it on the website." } }, "required": [ "booking", "warning" ] } ``` ### VettingRequestList ```json { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/VettingRequest" } }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "data", "next_cursor" ] } ``` ### VettingRequest ```json { "type": "object", "properties": { "id": { "type": "string" }, "status": { "type": "string", "enum": [ "requested", "approved", "declined" ], "description": "requested: waiting on the show's answer. approved or declined: the show has answered." }, "brand": { "type": "object", "properties": { "name": { "type": "string" }, "website": { "type": [ "string", "null" ] } }, "required": [ "name", "website" ] }, "requested_at": { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" }, "question": { "description": "A question Gumball asked with the request, or null. A request with a question needs a written answer.", "type": [ "string", "null" ] }, "answer": { "description": "What the show wrote with its answer, or null.", "type": [ "string", "null" ] } }, "required": [ "id", "status", "brand", "requested_at", "question", "answer" ] } ```