I'm continually getting
ReportDefinitionError.INVALID_REPORT_DEFINITION_ID when using the
v201101 php api.

When I poll the service for my reports you can see my newly created
report here:



    [0] => ReportDefinition Object
        (
            [id] => 27479778
            [selector] => Selector Object
                (
                    [fields] => Array
                        (
                            [0] => AdGroupId
                            [1] => Id
                            [2] => KeywordText
                            [3] => KeywordMatchType
                            [4] => Impressions
                            [5] => Clicks
                            [6] => Cost
                        )

                    [predicates] => Array
                        (
                            [0] => Predicate Object
                                (
                                    [field] => AdGroupId
                                    [operator] => EQUALS
                                    [values] => Array
                                        (
                                            [0] => 1547371
                                        )

                                )

                        )

                    [dateRange] =>
                    [ordering] =>
                    [paging] =>
                )

            [reportName] => Keywords performance report #1304366377
            [reportType] => KEYWORDS_PERFORMANCE_REPORT
            [hasAttachment] =>
            [dateRangeType] => YESTERDAY
            [downloadFormat] => XML
            [creationTime] => 20110502 125938 America/Los_Angeles
            [crossClient] =>
            [clientSelectors] =>
        )



And the response I get back when trying to access the report is this:



[ Mon, May 02 08:10:58 PM ]     report data:
Zend_Http_Response Object
(
    [version:protected] => 1.1
    [code:protected] => 200
    [message:protected] => OK
    [headers:protected] => Array
        (
            [Content-type] => text/html; charset=UTF-8
            [Date] => Mon, 02 May 2011 20:10:58 GMT
            [Expires] => Mon, 02 May 2011 20:10:58 GMT
            [Cache-control] => private, max-age=0
            [X-content-type-options] => nosniff
            [X-frame-options] => SAMEORIGIN
            [X-xss-protection] => 1; mode=block
            [Server] => GSE
            [Connection] => close
        )

    [body:protected] => !!!1|||27479778|||
ReportDefinitionError.INVALID_REPORT_DEFINITION_ID???
)



Any ideas? I get this invalid id error for all the reports I've tried.

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