> ## Documentation Index
> Fetch the complete documentation index at: https://docs.erdo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Meta Ads

> What Erdo does in a connected Meta ad account: upload images and videos stored in Erdo, build retargeting audiences, create ad sets and ads that match what you approved, retire Instant Forms, and read results by day or placement.

# Meta Ads

Once your organization connects Meta Ads, you can ask Erdo to build and run campaigns in the
ad accounts selected on that connection. Every change that touches the account (a new campaign,
ad set, ad, audience, upload or status change) goes on an approval card first. Reads, such as
listing ad sets or pulling results, don't need one.

## Images and videos

Erdo can send Meta an image or video that's stored in Erdo, such as a file you uploaded or one an
agent generated. The file never needs a public link.

* **Images** go to the ad account's image library. Meta returns an image hash, which the ad uses
  to show the image. Images must be JPEG, PNG or GIF, up to 30 MB.
* **Videos** go to the ad account's video library. Meta processes them for a few minutes before
  they can be used in an ad.

A file hosted elsewhere can still be used from a public HTTPS link. The approval card names the
file being uploaded.

## Retargeting audiences

Erdo builds website audiences from your Meta pixel, for example "visited the page in the last 90
days but didn't submit a lead".

* **Custom Audience terms.** Meta refuses every audience until someone with admin access to the
  ad account accepts Meta's Custom Audience terms. Erdo checks this before asking you to approve
  an audience, and sends you the link to accept them if they're missing.
* **Size.** Meta won't deliver ads to an audience it rates too small. Erdo reports whether Meta
  says an audience is ready, too small or unusable. For a too-small audience, Meta's size
  estimate shows its lowest bucket (1,000), so Erdo says the audience has fewer people than
  that, never that it has 1,000.

## Ad sets

The approval card lists everything the ad set will target: locations, ages, languages by name,
interests, audiences, and whether Advantage+ audience is on.

* **Advantage+ audience** is on by default, so Meta treats interests as suggestions while
  locations and ages stay fixed. Ask for a fixed audience to turn it off.
* **Audience expansion** is turned off when an ad set targets your own audiences with Advantage+
  audience off. Otherwise Meta would also show a retargeting ad to people who never visited.
  The card shows the setting.
* **Location types.** Meta now accepts only "living in or recently in" a location, and it may
  store the ad set as also reaching people "often there". Erdo shows what Meta saved.

## Ads

* **Only approved copy runs.** Meta can change an ad on its own: it can generate a description
  from your landing page, vary the text, add overlays or stickers, translate the copy, touch up or
  animate images, add music, or show catalog products alongside the ad. Erdo turns these features
  off on every new ad unless you ask for one, and the card says so.
* **Link tracking.** Erdo sets the tags Meta adds to every ad click, such as UTM parameters, on the
  ad itself. Meta's `{{campaign.id}}`, `{{adset.id}}` and `{{ad.id}}` placeholders are replaced
  with the real IDs at click time. Tags can only be set when an ad is created, because Meta
  doesn't change an existing ad's tracking.

## Instant Forms

Erdo can create Instant Forms, list them, download their leads, and archive a form you no longer
use. Meta doesn't delete forms: an archived form stops collecting leads, but its leads stay
readable. Erdo can also make an archived form active again.

## Results

Ask for campaign or account results as one total, or split them:

* by day, week or month
* by ad set or ad
* by age, gender, country, region, platform (Facebook, Instagram, Audience Network), placement
  (feed, stories, reels), or device.

Meta allows only some combinations of these splits. If a request returns more rows than fit in one
reply, Erdo says so instead of leaving them out without saying.

## When Meta refuses a request

The conversation shows Meta's error code and the explanation Meta writes for advertisers, so you
can see why a change didn't go through. For a few common refusals, such as the missing Custom
Audience terms, Erdo says what to do next.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.