Not able to add new feed attribute to the existing feed using GoogleAds(V2).

18 views
Skip to first unread message

Urmisa Saha

unread,
Mar 5, 2020, 4:28:16 AM3/5/20
to AdWords API and Google Ads API Forum

Hi,

I am not able to add new feed attribute to the existing feed using GoogleAds(V2).
Can someone please have a look?

Here is my request and the corresponding response..

Request:
{
  "customer_id": 7620963363,
  "feeds": [
    {
      "attribute_operations": [
        {
          "value": {
            "is_part_of_key": false,
            "name": "Property Id",
            "type": "STRING"
          },
          "value": {
            "is_part_of_key": false,
            "name": "Hotel Address",
            "type": "STRING"
          },
          "value": {
            "is_part_of_key": false,
            "name": "Star Rating",
            "type": "STRING"
          },
          "value": {
            "is_part_of_key": false,
            "name": "Update Column",
            "type": "STRING"
          }
        }
      ],
      "feed_id": 151058029
    }
  ]
}


Response: results{
  
}partial_failure_error{
  code: 3message: "Kittenz, at operations[0].update.attribute_operations[0]"details{
    [
    ]{
      errors{
        error_code{
          list_operation_error: UNKNOWN
        }message: "Kittenz"location{
          field_path_elements{
            field_name: "operations"index{
              
            }
          }field_path_elements{
            field_name: "update"
          }field_path_elements{
            field_name: "attribute_operations"index{
              
            }
          }
        }
      }
    }
  }
}


Please let me know if I'm missing anything in the request.

Google Ads API Forum Advisor Prod

unread,
Mar 5, 2020, 3:44:40 PM3/5/20
to adwor...@googlegroups.com
Hi Urmisa,

Thank you for reaching out. Can you please share the complete request and response logs (including the operations) via reply privately to author so that I can further investigate the issue? You should be using a FeedAttributeOperation to mutate the attribute list within the feed.

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5001UXUB3L:ref
Reply all
Reply to author
Forward
0 new messages