FeedItemService in the API

59 views
Skip to first unread message

Александр Тт

unread,
Nov 9, 2015, 12:51:28 PM11/9/15
to AdWords API Forum

Hi All,

I faced with issue with updating existed items in the Ad Customizer throught API. When I created new attribute through API using AdCustomizerFeedService, and tried to update existed item to set value for created attribute I got the following error: "SoapFault exception: [soap:Server] [RequiredError.REQUIRED @ operations[0].operand.attributeValues[0].feedAttributeId]", but if debug stack I see feedAttributeId for each value. Please see example of object for AdCustomizerFeedService below:

[0] => FeedItemOperation Object
        (
            [operand] => FeedItem Object
                (
                    [feedId] => 31374014
                    [feedItemId] => 2450086378
                    [status] => ENABLED
                    [startTime] => 
                    [endTime] => 
                    [attributeValues] => Array
                        (
                            [0] => FeedItemAttributeValue Object
                                (
                                    [feedAttributeId] => 1
                                    [integerValue] => 
                                    [doubleValue] => 
                                    [booleanValue] => 
                                    [stringValue] => Sunday
                                    [integerValues] => 
                                    [doubleValues] => 
                                    [booleanValues] => 
                                    [stringValues] => 
                                )

                            [1] => FeedItemAttributeValue Object
                                (
                                    [feedAttributeId] => 2
                                    [integerValue] => 
                                    [doubleValue] => 
                                    [booleanValue] => 
                                    [stringValue] => 2015
                                    [integerValues] => 
                                    [doubleValues] => 
                                    [booleanValues] => 
                                    [stringValues] => 
                                )

                        )

                    [policyData] => 
                    [devicePreference] => 
                    [scheduling] => 
                    [campaignTargeting] => 
                    [adGroupTargeting] => 
                    [keywordTargeting] => 
                    [geoTargeting] => 
                    [urlCustomParameters] => 
                )

            [operator] => SET
            [OperationType] => 
            [_parameterMap:Operation:private] => Array
                (
                    [Operation.Type] => OperationType
                )

        )

Hope you can help with clarifying.

Thanks,
Alexander

Anthony Madrigal

unread,
Nov 9, 2015, 4:10:20 PM11/9/15
to AdWords API Forum
Hi Alexander,

That does seem to be weird behavior. I would like to investigate it. Could you please reply privately to author your SOAP request and response so that I could?

Thanks,
Anthony
AdWords API Team
Reply all
Reply to author
Forward
0 new messages