Hi,

We are using the Keywords Performance Report to receive the number of 
conversions per Keyword.
Therefore we use the current Java Library and the v201710 API.

Now we came across a single Keyword which returns two rows.
One with the correct number of conversions and one row with a number of 
conversions we cannot allocate.

I created a test case for reproduction.
This is the ReportDefinition:

Long campaignId = <CAMPAIGN_ID>;
Long keywordId = <KEYWORD_ID>;
Long accountId = <ACCOUNT_ID>;
String dateRange = "LAST_30_DAYS";

Predicate campaignPredicate = new Predicate();
campaignPredicate.setField("CampaignId");
campaignPredicate.setOperator(PredicateOperator.EQUALS);
campaignPredicate.getValues().add(String.valueOf(campaignId));

Predicate keywordPredicate = new Predicate();
keywordPredicate.setField("Id");
keywordPredicate.setOperator(PredicateOperator.EQUALS);
keywordPredicate.getValues().add(String.valueOf(keywordId));

Selector selector = new Selector();
selector.getFields().addAll(Arrays.asList(new String[] { "Id", 
"Conversions" }));
selector.getPredicates().add(campaignPredicate);
selector.getPredicates().add(keywordPredicate);

ReportDefinition reportDefinition = new ReportDefinition();
reportDefinition.setDateRangeType(ReportDefinitionDateRangeType.fromValue(dateRange));
reportDefinition.setDownloadFormat(DownloadFormat.TSV);
reportDefinition.setReportName("ConversionTest");
reportDefinition.setReportType(ReportDefinitionReportType.KEYWORDS_PERFORMANCE_REPORT);
reportDefinition.setSelector(selector);


Output:

Keyword ID Conversions
>
> 299612791579 182.00
>
> 299612791579 311.00
>


Any idea, why this could happen?

Thanks,
Christian
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f07b7265-b065-4e73-8228-455c691fcf76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to