View as Markdown
Google Ads icon

Google Ads ACTION

Upload Call Conversion

Uploads an offline conversion attributed to a phone call. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Google Ads account once, then configure and run Upload Call Conversion from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "google_ads-upload-call-conversion",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_ads: { authProvisionId: "apn_xxxxxxx" },
    accountId: "Use Google Ads As",
    customerClientId: "Managed Account",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Upload Call Conversion inputs
Property Type Description
accountId Use Google Ads As string
The ID of an account of a customer directly accessible by the authenticated user. This is usually a Manager Account, used as login-customer-id (e.g., 1234567890). Use the List Account ID Options action to get the list of accessible accounts.
Required Dynamic
customerClientId Managed Account string
The ID of a customer client from the list of customers linked to the selected account (e.g., 1234567890). Use the List Customer Clients action to get the list of customer clients.
Optional Dynamic
conversionActionId Conversion Action string
The conversion action to record this conversion against, as a resource name (e.g. customers/1234567890/conversionActions/987654321). Use a value returned by this selector. Must be an upload-type action (Upload Clicks for click conversions, Upload Calls for call conversions) - create one with the Send Offline Conversion action.
Required Dynamic
conversionDateTime Conversion Date Time string
When the conversion occurred. Must be after the click or call. Format YYYY-MM-DD HH:MM:SS+|-HH:MM, including the UTC offset (e.g. 2026-08-13 12:32:45-08:00).
Required
conversionValue Conversion Value string
The value of the conversion to the advertiser (e.g. 25.50).
Optional
currencyCode Currency Code string
ISO 4217 three-character currency code for the conversion value (e.g. USD).
Optional
validateOnly Validate Only boolean
If true, the upload is validated but not recorded. Useful for checking a payload before sending real data.
Optional
additionalFields Additional Fields object
Additional fields and values to be created. See the documentation for available fields. Values will be parsed as JSON where applicable.
Optional
callerId Caller ID string
The phone number the call was placed from, in E.164 format with a leading + (e.g. +16502531234).
Required
callStartDateTime Call Start Date Time string
When the call occurred. Must be before the conversion. Format YYYY-MM-DD HH:MM:SS+|-HH:MM, including the UTC offset (e.g. 2026-08-13 12:32:45-08:00).
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
google_ads-upload-call-conversion
Version
0.0.1
App
Google Ads
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes