Hello Reinhold,

The order of the fields in the report definition is important. This error 
message usually means they are not in the correct order in your request.

Also, consider using our C# libraries which will handle this and many other 
minor details for you:

  https://developers.google.com/adwords/api/docs/clientlibraries


-Danial, AdWords API Team.




On Thursday, December 13, 2012 4:41:39 AM UTC-8, Reinhold Maurus wrote:
>
>  I use AdHoc reporting with DownloadClientReport. I have this selection 
> code which is used in this example: 
>
>
> http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/examples/adwords/csharp/v201206/Reporting/DownloadCriteriaReport.cs
>  
>
> I get this result:
>
> <?xml version="1.0" encoding="UTF-8" 
> standalone="yes"?><reportDownloadError><ApiError><type>ReportDownloadError.INVALID_REPORT_DEFINITION_XML</type><trigger>Invalid
>  
> ReportDefinition Xml: cvc-complex-type.2.4.a: Invalid content was found 
> starting with element 'selector'. One of '{&quot;
> https://adwords.google.com/api/adwords/cm/v201109&quot;:id<https://adwords.google.com/api/adwords/cm/v201109":id>,
>  
> &quot;https://adwords.google.com/api/adwords/cm/v201109&quot;:selector<https://adwords.google.com/api/adwords/cm/v201109":selector>}'
>  
> is 
> expected.</trigger><fieldPath></fieldPath></ApiError></reportDownloadError>
>
> Does anyone know the new Selector code for c#?
>
>  
>
>  
>

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



Reply via email to