I'm a bit new to this (and using the new Ruby API - Thanks!) so the
error message I'm getting is insufficient to find the problem...  I'm
using the sandbox and it seems to be telling me that I've git
insufficient criteria for my search, but the docs seem to indicate
that I should be fine...  Anyone able to help me here?

SOAP traces...

D, [2011-08-26T11:12:57.398600 #50909] DEBUG -- : SOAP request:
https://adwords-sandbox.google.com/api/adwords/o/v201101/TargetingIdeaService
D, [2011-08-26T11:12:57.398701 #50909] DEBUG -- : SOAPAction: "get",
Content-Type: text/xml;charset=UTF-8

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:wsdl="https://adwords.google.com/api/adwords/o/v201101";
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";>
  <env:Header>
    <wsdl:RequestHeader xmlns="https://adwords.google.com/api/adwords/
cm/v201101">
      <userAgent>Ruby-AwApi-0.4.0|Tranzub Keywords</userAgent>
      <developerToken>***</developerToken>
      <clientEmail>***</clientEmail>
      <authToken>***</authToken>
    </wsdl:RequestHeader>
  </env:Header>
  <env:Body>
    <get xmlns="https://adwords.google.com/api/adwords/o/v201101";>
      <selector>
        <searchParameters xsi:type="CountryTargetSearchParameter">
          <categoryId>197176</categoryId>
        </searchParameters>
        <searchParameters xsi:type="CountryTargetSearchParameter">
          <operation><minimum>100000</minimum></operation>
        </searchParameters>
        <searchParameters xsi:type="CountryTargetSearchParameter">
          <operation><minimum>5000</minimum></operation>
        </searchParameters>
        <searchParameters xsi:type="CountryTargetSearchParameter">
          <wsdl:countryTargets xmlns="https://adwords.google.com/api/adwords/
cm/v201101">
            <countryCode>CA</countryCode>
        </wsdl:countryTargets></searchParameters>
        <ideaType>KEYWORD</ideaType>
        <requestType>IDEAS</requestType>
        <requestedAttributeTypes>COMPETITION</requestedAttributeTypes>
        <requestedAttributeTypes>CRITERION</requestedAttributeTypes>
        <requestedAttributeTypes>KEYWORD_CATEGORY</requestedAttributeTypes>
        <requestedAttributeTypes>NGRAM_GROUP</requestedAttributeTypes>
        <requestedAttributeTypes>AVERAGE_TARGETED_MONTHLY_SEARCHES</
requestedAttributeTypes>
        <requestedAttributeTypes>GLOBAL_MONTHLY_SEARCHES</
requestedAttributeTypes>
        <requestedAttributeTypes>TARGETED_MONTHLY_SEARCHES</
requestedAttributeTypes>
        <wsdl:paging xmlns="https://adwords.google.com/api/adwords/cm/
v201101">
          <startIndex>0</startIndex>
          <numberResults>100</numberResults>
        </wsdl:paging>
        <localeCode>en_US</localeCode>
      </selector>
    </get>
  </env:Body>
</env:Envelope>

D, [2011-08-26T11:12:59.488048 #50909] DEBUG -- : SOAP response
(status 500):

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader xmlns:ns2="https://adwords.google.com/api/adwords/
cm/v201101" xmlns="https://adwords.google.com/api/adwords/o/v201101";>
      <ns2:requestId>0004ab6c7ebbb8a00ada65473d4840b3</ns2:requestId>
      <ns2:operations>1</ns2:operations>
      <ns2:responseTime>1478</ns2:responseTime>
      <ns2:units>1</ns2:units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[TargetingIdeaError.INSUFFICIENT_SEARCH_PARAMETERS
@ selector.selector.searchParameters]</faultstring>
      <detail>
        <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/o/
v201101" xmlns:ns2="https://adwords.google.com/api/adwords/cm/
v201101">
          <ns2:message>[TargetingIdeaError.INSUFFICIENT_SEARCH_PARAMETERS @
selector.selector.searchParameters]</ns2:message>
          <ns2:ApplicationException.Type>ApiException</
ns2:ApplicationException.Type>
          <ns2:errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="TargetingIdeaError">
            <ns2:fieldPath>selector.selector.searchParameters</ns2:fieldPath>
            <ns2:trigger></ns2:trigger>
        
<ns2:errorString>TargetingIdeaError.INSUFFICIENT_SEARCH_PARAMETERS</
ns2:errorString>
            <ns2:ApiError.Type>TargetingIdeaError</
ns2:ApiError.Type><reason>INSUFFICIENT_SEARCH_PARAMETERS</reason>
          </ns2:errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

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