Google AdsVersion: v3
Upsert conversion
PUT/ad-publishing/google/conversions
Create or update a Google Ads conversion action
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
adPublishing. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Body
locationIdstringrequired
Location identifier
Example:
loc_abc123conversionIdstring
Conversion identifier
Example:
conv_456namestringrequired
Conversion name
Example:
Purchase Conversiontypestringrequired
Conversion action type. Only UPLOAD_CLICKS is supported — the conversion list endpoint reads back UPLOAD_CLICKS actions only, so a conversion created with any other type would never be returned.
Available options
UPLOAD_CLICKSExample:
UPLOAD_CLICKScategorystringrequired
Conversion action category
Available options
DEFAULTPAGE_VIEWPURCHASESIGNUPLEADDOWNLOADADD_TO_CARTBEGIN_CHECKOUTSUBSCRIBE_PAIDPHONE_CALL_LEADIMPORTED_LEADSUBMIT_LEAD_FORMExample:
PURCHASEvalueSettingsobjectrequired
Value settings that control how monetary value is attributed to conversions
countingTypestringrequired
How conversions are counted per interaction
Available options
ONE_PER_CLICKMANY_PER_CLICKExample:
ONE_PER_CLICKattributionModelstringrequired
Attribution model used to credit conversions
Available options
GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVENGOOGLE_ADS_LAST_CLICKExample:
GOOGLE_ADS_LAST_CLICKclickThroughWindownumberrequired
Click-through conversion window in days
Example:
30Response
Resource name of the created or updated conversion action
resourceNamestringrequired
Resource name of the created or updated record
Example:
customers/6776452901/conversionActions/7142718149