Create new conversion actions using the API

59 views
Skip to first unread message

Elton Morais

unread,
Oct 18, 2017, 10:20:15 AM10/18/17
to AdWords API Forum
Hi,

At this moment I can fetch all my conversion actions created on Google Adwords with the ConversionTrackerService. 

I would like to know if I can, with a similar service, create a new Conversion Action through the API.

Thank you,

Jude Amagoh

unread,
Oct 18, 2017, 4:40:46 PM10/18/17
to AdWords API Forum
Hi,

AdWords API provides different conversion trackers for the different ways customers convert. This guide describes the various types of conversion trackers and explains create conversion actions through the API. This link has sample code in Java which you can utilize to add your conversion tracker. For other languages please check the corresponding Adwords Client Library.  

Best Regards,
Jude, Adwords API Team

Elton Morais

unread,
Oct 19, 2017, 6:11:59 AM10/19/17
to AdWords API Forum
Hi Jude,

Thank you for your answer. 
But I want something specific, let me explain it:
- At adwords.google.com I can create new Conversion Actions (Website, App or Phone Calls), what I'm trying to do is use Adwords API to create a, lets say, website conversion action, for instance. Can I do it with the API?

Thank you for your time

Zweitze

unread,
Oct 19, 2017, 7:17:06 AM10/19/17
to AdWords API Forum
ConversionTrackerService.mutate() with operation ADD. Is that what you mean?

Assuming you not only want to create new conversion types, but also update certain webpages to register conversions of the new type:
After creating the conversiontracker, retrieve it again, then use AdWordsConversionTracker.snippet (a property) to get a conversion script. Unfortunately, the individual conversiontracker ID to use in webpages is not available separately, the only way to get it is to parse AdWordsConversionTracker.snippet - and hope Google never changes its structure.

Hope this helps.

Elton Morais

unread,
Oct 19, 2017, 7:57:08 AM10/19/17
to AdWords API Forum
Hi Zweitze,

Thank you for the help, that was exactly what I was looking for  :D


Reply all
Reply to author
Forward
0 new messages