Hi,

I have same issue.. Here is my soap_xml.log

[Jul 31 2013 09:33:45.000000 - INFO] POST 
/api/adwords/cm/v201306/CampaignService?access_token=[REMOVED SENSITIVE 
DATA] HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.4.3
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 1032

<?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/v201306";>
  <SOAP-ENV:Header>
    <ns1:RequestHeader>
      <ns1:developerToken>[REMOVED SENSITIVE DATA]</ns1:developerToken>
      <ns1:userAgent>INSERT_COMPANY_NAME_HERE (AwApi-PHP/4.5.0, 
Common-PHP/5.0.0, PHP/5.4.3)</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>Impressions</ns1:fields>
        <ns1:fields>Clicks</ns1:fields>
        <ns1:fields>Cost</ns1:fields>
        <ns1:fields>Ctr</ns1:fields>
        <ns1:predicates>
          <ns1:field>Impressions</ns1:field>
          <ns1:operator>GREATER_THAN</ns1:operator>
          <ns1:values>0</ns1:values>
        </ns1:predicates>
        <ns1:dateRange>
          <ns1:min>20130724</ns1:min>
          <ns1:max>20130730</ns1:max>
        </ns1:dateRange>
        <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
Date: Wed, 31 Jul 2013 09:33:42 GMT
Expires: Wed, 31 Jul 2013 09:33:42 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Transfer-Encoding: chunked

<?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/v201306";>
      <requestId>0004e2cb6bd2fed80ae53988000042e8</requestId>
      <serviceName>CampaignService</serviceName>
      <methodName>get</methodName>
      <operations>1</operations>
      <responseTime>201</responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201306";>
      <rval>
        <totalNumEntries>0</totalNumEntries>
        <Page.Type>CampaignPage</Page.Type>
      </rval>
    </getResponse>
  </soap:Body>
</soap:Envelope>

Thanks

Rachel

On Wednesday, July 31, 2013 6:59:44 AM UTC+1, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi, 
>
> Do you have soap request and response xml logs? 
> Can you please share it (please remove sensitive info)
>
> Best,
> - Takeshi, 
>
> On Tuesday, July 30, 2013 12:52:11 AM UTC+9, Jason Kelley wrote:
>>
>> So I downloaded and put in place the new adwords api php library 4.4.0 
>> and changed my adwords version to v201306 and implanted Oauth2.0 login.
>>
>> All were required to even get anywhere.
>>
>> But now my code is no longer pulling data. NO errors just zero results.
>>
>> An Example is below and just to make sure I wasn’t going crazy I  pulled 
>> this code from the examples folder and still got zero results.
>>
>> I did a var_dump of the user right before the call and all the the data 
>> and credentials are correct with the new OAuth2 details.
>>
>> Like I said im not getting a error just no results and clearly the 
>> campaign id below has multiple adgroups.
>>
>> Please help.
>>
>>
>> CODE BELOW
>>
>> $campaignId = '123745358';
>>
>> /**
>>
>> * Runs the example.
>>
>> * @param AdWordsUser $user the user to run the example with
>>
>> * @param string $campaignId the id of the parent campaign
>>
>> */
>>
>> function GetAdGroupsExample(AdWordsUser $user, $campaignId) {
>>
>>        
>>
>>   // Get the service, which loads the required classes.
>>
>>   $adGroupService = $user->GetService('AdGroupService', “v201306”);
>>
>>   // Create selector.
>>
>>   $selector = new Selector();
>>
>>   $selector->fields = array('Id', 'Name');
>>
>>   $selector->ordering[] = new OrderBy('Name', 'ASCENDING');
>>
>>   // Create predicates.
>>
>>   $selector->predicates[] =
>>
>>       new Predicate('CampaignId', 'IN', array($campaignId));
>>
>>   // Create paging controls.
>>
>>   $selector->paging = new Paging(0, 
>> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>>
>>   do {
>>
>>     // Make the get request.
>>
>>     $page = $adGroupService->get($selector);
>>
>>     // Display results.
>>
>>     if (isset($page->entries)) {
>>
>>       foreach ($page->entries as $adGroup) {
>>
>>         printf("Ad group with name '%s' and ID '%s' was found.\n",
>>
>>             $adGroup->name, $adGroup->id);
>>
>>       }
>>
>>     } else {
>>
>>       print "No ad groups were found.\n";
>>
>>     }
>>
>>     // Advance the paging index.
>>
>>     $selector->paging->startIndex += 
>> AdWordsConstants::RECOMMENDED_PAGE_SIZE;
>>
>>   } while ($page->totalNumEntries > $selector->paging->startIndex);
>>
>> }
>>
>>
>>
>> try {
>>
>>   // Run the example.
>>
>>   GetAdGroupsExample($user, $campaignId);
>>
>> } catch (Exception $e) {
>>
>>   printf("An error has occurred: %s\n", $e->getMessage());
>>
>> }      
>>
>>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to