Skip to content
This repository was archived by the owner on Jun 25, 2026. It is now read-only.
This repository was archived by the owner on Jun 25, 2026. It is now read-only.

How can adtechs recover from aggregations failures? #325

Description

@palenica

How can adtechs recover from failures (such as a misconfigured batch)?

Activity

  1. ruclohani commented on Jul 14, 2023

    @ruclohani
    Collaborator

    Aggregation service jobs can fail in certain scenarios e.g. job misconfiguration, coordinator service outages, etc.
    Adtech should use the output of getJob API to look at the return code, message and error summary.

    If the job is misconfigured, the aggregation service will provide details on error resolution in the return message. If the job succeeds partially, with some invalid reports, the response error summary will have more details about the report error counts with corresponding description. A failed job can be rescheduled using the createJob API after resolving issues (if any) or in case of any transient issues.

    In certain rare cases, a failed job may result in aggregatable report accounting budget consumption without getting summary results. We are exploring solutions to help recover accidently consumed aggregatable report accounting budget in such scenarios. In the meantime, we advise ad techs to generate and keep debug reports, since processing them aren’t limited by aggregatable report accounting budget (see https://github.com/privacysandbox/aggregation-service/blob/main/docs/debugging.md).

  2. keke123 commented on Aug 30, 2024

    @keke123

    We recently launched a budget recovery solution that can be used by adtechs to recover from budget-related failures as described above. Details of the criteria and process can be found here: https://github.com/privacysandbox/aggregation-service/wiki/Aggregate-Report-Accounting-Budget-Recovery-Criteria-&-Process

    We welcome adtechs to try out the feature and provide feedback on the criteria and process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions