Hello,

The Traffic Estimator Service works great for estimating new campaigns. 
However, I'm  having some problem with the Traffic Estimator Service for 
existing campaigns. Here's the request that I sent:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope 
xmlns:tns="https://adwords.google.com/api/adwords/o/v201502"; 
xmlns:ns0="https://adwords.google.com/api/adwords/o/v201502"; 
xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201502"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
   <SOAP-ENV:Header>
      <tns:RequestHeader>
         <tns:clientCustomerId 
xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>9681287274</tns:clientCustomerId>
         <tns:developerToken 
xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>0CD7G_z0VMvajlooM-tq4Q</tns:developerToken>
         <tns:userAgent 
xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>ADH_OAuth2_Client/1.0
 
(AwApi-Python, googleads/3.2.0, Python/2.7)</tns:userAgent>
         <tns:validateOnly 
xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>false</tns:validateOnly>
         <tns:partialFailure 
xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>false</tns:partialFailure>
      </tns:RequestHeader>
   </SOAP-ENV:Header>
   <ns1:Body>
      <ns0:get>
         <ns0:selector>
            <ns0:campaignEstimateRequests>
              
 <ns0:EstimateRequest.Type>CampaignEstimateRequest</ns0:EstimateRequest.Type>
               <ns0:campaignId>115604380</ns0:campaignId>
               <ns0:adGroupEstimateRequests>
                  
<ns0:EstimateRequest.Type>AdGroupEstimateRequest</ns0:EstimateRequest.Type>
                  <ns0:adGroupId>5455234780</ns0:adGroupId>
                  <ns0:keywordEstimateRequests>
                    
 <ns0:EstimateRequest.Type>KeywordEstimateRequest</ns0:EstimateRequest.Type>
                     <ns0:keyword>
                        <ns2:id>12166361</ns2:id>
                        <ns2:Criterion.Type>Keyword</ns2:Criterion.Type>
                        <ns2:text>cheap auto insurance</ns2:text>
                        <ns2:matchType>EXACT</ns2:matchType>
                     </ns0:keyword>
                     <ns0:maxCpc>
                        
<ns2:ComparableValue.Type>Money</ns2:ComparableValue.Type>
                        <ns2:microAmount>10000</ns2:microAmount>
                     </ns0:maxCpc>
                  </ns0:keywordEstimateRequests>
               </ns0:adGroupEstimateRequests>
            </ns0:campaignEstimateRequests>
         </ns0:selector>
      </ns0:get>
   </ns1:Body>
</SOAP-ENV:Envelope>

It asks for 1 keyword in 1 adgroup in 1 campaign only.  And I'm getting the 
following error:

<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201502"; 
xmlns="https://adwords.google.com/api/adwords/o/v201502";><ns2:requestId>0005121edc008e010ac41727da004648</ns2:requestId><ns2:serviceName>AdGroupService</ns2:serviceName><ns2:methodName>get</ns2:methodName><ns2:operations>0</ns2:operations><ns2:responseTime>648</ns2:responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[EntityNotFound.INVALID_ID
 
@ ]</faultstring><detail><ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/o/v201502"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201502";><ns2:message>[EntityNotFound.INVALID_ID
 
@ 
]</ns2:message><ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type><ns2:errors
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns2:EntityNotFound"><ns2:fieldPath></ns2:fieldPath><ns2:trigger></ns2:trigger><ns2:errorString>EntityNotFound.INVALID_ID</ns2:errorString><ns2:ApiError.Type>EntityNotFound</ns2:ApiError.Type><ns2:reason>INVALID_ID</ns2:reason></ns2:errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>


The message doesn't say which Id was the problem. Any help is greatly 
appreciated.

Kind regards,

Anh

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
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/f5c47881-0a84-4d66-8fb8-a95eb75a87d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to