API:Generative AI
API Endpoint Path
required
AI Google Advertising Copy Generator API
api/3/googleCopy
Call Method
Required
POST
Type of Data Return
JSON
Output structured JSON data on AI Google Ads copy
token
required
BUYFROMLO API token. Paid subscription API is available: /api/3/googleCopy, and accessible to on-site APP on /app/3/googleCopy as well
content
required
Enter the raw content or landing URL for AI writing. Max.content character ceiling is 2,000
language
Optional
Input the language iso-code, Currently API provides 4 language, which are en, ja, zh-cn, zh-tw. The default language is en
snippet
Optional
Enter the responsive ads format, such as sitelinks, mainbody. The default value is mainbody
landingurl
Optional
Free trial API is required to input a LLM api key. Current available model for free trial account is OpenAI.
AI Google Advertising Copy Generator API
api/3/googleCopy
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/3/seo-metatag"
## Required Arguments & Parameters ##
originalContent = "raw content materials or context for reference"
referenceContent = "reference content and context briefling"
brandname = "your brand name"
purpose = "Select one from three options: generative search (google, bing), google shopping, and Amazon"
data={"referenceContent": hashtag, "brandname": brandname, "purpose": purpose}
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.post(apiendpoint, json=data, headers= headers)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"SEO meta title": " " (string)
"SEO meta description": " " (string)
}
The AI Google Ads Copy Generator API is a tool that automatically generates responsive ad headlines, descriptions, and sitelink snippet copy for your business website.
You can get JSON data such as ad copy headlines, descriptions, and sitelink snippet copy.
You can input a website URL or bulk raw content materials to generate optimal copy.
The API uses multi LLM fine-tuned modules to generate ad copy similar to your competitors while standing out.
Yes, there is a limit of 100,000 tokens\/month (approximately 73,000 English words).
You can use cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, or Typescript.
Yes, the API requires a paid subscription.
The documentation for this API can be found at https:\/\/www.buyfromlo.com\/docs\/#\/.
This API is accessible through the endpoint path \/api\/3\/googleCopy.
Yes, this API can be accessed on-site through the URL https:\/\/www.buyfromlo.com\/app\/3\/googleCopy.