Feed Items Update problems

83 views
Skip to first unread message

Dmytro Tonkikh

unread,
Sep 16, 2019, 1:12:00 AM9/16/19
to AdWords API and Google Ads API Forum
Hi everyone

I'm trying to update Price Extension feed by FeedItemService in new API.

Create operation works perfectly, but the update doesn't work.

API returns 200 code but without any changes.
An example of the update operation.

{"attribute_values":[{"feed_attribute_id":1,"string_value":"Places"},{"feed_attribute_id":2,"string_value":"From"},...,{}],
"id":"86271723383",
"feed":"customers/9169234605/feeds/108176779",
"resource_name":"customers/9169234605/feedItems/108176779~86271723383"}



Also, I specified update_mask with every update operation

update_mask : {paths : 'attribute_values', paths : 'id'}


Where maybe a problem?


Dmytro Tonkikh

unread,
Sep 16, 2019, 6:10:42 AM9/16/19
to AdWords API and Google Ads API Forum
message": "The field cannot be cleared.",
            "
location": {
              "
fieldPathElements": [
                {
                  "
fieldName": "operations",
                  "
index": "0"
                },
                {
                  "
fieldName": "update"
                },
                {
                  "
fieldName": "attribute_values"
                },
                {
                  "
fieldName": "boolean_value"
                }
              ]
            }
          },


Error

Dmytro Tonkikh

unread,
Sep 16, 2019, 6:14:40 AM9/16/19
to AdWords API and Google Ads API Forum
When I specified the value of attribute_values at the end of update_mask - it brings error

But when attribute_values at the start of update_mask - api returns 200 code but without any changes


On Monday, September 16, 2019 at 8:12:00 AM UTC+3, Dmytro Tonkikh wrote:

Google Ads API Forum Advisor Prod

unread,
Sep 16, 2019, 2:28:19 PM9/16/19
to dmy...@tonkikh.com, adwor...@googlegroups.com
Hi Dmytro, 

I was able to update the feed Item without any issues. Please find the attached sample logs as a reference. Could you please enable logging and share the request and response logs, so I can check take a look at the error you're receiving? You can share the details privately via Reply privately to author option. 

Thanks,
Bharani, Google Ads API Team

ref:_00D1U1174p._5001UHGsjr:ref
Sample_Logs.rtf
Reply all
Reply to author
Forward
0 new messages