search. Then pass one focused async arrow function to execute.
For campaign and creative actions, follow the reviewed Ads draft workflow. Save and review first, publish separately, then poll the durable job and verify each result.
Find your identity and stores
Search input:user and organizations[]. Accessible stores appear under each organization.
A standard store-scoped fallback key needs no organization input.
With Bily Connect, add organizationId to execute only when the user explicitly selects one accessible organization:
Explain a revenue change
Search for the right comparison operation:See which analytics data is available
result. The message appears in logs.
The generic SQL catalog currently contains only Shopify customer_ltv and cohorts datasets. Websites return an empty catalog. Use the dedicated analytics helpers, such as getRevenueTrend, for website and advertising metrics.
Complete and verify a supported action
For a request such as refreshing connected advertising accounts, follow this sequence:- Call
searchwith the exact intent and store. - Review
riskTier,approvalPolicy, preconditions, and verification guidance. - Show the proposed function to the user.
- Get explicit approval in the client.
- Run one focused action, then verify it with a read.
Preview the pending saved-image request flow
The accepted-first helper family is a pending contract, not a claim of current availability. Once the deployed catalog supports it, use the source-filtered read to recover unresolved work and inspect current admission before preparing a fresh request. Keep the client’s single-send lock across that read. Preserve any existing ID or unknown key first. Only after explicit generation approval and verified current availability may the caller persist a fresh prefixed key and send onerequestStatic call. The helper must receive that saved key unchanged. A lost response means same-key findGenerationRequest recovery, followed by getGenerationRequest and the linked getGenerated read; it does not authorize another POST.
Dedicated Demand Gen IMAGE read/edit helpers are also pending. Read the exact advertiser selection and current fingerprint, save a reviewed paused action draft, publish separately, and verify it. They do not upload a generated image or clone an arbitrary source ad. See the bounded image profile.