Re: AdGroupCriterionService: cvc-complex-type.2.4.d: Invalid content was found starting 'v20:matchType'.

2017-09-26 Thread 'Peter Oliquino' via AdWords API Forum
Hi Neha,

Just wanted to confirm if you still require more information regarding your 
concern with the *text* and *matchType* fields? Feel free to write us back 
if you have any follow up questions.

Thanks and regards,
Peter
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 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 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/82b9e6de-0ab0-4fa0-8e90-f4a57bb5e2c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdGroupCriterionService: cvc-complex-type.2.4.d: Invalid content was found starting 'v20:matchType'.

2017-09-19 Thread 'Peter Oliquino' via AdWords API Forum
Hi Neha,

My apologies as I'm not sure I follow what it is you wish to confirm 
regarding the SOAP and the *text* and *matchType* fields. This being said, 
could you provide more context regarding your concern?

Best regards,
Peter
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 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 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/68984a7b-6e0c-452a-b48f-1d29cf0eee77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdGroupCriterionService: cvc-complex-type.2.4.d: Invalid content was found starting 'v20:matchType'.

2017-09-19 Thread neha sahu
Appreciate your help. It worked for me.

Just one query:
Can't we use it the same way as SOAP WSDL generates the sample request xml 
by just adding "text" and "matchType" fields?




On Monday, September 18, 2017 at 2:22:30 PM UTC+5:30, neha sahu wrote:
>
> I am using 'mutate' operation of 'AdGroupCriterionService' service in SOAP 
> UI to create a 'KEYWORD' type criteria.
> Can you please help on how can I send 'matchType' and 'text' input ?
>
> Please find below request I am sending:
> http://schemas.xmlsoap.org/soap/envelope/; 
> xmlns:v20="https://adwords.google.com/api/adwords/cm/v201708;>
>
>   
>  
>  104-851-1999
>  
>  xyz
>  
>  soft
>  
>  false
>  
>  false
>   
>
>
>   
>  
>  
> 
> ADD
> 
>
>54643115908
>
>BIDDABLE
>
>
>   
>   KEYWORD 
>   Keyword 
> 
>   BROAD  
>   
>  
> 
>
>  
>   
>
> 
>
> Error:
>
> http://schemas.xmlsoap.org/soap/envelope/;>
>
>   
>  soap:Client
>  Unmarshalling Error: cvc-complex-type.2.4.d: Invalid 
> content was found starting with element 'v20:matchType'. No child element 
> is expected at this point.
>   
>
> 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 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/8ad1dedf-969e-485c-873f-99047c176804%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdGroupCriterionService: cvc-complex-type.2.4.d: Invalid content was found starting 'v20:matchType'.

2017-09-18 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

You may refer to the sample SOAP request and response for the necessary 
fields/elements required to successfully create a Keyword criterion :


http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>

https://adwords.google.com/api/adwords/cm/v201708; 
soapenv:mustUnderstand="0">
YOUR_CUSTOMER_ID
YOUR_DEVELOPER_TOKEN
YOUR_USER_AGENT
false
false



https://adwords.google.com/api/adwords/cm/v201708;>

ADD
https://adwords.google.com/api/adwords/cm/v201708; 
xsi:type="ns2:BiddableAdGroupCriterion">
THE_ADGROUP_ID

KEYWORD_TEXT
BROAD

PAUSED



1000





http://example.com/mars/cruise/?kw=mars+cruise




ADD
https://adwords.google.com/api/adwords/cm/v201708; 
xsi:type="ns3:NegativeAdGroupCriterion">
THE_ADGROUP_ID

ANOTHER_KEYWORD_TEXT
EXACT






[18 Sep 2017 16:58:00,460-soapXmlLogger:DEBUG:main] SOAP response:

http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/cm/v201708;>
THE_REQUEST_ID
AdGroupCriterionService
mutate
2
426



https://adwords.google.com/api/adwords/cm/v201708;>


AdGroupCriterionReturnValue
http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="BiddableAdGroupCriterion">
THE_ADGROUP_ID

THE_KEYWORD_ID_1
KEYWORD
Keyword
KEYWORD_TEXT
BROAD


BiddableAdGroupCriterion
PAUSED
ELIGIBLE
PENDING_REVIEW


MANUAL_CPC

CAMPAIGN


ManualCpcBiddingScheme
false


CpmBid


Money
1

ADGROUP


CpcBid


Money
1000

CRITERION




http://example.com/mars/cruise/?kw=mars+cruise


http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="NegativeAdGroupCriterion">
THE_ADGROUP_ID

THE_KEYWORD_ID_2
KEYWORD
Keyword
ANOTHER_KEYWORD_TEXT
EXACT


NegativeAdGroupCriterion







Let me know if this helps.

Best regards,
Peter
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 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 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/4d834b17-a328-4959-9933-a76feb0df840%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdGroupCriterionService: cvc-complex-type.2.4.d: Invalid content was found starting 'v20:matchType'.

2017-09-18 Thread neha sahu
I am using 'mutate' operation of 'AdGroupCriterionService' service in SOAP 
UI to create a 'KEYWORD' type criteria.
Can you please help on how can I send 'matchType' and 'text' input ?

Please find below request I am sending:
http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201708;>
   
  
 
 104-851-1999
 
 xyz
 
 soft
 
 false
 
 false
  
   
   
  
 
 

ADD

   
   54643115908
   
   BIDDABLE
   
   
  
  KEYWORD 
  Keyword 

  BROAD  
  
 

   
 
  
   


Error:

http://schemas.xmlsoap.org/soap/envelope/;>
   
  
 soap:Client
 Unmarshalling Error: cvc-complex-type.2.4.d: Invalid 
content was found starting with element 'v20:matchType'. No child element 
is expected at this point.
  
   


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 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/370e8533-89b5-4f83-b950-4c5e4b1a3b5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.