Hello,

Yes, this is a correct usage. Each get request to the TargetingIdeaService 
is treated independently. You can use the same instance of 
TargetingIdeaService in your local code for each request.

Regards,
Mike, AdWords API Team

On Monday, November 28, 2016 at 1:52:57 PM UTC-5, [email protected] 
wrote:
>
> Hie Mike,
> thanks for reaching out.
> I've implemented it that way now (one call for each deal).
>
> But I would like to be certain about one thing you mention:
> quote *"unique entities that each require separate contexts for the 
> TargetingIdeaService"*
>
> I am creating one *TargetingIdeaService* and  reusing it while I iterate 
> my deals changing the *keyword *passed as parameter in 
> *RelatedToQuerySearchParameter->queries* .
>
> Is this a correct use of *TargetingIdeaService* ?
> Does this imply that theses entities are using "*separate contexts*" as 
> you name it?
>
>
> Also I would like to know what is the default order in the keywords ideas 
> list I'm retrieving, compared to Keyword Planner which order these by 
> relevance...
>
>
> Thanks again
> /best
> /javier
>
>
>
>
>
>
>
>
> El lunes, 28 de noviembre de 2016, 11:04:09 (UTC-3), Michael Cloonan 
> (AdWords API Team) escribió:
>>
>> Hello,
>>
>> Each call to the TargetingIdeaService is only able to provide results for 
>> a single separate query. If you have 10k unique entities that each require 
>> separate contexts for the TargetingIdeaService, then unfortunately, yes, 
>> you will need to make 10k different calls.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Friday, November 25, 2016 at 8:50:14 AM UTC-5, [email protected] 
>> wrote:
>>>
>>> Hi Peter,
>>> thanks for a quick answer!
>>> Unfortunately id does not help me (maybe I'm not clear enough):
>>>
>>> your examples are all about ONE keyword (or several keywords related to 
>>> ONE entity) and how to make an API call to retrieve ideas for that keyword.
>>>
>>> Your example (in PHP) states something like this:
>>>
>>> RelatedToQuerySearchParameter relatedToQuerySearchParameter =
>>>     new RelatedToQuerySearchParameter();
>>> relatedToQuerySearchParameter.setQueries(new String[]
>>>     {"bakery", "pastries", "birthday cake"});
>>>
>>>
>>> What I understand these keywords are all related to the same "entity" 
>>> for which it tries to retrieve ideas...
>>>
>>> The Paging is about how many ideas I want to retrieve, right? (I only 
>>> want 5)
>>>
>>>
>>> We are running an e-commerce site and have 10k deals. *Do we need to 
>>> make an API call for each deal?*
>>>
>>>
>>> thanks again
>>> /best regards
>>> /javier
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> El viernes, 25 de noviembre de 2016, 4:27:46 (UTC-3), Peter Oliquino 
>>> escribió:
>>>>
>>>> Hi Javier,
>>>>
>>>> The TargetingIdeaService.get 
>>>> <https://developers.google.com/adwords/api/docs/reference/v201609/TargetingIdeaService#get>
>>>>  will 
>>>> still provide you your expected results. As mentioned in the document, 
>>>> however, you will also need to implement Paging 
>>>> <https://developers.google.com/adwords/api/docs/reference/v201609/TargetingIdeaService.Paging>
>>>>  as 
>>>> large result require to be compressed through multiple calls using this 
>>>> method. You may refer to our targeting ideas guide 
>>>> <https://developers.google.com/adwords/api/docs/guides/targeting-idea-service>
>>>>  and 
>>>> our GetKeywordIdeas 
>>>> <https://developers.google.com/adwords/api/docs/samples/java/optimization#get-keyword-ideas>
>>>>  exampe 
>>>> (other languages are also available in the link) for more information. I 
>>>> hope this helps and please let me know if you have any other concerns.
>>>>
>>>> Thanks and regards,
>>>> Peter
>>>> AdWords API Team
>>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f5e12adc-9e7a-4959-ba43-25b40100ecfa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • retrieve keywor... javier . enciso
    • Re: retrie... 'Peter Oliquino' via AdWords API Forum
      • Re: re... javier . enciso
        • Re... 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
          • ... javier . enciso
            • ... 'Michael Cloonan (AdWords API Team)' via AdWords API Forum

Reply via email to