Hello!

i had to switch to one of the newer apis because the old version i
used bevore now is no more supported. But with the same credentials i
do not get any results when using the example files from the PHP
Library. ( GetAllAdGroupCriteria.php )

the soap log tells:

[Nov 23 2010 18:06:48.000000 - INFO] POST /api/adwords/cm/v201008/
CampaignService HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.6-1+lenny9, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 576

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v201008" 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...@gmail.com</ns1:clientEmail>
      <ns1:developerToken>XXXXXXX</ns1:developerToken>
      <ns1:userAgent>AwApi-PHP-2.4.0-XXXXXXXX</ns1:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:get>
      <ns1:selector xmlns:ns1="https://adwords.google.com/api/adwords/
cm/v201008" xsi:type="ns1:CampaignSelector"/>
    </ns1:get>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
Content-Encoding: gzip
Transfer-Encoding: chunked
Date: Tue, 23 Nov 2010 17:06:47 GMT
Expires: Tue, 23 Nov 2010 17:06:47 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
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/
v201008">
      <requestId>8c3c6920f67439db85d4d47e78e7734d</requestId>
      <operations>1</operations>
      <responseTime>410</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <getResponse xmlns="https://adwords.google.com/api/adwords/cm/
v201008">
      <rval>
        <totalNumEntries>0</totalNumEntries>
        <Page.Type>CampaignPage</Page.Type>
        <totalBudget>
          <period>DAILY</period>
          <amount>
            <ComparableValue.Type>Money</ComparableValue.Type>
            <microAmount>0</microAmount>
          </amount>
          <deliveryMethod>STANDARD</deliveryMethod>
        </totalBudget>
      </rval>
    </getResponse>
  </soap:Body>
</soap:Envelope>




my settings.ini:

[LOGGING]
; Log directory is either an absolute path, or relative path to the
; AdWordsUser.php file.
PATH_RELATIVE = "1"
LIB_LOG_DIR_PATH = "../../../../../../logs"

[SERVER]
DEFAULT_VERSION = "v201008"

; Change to https://adwords-sandbox.google.com to work in the sandbox
; environment.  https://adwords.google.com
DEFAULT_SERVER = "https://adwords.google.com";

[SOAP]
; Enable/disable gzip compression on SOAP requests and responses.
COMPRESSION = 1

; The level of gzip compression to use, from 1 to 9. The higher the
level the
; greater the compression and time needed to perform the compression.
The
; recommended and default value is 1.
COMPRESSION_LEVEL = 1

; The type of WSDL caching to use. The possible values are 0 (none), 1
(disk),
; 2 (memory), or 3 (disk and memory). The default value is 0.
WSDL_CACHE = 0

; Other WSDL caching settings can be set in php.ini. See the following
page for
; the complete list: http://www.php.net/manual/en/soap.configuration.php

[PROXY]
; Proxy settings to be used by HTTP (and therefore SOAP) requests.
; HOST = "<HOST>"
; PORT = "<PORT>"
; USER = "<USER NAME>"
; PASSWORD = "<PASSWORD>"

[AUTH]
; The server to use when making ClientLogin or OAuth requests. This
normally
; doesn't need to be changed from the default value "https://
www.google.com".
; AUTH_SERVER = "<SERVER>"




my auth.ini:

email = "x...@gmail.com"
password = "XXXX"
userAgent = "XXXXXX"
applicationToken = "XXXX"
developerToken = "XXXX"

; Uncomment to make requests against a client account.
clientId = x...@gmail.com"

; Uncomment the following to use an existing AuthToken.
; authToken = "INSERT_AUTH_TOKEN_HERE"

; Uncomment the following to use existing OAuth information.
; [OAUTH]
; oauth_consumer_key = "INSERT_OAUTH_CONSUMER_KEY_HERE"
; oauth_consumer_secret = "INSERT_OAUTH_CONSUMER_SECRET_HERE"
; oauth_token = "INSERT_OAUTH_TOKEN_HERE"
; oauth_token_secret = "INSERT_OAUTH_TOKEN_SECRET_HERE"



any ideas?

many thanks

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