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.
- get/v1/google-ads-search-geo-targetsFind places for targetingAsks Google for cities, regions and countries whose name fits your text. Put the places you pick into targeting.geoTargets or targeting.excludedGeoTargets of a campaign. When Google Ads is not connected, you get 409.
- get/v1/google-ads-search-campaignsList Google Ads search campaignsReturns everything about your Google Ads search campaigns at once: your settings and budget, all campaigns with their ad groups, keywords and ads, the keywords your SEO audit recommends, and the job that runs now.
- post/v1/google-ads-search-campaignsMake a Google Ads search campaignMakes a draft search campaign with one ad group from what you send and answers 201. Nothing goes to Google Ads yet.
- get/v1/google-ads-search/overviewShow the Google Ads search overviewReturns how your search campaigns did in a range of days: impressions, clicks and spend from Google Ads, and the visits, leads and clients Fusio saw from them.
- put/v1/google-ads-search-campaigns/{campaign}Change a Google Ads search campaignChanges the basic data of a draft campaign and returns it. A change of the budget splits your monthly budget between campaigns again. Only a draft can change; otherwise you get 403.
- delete/v1/google-ads-search-campaigns/{campaign}Remove a Google Ads search campaignRemoves a draft campaign with its ad group and keywords, and splits your monthly budget between the other campaigns again. Only a draft can go; otherwise you get 403.
- put/v1/google-ads-search-campaigns/{campaign}/draftSave a whole campaign draftSaves the whole plan of a campaign at once, the same fields as google-ads-search-campaigns.store, and returns it.
- put/v1/google-ads-search-campaigns/{campaign}/targetingChange where a campaign showsSaves new places and language for a draft campaign and starts a job in the background. In it, AI researches the keywords again for the new places. The answer is 202 with the job; follow it with google-ads-search-operations.show.
- put/v1/google-ads-search-campaigns/{campaign}/assetsChange the extras of a campaignSaves the company name, logos, phone number and images shown with the ads, and returns the campaign.
- post/v1/google-ads-search-campaigns/{campaign}/approveApprove a Google Ads search campaignApproves a draft campaign and returns it. Then send it with google-ads-search-campaigns.google-ads.deploy.
- delete/v1/google-ads-search-campaigns/{campaign}/approveReturn a campaign to draftTurns an approved campaign back into a draft, so you can change it, and returns it. Only an approved campaign can go back; otherwise you get 403. When the campaign runs in Google Ads, pause it first; otherwise you get 422. You also get 422 while another change is being sent to Google Ads; wait a…
- get/v1/google-ads-search-campaigns/{campaign}/google-ads/preflightCheck a campaign before sendingTells you if the campaign can go to Google Ads now, what stops it, and what it would spend in a day. Nothing is sent. Take planRevision from here and send it to google-ads-search-campaigns.google-ads.deploy.
- post/v1/google-ads-search-campaigns/{campaign}/google-ads/deploySend a campaign to Google AdsSends an approved campaign to Google Ads and returns the deployment. The campaign arrives paused, so nothing is spent until you start it with ad-deployments.google-ads.status.
- put/v1/google-ads-search-campaigns/{campaign}/conversion-goal-modePick what counts as successSets which results Google counts as success for the campaign.
- post/v1/google-ads-search-campaigns/reforecastForecast all campaigns againStarts a job in the background that asks Google again how many impressions, clicks and costs your campaigns may get. The answer is 202 with the job; follow it with google-ads-search-operations.show.
- post/v1/google-ads-search-campaigns/brief-picksLet AI pick a page and goalReads your brief and picks with AI the best landing page from your website and what should count as success. Nothing is saved; use the picks when you call google-ads-search-campaigns.generate.
- post/v1/google-ads-search-campaigns/generateLet AI build a campaignMakes a draft campaign and lets AI build it in the background: it researches keywords, picks the landing page, sets the budget and writes the ad. The answer is 202 with the campaign and the job; follow the job with google-ads-search-operations.show.
- post/v1/google-ads-search-campaigns/{campaign}/generate/retryLet AI try a failed campaign againStarts the AI building of a campaign again after it failed. The answer is 202 with the campaign and the new job. When the building did not fail, when you must connect Google Ads again, or when another job already runs, you get 409. You get 422 for the same reasons as with…
- post/v1/google-ads-search-campaigns/bulk-deleteRemove many campaigns at onceRemoves draft campaigns with their ad groups and keywords. All of them must be drafts; when one is not, nothing is removed and you get 403.
- post/v1/google-ads-search-campaigns/{campaign}/duplicateCopy a Google Ads search campaignMakes a draft copy of a campaign with its ad groups, keywords and ads, and answers 201 with the copy. Nothing goes to Google Ads.
- get/v1/google-ads-search-landing-pagesList pages ads may lead toReturns the pages of your website that ads may lead to. They come from your verified domain and website analysis.
- post/v1/google-ads-search-landing-pages/checkCheck a landing pageOpens the page and tells you if an ad may lead there. The page must be on your website and must work.
- post/v1/google-ads-search-keyword-metricsShow search numbers for keywordsAsks Google how many people search for these keywords in the places you send, and what a click costs. Nothing is saved. When Google Ads is not connected, you get 409 or 422.
- post/v1/google-ads-search-forecast-previewsPreview a forecastAsks Google what a budget and keywords may bring in a month: impressions, clicks and costs. Nothing is saved, so you can try budgets before you set one.
- get/v1/google-ads-search-seo-keyword-setsList keyword sets from SEOReturns the keyword sets your newest SEO audit recommends for Google Ads. The list is empty when you have no audit.
- get/v1/google-ads-search-shared-negative-keywordsList shared negative keywordsReturns the negative keywords that all your search campaigns share. The ads never show for these searches.
- put/v1/google-ads-search-shared-negative-keywordsReplace shared negative keywordsReplaces the whole list of negative keywords shared by all your search campaigns, and returns the new list.
- get/v1/google-ads-search-operations/{operation}Show a Google Ads search jobReturns how a background job goes. Ask again until status is completed or failed.
- put/v1/google-ads-search-ad-groups/{adGroup}Change an ad groupChanges an ad group of a draft campaign and returns it with its keywords and ad. Only a draft campaign can change; otherwise you get 403.
- put/v1/google-ads-search-ad-groups/{adGroup}/search-adSave the search adSaves all texts of the search ad of an ad group, and returns the ad group.
- post/v1/google-ads-search-ad-groups/{adGroup}/search-ad/generateLet AI write a search adWrites a whole search ad for the ad group with AI and returns it. Nothing is saved; save it with google-ads-search-ad-groups.search-ad.update.
- post/v1/google-ads-search-ad-groups/{adGroup}/search-ad/suggestionsLet AI suggest ad textsAsks AI for new texts of one kind for the ad group, like more headlines or keywords. Nothing is saved; add the texts you like to the ad yourself.
- post/v1/google-ads-search-ad-groups/{adGroup}/search-ad/textsLet AI write and save ad textsStarts AI writing the search ad texts of the ad group in the background and saves them there. It returns the ad group; searchAdGenerationStatus shows how the writing goes.
- post/v1/google-ads-search-ad-groups/{adGroup}/keywordsAdd a keyword to an ad groupAdds a keyword to an ad group of a draft campaign and answers 201 with it. Only a draft campaign can change; otherwise you get 403.
- put/v1/google-ads-search-ad-group-keywords/{adGroupKeyword}Change a keywordChanges a keyword of a draft campaign and returns it. To change the words themselves, send keyword in the body as text of at most 80 characters, the same limit as when you add a keyword. The match type cannot change; remove the keyword and add a new one.
- delete/v1/google-ads-search-ad-group-keywords/{adGroupKeyword}Remove a keywordRemoves a keyword from an ad group of a draft campaign. In brand and competitor campaigns, positive keywords cannot be removed; you get 403.