Hi Sangeetha,

Could you confirm if you have already applied for a developer token and
OAuth2 Credentials? If not, kindly refer to this guide
<https://developers.google.com/adwords/api/docs/guides/signup> on how to
complete your setup for using the AdWords API by applying for a developer
token and this guide
<https://developers.google.com/adwords/api/docs/guides/authentication> on
how to get your OAuth2 Credentials. Once you complete these steps, you may
now refer to this link
<https://developers.google.com/adwords/api/docs/guides/call-structure#request>
on how to make API calls.

It is also recommended that you use one of our client libraries
<https://developers.google.com/adwords/api/docs/clientlibraries> to make
API service calls.

Regards,
Dannison
AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 02/27/19 20:57:08 sangeeth...@position2.com wrote:


Hi Team,

I am new to this AdWords API integration. I'm using WSDL to generate my
soap request function.
WSDL :
https://adwords.google.com/api/adwords/o/v201809/TargetingIdeaService?wsdl

My question is, in this soap request there is no Authorization filed is
generated. SO I need to know how to do authentication and also when I
provide the values for the available arguments I'm getting the Error as
below

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Unmarshalling
Error: cvc-type.2: The type definition cannot be abstract for element
v20:searchParameters.
</faultstring></soap:Fault></soap:Body></soap:Envelope>

I don't know where is going wrong. If anyone knows please do the needful.

*SOAP Request:*
*SOAP endpoint:*
https://adwords.google.com/api/adwords/o/v201809/TargetingIdeaService
          *XML* : <soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/";            xmlns:v20="
https://adwords.google.com/api/adwords/o/v201809"; xmlns:v201="
https://adwords.google.com/api/adwords/cm/v201809";>
           <soapenv:Header>
      <v20:RequestHeader>
         <!--Optional:-->

<v201:clientCustomerId>${RequestHeader.clientCustomerId}</v201:clientCustomerId>
         <!--Optional:-->

 <v201:developerToken>${RequestHeader.developerToken}</v201:developerToken>
         <!--Optional:-->
         <v201:userAgent>${RequestHeader.userAgent}</v201:userAgent>
         <!--Optional:-->

 <v201:validateOnly>${RequestHeader.validateOnly}</v201:validateOnly>
         <!--Optional:-->

 <v201:partialFailure>${RequestHeader.partialFailure}</v201:partialFailure>
      </v20:RequestHeader>
   </soapenv:Header>
   <soapenv:Body>
      <v20:get>
         <!--Optional:-->
         <v20:selector>
            <!--Zero or more repetitions:-->
            <v20:searchParameters>
               <!--Optional:-->

<v20:SearchParameter.Type>${searchParameters.SearchParameter.Type}</v20:SearchParameter.Type>
            </v20:searchParameters>
            <!--Optional:-->
            <v20:ideaType>${selector.ideaType}</v20:ideaType>
            <!--Optional:-->
            <v20:requestType>${selector.requestType}</v20:requestType>
            <!--Zero or more repetitions:-->

<v20:requestedAttributeTypes>${selector.requestedAttributeTypes}</v20:requestedAttributeTypes>
            <!--Optional:-->
            <v20:paging>
               <!--Optional:-->
               <v201:startIndex>${paging.startIndex}</v201:startIndex>
               <!--Optional:-->

 <v201:numberResults>${paging.numberResults}</v201:numberResults>
            </v20:paging>
            <!--Optional:-->
            <v20:localeCode>${selector.localeCode}</v20:localeCode>
            <!--Optional:-->
            <v20:currencyCode>${selector.currencyCode}</v20:currencyCode>
         </v20:selector>
      </v20:get>
   </soapenv:Body>
</soapenv:Envelope>

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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
---
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 adwords-api+unsubscr...@googlegroups.com.
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/7315e71c-0e30-4c2d-b9f2-400f4d0a6d06%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/7315e71c-0e30-4c2d-b9f2-400f4d0a6d06%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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
--- 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 adwords-api+unsubscr...@googlegroups.com.
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/ijlio0tupg0000008186oc001nq2fiy6smj8c1m6co30c1g68qjechp%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • API req... sangeetha . j
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to