Use the Data Manager API to send event data for Google Ads offline conversions or enhanced conversions for leads.
If you're upgrading from the Google Ads API, see Upgrade from the Google Ads API.
Workflow overview
To send event data with the Data Manager API, complete the following steps:
Prepare destinations: Define the
Destinationobjects for thedestinationsfield of the ingestion request to specify the target account and conversion or event destination. See Prepare destinations for details.Prepare event data and identifiers: Populate
Eventfields with event details and required identifiers (such as ad click, client, or app instance identifiers). If you include user contact information inuserData, normalize and SHA-256 hash the identifiers according to the formatting guidelines, and optionally encrypt them. See Prepare event data for details.Build and send the ingestion request: Submit an
events.ingestrequest containing yourdestinations,Eventrecords, andencryptionInfoif you encrypteduserData. UsevalidateOnly: trueto test your payload for fast-fail errors before sending production data. See Send events for field requirements and code samples.Check diagnostics and adjust conversions: Retrieve asynchronous processing diagnostics with
requestStatus.retrieve, and adjust or retract previously recorded conversions as needed.