REMOVE FEED ITEM

72 views
Skip to first unread message

cvit sandeep

unread,
May 27, 2015, 4:55:35 AM5/27/15
to adwor...@googlegroups.com
Hi Adword Team,
How can we remove the feed item . We want to remove the ad extensions like sitelink, call extension, callout extension etc.
How can we remove these extensions? 

Stacie Waleyko

unread,
Jun 2, 2015, 3:47:13 PM6/2/15
to adwor...@googlegroups.com

Hi,

You can send a MUTATE request to FeedItemService with the REMOVE operator in the FeedItemOperation

Here's a sample SOAP request. Replace FEED_ID and FEED_ITEM_ID with the appropriate values.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/v201502">
   <soapenv:Header>
      <v20:RequestHeader>
         <v20:clientCustomerId>YOUR_CLIENT_CUSTOMER_ID</v20:clientCustomerId>
         <v20:developerToken>YOUR_DEVELOPER_TOKEN</v20:developerToken>
         <v20:userAgent>YOUR_USER_AGENT</v20:userAgent>
         <v20:validateOnly>false</v20:validateOnly>
         <v20:partialFailure>true</v20:partialFailure>
      </v20:RequestHeader>
   </soapenv:Header>
   <soapenv:Body>
      <v20:mutate>
         <v20:operations>
            <v20:operator>REMOVE</v20:operator>
            <v20:Operation.Type>xsi:type</v20:Operation.Type>
            <v20:operand>
               <v20:feedId>FEED_ID</v20:feedId>
               <v20:feedItemId>FEED_ITEM_ID</v20:feedItemId>
            </v20:operand>
         </v20:operations>
      </v20:mutate>
   </soapenv:Body>
</soapenv:Envelope>

Nadine Sundquist (AdWords API Team)

unread,
Jun 2, 2015, 4:33:48 PM6/2/15
to adwor...@googlegroups.com, cvits...@gmail.com
Hello,

If you're using the new Extension Settings feature, these extensions can be removed using the CampaignExtensionSettingsService. Check out the example on updating an ad extension. That example can be modified to use Operator.REMOVE instead of Operator.SET.

Best,
Nadine, AdWords API Team
Reply all
Reply to author
Forward
0 new messages