problem solved...

6 Haziran 2012 Çarşamba 09:27:02 UTC+3 tarihinde Tayfun Küçükserim yazdı:
>
> Hello,
> I get the error:
> Report contents are invalid. - 
> !!!1|||-1|||InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro???
>  
> when I run the code below...
>
>
> definition = new ReportDefinition();
>
> definition.reportName = "SEARCH_QUERY_PERFORMANCE_REPORT";
> definition.reportType 
> = ReportDefinitionReportType.SEARCH_QUERY_PERFORMANCE_REPORT;
> definition.downloadFormat = DownloadFormat.CSV;
> definition.dateRangeType = ReportDefinitionDateRangeType.CUSTOM_DATE;
>
> reportSelector = new Selector();
> reportSelector.fields = new string[] { "QueryMatchType", "Query" };
>
> DateRange range = new DateRange();
> range.min = startDate.Year.ToString() + startDate.Month.ToString("00") + 
> startDate.Day.ToString("00");
> range.max = endDate.Year.ToString() + endDate.Month.ToString("00") + 
> endDate.Day.ToString("00");
>
> reportSelector.dateRange = range;
>
> reportPredicate = new Predicate();
> reportPredicate.field = "AdGroupId";
> reportPredicate.@operator = PredicateOperator.IN;
> reportPredicate.values = new string[] { "..." }
>
> reportSelector.predicates = new Predicate[] { reportPredicate };
>
> definition.selector = reportSelector;
>
> report = new 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities(this._AdWordsUser).GetClientReport(definition);
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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

Reply via email to