API reference · version 1.0.0Fusio · public API
Loading the address list…
Addresses in this part
A short list of addresses. Click an address and we show it to you above.
- post/v1/ad-deployments/{deployment}/google-ads/syncRead a campaign from Google AdsReads the campaign from Google Ads, saves what Fusio learned and returns both: the deployment and the campaign as Google Ads has it. Nothing changes in Google Ads. When you must connect Google Ads again, you get 409.
- post/v1/ad-deployments/{deployment}/google-ads/reconcileRepair an unfinished sendingUse it when sending to Google Ads stopped in the middle and the deployment has status reconciliation_required. Fusio finds the paused campaign it made in Google Ads, checks that every part is there and links it again. It returns the deployment and the campaign.
- post/v1/ad-deployments/{deployment}/google-ads/applySend changes to Google AdsSends what you changed in the Fusio campaign since the last sending to Google Ads: texts, links, keywords, ad groups and settings. It returns the deployment. See hasUnsynchronizedChanges and canApplyChanges first.
- post/v1/ad-deployments/{deployment}/google-ads/statusStart or pause a Google Ads campaignStarts or pauses the campaign in Google Ads, with its ad groups, ads and keywords, and returns the deployment and the campaign.
- get/v1/ads/gridList ads in a tableReturns your ads page by page, ready for a table, with problems and the numbers of the last 30 days. Use filter, sort, page and perPage as the shape of the list says.
- get/v1/ads/optionsList ads for a pickerReturns ads as short items for a picker.
- get/v1/ads/board/summaryCount the ads on the boardReturns how many ads are in each column (state) of the board. Use the same filter as for the columns.
- get/v1/ads/board/{status}List the ads of one board columnReturns the ads of one state, page by page. Send nextCursor back as cursor to load more.
- post/v1/ads/generateLet AI write adsStarts AI writing ads in the background. The new ads are drafts; nothing goes to the ad network. The answer is 202 with the job.
- get/v1/ads/issue-countsCount ads with problemsReturns how many of your ads have a problem on each network, like a rejected or failed ad.
- get/v1/ads/overviewShow the ads overviewReturns how your ads on one network did in a range of days: spend, impressions, clicks, the leads and deals they brought, and the numbers of each account and ad.
- get/v1/ads/{ad}/performanceShow the numbers of an adReturns the spend, impressions, clicks and conversions of one ad, as totals and by day.
- get/v1/ads/{ad}/audience-estimateEstimate how many people an ad reachesAsks the ad network how many people fit the targeting of the ad. Fusio keeps the answer for an hour.
- post/v1/ads/bulkChange many ads at onceDoes one thing with many ads and returns a result for each ad. One failed ad does not stop the others.
- patch/v1/ads/{ad}/stateChange the state of an adMoves an ad to a new state and returns it. published and scheduled start it in the network; moving a running ad back to approved pauses it. When the ad starts in the future, published becomes scheduled.
- post/v1/adsAdd an adAdds an ad as a draft and returns it. Nothing goes to the ad network until you approve and start it with ads.set-state.
- get/v1/ads/{ad}Show an adReturns one ad with its texts, targeting, budget, state and problems.
- put/v1/ads/{ad}Change an adSaves the whole ad and returns it. Send every field. When the ad is already in the network, the changes go there the next time you start it.
- delete/v1/ads/{ad}Remove an adRemoves an ad.
- get/v1/ad-improvementsList tips for your adsReturns the open tips Fusio found for your ads on one network, like a search term to exclude or a low click rate.
- post/v1/ad-improvements/{improvement}/dismissHide a tipHides a tip, so it is not in the list any more. Nothing changes in the ad network. When the tip is not open, you get 422.
- post/v1/ad-improvements/{improvement}/acceptUse a tipDoes what the tip says. Now this works only for exclude_search_term: Fusio adds the search term as a negative keyword to the Google Ads campaign. Meta tips (learning_limited, creative_fatigue, poor_performing_ad, rejected_ad) cannot be used here, you get 422. Act on them in the Meta campaign…
- get/v1/tenant-ad-platforms/{tenantOAuthPlatform}/accounts/{accountId}/pagesList pages of an ad accountAsks the ad network for the pages ads can run for: Facebook pages for a Facebook account, company pages for LinkedIn.
- get/v1/tenant-ad-platforms/{tenantOAuthPlatform}/accounts/{accountId}/pixelsList pixels of an ad accountAsks the ad network for the pixels that count results on your website: Meta pixels for Facebook, Insight Tags for LinkedIn.
- get/v1/tenant-ad-platforms/{tenantOAuthPlatform}/accounts/{accountId}/instagram-accountsList Instagram accounts of an ad accountAsks Meta for the Instagram accounts that ads of this account can run from: accounts linked to its Facebook pages and accounts added to the ad account. Works only for a Meta connection.
- get/v1/tenant-ad-platforms/{tenantOAuthPlatform}/accounts/{accountId}/dsa-recommendationsList DSA suggestions of an ad accountAsks Meta who usually benefits from and pays for the ads of this account, as the EU Digital Services Act requires. Works only for a Meta connection.
- get/v1/tenant-ad-platforms/{tenantOAuthPlatform}/ad-accountsList ad accounts of a connectionReturns the ad accounts of a connection that are added to Fusio, with their billing and status.
- get/v1/tenant-ad-platforms/{tenantOAuthPlatform}/linkedin/targeting-facetsList LinkedIn targeting kindsReturns the kinds of LinkedIn targeting, sorted into groups. Each item of the list has one group key; its value is a list of kinds, each a name with its LinkedIn URN.
- get/v1/tenant-ad-platforms/{tenantOAuthPlatform}/linkedin/{facetUrn}/targeting-entitiesList values of a LinkedIn targeting kindAsks LinkedIn for the values of one targeting kind, like all industries.
- get/v1/tenant-ad-platforms/{tenantOAuthPlatform}/linkedin/geolocations/search/{searchQuery}Find LinkedIn placesAsks LinkedIn for places whose name fits your text, for the targeting of an ad.