Thanks, but after using the TargetingIdeaService a number of times, the "<ns2:operations>...</ns2:operations>" parameters still always returns 0? For instance below I used the TargetingIdeaService for "men's watches" and "glasses" but it returned "0" both times.
Does the TargetingIdeaService not use up operations...? Or is there some other reason it is returning 0 for this parameter? Thanks.
=====SOAP API RESPONSES BELOW=====
[Feb 02 2015 21:53:30.000000 - INFO] POST /api/adwords/o/v201409/TargetingIdeaService HTTP/1.0
Host:
adwords.google.com
Connection: close
User-Agent: PHP-SOAP/5.3.29, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 676
Authorization: Bearer ya29.DwFzWpjKi89QBHw0vWL_dhsqGJkbA2w-jRzkFxycRm2BjbZUKcaDjbpbDBhIeBeXA-vZZJz4j7tzow
<?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/o/v201409" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201409">
<SOAP-ENV:Header>
<ns1:RequestHeader>
<ns2:clientCustomerId>348-841-4824</ns2:clientCustomerId>
<ns2:developerToken>HZ7ypKhwemkgNqXugERZaw</ns2:developerToken>
<ns2:userAgent>Kadence Inc (AwApi-PHP/5.7.1, Common-PHP/5.7.1, PHP/5.3.29)</ns2:userAgent>
</ns1:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:get>
<ns1:selector>
<ns1:searchParameters xsi:type="ns1:RelatedToQuerySearchParameter">
<ns1:queries>men\'s watches</ns1:queries>
</ns1:searchParameters>
<ns1:searchParameters xsi:type="ns1:LanguageSearchParameter">
<ns1:languages>
<ns2:id>1000</ns2:id>
</ns1:languages>
</ns1:searchParameters>
<ns1:ideaType>KEYWORD</ns1:ideaType>
<ns1:requestType>STATS</ns1:requestType>
<ns1:requestedAttributeTypes>AVERAGE_CPC</ns1:requestedAttributeTypes>
<ns1:requestedAttributeTypes>CATEGORY_PRODUCTS_AND_SERVICES</ns1:requestedAttributeTypes>
<ns1:requestedAttributeTypes>COMPETITION</ns1:requestedAttributeTypes>
<ns1:requestedAttributeTypes>IDEA_TYPE</ns1:requestedAttributeTypes>
<ns1:requestedAttributeTypes>TARGETED_MONTHLY_SEARCHES</ns1:requestedAttributeTypes>
<ns1:requestedAttributeTypes>KEYWORD_TEXT</ns1:requestedAttributeTypes>
<ns1:requestedAttributeTypes>SEARCH_VOLUME</ns1:requestedAttributeTypes>
<ns1:paging>
<ns2:startIndex>0</ns2:startIndex>
<ns2:numberResults>500</ns2:numberResults>
</ns1:paging>
</ns1:selector>
</ns1:get>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP/1.0 200 OK
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Tue, 03 Feb 2015 02:53:29 GMT
Expires: Tue, 03 Feb 2015 02:53:29 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 776
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/v201409" xmlns="
https://adwords.google.com/api/adwords/o/v201409">
<ns2:requestId>00050e262cefafc80abfaf1279000b75</ns2:requestId>
<ns2:serviceName>AccountService</ns2:serviceName>
<ns2:methodName>get</ns2:methodName>
<ns2:operations>0</ns2:operations>
<ns2:responseTime>321</ns2:responseTime>
</ResponseHeader>
</soap:Header>
<soap:Body>
<getResponse xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201409" xmlns="
https://adwords.google.com/api/adwords/o/v201409">
<rval>
<totalNumEntries>1</totalNumEntries>
<entries>
<data>
<key>KEYWORD_TEXT</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="StringAttribute">
<Attribute.Type>StringAttribute</Attribute.Type>
<value>men\'s watches</value>
</value>
</data>
<data>
<key>TARGETED_MONTHLY_SEARCHES</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="MonthlySearchVolumeAttribute">
<Attribute.Type>MonthlySearchVolumeAttribute</Attribute.Type>
<value>
<year>2014</year>
<month>12</month>
<count>22200</count>
</value>
<value>
<year>2014</year>
<month>11</month>
<count>40500</count>
</value>
<value>
<year>2014</year>
<month>10</month>
<count>49500</count>
</value>
<value>
<year>2014</year>
<month>9</month>
<count>27100</count>
</value>
<value>
<year>2014</year>
<month>8</month>
<count>12100</count>
</value>
<value>
<year>2014</year>
<month>7</month>
<count>27100</count>
</value>
<value>
<year>2014</year>
<month>6</month>
<count>2400</count>
</value>
<value>
<year>2014</year>
<month>5</month>
<count>2900</count>
</value>
<value>
<year>2014</year>
<month>4</month>
<count>2400</count>
</value>
<value>
<year>2014</year>
<month>3</month>
<count>1600</count>
</value>
<value>
<year>2014</year>
<month>2</month>
<count>6600</count>
</value>
<value>
<year>2014</year>
<month>1</month>
<count>5400</count>
</value>
</value>
</data>
<data>
<key>AVERAGE_CPC</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="MoneyAttribute">
<Attribute.Type>MoneyAttribute</Attribute.Type>
<value>
<ns2:ComparableValue.Type>Money</ns2:ComparableValue.Type>
<ns2:microAmount>1706213</ns2:microAmount>
</value>
</value>
</data>
<data>
<key>CATEGORY_PRODUCTS_AND_SERVICES</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="IntegerSetAttribute">
<Attribute.Type>IntegerSetAttribute</Attribute.Type>
<value>10171</value>
<value>10899</value>
<value>10021</value>
</value>
</data>
<data>
<key>IDEA_TYPE</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="IdeaTypeAttribute">
<Attribute.Type>IdeaTypeAttribute</Attribute.Type>
<value>KEYWORD</value>
</value>
</data>
<data>
<key>SEARCH_VOLUME</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="LongAttribute">
<Attribute.Type>LongAttribute</Attribute.Type>
<value>14800</value>
</value>
</data>
<data>
<key>COMPETITION</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="DoubleAttribute">
<Attribute.Type>DoubleAttribute</Attribute.Type>
<value>1.0</value>
</value>
</data>
</entries>
</rval>
</getResponse>
</soap:Body>
</soap:Envelope>
[Feb 02 2015 21:53:30.000000 - INFO] POST /api/adwords/o/v201409/TargetingIdeaService HTTP/1.0
Host:
adwords.google.com
Connection: close
User-Agent: PHP-SOAP/5.3.29, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 668
Authorization: Bearer ya29.DwFXiGSpcRn31qujq8u9MbcrJh1K7sL-QXQcF7D6pr_6iL4aNI5Gc_RCLCJyn2yeMMx_V5DTcEuAVg
<?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/o/v201409" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201409">
<SOAP-ENV:Header>
<ns1:RequestHeader>
<ns2:clientCustomerId>348-841-4824</ns2:clientCustomerId>
<ns2:developerToken>HZ7ypKhwemkgNqXugERZaw</ns2:developerToken>
<ns2:userAgent>Kadence Inc (AwApi-PHP/5.7.1, Common-PHP/5.7.1, PHP/5.3.29)</ns2:userAgent>
</ns1:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:get>
<ns1:selector>
<ns1:searchParameters xsi:type="ns1:RelatedToQuerySearchParameter">
<ns1:queries>glasses</ns1:queries>
</ns1:searchParameters>
<ns1:searchParameters xsi:type="ns1:LanguageSearchParameter">
<ns1:languages>
<ns2:id>1000</ns2:id>
</ns1:languages>
</ns1:searchParameters>
<ns1:ideaType>KEYWORD</ns1:ideaType>
<ns1:requestType>STATS</ns1:requestType>
<ns1:requestedAttributeTypes>AVERAGE_CPC</ns1:requestedAttributeTypes>
<ns1:requestedAttributeTypes>CATEGORY_PRODUCTS_AND_SERVICES</ns1:requestedAttributeTypes>
<ns1:requestedAttributeTypes>COMPETITION</ns1:requestedAttributeTypes>
<ns1:requestedAttributeTypes>IDEA_TYPE</ns1:requestedAttributeTypes>
<ns1:requestedAttributeTypes>TARGETED_MONTHLY_SEARCHES</ns1:requestedAttributeTypes>
<ns1:requestedAttributeTypes>KEYWORD_TEXT</ns1:requestedAttributeTypes>
<ns1:requestedAttributeTypes>SEARCH_VOLUME</ns1:requestedAttributeTypes>
<ns1:paging>
<ns2:startIndex>0</ns2:startIndex>
<ns2:numberResults>500</ns2:numberResults>
</ns1:paging>
</ns1:selector>
</ns1:get>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP/1.0 200 OK
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Tue, 03 Feb 2015 02:53:29 GMT
Expires: Tue, 03 Feb 2015 02:53:29 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 762
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/v201409" xmlns="
https://adwords.google.com/api/adwords/o/v201409">
<ns2:requestId>00050e262cf5e1b80abfab1119003b00</ns2:requestId>
<ns2:serviceName>AccountService</ns2:serviceName>
<ns2:methodName>get</ns2:methodName>
<ns2:operations>0</ns2:operations>
<ns2:responseTime>354</ns2:responseTime>
</ResponseHeader>
</soap:Header>
<soap:Body>
<getResponse xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201409" xmlns="
https://adwords.google.com/api/adwords/o/v201409">
<rval>
<totalNumEntries>1</totalNumEntries>
<entries>
<data>
<key>KEYWORD_TEXT</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="StringAttribute">
<Attribute.Type>StringAttribute</Attribute.Type>
<value>glasses</value>
</value>
</data>
<data>
<key>TARGETED_MONTHLY_SEARCHES</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="MonthlySearchVolumeAttribute">
<Attribute.Type>MonthlySearchVolumeAttribute</Attribute.Type>
<value>
<year>2014</year>
<month>12</month>
<count>673000</count>
</value>
<value>
<year>2014</year>
<month>11</month>
<count>823000</count>
</value>
<value>
<year>2014</year>
<month>10</month>
<count>673000</count>
</value>
<value>
<year>2014</year>
<month>9</month>
<count>550000</count>
</value>
<value>
<year>2014</year>
<month>8</month>
<count>550000</count>
</value>
<value>
<year>2014</year>
<month>7</month>
<count>550000</count>
</value>
<value>
<year>2014</year>
<month>6</month>
<count>550000</count>
</value>
<value>
<year>2014</year>
<month>5</month>
<count>550000</count>
</value>
<value>
<year>2014</year>
<month>4</month>
<count>673000</count>
</value>
<value>
<year>2014</year>
<month>3</month>
<count>673000</count>
</value>
<value>
<year>2014</year>
<month>2</month>
<count>673000</count>
</value>
<value>
<year>2014</year>
<month>1</month>
<count>673000</count>
</value>
</value>
</data>
<data>
<key>AVERAGE_CPC</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="MoneyAttribute">
<Attribute.Type>MoneyAttribute</Attribute.Type>
<value>
<ns2:ComparableValue.Type>Money</ns2:ComparableValue.Type>
<ns2:microAmount>3459597</ns2:microAmount>
</value>
</value>
</data>
<data>
<key>CATEGORY_PRODUCTS_AND_SERVICES</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="IntegerSetAttribute">
<Attribute.Type>IntegerSetAttribute</Attribute.Type>
<value>10936</value>
<value>10021</value>
<value>10178</value>
</value>
</data>
<data>
<key>IDEA_TYPE</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="IdeaTypeAttribute">
<Attribute.Type>IdeaTypeAttribute</Attribute.Type>
<value>KEYWORD</value>
</value>
</data>
<data>
<key>SEARCH_VOLUME</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="LongAttribute">
<Attribute.Type>LongAttribute</Attribute.Type>
<value>673000</value>
</value>
</data>
<data>
<key>COMPETITION</key>
<value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="DoubleAttribute">
<Attribute.Type>DoubleAttribute</Attribute.Type>
<value>0.6449503580760934</value>
</value>
</data>
</entries>
</rval>
</getResponse>
</soap:Body>
</soap:Envelope>