Thanks very much.
Could you give me an example of using the URL parameter?
<searchParameters xsi:type="RelatedToUrlSearchParameter">
<urls>www.bbc.co.uk</urls>
</searchParameters>
i get back CollectionSizeError.TOO_MANY @ selector.searchParameters[0].urls
thanks
On Monday, 4 September 2017 09:44:57 UTC+1, Vincent Racaza (AdWords API
Team) wrote:
>
> Hi Fred,
>
> Kindly use the id of the location instead of the location name in your
> LocationSearchParameter
> <https://developers.google.com/adwords/api/docs/reference/v201708/TargetingIdeaService.LocationSearchParameter>.
>
> You can get the Criteria ID using this link
> <https://developers.google.com/adwords/api/docs/appendix/geotargeting> or
> using LocationCriterionService
> <https://developers.google.com/adwords/api/docs/reference/v201708/LocationCriterionService>.
>
> So, for United Kingdom, the ID is 2826, while for Norfok, the ID
> is 9041117. Kindly refer below for the sample SOAP request snippet of the
> TarrgetingIdeaService:
>
> <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
> <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
> <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
> <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:NetworkSearchParameter">
> <ns11:networkSetting>
> <ns12:targetGoogleSearch xmlns:ns12="
> https://adwords.google.com/api/adwords/cm/v201708">true
> </ns12:targetGoogleSearch>
> <ns13:targetSearchNetwork xmlns:ns13="
> https://adwords.google.com/api/adwords/cm/v201708">false
> </ns13:targetSearchNetwork>
> <ns14:targetContentNetwork xmlns:ns14="
> https://adwords.google.com/api/adwords/cm/v201708">false
> </ns14:targetContentNetwork>
> <ns15:targetPartnerSearchNetwork xmlns:ns15="
> https://adwords.google.com/api/adwords/cm/v201708">false
> </ns15:targetPartnerSearchNetwork>
> </ns11:networkSetting>
> </searchParameters>
> <ideaType>KEYWORD</ideaType>
> <requestType>IDEAS</requestType>
> <requestedAttributeTypes>KEYWORD_TEXT
> </requestedAttributeTypes>
> <requestedAttributeTypes>SEARCH_VOLUME
> </requestedAttributeTypes>
> <requestedAttributeTypes>CATEGORY_PRODUCTS_AND_SERVICES
> </requestedAttributeTypes>
> <paging>
> <ns16:startIndex xmlns:ns16="
> https://adwords.google.com/api/adwords/cm/v201708">0</ns16:startIndex>
> <ns17:numberResults xmlns:ns17="
> https://adwords.google.com/api/adwords/cm/v201708">10</ns17:numberResults>
> </paging>
> </selector>
> </get>
> </soapenv:Body>
>
> Let me know if this helps.
>
> 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/d3e099be-9791-4126-ad0b-71ed802d6886%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.