Hi,
This happens to n number of keywords (request for *n* keyword but get *n-1*
back), but I use 2 as example.
I'm using TARGETING_IDEA_SERVICE to get global monthly searches for 2
keywords (one using modified broad match and the other just broad match):
machining companies
+machining companies
But the response contains information for only 1 keyword.
Here is the soap request:
<soapenv:Body>
<get xmlns="https://adwords.google.com/api/adwords/o/v201109">
<selector>
<searchParameters xsi:type="ns8:RelatedToKeywordSearchParameter"
xmlns:ns8="https://adwords.google.com/api/adwords/o/v201109">
<keywords>
<ns9:text xmlns:ns9="
https://adwords.google.com/api/adwords/cm/v201109">machining
companies</ns9:text>
<ns10:matchType xmlns:ns10="
https://adwords.google.com/api/adwords/cm/v201109">BROAD</ns10:matchType>
</keywords>
<keywords>
<ns11:text xmlns:ns11="
https://adwords.google.com/api/adwords/cm/v201109">+machining
companies</ns11:text>
<ns12:matchType xmlns:ns12="
https://adwords.google.com/api/adwords/cm/v201109">BROAD</ns12:matchType>
</keywords>
</searchParameters>
<ideaType>KEYWORD</ideaType>
<requestType>STATS</requestType>
<requestedAttributeTypes>GLOBAL_MONTHLY_SEARCHES</requestedAttributeTypes>
<requestedAttributeTypes>CRITERION</requestedAttributeTypes>
<paging>
<ns13:startIndex xmlns:ns13="
https://adwords.google.com/api/adwords/cm/v201109">0</ns13:startIndex>
<ns14:numberResults xmlns:ns14="
https://adwords.google.com/api/adwords/cm/v201109">800</ns14:numberResults>
</paging>
</selector>
</get>
</soapenv:Body>
Response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<ResponseHeader xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201109" xmlns="
https://adwords.google.com/api/adwords/o/v201109">
<ns2:requestId>0004ba3943cbb7280ada201900005c76</ns2:requestId>
<ns2:serviceName>AccountService</ns2:serviceName>
<ns2:methodName>get</ns2:methodName>
<ns2:operations>1</ns2:operations>
<ns2:responseTime>355</ns2:responseTime>
<ns2:units>6</ns2:units>
</ResponseHeader>
</soap:Header>
<soap:Body>
<getResponse xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201109" xmlns="
https://adwords.google.com/api/adwords/o/v201109">
<rval>
<totalNumEntries>1</totalNumEntries>
<entries>
<data>
<key>CRITERION</key>
<value xsi:type="CriterionAttribute" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<Attribute.Type>CriterionAttribute</Attribute.Type>
<value xsi:type="ns2:Keyword">
<ns2:Criterion.Type>Keyword</ns2:Criterion.Type>
<ns2:text>machining companies</ns2:text>
<ns2:matchType>BROAD</ns2:matchType>
</value>
</value>
</data>
<data>
<key>GLOBAL_MONTHLY_SEARCHES</key>
<value xsi:type="LongAttribute" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<Attribute.Type>LongAttribute</Attribute.Type>
<value>4400</value>
</value>
</data>
</entries>
</rval>
</getResponse>
</soap:Body>
</soap:Envelope>
Shouldn't adwords return 2 entries even if adwords treats these 2 as the
same keywords?
-Kevin
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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