Hi,
When I run the same request I am getting back the ngram group:
<soap:Body>
<getResponse xmlns="https://adwords.google.com/api/adwords/o/
v200909" xmlns:ns2="https://adwords.google.com/api/adwords/cm/
v200909">
<rval>
<totalNumEntries>261</totalNumEntries>
<entries>
<data>
<key>KEYWORD</key>
<value xsi:type="KeywordAttribute" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance">
<Attribute.Type>KeywordAttribute</Attribute.Type>
<value>
<ns2:Criterion.Type>Keyword</
ns2:Criterion.Type>
<ns2:text>adventure trips</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>27100</value>
</value>
</data>
<data>
<key>NGRAM_GROUP</key>
<value xsi:type="StringAttribute" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance">
<Attribute.Type>StringAttribute</Attribute.Type>
<value>adventure</value>
</value>
</data>
<data>
<key>AVERAGE_TARGETED_MONTHLY_SEARCHES</key>
<value xsi:type="LongAttribute" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance">
<Attribute.Type>LongAttribute</Attribute.Type>
<value>14800</value>
</value>
</data>
<data>
<key>COMPETITION</key>
<value xsi:type="DoubleAttribute" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance">
<Attribute.Type>DoubleAttribute</Attribute.Type>
<value>1.0</value>
</value>
</data>
</entries>
</rval>
</getResponse>
</soap:Body>
Do you have the requestId of a request that is missing the ngram
group?
Best,
- Eric
On Jun 14, 1:39 pm, Sergey Mashentsev <[email protected]> wrote:
> Hi,
>
> Yes, problem still exists.
>
> I'm using php client library (http://code.google.com/p/google-api-
> adwords-php/). Here is XML I get from SoapClient used in this lib:
>
> Request XML body:
>
> <SOAP-ENV:Body>
> <ns2:get>
> <ns2:selector>
> <ns2:searchParameters
> xsi:type="ns2:RelatedToKeywordSearchParameter">
> <ns2:keywords>
> <ns1:text>adventure</ns1:text>
> <ns1:matchType>BROAD</ns1:matchType>
> </ns2:keywords>
> </ns2:searchParameters>
> <ns2:searchParameters
> xsi:type="ns2:KeywordMatchTypeSearchParameter">
> <ns2:keywordMatchTypes>BROAD</ns2:keywordMatchTypes>
> </ns2:searchParameters>
> <ns2:searchParameters
> xsi:type="ns2:LanguageTargetSearchParameter">
> <ns2:languageTargets>
> <ns1:languageCode>en</ns1:languageCode>
> </ns2:languageTargets>
> </ns2:searchParameters>
> <ns2:searchParameters
> xsi:type="ns2:CountryTargetSearchParameter">
> <ns2:countryTargets>
> <ns1:countryCode>US</ns1:countryCode>
> </ns2:countryTargets>
> </ns2:searchParameters>
> <ns2:ideaType>KEYWORD</ns2:ideaType>
> <ns2:requestType>IDEAS</ns2:requestType>
> <ns2:requestedAttributeTypes>KEYWORD</
> ns2:requestedAttributeTypes>
> <ns2:requestedAttributeTypes>NGRAM_GROUP</
> ns2:requestedAttributeTypes>
> <ns2:requestedAttributeTypes>COMPETITION</
> ns2:requestedAttributeTypes>
> <ns2:requestedAttributeTypes>AVERAGE_TARGETED_MONTHLY_SEARCHES</
> ns2:requestedAttributeTypes>
> <ns2:requestedAttributeTypes>GLOBAL_MONTHLY_SEARCHES</
> ns2:requestedAttributeTypes>
> <ns2:paging>
> <ns1:startIndex>0</ns1:startIndex>
> <ns1:numberResults>1</ns1:numberResults>
> </ns2:paging>
> <ns2:localeCode>en_US</ns2:localeCode>
> <ns2:currencyCode>USD</ns2:currencyCode>
> </ns2:selector>
> </ns2:get>
> </SOAP-ENV:Body>
>
> Response XML body:
>
> <soap:Body>
> <getResponse xmlns="https://adwords.google.com/api/adwords/o/
> v200909" xmlns:ns2="https://adwords.google.com/api/adwords/cm/
> v200909">
> <rval>
> <totalNumEntries>267</totalNumEntries>
> <entries>
> <data>
> <key>KEYWORD</key>
> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="KeywordAttribute">
> <Attribute.Type>KeywordAttribute</Attribute.Type>
> <value>
> <ns2:Criterion.Type>Keyword</ns2:Criterion.Type>
> <ns2:text>adventure games</ns2:text>
> <ns2:matchType>BROAD</ns2:matchType>
> </value>
> </value>
> </data>
> <data>
> <key>GLOBAL_MONTHLY_SEARCHES</key>
> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="LongAttribute">
> <Attribute.Type>LongAttribute</Attribute.Type>
> <value>368000</value>
> </value>
> </data>
> <data>
> <key>NGRAM_GROUP</key>
> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="StringAttribute">
> <Attribute.Type>StringAttribute</Attribute.Type>
> </value>
> </data>
> <data>
> <key>AVERAGE_TARGETED_MONTHLY_SEARCHES</key>
> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="LongAttribute">
> <Attribute.Type>LongAttribute</Attribute.Type>
> <value>165000</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.530075615410034</value>
> </value>
> </data>
> </entries>
> </rval>
> </getResponse>
> </soap:Body>
>
> On 14 июн, 19:20, AdWords API Advisor <[email protected]>
> wrote:
>
>
>
> > Hi Sergey,
>
> > I'm not able to reproduce this problem, are you still seeing this
> > behavior? If so, can you post a sample XML request and response?
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Jun 11, 6:22 am, Sergey Mashentsev <[email protected]> wrote:
>
> > > Hi everybody,
>
> > > When I trying to get keyword ideas with TargetingIdeaService including
> > > NGRAM_GROUP attribute in response I get empty value for all keywords I
> > > get.
>
> > > Type_AttributeMapEntry Object
> > > (
> > > [key] => NGRAM_GROUP
> > > [value] => StringAttribute Object
> > > (
> > > [value] =>
> > > [AttributeType] => StringAttribute
> > > [_parameterMap:Attribute:private] => Array
> > > (
> > > [Attribute.Type] => AttributeType
> > > )
> > > )
> > > )
>
> > > It was working properly 2 days ago, I didn't changed my code since
> > > that day.
>
> > > In sandbox this value is correct, but in live - empty.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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