Hi Anash,
This is Request and response i am getting:

[Feb 22 2012 15:36:21.000000 - INFO] POST /api/adwords/cm/v201109/
CampaignService?oauth_consumer_key=consumaer
key&oauth_token=token&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1329905179&oauth_nonce=4f44be1b09405&oauth_version=1.0a&oauth_signature=EQUQhW8wfq6TxyJ7lvPCLG7cywU
%3D HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.3.3-1ubuntu9.9, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 524

<?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/
v201109">
  <SOAP-ENV:Header>
    <ns1:RequestHeader>
      <ns1:clientCustomerId>customerid</ns1:clientCustomerId>
      <ns1:developerToken>developer token</ns1:developerToken>
      <ns1:userAgent>AwApi-PHP-3.0.0-Adwords API</ns1:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:get>
      <ns1:serviceSelector>
        <ns1:fields>Id</ns1:fields>
        <ns1:fields>Name</ns1:fields>
        <ns1:fields>AdServingOptimizationStatus</ns1:fields>
        <ns1:fields>TargetGoogleSearch</ns1:fields>
        <ns1:fields>TargetContentNetwork</ns1:fields>
        <ns1:fields>DeliveryMethod</ns1:fields>
        <ns1:predicates>
          <ns1:field>Status</ns1:field>
          <ns1:operator>IN</ns1:operator>
          <ns1:values>ACTIVE</ns1:values>
        </ns1:predicates>
        <ns1:ordering>
          <ns1:field>Name</ns1:field>
          <ns1:sortOrder>ASCENDING</ns1:sortOrder>
        </ns1:ordering>
        <ns1:paging>
          <ns1:startIndex>0</ns1:startIndex>
          <ns1:numberResults>500</ns1:numberResults>
        </ns1:paging>
      </ns1:serviceSelector>
    </ns1:get>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Wed, 22 Feb 2012 10:06:20 GMT
Expires: Wed, 22 Feb 2012 10:06:20 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 638
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/
v201109">
      <requestId>0004b98aadd3f0400a42042700005302</requestId>
      <serviceName>CampaignService</serviceName>
      <methodName>get</methodName>
      <operations>1</operations>
      <responseTime>500</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <getResponse xmlns="https://adwords.google.com/api/adwords/cm/
v201109">
      <rval>
        <totalNumEntries>1</totalNumEntries>
        <Page.Type>CampaignPage</Page.Type>
        <totalBudget>
          <period>DAILY</period>
          <amount>
            <ComparableValue.Type>Money</ComparableValue.Type>
            <microAmount>0</microAmount>
          </amount>
        </totalBudget>
        <entries>
          <id>34699234</id>
          <name>Trinity Campaign</name>
          <conversionOptimizerEligibility>
            <eligible>false</eligible>
            <rejectionReasons>NOT_CPC_CAMPAIGN</rejectionReasons>
            <rejectionReasons>CAMPAIGN_IS_NOT_ACTIVE</
rejectionReasons>
            <rejectionReasons>CONVERSION_TRACKING_NOT_ENABLED</
rejectionReasons>
          </conversionOptimizerEligibility>
          <campaignStats>
            <network>ALL</network>
            <Stats.Type>CampaignStats</Stats.Type>
          </campaignStats>
          <adServingOptimizationStatus>OPTIMIZE</
adServingOptimizationStatus>
          <frequencyCap>
            <impressions>0</impressions>
          </frequencyCap>
          <networkSetting>
            <targetGoogleSearch>true</targetGoogleSearch>
            <targetContentNetwork>false</targetContentNetwork>
          </networkSetting>
        </entries>
      </rval>
    </getResponse>
  </soap:Body>
</soap:Envelope>

On Feb 22, 3:00 pm, "Anash P. Oommen" <anash.p.oommen
[email protected]> wrote:
> Hi Chirag,
>
> Will it be possible to post a sanitized SOAP request and response xml that
> shows you requesting DeliveryMethod but results not coming back?
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to