{"id":128689,"plugin_id":"plugin_asdk_app_6ad0b9d4ad808191b0e1f669c6b2fc02","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-12-01T18:15:05.187Z","digest":"f169f9a88fce42dea129bb1f317e6449b1614bec259a4fc8ac392e97c26f4f33","against":null,"payload":{"description":"Run and report on paid ads with Postproxy across Meta (Facebook and Instagram), Google Ads, LinkedIn, Pinterest, and TikTok - boost a published post, create an ad from your own creative, pause or resume campaigns, change budgets and targeting, manage keywords, and report spend and results. Use when the user wants to boost or promote a post, start or stop an ad or campaign, change an ad budget or audience, or asks how their ads are performing or what they spent.","included_files":[],"name":"paid-ads","skill_md_contents":"---\nname: paid-ads\ndescription: Run and report on paid ads with Postproxy across Meta (Facebook and Instagram), Google Ads, LinkedIn, Pinterest, and TikTok - boost a published post, create an ad from your own creative, pause or resume campaigns, change budgets and targeting, manage keywords, and report spend and results. Use when the user wants to boost or promote a post, start or stop an ad or campaign, change an ad budget or audience, or asks how their ads are performing or what they spent.\n---\n\n# Paid ads\n\nPostproxy runs ads on Meta, Google, LinkedIn, Pinterest, and TikTok through one set of `ads_*` tools. Ads spend the user's real money, so read first, propose second, and write only after the user confirms the exact budget.\n\n## 1. Find the ad account\n\n- Call `ads_accounts_list`. Each row is one ad account with its `platform` (`meta_ads`, `google_ads`, `linkedin_ads`, `pinterest_ads`, `tiktok_ads`), `currency`, and `usable`. The `id` of a row is the `ad_account_id` every other tool takes.\n- Always pass Postproxy ids (the `id` field of an ad account, campaign, ad set, or ad). The `platform_*` fields are the network's own ids, shown for reference only; the tools reject them.\n- No ad accounts: an ads connection is separate from the profiles used for publishing. Connect one with `profile_groups_initialize_connection` (`platform` `meta_ads`, `google_ads`, `pinterest_ads`, or `tiktok_ads`) and give the user the URL, or have them connect it on the Profiles page at https://app.postproxy.dev. LinkedIn Ads connects from the app only.\n- Before the first ad on an account, call `ads_account_health`. If `ready` is false, tell the user what the `blockers` are (usually a missing payment method) and stop: they fix that in the network's own ads manager.\n\n## 2. See what is running\n\n- `ads_tree` shows campaigns with their ad sets and ads nested: the quickest overview. Filter with `ad_account_id`, `status`, or `has_delivery: true`; sort with `spend_desc`.\n- `ads_campaigns_list`, `ads_ad_sets_list`, `ads_ads_list` for flat lists. `post_id` on `ads_ads_list` finds the ads promoting a Postproxy post.\n- Names differ per network: a Google ad set is an ad group; on LinkedIn a campaign is a campaign group and an ad set is a LinkedIn campaign; a Pinterest ad is a promoted Pin.\n- `ads_ad_review` explains why an ad is not delivering (pending, rejected, and the reasons).\n\n## 3. Boost a published post\n\n`ads_post_boost` turns a post into an ad: Facebook and Instagram posts (Meta), LinkedIn Page posts, Pins, and TikTok posts. Google Ads cannot boost posts.\n\n1. Find the post with `history_list` (or use the ID the user gives) and pass it as `post_id`, with the `ad_account_id` of the matching network.\n2. Agree on: daily or lifetime `budget` in the ad account's currency, how long it runs (`schedule.end`; required for a lifetime budget), who sees it (`targeting`), and the `goal` (`engagement`, `traffic`, `awareness`, `video_views`).\n3. Targeting ids come from `ads_targeting_search` on the same ads profile (interests, locations, languages; LinkedIn also job functions, seniorities, industries). Never invent ids. Countries are plain ISO codes in `targeting.locations`. LinkedIn, Pinterest, and TikTok require locations.\n4. Show a summary: post, ad account, budget and currency, dates, audience, goal. Ask for confirmation.\n5. On Meta and Google, run once with `validate_only: true` to catch errors without creating anything.\n6. Create it with `status: \"paused\"` unless the user said to start right away, and pass an `idempotency_key`. Reuse the same key if you retry, so the ad is not created twice.\n\nTikTok boosts are Spark Ads. If the call says it cannot tell which TikTok account owns the post, call `ads_account_identities` and pass the right one as `platforms.tiktok_ads.identity_id` and `identity_type`.\n\n## 4. Create an ad from new creative\n\n`ads_ad_create` builds the campaign, ad set, and ad in one call. Media must be public URLs. What each network needs:\n\n- **Meta:** `page_id`, `link`, and one image or video in `media` (or `carousel_cards`), plus `headline` and `body`.\n- **Google Search:** `final_url`, 3-15 `headlines` (30 characters each), 2-4 `descriptions` (90 characters each), `keywords`, and a `budget`. Use `ads_keyword_ideas_generate` to suggest keywords with search volume.\n- **Google Performance Max / Display:** `campaign_type`, `final_url`, `business_name`, `headlines`, `long_headlines`, `descriptions`, and image `assets`.\n- **LinkedIn:** `media` with one image, video, or document, `link`, `headline`, `body`; or `carousel_cards`.\n- **Pinterest:** `board_id` (a board from `profiles_placements`), `link`, and one image or video, or `carousel_cards`.\n- **TikTok:** one video URL (or several images for a carousel), `body`, and `platforms.tiktok_ads.identity_id` from `ads_account_identities`.\n\nConfirm and create the same way as a boost: summary, `validate_only` where available, `status: \"paused\"`, `idempotency_key`. To add an ad to something that exists, pass `attach_to: { campaign_id }` or `attach_to: { ad_set_id }`; with an ad set, leave out budget, bid, and targeting.\n\n## 5. Change what is running\n\n- Stop spend: `ads_ad_pause`, `ads_ad_set_pause`, `ads_campaign_pause`. Pausing is safe; do it as soon as the user asks.\n- Start spend: `ads_ad_resume` and the ad set and campaign versions, or `ads_campaigns_update_statuses` for many campaigns. Confirm first: resuming spends money. A paused parent still blocks delivery.\n- Budget, bid, schedule, targeting: `ads_campaign_update`, `ads_ad_set_update`, `ads_ad_update`. Say the old and new value and get a yes before changing a budget. New `targeting` replaces the old one completely, so read the current targeting first and send the full object.\n- If a tool answers that the network does not support the change at that level, try the level that owns the setting: budgets live on the campaign for Pinterest and on the ad set for LinkedIn and TikTok.\n- Delete (`ads_ad_delete`, `ads_ad_set_delete`, `ads_campaign_delete`) cannot be undone. Prefer pausing unless the user asks to delete, and confirm the name of what will be removed.\n- Google keywords: `ads_keywords_list`, `ads_keywords_create`, `ads_keyword_update`, `ads_negative_keywords_create`, and `ads_search_terms_list` to see what people actually searched for.\n\n## 6. Report results\n\n- One object: `ads_campaign_analytics`, `ads_ad_set_analytics`, `ads_ad_analytics` with `from` and `to` dates.\n- Many at once: `ads_insights` with `level` and `ad_account_id`: one row per object per day, with totals.\n- `breakdowns` split results by audience (age, gender, country, placement; job title and seniority on LinkedIn). Breakdowns a network does not offer come back in `unsupported_breakdowns`; say so instead of guessing.\n- Report spend with the account's currency, then impressions, clicks, CTR, cost per click, and conversions when present. Compare ads within the same network; costs are not comparable across networks without saying so.\n- For how the organic post itself did, use the performance-report skill.\n\n## Rules\n\n- Never create, resume, or raise the budget of an ad without the user confirming the amount and currency in this conversation.\n- Only report numbers the tools returned. Metrics on a new ad are empty until it has delivered.\n- An ad goes through the network's review before it delivers; `pending_review` is normal for the first hours.\n- Billing, invoices, and payment methods are handled in each network's ads manager, not here.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}