How can I retrieve conversion using ConversionTrackerService

451 views
Skip to first unread message

Jikai Zhang

unread,
Nov 24, 2017, 5:34:08 AM11/24/17
to AdWords API Forum
Hi AdWords API Teams,

I use AdWords integrate with Firebase project, I create Conversion with Firebase events in the AdWords Platform, so I can see those conversions on the adwords.
But I can not retrieve those conversions using ConversionTrackerServiceInterface API, How can I do this.

Thanks.

some code I used.

CampaignServiceInterface campaignService =
adWordsServices.get(session, CampaignServiceInterface.class);

int offset = 0;

SelectorBuilder builder1 = new SelectorBuilder();
Selector selector1 = builder1.fields(ConversionTrackerField.Id, ConversionTrackerField.AppId,
ConversionTrackerField.Name).build();
ConversionTrackerServiceInterface trackerServiceInterface = adWordsServices.get(session, ConversionTrackerServiceInterface.class);
ConversionTrackerPage page1 = null;
do {
page1 = trackerServiceInterface.get(selector1);

if (page1.getEntries() != null) {
for (ConversionTracker conversionTracker : page1.getEntries()) {
System.out.printf("ConversionTracker with name '%s' and ID %d was found.%n", conversionTracker.getName(),
conversionTracker.getId());
}
} else {
}

offset += PAGE_SIZE;
} while (offset < page1.getTotalNumEntries());

Peter Oliquino

unread,
Nov 27, 2017, 1:49:05 AM11/27/17
to AdWords API Forum
Hi Jikai,

Conversions are not retrieved via the ConversionTrackerService and can only be retrieved through the AdWords API reporting. The ConversionTrackerService.get() will only retrieve your ConversionTrackers and not the actual number of conversions generated.

For the conversion values or metrics, you may refer to this guide as to which fields can provide you the conversion information you need and which report types support them. I hope this helps and feel free to write back if you have any further clarifications.

Thanks and regards,
Peter
AdWords API Team

Jikai Zhang

unread,
Nov 27, 2017, 9:59:35 AM11/27/17
to AdWords API Forum
Hi Peter,

Sorry, I did not describe it clearly. Actually I want to get the ConversionTracker Id using the ConversionTrackerService, but I can not get the ConversionTracker created by Firebase event tracking. How can I retrieve those, Thanks!

Jikai

Michael Cloonan (AdWords API Team)

unread,
Nov 28, 2017, 11:58:19 AM11/28/17
to AdWords API Forum
Hello,

Can you please reply to me privately with the Customer ID and the name/id of the conversion tracker you're trying to retrieve so I can take a closer look? You can use "Reply privately to author" at the top right of my post.

Thanks,
Mike, AdWords API Team

jia zheng

unread,
Aug 9, 2018, 10:54:13 PM8/9/18
to AdWords API and Google Ads API Forum
Hello. I also have the same problem. I didn't add any conditions when I searched. I just need to check the list of conversion trackers that I have under the account, but some trackers can't find them. Mainly from conversions for source=Third-party application analysis tools. I don't know if you solve this problem. How can I get it? I thought I needed to get this id when I created it in UAC.

jia zheng

unread,
Aug 9, 2018, 11:50:22 PM8/9/18
to AdWords API and Google Ads API Forum

3.png


在 2017年11月29日星期三 UTC+8上午12:58:19,Michael Cloonan (AdWords API Team)写道:

Bharani Cherukuri (AdWords API Team)

unread,
Aug 10, 2018, 2:10:16 PM8/10/18
to AdWords API and Google Ads API Forum
Hello Jia, 

I see that you opened a new thread for the same issue. Please continue the discussion on that thread for better tracking. 

Thanks,
Bharani, AdWords API Team

minhtuy tuong

unread,
Aug 13, 2018, 2:11:23 AM8/13/18
to AdWords API and Google Ads API Forum
me too
i like you
i can not fix, help me please

jia zheng

unread,
Aug 13, 2018, 2:59:16 AM8/13/18
to AdWords API and Google Ads API Forum
If you solve it, please reply me how to solve it, ok?

在 2018年8月13日星期一 UTC+8下午2:11:23,minhtuy tuong写道:

CHRISTY CHR

unread,
Aug 26, 2018, 1:46:14 AM8/26/18
to AdWords API and Google Ads API Forum
Pleaase, help me. i like you a problem

Vào 02:34:08 UTC-8 Thứ Sáu, ngày 24 tháng 11 năm 2017, Jikai Zhang đã viết:

Gary Torino

unread,
Aug 27, 2018, 4:54:07 PM8/27/18
to AdWords API and Google Ads API Forum
that's great :)))


On Friday, November 24, 2017 at 2:34:08 AM UTC-8, Jikai Zhang wrote:

Roberto Jax

unread,
Aug 27, 2018, 4:54:07 PM8/27/18
to AdWords API and Google Ads API Forum
tks so much baby
i fixed this :)


On Friday, November 24, 2017 at 2:34:08 AM UTC-8, Jikai Zhang wrote:
Reply all
Reply to author
Forward
0 new messages