Thanks for the note Eric. I'm looking forward to your update. On Jun 21, 3:46 pm, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > Hi Don, > > I am seeing the same problem with CAMPAIGN_PERFORMANCE_REPORTs. I'll > work with the core engineering team to investigate the problem and > update this thread when I have more information. > > Best, > - Eric Koleda, AdWords API Team > > On Jun 21, 1:42 pm, Don Spaulding <donspauldin...@gmail.com> wrote: > > > I didn't specify any client information when creating the report > > definition. I assumed that a report definition was constant across > > multiple clients, and that the clientEmail header I was passing across > > in the HTTP request was used to determine which account to run the > > report for. I assume based on your response that I need to specify a > > clientEmail header in the SOAP request as well (at report definition > > time) and that must match the clientEmail HTTP header. When I try > > that, the report definition succeeds, but I get a different error > > while downloading: > > > HTTP response body: > > !!!Unexpected exception|||934166 > > > SOAP REQUEST: > > > <SOAP-ENV:Envelope xmlns:ns0="https://adwords.google.com/api/adwords/ > > cm/v201002" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xmlns:tns="https://adwords.google.com/api/adwords/cm/v201002" > > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> > > <SOAP-ENV:Header> > > <tns:RequestHeader> > > <tns:authToken>REDACTED</tns:authToken> > > <tns:clientEmail>REDACTED</tns:clientEmail> <!-- same > > value as HTTP clientEmail header --> > > <tns:developerToken>REDACTED</tns:developerToken> > > <tns:userAgent>YAAAC Client (0.2alpha)</tns:userAgent> > > </tns:RequestHeader> > > </SOAP-ENV:Header> > > <SOAP-ENV:Body> > > <ns0:mutate> > > <ns0:operations xsi:type="ns0:ReportDefinitionOperation"> > > <ns0:operator>ADD</ns0:operator> > > <ns0:operand> > > <ns0:selector> > > <ns0:fields>Name</ns0:fields> > > <ns0:fields>Impressions</ns0:fields> > > <ns0:fields>Clicks</ns0:fields> > > <ns0:fields>Cost</ns0:fields> > > <ns0:fields>AveragePosition</ns0:fields> > > <ns0:dateRange> > > <ns0:min>20100401</ns0:min> > > <ns0:max>20100430</ns0:max> > > </ns0:dateRange> > > </ns0:selector> > > <ns0:reportName>Daily Account Report - XXX</ > > ns0:reportName> > > <ns0:reportType>CAMPAIGN_PERFORMANCE_REPORT</ > > ns0:reportType> > > <ns0:dateRangeType>CUSTOM_DATE</ns0:dateRangeType> > > <ns0:downloadFormat>XML</ns0:downloadFormat> > > </ns0:operand> > > </ns0:operations> > > </ns0:mutate> > > </SOAP-ENV:Body> > > </SOAP-ENV:Envelope> > > > SOAP RESPONSE: > > > <?xml version="1.0"?> > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > > <soap:Header> > > <ResponseHeader xmlns="https://adwords.google.com/api/adwords/ > > cm/v201002"> > > <requestId>14aaba8142d164ab76a05c96c68282cf</requestId> > > <operations>1</operations> > > <responseTime>199</responseTime> > > <units>1</units> > > </ResponseHeader> > > </soap:Header> > > <soap:Body> > > <mutateResponse xmlns="https://adwords.google.com/api/adwords/ > > cm/v201002"> > > <rval> > > <id>934166</id> > > <selector> > > <fields>Name</fields> > > <fields>Impressions</fields> > > <fields>Clicks</fields> > > <fields>Cost</fields> > > <fields>AveragePosition</fields> > > <dateRange> > > <min>20100401</min> > > <max>20100430</max> > > </dateRange> > > </selector> > > <reportName>Daily Account Report - XXX</reportName> > > <reportType>CAMPAIGN_PERFORMANCE_REPORT</reportType> > > <hasAttachment>false</hasAttachment> > > <dateRangeType>CUSTOM_DATE</dateRangeType> > > <downloadFormat>XML</downloadFormat> > > <creationTime>20100621 102928 America/Los_Angeles</ > > creationTime> > > </rval> > > </mutateResponse> > > </soap:Body> > > </soap:Envelope> > > > On Jun 21, 4:53 am, adwordsapiadvi...@google.com wrote: > > > > Hi Don, > > > > When you mention that you are using an arbitrary client's clientEmail > > > in the Authorization header, is this the same clientEmail for which you > > > generated the report definition? > > > > Cheers, > > > Anash P. Oommen, > > > 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