Yep, that was the problem, I forgot to update this thread.

On Monday, September 30, 2013 3:17:09 PM UTC-4, Jeremy Aube wrote:
>
> Perhaps you have the same negative in multiple ad groups?
>
> On Thursday, September 26, 2013 10:47:23 AM UTC-4, Peter Kingswell wrote:
>>
>> Hi,
>>
>> I'm downloading the report with the code below and am receiving multiple 
>> copies of the same row e.g. 
>>
>> Campaign ID Keyword ID Match type Keyword
>>  47980415 10580922 Broad styling product  47980415 10580922 Broad styling 
>> product  47980415 10580922 Broad styling product  47980415 10580922 Broad 
>> styling 
>> product 
>> AFAIK I'm not using any segmenting fields so I don't know why I'm getting 
>> these duplicates.  In fact, I'm downloading only "Attribute" fields which I 
>> gather are the least likely to segment a report.  If anyone could shed any 
>> light, it would be most appreciated.  For completeness, the code below is 
>> for downloading a single day's worth of negative keywords (dateRange.min == 
>> dateRange.max).
>>
>> Thanks, Peter
>>
>> ...
>>                 ReportDefinition definition = new ReportDefinition();
>>                 definition.reportName = 
>> "ADGROUP_NEGATIVE_KEYWORD_PERFORMANCE_REPORT__HIST__";
>>                 definition.reportType = 
>> ReportDefinitionReportType.KEYWORDS_PERFORMANCE_REPORT;
>>                 definition.downloadFormat = DownloadFormat.CSV;
>>                 definition.includeZeroImpressions = true;
>>
>> definition.dateRangeType = ReportDefinitionDateRangeType.CUSTOM_DATE;
>>
>> Selector selector = new Selector();
>> selector.dateRange = new DateRange();
>> selector.dateRange.min = ((DateTime)baseDate).ToString("yyyyMMdd", 
>> System.Globalization.CultureInfo.GetCultureInfo("en-US"));
>> selector.dateRange.max = selector.dateRange.min;
>>
>>                 Predicate negativeOnly = new Predicate();
>>                 negativeOnly.field = "IsNegative";
>>                 negativeOnly.@operator = PredicateOperator.IN;
>>                 negativeOnly.values = new string[] { "TRUE" };
>>                 selector.predicates = new Predicate[] { negativeOnly };
>>
>>                 selector.fields = new string[] { "KeywordText", 
>> "CampaignId", "Id", "KeywordMatchType" }; 
>>
>>                 definition.selector = selector;
>> ...
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to