RequiredError.REQUIRED @ operations[0].operand.id Error

2016-10-28 Thread tsoebijantoro
Hi, I'm trying to change the UserListMembershipStatus of a BasicUserList to Closed in Ruby. I currently have the following: @client.call(:mutate, :message_tag => :mutate, :message => get_message({ :operator => "SET", :operand => { :xsi_type => 'BasicUserList', :name

Re: Remove AdGroupFeed throws RequiredError.REQUIRED @ operations[0].operand.id error

2015-09-09 Thread Anthony Madrigal
Hi Florian, The required fields to remove an AdGroupFeed are feedId and adGroupId . Please make sure that you are including both of these IDs in your request. If you did include both of

Remove AdGroupFeed throws RequiredError.REQUIRED @ operations[0].operand.id error

2015-09-09 Thread Florian Eckerstorfer
I am trying to delete some AdGroupFeeds through the API. In my code I am retrieving all AdGroupFeeds from the API, filter the list and then create a REMOVE operation using the retrieved AdGroupFeed object as operand. However, when I call the mutate() function the API sends the following

Re: Remove AdGroupFeed throws RequiredError.REQUIRED @ operations[0].operand.id error

2015-09-09 Thread Josh Radcliff (AdWords API Team)
Hi Florian, In the code you sent to Anthony, I noticed that you are using the *FeedService*. $operand = new AdGroupFeed($adGroupFeed->feedId, $adGroupFeed->adGroupId); $operation = new AdGroupFeedOperation($operand, 'REMOVE'); $feedService = *$user->GetService('FeedService',