Figured it out...using utilities now object (sets the latest version of
API):
Dim report As ClientReport = utilities.GetClientReport(reportDefinition)
On Tuesday, October 9, 2012 5:17:14 PM UTC-7, bgraves wrote:
> Upgrading from v201109 to v201209 produced the following error:
> ReportDownloadError.INVALID_REPORT_DEFINITION_XML
> Invalid ReportDefinition Xml: cvc-complex-type.2.4.a:
> Invalid content was found starting with element 'selector'. One of '{"
> https://adwords.google.com/api/adwords/cm/v201109":id, "
> https://adwords.google.com/api/adwords/cm/v201109":selector}' is expected.
>
> Here's the code that triggers the error:
> Dim utilities As New ReportUtilities(AdWordsUser)
> utilities.ReportVersion = "v201209"
> Dim report As ClientReport = New
> ReportUtilities(AdWordsUser).GetClientReport(reportDefinition)
> objXML.LoadXml(report.Text)
> Not sure why it's complaining about v201109 format since I'm using v201209
> (see above)
>
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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