RE: Bug in CampaignFeedService

2019-07-26 Thread Google Ads API Forum Advisor Prod
Hi,

Thanks for posting your concern.

Upon checking the provided SOAP logs, I can see that you've set 4 constant 
operands in the functionString field of matchingFunction. However, according to 
this documentation, the maximum constant operands that you can set for 
CONTAINS_ANY operator is three and this is the reason why you encountered the 
FunctionError.INVALID_NUMBER_OF_OPERANDS.

Let me know if you have further questions.

Regards,
Ejay
Google Ads API Team
ref:_00D1U1174p._5001UEGOvE:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/_rlhi0PV8NCP004J2nlJKBS-i7EhzH7eHfsQ%40sfdc.net.


Bug in CampaignFeedService

2019-07-25 Thread FW API
Hello, 

we have encountered a probable bug in CampaignFeedService. We have send a 
request with a CONTAINS_ANY clause according to this documentation:
https://developers.google.com/adwords/api/docs/guides/feed-services-locations#filtering_location_extensions

- The operation apparently worked: The correct four locations are now 
listed with the campaign. 
- But the soap response contained a 
FunctionError.INVALID_NUMBER_OF_OPERANDS.

I'll append redacted soap log:


SOAP request:

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/v201809"; 
soapenv:mustUnderstand="0">
9367243494
REDACTED
REDACTED (AwApi-Java, AdWords-Axis/4.1.0, 
Common-Java/4.1.0, Axis/1.4, Java/1.8.0_181, maven, 
SelectorBuilder)
false
false



https://adwords.google.com/api/adwords/cm/v201809";>

SET

100969912
2075545651


CONTAINS_ANY(FeedAttribute[100969912,14],{"176","047","105","175"})

7






***
2019-07-25 16:02:54,908  INFO RemoteCallLoggerDelegate: 
***
SOAP response:

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

https://adwords.google.com/api/adwords/cm/v201809";>
00058e81e1dbd3c00a3741472207bded
CampaignFeedService
mutate
1
88




soap:Client
[FunctionError.INVALID_NUMBER_OF_OPERANDS @ 
operations[0].operand.matchingFunction.rhsOperand]

https://adwords.google.com/api/adwords/cm/v201809";>
[FunctionError.INVALID_NUMBER_OF_OPERANDS @ 
operations[0].operand.matchingFunction.rhsOperand]

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

operations[0].operand.matchingFunction.rhsOperand

operations
0


operand


matchingFunction


rhsOperand



FunctionError.INVALID_NUMBER_OF_OPERANDS
FunctionError
INVALID_NUMBER_OF_OPERANDS







-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/df34d3be-9408-4870-89b4-fd841a4d228c%40googlegroups.com.