hi eric,
i tried to add report definition for search query performance report
and my code looks something like this:
............
$reportDefinition = new ReportDefinition();
  $reportDefinition->reportName = 'Search query performance report
#' . time();
  $reportDefinition->dateRangeType = 'CUSTOM_DATE';
  $reportDefinition->reportType = 'SEARCH_QUERY_PERFORMANCE_REPORT';
  $reportDefinition->downloadFormat = 'CSVFOREXCEL';
  $reportDefinition->selector = $selector;
..........................

but i get the following exception everytime
ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT @ ; trigger:'Id'

similarly when i try to set something by giving report definition id i
get the following exception: invalid report definition ID

please help me regarding this....Am i missing any important criteria?

On Apr 15, 10:32 am, kush <kushva...@outofboundscommunications.com>
wrote:
> Thank you Eric
>
> On Apr 14, 5:33 pm, Eric Koleda <eric.kol...@google.com> wrote:
>
> > Hi Kushvanth,
>
> > Unfortunately the DateRange of a report is configured on the Selector of the
> > ReportDefinition.  You'll need to create a new report definition for each
> > date range, or edit an existing report definition to adjust the date range.
>
> > Best,
> > - Eric Koleda, AdWords API Team

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