# Promote an event in your app on the store

> Have an Agent create an in-app event with its dates, deep link, countries, text and images, send it to App Review on its own or with a version, and follow it in the app.

Source: https://air.build/docs/app-store/promote-an-in-app-event/

An in-app event tells people on the App Store about something happening in your app for a set time: a challenge, a competition, a premiere, a new season. You describe it in the Project's chat, and an Agent creates it in App Store Connect and sends it to App Review.

> [!NOTE]
> AirBuild has no screen to create in-app events. You ask an Agent, and it uses `asc app-events`. Once the event is sent, the **App Review** tab shows it as **In-App Event** in the submission's **Submitted Items**.

## What an event needs

Tell the Agent as much as you know. It turns your words into what `asc app-events` takes.

| Part | What to say | `asc` |
| --- | --- | --- |
| Name | A name for the event. | `create --name` (its reference name) |
| Type | One of `LIVE_EVENT`, `PREMIERE`, `CHALLENGE`, `COMPETITION`, `NEW_SEASON`, `MAJOR_UPDATE` or `SPECIAL_EVENT`. | `--event-type` |
| Dates | When it starts and ends, with the time zone you mean. Optionally, when it's published. `asc` needs a start and an end as soon as you give any date or country. | `--start`, `--end`, `--publish-start` |
| Countries and regions | Where the event runs. | `--territories` |
| Deep link | The link that opens the event in your app. | `--deep-link` |
| Priority | `HIGH` or `NORMAL`. | `--priority` |
| Purpose | `APPROPRIATE_FOR_ALL_USERS`, `ATTRACT_NEW_USERS`, `KEEP_ACTIVE_USERS_INFORMED` or `BRING_BACK_LAPSED_USERS`. | `--purpose` |
| Text | For each language: the event's name in that language, a short description and a long description. | `localizations create` |
| Images | A picture for the event card and one for the event's details page. | `screenshots create --asset-type EVENT_CARD` or `EVENT_DETAILS_PAGE` |
| Video | Optional: a clip for the card or the details page, and the frame it shows before it plays. | `video-clips create`, `--time-code` |

The `asc` help doesn't list the image or video sizes Apple accepts. See Apple's [in-app events page](https://developer.apple.com/app-store/in-app-events/).

If your app doesn't open the deep link yet, ask the Agent to make it do that before you send the event.

## Create the event

Attach the pictures to your message (see [Send photos, files and sketches to an Agent](https://air.build/docs/projects/send-photos-and-files/)), or ask an Agent to make them first (see [Have Agents make pictures for your app](https://air.build/docs/build/make-pictures-for-your-app/)). Then ask, for example:

```text
Create an in-app event: Summer Challenge, a challenge from June 1 to June 30 (Pacific time), in the United States and Canada, opening myapp://events/summer. Short description: "Run 50 km in June." Use the attached pictures for the event card and the details page.
```

1. The Agent creates the event with `asc app-events create`.
2. It adds the event's text in your language with `asc app-events localizations create`, and in any other language you ask for.
3. It uploads each picture with `asc app-events screenshots create`.
4. It tells you in the chat what it created. To check later, ask "Show me the Summer Challenge event." The Agent reads it with `asc app-events view`.

## Send it to App Review

You can send the event on its own, or together with a version of your app.

| Ask | What the Agent does |
| --- | --- |
| "Send the Summer Challenge event to App Review." | Sends the event in a submission of its own, with `asc app-events submit`. |
| "Submit version 1.4 together with the Summer Challenge event." | Creates one submission with `asc review submissions-create`, adds the version and the event to it with `asc review items-add`, and sends it with `asc review submissions-submit`. |

Both commands send only with `--confirm`, so the Agent asks you first. The `asc` help doesn't say when Apple wants an event to go with a version; see Apple's [in-app events page](https://developer.apple.com/app-store/in-app-events/).

## Follow the review

On the **App Review** tab, tap the submission. **Submitted Items** lists **In-App Event**, beside **App Version** if the event went with one. An event's row never shows a version number. See [Submit to App Review and release](https://air.build/docs/app-store/submit-for-review/#follow-the-review).

You can also ask "What state is the Summer Challenge event in?". The Agent reads it with `asc app-events list`, which knows these states: `DRAFT`, `READY_FOR_REVIEW`, `WAITING_FOR_REVIEW`, `IN_REVIEW`, `REJECTED`, `ACCEPTED`, `APPROVED`, `PUBLISHED`, `PAST` and `ARCHIVED`.

To ask Apple to feature the event, see [Ask Apple to feature your app](https://air.build/docs/app-store/ask-apple-to-feature-your-app/).

## Change or delete an event

| Ask | `asc` |
| --- | --- |
| "Move the Summer Challenge to July." | `asc app-events update` changes the dates, countries, deep link, type, priority or purpose. |
| "Change the event's short description." | `asc app-events localizations update` |
| "Use this picture for the event card instead." | `asc app-events screenshots delete`, then `create`. Deleting needs `--confirm`, so the Agent asks you first. |
| "Delete the Summer Challenge event." | `asc app-events delete`, only with `--confirm`, so the Agent asks you first. |

## Questions

**Can an event require an in-app purchase?**

Not through `asc` for now. Its purchase requirement accepts only `NO_COST_ASSOCIATED`. For the in-app purchase values, `asc` stops with an error saying App Store Connect fails on them.

**Where do I see the event in AirBuild?**

On the **App Review** tab, once it's been sent. To see the event itself, ask the Agent or open App Store Connect.

**The Agent says a submission may have been created, but the event wasn't added.**

`asc app-events submit` creates a submission first, then adds the event to it. When creating the submission goes only partly through, `asc` names the submission so the Agent can look at it or cancel it. Canceling needs `--confirm`, so the Agent asks you first. Then ask it to send the event again.
