Skip to main content
Brand guidelines are in beta. Your account needs the V3 beta and Creative Engines access to save or read them. Accounts without that access get the built-in default for images and no brand voice.
Brand guidelines are what an advertiser’s brand says about how its ads are made. They live in the advertiser’s brand profile and have four parts: Voice, banned terms and disclaimers are covered in Brand Studio. This page is about asset rules.

Asset rules

An asset rule says whether Apostra may change an asset when it builds an ad. Each rule has one selector and one use: A profile holds up to 40 rules. No two rules may name the same role or the same assetId: a save that repeats one is refused and names the rule. Use a role rule for the brand’s standing practice, such as “backgrounds are never redrawn”. Use an assetId rule for one exception, such as a product photo that is only a loose reference. Keep exceptions few: every one is a rule someone has to remember. A finished ad, such as a key visual, has no rule here. It is used as it is, where its rights allow. See Asset rights.

Which rule applies

For each asset, the first of these decides:
  1. A person’s locked_asset: true on the asset in this session. It only protects: it applies to that session alone, and locked_asset: false is ignored.
  2. A rule that names the asset by assetId.
  3. A rule that names the role the asset plays in the session.
  4. The built-in default: product and logo images are unaltered. Every other role is adaptable.
A brand with no rules sees only the default, which is how Apostra has always treated product and logo images.

Save and read the rules

Save rules with save_advertiser, in brandProfile.stated.assetRules:
A save sends the whole stated profile. It replaces what is stored, so include the voice, banned terms and disclaimers you want to keep. Send the revision you read as brandProfile.expectedRevision when you want the save to fail rather than overwrite a change made since. A save that touches asset rules is checked against the revision it read either way, so two saves at once never lose a rule. Read the rules with get:
They come back as brandProfile.assetRules, with the profile’s revision. In Brand Studio, the Brand tab shows them in an Asset rules panel next to the built-in default. The panel is read-only: ask your assistant to change a rule.

Tightening saves at once; loosening needs approval

A change that only protects more saves straight away. Adding an unaltered rule, or removing an adaptable one, is tightening. A change that lets Apostra alter something the brand protected is a loosening, and it needs an administrator’s approval on Apostra’s site. These are loosenings:
  • Giving a role adaptable when it is unaltered today, counting the built-in default. { "role": "product", "use": "adaptable" } loosens. The same rule for background does not, because backgrounds are adaptable by default.
  • Removing an unaltered rule from a role the built-in default leaves adaptable, such as background. Removing one from product or logo does not loosen, because the default still protects them.
  • For one asset: adding an adaptable rule, or removing or changing its unaltered rule. This is judged on the rule alone, whatever role the asset plays.
A loosening does not change the rules. It returns approval_required with a link, and nothing changes until a signed-in administrator of the account approves it there:
Show the person the link. The approval page says which assets become adaptable. Until it is approved the stored rules stay as they were. Things to know:
  • Send a loosening on its own. Change no other part of the stated profile in the same call: send the profile as stored, with only the rules changed. A call that loosens a rule and changes something else is refused with a VALIDATION_ERROR on brandProfile.stated.assetRules.
  • The same proposal reuses its request. Sending the same loosening again while its request waits returns that request. It does not record a second. A request that was rejected or has expired never blocks a new one.
  • The rules can move before approval. An approval applies the exact rules that were proposed, against the revision they were proposed on. If the profile changed in between, approving fails with rules_changed, nothing changes, and the loosening has to be proposed again.
  • Who approves. An administrator of the account. No separate role exists for it today.

What a creative session does with the rules

When a session starts, Apostra copies the rules that apply to the assets in it onto the session. A later change to the brand’s rules does not alter a build in progress, and a new session reads the current rules. An asset added to a session later is checked against the current rules when it is added. The session shows what it kept:
  • get with kind: "creative_session" returns locks. Each entry has the asset’s assetId and label, and a source: brand_guidelines (a rule in the brand’s guidelines), default (the built-in product and logo default) or this_draft (a person set locked_asset: true on this draft).
  • The brief lists the same assets under Kept exactly, each with its source.
A locked asset is composited into the ad as uploaded, and the asset fidelity check fails a final concept that does not match it. Whether a concept kept the locked product is reported per variant in locked_product. See Creative. If the rules cannot be read, the session does not start. A session that is given images, or whose draft adds an image later, fails with SERVICE_UNAVAILABLE when the brand profile cannot be read. Try again. Apostra does not start without the rules, because a missing unaltered rule would let it change an image the brand protected.

What third-party creative engines receive

A creative engine you connect receives, in the creative manifest’s brand.ext.apostra.asset_usage_rules, one entry for each asset in the build that resolved to unaltered:
The engine gets the result, not the rules: a role rule has already been applied to each asset, and any approved loosening is already reflected. Its reference assets carry the same asset_id, so the engine can match them. Logos are not sent as references, because Apostra places them itself. Sellers never receive these entries. This is an Apostra extension until AdCP defines the same thing (adcontextprotocol/adcp#9192).

Limits

  • Catalog creative does not read the rules yet. Asset rules apply to creative sessions and the engines they use. Creative built from a product catalog still follows its own handling of product images.
  • A person’s draft lock is reported as this_draft. There is no step that turns it into a brand rule. To make it standing, add the rule to the brand’s guidelines.
  • Rules are per advertiser today. Each advertiser holds its own rules.
  • Rules are about how an asset is used, not whether it may be used. A rule never grants the rights to an asset, and rights never loosen a rule. Rules about what may be bought belong in Project bounds.

Governance best practice

Asset rules decide what Apostra may do to the brand’s images, so treat them like policy.
  • Let someone who knows the brand own them. The brand, design or marketing lead should set the rules up and approve changes, not whoever runs campaigns. Approval today is by an account administrator, so make sure that person is the right one, or has the brand owner beside them when they approve. For larger customers, we help set the rules up during onboarding.
  • Review a loosening like a policy change. Read the approval summary and ask why. Most loosenings should be rare and have a reason.
  • Prefer tightening. Adding unaltered is safe and instant. Start with the kinds of asset the brand never wants changed, usually the product, the logo and the key visual’s building blocks.
  • Use per-asset exceptions sparingly. A rule per image becomes a list nobody can review. If one kind needs different treatment, change the role’s rule.
  • Write the note. The reason is what the next reviewer reads.