I also had problems with field names in the XML and It appeared that
the documentation was a little out of date. The simplest way to find
out for sure is to call a method of the v201003 or higher API on the
ReportDefinitionService object. It has a method called
getReportFields() which returns you an XML document with all the
available fields you can have. If you them use this as the master list
of fields then your problem is solved!

Documentation is here at
http://code.google.com/apis/adwords/docs/reference/latest/ReportDefinitionService.html#getReportFields

Regards
Tony

On Aug 9, 6:33 pm, khanh <i...@exactamedia.com> wrote:
> I'm receiving this error:
> ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus
>
> when running a simple campaign report.
> The report runs correctly on manually, and i get the XML file that i
> want.
>
> when I call the API with the report definition id, it gives me this
> error.
> This report has been working everyday until now.
>
> What can that be?

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