Hi Fred,
Your SOAP request snippet for RelatedToUrlSearchParameter
<https://developers.google.com/adwords/api/docs/reference/v201708/TargetingIdeaService.RelatedToUrlSearchParameter>
is
correct. However, could you confirm if that is the only URL you set in your
request? As based on the error message, you have too many URLs for your
parameter. And for Keyword queries, only one URL may be included in your
request. Below is a sample SOAP request snippet which generates a
successful response:
<soapenv:Body>
<get xmlns="https://adwords.google.com/api/adwords/o/v201708">
<selector>
<searchParameters xmlns:ns7=
"https://adwords.google.com/api/adwords/o/v201708" xsi:type=
"ns7:RelatedToQuerySearchParameter">
<ns7:queries>mars cruise</ns7:queries>
<ns7:queries>jupiter cruise</ns7:queries>
</searchParameters>
<searchParameters xmlns:ns8=
"https://adwords.google.com/api/adwords/o/v201708" xsi:type=
"ns8:LocationSearchParameter">
<ns8:locations>
<ns9:id xmlns:ns9=
"https://adwords.google.com/api/adwords/cm/v201708">2826</ns9:id>
</ns8:locations>
<ns8:locations>
<ns10:id xmlns:ns10=
"https://adwords.google.com/api/adwords/cm/v201708">9041117</ns10:id>
</ns8:locations>
</searchParameters>
*<searchParameters
xmlns:ns11="https://adwords.google.com/api/adwords/o/v201708"
xsi:type="ns11:RelatedToUrlSearchParameter">
<ns11:urls>www.bbc.co.uk</ns11:urls> </searchParameters>*
<searchParameters xmlns:ns12=
"https://adwords.google.com/api/adwords/o/v201708" xsi:type=
"ns12:NetworkSearchParameter">
<ns12:networkSetting>
<ns13:targetGoogleSearch xmlns:ns13=
"https://adwords.google.com/api/adwords/cm/v201708">true
</ns13:targetGoogleSearch>
<ns14:targetSearchNetwork xmlns:ns14=
"https://adwords.google.com/api/adwords/cm/v201708">false
</ns14:targetSearchNetwork>
<ns15:targetContentNetwork xmlns:ns15=
"https://adwords.google.com/api/adwords/cm/v201708">false
</ns15:targetContentNetwork>
<ns16:targetPartnerSearchNetwork xmlns:ns16=
"https://adwords.google.com/api/adwords/cm/v201708">false
</ns16:targetPartnerSearchNetwork>
</ns12:networkSetting>
</searchParameters>
<ideaType>KEYWORD</ideaType>
<requestType>IDEAS</requestType>
<requestedAttributeTypes>KEYWORD_TEXT</requestedAttributeTypes>
<requestedAttributeTypes>SEARCH_VOLUME</requestedAttributeTypes>
<requestedAttributeTypes>CATEGORY_PRODUCTS_AND_SERVICES
</requestedAttributeTypes>
<paging>
<ns17:startIndex xmlns:ns17=
"https://adwords.google.com/api/adwords/cm/v201708">0</ns17:startIndex>
<ns18:numberResults xmlns:ns18=
"https://adwords.google.com/api/adwords/cm/v201708">10</ns18:numberResults>
</paging>
</selector>
</get>
</soapenv:Body>
If you can confirm that you only have one URL in your
RelatedToUrlSearchParameter, and still the error persists, then kindly
provide your latest SOAP request and response logs via *Reply privately to
author* so I can further investigate.
Thanks,
Vincent
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/767a0875-b0ba-4cc7-9f22-f9fbe85387a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.