Skip to content

Entities

All the data objects that LightLead operates on. These entities are universal and not tied to any particular source.

Entity hierarchy

Account
  └── Campaign
        └── Ad set
              └── Ad
                    └── Keyword

Entity descriptions

Account

The top-level unit in a source's ad account. Contains currency, time zone, and billing settings.

PropertyTypeDescription
idstringThe account identifier at the source
namestringThe account name
currencystringThe account's currency (ISO 4217 code)
timezonestringThe time zone (IANA, e.g. Europe/Moscow)

Campaign

A marketing campaign within an account. Has a goal, a budget, and a status.

PropertyTypeDescription
idstringThe campaign identifier
namestringThe campaign name
statusstringStatus: active, paused, archived, deleted
budgetnumberThe daily or lifetime budget
budget_typestringBudget type: daily, lifetime
objectivestringThe campaign objective
start_datedateThe start date
end_datedateThe end date (if set)

Ad set

A group of ads with shared targeting and bidding settings.

PropertyTypeDescription
idstringThe group identifier
namestringThe group name
statusstringThe group status
bidnumberThe bid

A specific advertisement.

PropertyTypeDescription
idstringThe ad identifier
namestringThe name
typestringType: text, image, video, carousel
statusstringThe status
creative_urlstringThe creative's URL

Keyword

A search query or key phrase used for targeting.

PropertyTypeDescription
idstringThe identifier
textstringThe keyword text
match_typestringMatch type: exact, phrase, broad
statusstringThe status

End-to-end analytics

The following entities are used to link ad data with the CRM:

EntityDescription
LeadAn inquiry or request that came from ads
DealA commercial deal in the CRM, linked to a lead
ContactAn individual in the CRM
UTM tagURL parameters for tracking traffic source
PixelTracking code on the website used to capture events

Maintained by the LightLead Documentation Team · Last verified: 2026-07-25