Make a page for an ad
soclo_ad_pages_createSpends the quoted credits once to write a page that matches the ad and save it on the owner’s website, out of the menu and not linked from any ad. Only after the owner approved the quote. One page per ad version: repeating returns the same page or operation and never charges twice. Follow the returned opId until it settles, then preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad | No | The ad words. Required for a draft ad; for a live ad they only fill gaps. | |
| adId | No | A live ad id. Soclo reads the ad itself; the page matches its headline, offer and button. | |
| credits | Yes | The credits from soclo_ad_pages_quote, exactly as shown to the owner. | |
| draftId | No | An id for an ad still being written, so the same draft maps to the same page. | |
| platform | Yes | The ad platform, as soclo_ads_* tools name it (for example facebook, google, tiktok). For a draft ad, the platform it will run on. | |
| accountId | No | Connected ads account id (from soclo_ads_* tools). Required with adId. | |
| adAccountId | No | Advertiser / ad account id, when the platform has one. | |
| libraryAssetId | No | Optional: a picture already in the owner’s Library to show on the page. A new picture is never made here. | |
| pricingVersion | Yes | The pricingVersion from soclo_ad_pages_quote. |