Get account Conversion Actions

68 views
Skip to first unread message

Elton Morais

unread,
Sep 21, 2017, 6:32:07 AM9/21/17
to AdWords API Forum
Hi, 

I wonder how can I get, through the API, all the Conversions Actions set up on my account.

Thank you

Shwetha Vastrad (AdWords API Team)

unread,
Sep 21, 2017, 10:45:17 AM9/21/17
to AdWords API Forum
Hi, 

You need to use ConversionTrackerService to retrieve the list of the conversion trackers in an AdWords account. This guide describe shows how to use the get() method to retrieve AdWords objects. The list of selector fields available for ConversionTrackerService is provided here.

Regards,
Shwetha, AdWords API Team.

Elton Morais

unread,
Sep 25, 2017, 10:34:42 AM9/25/17
to AdWords API Forum
Hi Shwetha,

Thank you for the answer but I don't want to get the Conversion Trackers, I want to get the Conversions actions that I configured previously on my account, just for information purpose.
For instance, I set up 3 different conversion actions, and on my website I want to list those Conversion actions.

Do you know how to do this?

Thank you for your time

Shwetha Vastrad (AdWords API Team)

unread,
Sep 25, 2017, 3:38:53 PM9/25/17
to AdWords API Forum
Hi Elton,

By "Conversion actions" do you mean the information available in the Tools-> Conversions page in the UI? If so, then you need to use ConversionTrackerService as I described in the earlier post. 

Elton Morais

unread,
Oct 17, 2017, 6:40:47 AM10/17/17
to AdWords API Forum
Hi Shwetha,

You were right. I'm now able to fetch all the conversions actions.

Thank you

Marketale India

unread,
Nov 30, 2017, 1:41:01 PM11/30/17
to AdWords API Forum
Hi Elton, Shweta

Picking up on this thread - I am using ConversionTrackerService to fetch Conversion actions.

However, I am getting "only disabled" conversion actions. The enabled ones are not displayed, though I've not put any filter for Status.

If I am putting Status = ENABLED - I am getting 0 entries, though there are two "enabled entries" displayed on UI. Tools > Conversions

Could you advise, if I am missing anything?

Attaching code snippet for your reference:

service_conversion_tracker = adwords_client.GetService('ConversionTrackerService', version=settings.ADWORDS_API_VERSION)
query = (adwords.ServiceQueryBuilder()
.Select('Name', 'Status', 'Category', 'AttributionModelType', 'DefaultRevenueValue')
.Limit(offset, page_size)
.Build())

conversion_trackers = query.Pager(service_conversion_tracker) #output: Only disabled conversion action

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Nov 30, 2017, 5:28:48 PM11/30/17
to AdWords API Forum
Hi, 

Could you please enable logging and share the SOAP request and response? Please use Reply privately to author while sharing the details. 

Thanks,
Sreelakshmi, AdWords API Team
Reply all
Reply to author
Forward
0 new messages