Skip to main content
PATCH
Update Google Ads conversion mapping

Authorizations

api_key
string
header
required

Personal API key.

Path Parameters

app_id
string
required

ID of the app whose Google Ads conversion tracking you want to manage.

mapping_id
string
required

ID of the mapping, as returned in id by List conversion mappings.

Body

application/json
entity_name
string

Name of the app entity whose write this goal belongs to.

Example:

"Order"

trigger_action
string
default:create

Which write on the entity the goal belongs to. Base44 uses create, update, and delete, and stores any other value as sent.

Example:

"create"

conversion_type
string

Which kind of conversion this is, using Google's category vocabulary such as PURCHASE, ADD_TO_CART, SIGN_UP, or LEAD. The value is stored as sent and not checked against Google's list.

Example:

"PURCHASE"

conversion_action_id
string

Google Ads' own ID for the goal to point at, as returned in google_action_id by List conversion actions. Send it alongside conversion_type and this one is matched first, with conversion_type as the fallback if it matches no goal on the account.

Example:

"7654321"

value_field
string

Field on the entity record holding the conversion amount. The wiring instructions fall back to amount when it is empty.

Example:

"total_price"

currency_field
string

Field on the entity record holding the currency code. The wiring instructions fall back to USD when it is empty.

Example:

"currency"

id_field
string

Field on the entity record holding the order ID Google dedupes on. The wiring instructions fall back to id when it is empty.

Example:

"order_number"

is_enabled
boolean
default:true

Whether Base44 counts this mapping when it decides the account's conversion events are configured (true) or ignores it (false).

Example:

true

Response

The mapping after the change.

A conversion goal tied to an entity write in the app.

id
string
required

ID of the mapping. Pass this as mapping_id to update or delete it.

Example:

"68b1c0d4e7b91d003c45a1f7"

account_id
string
required

ID of the Google Ads account the mapping belongs to.

Example:

"68b1c0d4e7b91d003c45a1f8"

entity_name
string
required

Name of the app entity whose write this goal belongs to, as returned by List entity schemas. It is empty on a mapping Base44 created from a conversion it verified firing in the app code, because a client-side conversion has no entity behind it.

Example:

"Order"

trigger_action
string
required

Which write on the entity the goal belongs to. Base44 uses create, update, and delete, and stores any other value as sent.

Example:

"create"

conversion_type
string
required

Which kind of conversion this is, using Google's category vocabulary such as PURCHASE, ADD_TO_CART, BEGIN_CHECKOUT, SIGN_UP, LEAD, or CONTACT. Empty when nothing was set for it. The value is stored as sent and not checked against Google's list.

Example:

"PURCHASE"

conversion_action_id
string
required

Google Ads' own ID for the goal this mapping points at, as returned in google_action_id by List conversion actions. Empty when nothing was set for it. A mapping can carry both this and conversion_type, and this one is matched first. If it matches no goal on the account, which happens when the goal was recreated in Google Ads under a new ID, the mapping falls back to matching on conversion_type.

Example:

"7654321"

value_field
string
required

Field on the entity record holding the conversion amount. It is read only when writing the wiring instructions for the AI builder, which falls back to amount when this is empty.

Example:

"total_price"

currency_field
string
required

Field on the entity record holding the currency code. Same use as value_field, and the instructions fall back to USD when this is empty.

Example:

"currency"

id_field
string
required

Field on the entity record holding the order ID Google dedupes on. Same use as value_field, and the instructions fall back to id when this is empty.

Example:

"order_number"

is_enabled
boolean
required

Whether Base44 counts this mapping when it decides a campaign's conversion events are configured (true) or ignores it (false).

Example:

true

created_date
string<date-time>
required

When the mapping was created.

Example:

"2026-08-25T11:20:00Z"

updated_date
string<date-time>
required

When the mapping was last changed.

Example:

"2026-08-25T14:05:00Z"