RE: API request Via SOAP

2019-02-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Sangeetha,

Could you confirm if you have already applied for a developer token and
OAuth2 Credentials? If not, kindly refer to this guide
 on how to
complete your setup for using the AdWords API by applying for a developer
token and this guide
 on
how to get your OAuth2 Credentials. Once you complete these steps, you may
now refer to this link

on how to make API calls.

It is also recommended that you use one of our client libraries
 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

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/;>soap:ClientUnmarshalling

Error: cvc-type.2: The type definition cannot be abstract for element
v20:searchParameters.


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* : 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;>
   
  
 

  
${RequestHeader.clientCustomerId}

 

 ${RequestHeader.developerToken}
 
 ${RequestHeader.userAgent}
 

 ${RequestHeader.validateOnly}
 

 ${RequestHeader.partialFailure}
  
   
   
  
 
 


   

  
${searchParameters.SearchParameter.Type}



${selector.ideaType}

${selector.requestType}


${selector.requestedAttributeTypes}


   
   ${paging.startIndex}
   

 ${paging.numberResults}


${selector.localeCode}

${selector.currencyCode}
 
  
   


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

.
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 

API request Via SOAP

2019-02-27 Thread sangeetha . j

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

http://schemas.xmlsoap.org/soap/envelope/;>soap:ClientUnmarshalling
 
Error: cvc-type.2: The type definition cannot be abstract for element 
v20:searchParameters. 


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* : 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;>

  
 

 
${RequestHeader.clientCustomerId}
 

 ${RequestHeader.developerToken}
 
 ${RequestHeader.userAgent}
 

 ${RequestHeader.validateOnly}
 

 ${RequestHeader.partialFailure}
  
   
   
  
 
 


   
  
 
${searchParameters.SearchParameter.Type}


${selector.ideaType}

${selector.requestType}


${selector.requestedAttributeTypes}


   
   ${paging.startIndex}
   
  
 ${paging.numberResults}


${selector.localeCode}

${selector.currencyCode}
 
  
   


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.