Thanks for the quick response Peter, I am trying to make the request in R so am 
manually building it.  Can you confirm the service this is for is the targeting 
ideas one?  I replaced the customer ID and developer token in the below and got 
this response?

soap:ClientUnmarshalling Error: cvc-complex-type.2.4.a: Invalid content was 
found starting with element 
'{"https://adwords.google.com/api/adwords/o/v201809":campaignEstimateRequests}'.
 One of '{"https://adwords.google.com/api/adwords/o/v201809":searchParameters, 
"https://adwords.google.com/api/adwords/o/v201809":ideaType, 
"https://adwords.google.com/api/adwords/o/v201809":requestType, 
"https://adwords.google.com/api/adwords/o/v201809":requestedAttributeTypes, 
"https://adwords.google.com/api/adwords/o/v201809":paging, 
"https://adwords.google.com/api/adwords/o/v201809":localeCode, 
"https://adwords.google.com/api/adwords/o/v201809":currencyCode}

Is this simply missing fields?

Thanks in advance!
James

James Morgan  |  E [email protected]<mailto:[email protected]>

From: googleadsapi-forumadvisor via AdWords API and Google Ads API Forum 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Friday, 26 April 2019 at 08:35
To: "[email protected]" <[email protected]>
Subject: RE: TargetingIdeaService Soap request - No Sevice info

Hi James,

Could you confirm if you are using any of the AdWords API's client 
libraries<https://developers.google.com/adwords/api/docs/clientlibraries> for 
the request or if you are manually creating a SOAP request? When using the 
client libraries, the SOAP request would be already automatically generated for 
you.

However, if you are manually creating the request, you can refer to this sample 
SOAP request I generated using my test account :

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema<http://www.w3.org/2001/XMLSchema>" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance<http://www.w3.org/2001/XMLSchema-instance>">
    <soapenv:Header>
        <ns1:RequestHeader 
xmlns:ns1="https://adwords.google.com/api/adwords/o/v201809<https://adwords.google.com/api/adwords/o/v201809>"
 soapenv:mustUnderstand="0">
            <ns2:clientCustomerId 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">CLIENT_CUSTOMER_ID</ns2:clientCustomerId>
            <ns3:developerToken 
xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">REDACTED</ns3:developerToken>
            <ns4:userAgent 
xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">unknown
 (AwApi-Java, AdWords-Axis/4.4.0, Common-Java/4.4.0, Axis/1.4, 
Java/1.8.0_181-google-v7, jars)</ns4:userAgent>
            <ns5:validateOnly 
xmlns:ns5="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">false</ns5:validateOnly>
            <ns6:partialFailure 
xmlns:ns6="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">false</ns6:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <get 
xmlns="https://adwords.google.com/api/adwords/o/v201809<https://adwords.google.com/api/adwords/o/v201809>">
            <selector>
                <campaignEstimateRequests>
                    <adGroupEstimateRequests>
                        <keywordEstimateRequests>
                            <keyword>
                                <ns7:text 
xmlns:ns7="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">mars
 cruise</ns7:text>
                                <ns8:matchType 
xmlns:ns8="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">BROAD</ns8:matchType>
                            </keyword>
                        </keywordEstimateRequests>
                        <keywordEstimateRequests>
                            <keyword>
                                <ns9:text 
xmlns:ns9="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">cheap
 cruise</ns9:text>
                                <ns10:matchType 
xmlns:ns10="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">PHRASE</ns10:matchType>
                            </keyword>
                        </keywordEstimateRequests>
                        <keywordEstimateRequests>
                            <keyword>
                                <ns11:text 
xmlns:ns11="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">cruise</ns11:text>
                                <ns12:matchType 
xmlns:ns12="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">EXACT</ns12:matchType>
                            </keyword>
                        </keywordEstimateRequests>
                        <keywordEstimateRequests>
                            <keyword>
                                <ns13:text 
xmlns:ns13="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">hiking
 tour</ns13:text>
                                <ns14:matchType 
xmlns:ns14="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">BROAD</ns14:matchType>
                            </keyword>
                            <isNegative>true</isNegative>
                        </keywordEstimateRequests>
                        <maxCpc>
                            <ns15:microAmount 
xmlns:ns15="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>">1000000</ns15:microAmount>
                        </maxCpc>
                    </adGroupEstimateRequests>
                    <criteria 
xmlns:ns16="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>"
 xsi:type="ns16:Location">
                        <ns16:id>2840</ns16:id>
                    </criteria>
                    <criteria 
xmlns:ns17="https://adwords.google.com/api/adwords/cm/v201809<https://adwords.google.com/api/adwords/cm/v201809>"
 xsi:type="ns17:Language">
                        <ns17:id>1000</ns17:id>
                    </criteria>
                </campaignEstimateRequests>
                <platformEstimateRequested>true</platformEstimateRequested>
            </selector>
        </get>
    </soapenv:Body>
</soapenv:Envelope>


Let me know if this helps.

Thanks and regards,
Peter
Google Ads API Team



Was your question answered? Please rate your experience with us by taking a 
short survey.
If not -- reply to this email and tell us what else we can do to help.

Take 
Survey<https://support.google.com/google-ads/contact/survey_transactional?caseid=4-6240000025894&hl=en&ctx=1>

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api<http://googleadsdeveloper.blogspot.com/search/label/adwords_api>
https://developers.google.com/adwords/api/community/<https://developers.google.com/adwords/api/community/>
On 04/25/19 20:30:37 [email protected] wrote:
Hi There,

I am reasonably new to the API and am having issues with a Soap Request for the 
Keyword Idea Service.  Essentially I would like to make a request based on a 
list of keywords and receive the stats from them.  However I am receiving the 
error:  No ServiceInfo for path /v201809/TargetingIdeaService/

Below is my soap request, I may be missing something really basic.

<env:Envelope xmlns:xsd=\"http://www.w3.org<http://www.w3.org>/2001/XMLSchema\" 
\n\t\t\txmlns:xsi=\"http://www.w3.org<http://www.w3.org>/2001/XMLSchema-instance\"
 
\n\t\t\txmlns:wsdl=\"https://adwords.google.com<http://adwords.google.com>/api/adwords/o/v201809\"
 
xmlns:env=\"http://schemas.xmlsoap.org<http://schemas.xmlsoap.org>/soap/envelope/\"
 
\n\t\t\txmlns:cm=\"https://adwords.google.com<http://adwords.google.com>/api/adwords/cm/v201809\"
 
xmlns:o=\"https://adwords.google.com<http://adwords.google.com>/api/adwords/o/v201809\">\n
 <env:Header> \n\n\t\t <wsdl:RequestHeader 
xmlns=\"https://adwords.google.com<http://adwords.google.com>/api/adwords/cm/v201809\">
 \n\n\t\t <clientCustomerId>XXXXX</clientCustomerId> \n\n\t\t 
<userAgent>XXXXX</userAgent> \n\n\t\t <developerToken>XXXXX</developerToken> 
\n\n\t\t </wsdl:RequestHeader> \n\n\t\t </env:Header> <env:Body> \n <get 
xmlns=\"https://adwords.google.com<http://adwords.google.com>/api/adwords/o/v201809\">
 <selector> <searchParameters xsi:type=\"IdeaTextFilterSearchParameter\"> 
<included>Shoe</included> </searchParameters> <searchParameters 
xsi:type=\"LanguageSearchParameter\"> \n\t\t\t\t\t\t\t\t\t\t\t\t\t <languages 
xmlns:cm=\"https://adwords.google.com<http://adwords.google.com>/api/adwords/cm/v201809\"
 xsi:type=\"cm:Language\"> <cm:id>1000</cm:id> </languages> 
\n\t\t\t\t\t\t\t\t\t\t\t\t </searchParameters> <searchParameters 
xsi:type=\"LocationSearchParameter\"> \n\t\t\t\t\t\t\t\t\t\t\t\t\t <locations 
xmlns:cm=\"https://adwords.google.com<http://adwords.google.com>/api/adwords/cm/v201809\"
 xsi:type=\"cm:Location\"> <cm:id>2826</cm:id> </locations> 
\n\t\t\t\t\t\t\t\t\t\t\t\t </searchParameters> <ideaType>KEYWORD</ideaType> 
<requestType>STATS</requestType> 
<requestedAttributeTypes></requestedAttributeTypes> <paging 
xmlns:cm=\"https://adwords.google.com<http://adwords.google.com>/api/adwords/cm/v201809\"
 xsi:type=\"cm:Paging\"> \n\t\t\t\t\t\t\t\t\t\t\t\t <cm:startIndex>0
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/<https://googleadsdeveloper.blogspot.com/>
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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<http://groups.google.com/group/adwords-api?hl=en>
---
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
Visit this group at 
https://groups.google.com/group/adwords-api<https://groups.google.com/group/adwords-api>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/180pm30000000001g2j0c8003pukccz6gmjcchk60o30c1g68qjge9k%40mail.gmail.com<https://groups.google.com/d/msgid/adwords-api/180pm30000000001g2j0c8003pukccz6gmjcchk60o30c1g68qjge9k%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit 
https://groups.google.com/d/optout<https://groups.google.com/d/optout>.


Confidential Email
The information in this message and any attachments are intended for the 
recipient named on this email. If you are not that recipient, please do not 
read, copy, distribute or act upon the message as the information it contains 
may be privileged and confidential. If you have received this message in error, 
please notify us immediately by return email and delete the material from any 
computer. We cannot guarantee the integrity or suitability of this message for 
your computer. It is possible that this message might contain destructive 
programmes known as viruses or worms and we do not accept any liability for 
consequential effects caused to your computer, or others connected to it and 
that you should determine the likelihood of such content yourself. Business 
e-mails are sent to you subject to our usual terms of business. When the 
content of an e-mail is a personal message, the sender is not acting in his/her 
capacity as our partner or employee. Thank you for your cooperation.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/98CA40BC-E652-413A-B998-481FCF734935%40iprospect.com.
For more options, visit https://groups.google.com/d/optout.
  • Targeti... James Morgan
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... James Morgan

Reply via email to