Dear AdWords-Team,

i got a little problem with creating a report. I thought the api would
return at least some dummy data, but I only recive the table-layout.

I'm using:
PHP Version:
PHP 5.3.3-7+squeeze1 with Suhosin-Patch (cli) (built: Mar 18 2011
20:10:12)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins
GmbH

Google AdWords-Api-Client:
Checked out revision 189

The two requests I made:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v201101" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <SOAP-ENV:Header>
    <ns1:RequestHeader xsi:type="ns1:RequestHeader">
      <ns1:authToken>*****</ns1:authToken>
      <ns1:clientEmail>xxx</ns1:clientEmail>
      <ns1:developerToken>xxx</ns1:developerToken>
      <ns1:userAgent>xxx</ns1:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:mutate>
      <ns1:operations>
        <ns1:operator>ADD</ns1:operator>
        <ns1:operand>
          <ns1:selector>
            <ns1:fields>AdGroupId</ns1:fields>
            <ns1:fields>Id</ns1:fields>
            <ns1:fields>KeywordText</ns1:fields>
            <ns1:fields>KeywordMatchType</ns1:fields>
            <ns1:fields>Impressions</ns1:fields>
            <ns1:fields>ClickType</ns1:fields>
            <ns1:fields>Clicks</ns1:fields>
            <ns1:fields>Cost</ns1:fields>
            <ns1:predicates>
              <ns1:field>AdGroupId</ns1:field>
              <ns1:operator>EQUALS</ns1:operator>
              <ns1:values>3061973138</ns1:values>
            </ns1:predicates>
            <ns1:dateRange>
              <ns1:min>20110621</ns1:min>
              <ns1:max>20110630</ns1:max>
            </ns1:dateRange>
          </ns1:selector>
          <ns1:reportName>Keywords performance report #1309464529 ID:
3061973138</ns1:reportName>
          <ns1:reportType>KEYWORDS_PERFORMANCE_REPORT</ns1:reportType>
          <ns1:dateRangeType>CUSTOM_DATE</ns1:dateRangeType>
          <ns1:downloadFormat>XML</ns1:downloadFormat>
        </ns1:operand>
      </ns1:operations>
    </ns1:mutate>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Thu, 30 Jun 2011 20:08:49 GMT
Expires: Thu, 30 Jun 2011 20:08:49 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 562
Server: GSE

<?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/
v201101">
      <requestId>d3326e6de3bc8d54a029175dda3be3df</requestId>
      <operations>1</operations>
      <responseTime>155</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <mutateResponse xmlns="https://adwords.google.com/api/adwords/cm/
v201101">
      <rval>
        <id>56440</id>
        <selector>
          <fields>AdGroupId</fields>
          <fields>Id</fields>
          <fields>KeywordText</fields>
          <fields>KeywordMatchType</fields>
          <fields>Impressions</fields>
          <fields>ClickType</fields>
          <fields>Clicks</fields>
          <fields>Cost</fields>
          <predicates>
            <field>AdGroupId</field>
            <operator>EQUALS</operator>
            <values>3061973138</values>
          </predicates>
          <dateRange>
            <min>20110621</min>
            <max>20110630</max>
          </dateRange>
        </selector>
        <reportName>Keywords performance report #1309464529 ID:
3061973138</reportName>
        <reportType>KEYWORDS_PERFORMANCE_REPORT</reportType>
        <hasAttachment>false</hasAttachment>
        <dateRangeType>CUSTOM_DATE</dateRangeType>
        <downloadFormat>XML</downloadFormat>
        <creationTime>20110630 130849 America/Los_Angeles</
creationTime>
      </rval>
    </mutateResponse>
  </soap:Body>
</soap:Envelope>

I also tried different "dateRangeType" -Types.


I hope you can have a short look on my problem and give me a hint,
what could be the problem.

Regards from Germany
Roger

P.s. I hope you can understand my english, it's just school-english.

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