Ads Lifecycle

State diagram showing how an ad progresses from manifest receipt through insertion and beacon firing.


flowchart TD

    %% Main lifecycle
    A1[Manifest available] --> B1[received]
    B1 --> B2[parsed]
    B2 --> B3[ingested]
    B3 --> B4[selected]

    %% Failure and alternate paths during proxy processing
    B2 --> E1[failed]
    B2 --> E2[ingesting]

    %% Manifest-side outcomes after selection
    B4 --> C1[excluded]
    B4 --> C2[inserted]
    B4 --> C4[chopped]
    B4 --> C5[dropped]

    %% Successful insertion path
    C2 --> C3[viewed]

    %% Ad beacon lifecycle
    C3 --> D1[impression]
    D1 --> D2[firstquartile]
    D2 --> D3[midpoint]
    D3 --> D4[thirdquartile]
    D4 --> D5[complete]

    %% Section grouping
    subgraph M1[Manifest]
        direction TB
        A1
    end

    subgraph P1[Ad Proxy]
        direction TB
        B1
        B2
        B3
        B4
        E1
        E2
    end

    subgraph M2[Manifest]
        direction TB
        C1
        C2
        C3
        C4
        C5
    end

    subgraph P2[Ad Proxy]
        direction TB
        D1
        D2
        D3
        D4
        D5
    end

    %% Status styling
    classDef normal fill:#dce8c7,stroke:#5f6b4f,color:#111;
    classDef neutral fill:#e6e6e6,stroke:#888,color:#111;
    classDef warning fill:#f3df9b,stroke:#a88b2a,color:#111;
    classDef error fill:#e7b3b3,stroke:#a14f4f,color:#111;

    class A1,B2,B3,B4,C2,D1,D2,D3,D4,D5 normal;
    class B1,C3 neutral;
    class E2,C1,C4,C5 warning;
    class E1 error;

Did this page help you?