AI Google Ads Copy Generator API

API Endpoint Specifications

  • Endpoint Path: /api/3/googleCopy
  • Type of Data: JSON & 2/minute
  • Data Source: BUYFROMLO, Gemini, Llama, Palm, Claude, OpenAI
  • Request Limit: 100,000 tokens/month (Approximate 73,000 English words)
  • Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
AI Google Ads Copy Generator API Endpoint Basic Info

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


Available API Arguments & Parameters

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


Code Integration and Response

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)
}