Hi Danial,

Thanks for the respponse.

Yes, We are sending request against by setting  new client customer id 
$user->SetClientCustomerId($clientId). Please  find the below response and 
attachment for output UI

[Feb 17 2015 04:05:28.000000 - INFO] POST 
/api/adwords/o/v201406/TrafficEstimatorService HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.4.12, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 560
Authorization: Bearer 
ya29.HQEFEOaJFbqmR6-Ld6aiI6pvToARhpZWCPjvO_HxUwx0rJJafX6S8NQlnwlm9Uiz4EHAZwZUPbYNBg

<?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/v201406"; 
xmlns:ns2="https://adwords.google.com/api/adwords/o/v201406"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <SOAP-ENV:Header>
    <ns2:RequestHeader>
      <ns1:clientCustomerId>834-253-5687</ns1:clientCustomerId>
      <ns1:developerToken>cTRPbvATTAMFSoYGgL_n7w</ns1:developerToken>
      <ns1:userAgent>Odessa Technologies (AwApi-PHP/5.4.0, 
Common-PHP/5.4.0, PHP/5.4.12)</ns1:userAgent>
    </ns2:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns2:get>
      <ns2:selector>
        <ns2:campaignEstimateRequests>
          <ns2:adGroupEstimateRequests>
            <ns2:keywordEstimateRequests>
              <ns2:keyword>
                <ns1:text>Fleet Management Software</ns1:text>
                <ns1:matchType>BROAD</ns1:matchType>
              </ns2:keyword>
            </ns2:keywordEstimateRequests>
            <ns2:maxCpc>
              <ns1:microAmount>10000000</ns1:microAmount>
            </ns2:maxCpc>
          </ns2:adGroupEstimateRequests>
          <ns2:criteria xsi:type="ns1:Location">
            <ns1:id>2840</ns1:id>
          </ns2:criteria>
          <ns2:criteria xsi:type="ns1:Language">
            <ns1:id>1000</ns1:id>
          </ns2:criteria>
        </ns2:campaignEstimateRequests>
      </ns2:selector>
    </ns2:get>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Tue, 17 Feb 2015 04:05:28 GMT
Expires: Tue, 17 Feb 2015 04:05:28 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 593
Server: GSE

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201406"; 
xmlns="https://adwords.google.com/api/adwords/o/v201406";>
      <ns2:requestId>00050f40d028c2680abfbacbbf007615</ns2:requestId>
      <ns2:serviceName>AccountService</ns2:serviceName>
      <ns2:methodName>get</ns2:methodName>
      <ns2:operations>0</ns2:operations>
      <ns2:responseTime>302</ns2:responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <getResponse 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201406"; 
xmlns="https://adwords.google.com/api/adwords/o/v201406";>
      <rval>
        <campaignEstimates>
          <Estimate.Type>CampaignEstimate</Estimate.Type>
          <adGroupEstimates>
            <Estimate.Type>AdGroupEstimate</Estimate.Type>
            <keywordEstimates>
              <Estimate.Type>KeywordEstimate</Estimate.Type>
              <min>
                <averageCpc>
                  <ns2:ComparableValue.Type>Money</ns2:ComparableValue.Type>
                  <ns2:microAmount>5134342</ns2:microAmount>
                </averageCpc>
                <averagePosition>2.609656720947073</averagePosition>
                <clickThroughRate>0.012090803641903958</clickThroughRate>
                <clicksPerDay>9.897187</clicksPerDay>
                <impressionsPerDay>736.7143</impressionsPerDay>
                <totalCost>
                  <ns2:ComparableValue.Type>Money</ns2:ComparableValue.Type>
                  <ns2:microAmount>56461716</ns2:microAmount>
                </totalCost>
              </min>
              <max>
                <averageCpc>
                  <ns2:ComparableValue.Type>Money</ns2:ComparableValue.Type>
                  <ns2:microAmount>6275307</ns2:microAmount>
                </averageCpc>
                <averagePosition>2.135173577933451</averagePosition>
                <clickThroughRate>0.014777649607431331</clickThroughRate>
                <clicksPerDay>12.096562</clicksPerDay>
                <impressionsPerDay>900.42865</impressionsPerDay>
                <totalCost>
                  <ns2:ComparableValue.Type>Money</ns2:ComparableValue.Type>
                  <ns2:microAmount>69008768</ns2:microAmount>
                </totalCost>
              </max>
            </keywordEstimates>
          </adGroupEstimates>
        </campaignEstimates>
      </rval>
    </getResponse>
  </soap:Body>
</soap:Envelope>






















On Monday, 16 February 2015 20:12:54 UTC+5:30, Danial Klimkin wrote:
>
> Hello,
>
>
> Do you run the TES request against the same clientCustomerId?
>
> What is the exact service response?
>
>
> -Danial, AdWords API Team.
>
>
> On Monday, February 16, 2015 at 3:59:31 PM UTC+3, suga priya wrote:
>>
>> Hi,
>>
>> I am using TrafficEstimatorService  to get clicks, impression.ad 
>> position,avg cpc etc etc by using TrafficEstimatorService . Please find my 
>> settings below for the attached screenshots
>>
>>     $unitedStates = new Location();
>>     $unitedStates->id = 2840;
>>     $campaignEstimateRequest->criteria[] = $unitedStates;
>>
>>     $english = new Language();
>>     $english->id = 1000;
>>     $campaignEstimateRequest->criteria[] = $english;
>>   
>>     $network = new networkSetting();
>>     $network->targetGoogleSearch = true;
>>     $network->targetSearchNetwork = false;
>>     $network->targetPartnerSearchNetwork  = false;
>>     $network->targetContentNetwork    =    false;
>>     $campaignEstimateRequests->networkSetting[] = $network;
>>
>> The value getting from UI is not matching with API values and we recently 
>> changed the client id since we moved all the Adwords account to mcc account.
>> Plese help us resolve this issue
>>
>>
<https://lh6.googleusercontent.com/-FZXlSNwwcj0/VOK_mUpKWUI/AAAAAAAAAME/_7UQvQKiuO4/s1600/adword.png>
 
<https://lh5.googleusercontent.com/-Z92T87FWVRc/VOK_tIwau6I/AAAAAAAAAMM/JY72l49ffmg/s1600/adword.png>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
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 [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e47832f6-e4eb-4ca6-ad54-7706a8bfe0b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to