AdWords API TargetingIdea service - related to URL search parameter issues

2010-03-30 Thread Guy Zucker
  Hi,
>
> I'm trying to get keyword ideas using related urls. The documentation
> states that the RelatedToUrlSearchParameter can contain up to 5 urls. I have
> no problem using it with one url. However, once I attempt to add a second
> url I get an error (UNEXPECTED_INTERNAL_API_ERROR).
>
> I pasted the SOAP request and response below. Any ideas?
>

   Also, when I send a single url and a single seed keyword the results seem
to ignore the url parameter. Is there a preference for first obtaining
results via the related to KW parameter and then (only if not enough results
were found) to use the url param?

>
> Thanks,
>
> Guy
>
> http://schemas.xmlsoap.org/soap/envelope/";>http://schemas.xmlsoap.org/soap/envelope/%22%3E%3Cget>xmlns="
> https://adwords.google.com/api/adwords/o/v200909";>https://adwords.google.com/api/adwords/o/v200909%22%3E%3Cselector%3E%3CsearchParameters>xsi:type="ns7:RelatedToUrlSearchParameter"
>  xmlns:ns7="
> https://adwords.google.com/api/adwords/o/v200909"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>www.britishtours.comwww.trekamerica.comfalsehttp://www.w3.org/2001/XMLSchema-instance%22%3E%3Curls%3Ewww.britishtours.com%3C/urls%3E%3Curls%3Ewww.trekamerica.com%3C/urls%3E%3CincludeSubUrls%3Efalse%3C/includeSubUrls%3E%3C/searchParameters%3E%3CsearchParameters>xsi:type="ns8:KeywordMatchTypeSearchParameter"
>  xmlns:ns8="
> https://adwords.google.com/api/adwords/o/v200909"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>BROADhttp://www.w3.org/2001/XMLSchema-instance%22%3E%3CkeywordMatchTypes%3EBROAD%3C/keywordMatchTypes%3E%3C/searchParameters%3E%3CsearchParameters>xsi:type="ns9:CountryTargetSearchParameter"
>  xmlns:ns9="
> https://adwords.google.com/api/adwords/o/v200909"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>http://www.w3.org/2001/XMLSchema-instance%22%3E%3CcountryTargets%3E%3Cns10:countryCode>xmlns:ns10="
> https://adwords.google.com/api/adwords/cm/v200909";>UShttps://adwords.google.com/api/adwords/cm/v200909%22%3EUS%3C/ns10:countryCode%3E%3C/countryTargets%3E%3C/searchParameters%3E%3CsearchParameters>xsi:type="ns11:LanguageTargetSearchParameter"
>  xmlns:ns11="
> https://adwords.google.com/api/adwords/o/v200909"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>http://www.w3.org/2001/XMLSchema-instance%22%3E%3ClanguageTargets%3E%3Cns12:languageCode>xmlns:ns12="
> https://adwords.google.com/api/adwords/cm/v200909";>enKEYWORDIDEASKEYWORDCOMPETITIONAVERAGE_TARGETED_MONTHLY_SEARCHEShttps://adwords.google.com/api/adwords/cm/v200909%22%3Een%3C/ns12:languageCode%3E%3C/languageTargets%3E%3C/searchParameters%3E%3CideaType%3EKEYWORD%3C/ideaType%3E%3CrequestType%3EIDEAS%3C/requestType%3E%3CrequestedAttributeTypes%3EKEYWORD%3C/requestedAttributeTypes%3E%3CrequestedAttributeTypes%3ECOMPETITION%3C/requestedAttributeTypes%3E%3CrequestedAttributeTypes%3EAVERAGE_TARGETED_MONTHLY_SEARCHES%3C/requestedAttributeTypes%3E%3Cpaging%3E%3Cns13:startIndex>xmlns:ns13="
> https://adwords.google.com/api/adwords/cm/v200909";>0https://adwords.google.com/api/adwords/cm/v200909%22%3E0%3C/ns13:startIndex%3E%3Cns14:numberResults>xmlns:ns14="
> https://adwords.google.com/api/adwords/cm/v200909";>20https://adwords.google.com/api/adwords/cm/v200909%22%3E20%3C/ns14:numberResults%3E%3C/paging%3E%3C/selector%3E%3C/get%3E%3C/soapenv:Body>
> >
>
> http://schemas.xmlsoap.org/soap/envelope/";>soap:ServerInternalApiError.UNEXPECTED_INTERNAL_API_ERROR@
>  https://adwords.google.com/api/adwords/o/v200909"; xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v200909";>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR@
> ApiException xsi:type="ns2:InternalApiError" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>InternalApiErrorUNEXPECTED_INTERNAL_API_ERRORhttp://www.w3.org/2001/XMLSchema-instance%22%3E%3Cns2:fieldPath/%3E%3Cns2:trigger/%3E%3Cns2:ApiError.Type%3EInternalApiError%3C/ns2:ApiError.Type%3E%3Cns2:reason%3EUNEXPECTED_INTERNAL_API_ERROR%3C/ns2:reason%3E%3C/ns2:errors%3E%3C/ApiExceptionFault%3E%3C/detail%3E%3C/soapenv:Fault%3E%3C/soapenv:Body>
> >
>
> -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

AdWords API TargetingIdea

2010-03-25 Thread Andy Precise
hi,

  this is a strange one. i must be doing something wrong, but i can't
figure out what.

  i'm migrating from v1.3 to v2009 as many others have been.

  i'm using the TargetingIdeaService service to get keywords for a
given site.

  i'm updating an excel project (VB.NET)

  i've been looking for several code examples over the internet on how
to migrate from the old getKeywordsFromSite service call to the new
one and i've come across a problem.

  the code samples i've found all reference an object called
TargetingIdea. Here's an example (2nd line)

-
TargetingIdeaPage mySiteKeywordGroups =
service.getBulkKeywordIdeas(selector);
TargetingIdea[] keywords = mySiteKeywordGroups.entries;

foreach (TargetingIdea keywordFromAPI in keywords)
{
-

the problem is my project doesn't recognise this TargetingIdea object.
at all. it recognises all other objects for this new service, but not
this one.

i've got the web service set up correctly (as far as i know). this is
the URL : 
https://adwords.google.com/api/adwords/o/v200909/TargetingIdeaService?wsdl

so, what gives ? any ideas ? has this object been sunsetted ? :)

if you need any more info, please let me know

thanks very much

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.