Hi Alexander,

so can I assume or not the bulk method will allow for using includeSubUrls ?

Josh

Le mardi 24 juillet 2012 10:41:54 UTC+2, Alexander Nitschke a écrit :
>
> Hi Josh,
>
> please look further down to the documentation for "includeSubUrls". This 
> one is ignored for "KEYWORD" queries, generally the KEYWORD idea query 
> supports only one Url. But I think Kevin's link was misleading as he linked 
> to the v201206 doc and your code is using v201109. Still, the documentation 
> for this specific field hasn't changed. 
>
> Alexander
>
> Am Montag, 23. Juli 2012 19:57:30 UTC+2 schrieb Josh:
>>
>> Hi,
>>
>> thanks for the answer.
>>
>> Sorry I must be blind but the I don't see such mention in provided link, 
>> the documentation states :
>>
>> - "This element is supported by following 
>> RequestType<https://developers.google.com/adwords/api/docs/reference/latest/TargetingIdeaService.RequestType.html>s:
>>  
>> IDEAS, STATS. " 
>> - "This search parameter can be used in bulk keyword requests through the 
>> TargetingIdeaService.getBulkKeywordIdeas(TargetingIdeaSelector)<https://developers.google.com/adwords/api/docs/reference/v201109/TargetingIdeaService.html#getBulkKeywordIdeas%28TargetingIdeaSelector%29>method"
>>
>> I'm not using the Bulk Method but this parameter was also used to be 
>> supported by versions prior to v201109
>>
>>
>>
>> Le lundi 23 juillet 2012 16:59:02 UTC+2, Kevin Winter a écrit :
>>>
>>> Hi,
>>>   The documentation indicates that for KEYWORD requests (ideaType), this 
>>> field isn't supported: 
>>> https://developers.google.com/adwords/api/docs/reference/latest/TargetingIdeaService.RelatedToUrlSearchParameter#includeSubUrls
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Friday, June 22, 2012 8:02:25 AM UTC-4, Josh wrote:
>>>>
>>>> Hi,
>>>>
>>>> it looks as if the includeSubUrls parameter is not correctly supported 
>>>> as I keep getting this error :
>>>>
>>>> [TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ 
>>>> selector.selector.searchParameters[2].includeSubUrls]
>>>>
>>>> My code is really straightforward :
>>>>
>>>>   $targetingIdeaService = $user->GetTargetingIdeaService('v201109');
>>>>   // Create selector.
>>>>   $selector = new TargetingIdeaSelector();
>>>>   $selector->requestType = 'IDEAS';
>>>>   $selector->ideaType = 'KEYWORD';
>>>>   $selector->requestedAttributeTypes =
>>>>               array('CRITERION', 'AVERAGE_TARGETED_MONTHLY_SEARCHES', 
>>>> 'COMPETITION', 'NGRAM_GROUP');
>>>>
>>>>   // Set selector paging (required for targeting idea service).
>>>>   $paging = new Paging();
>>>>   $paging->startIndex = 0;
>>>>
>>>> $paging->numberResults = 50;
>>>>
>>>> $search = new RelatedToUrlSearchParameter();
>>>> $search->urls = 'www.foo.com';
>>>> $search->includeSubUrls = true;
>>>>
>>>>

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

Reply via email to