コード例 #1
0
        // Deletes shared entities such as negative keyword lists from the account's library.

        private async Task <IList <BatchError> > DeleteSharedEntitiesAsync(IList <SharedEntity> sharedEntities)
        {
            var request = new DeleteSharedEntitiesRequest
            {
                SharedEntities = sharedEntities
            };

            return((await Service.CallAsync((s, r) => s.DeleteSharedEntitiesAsync(r), request)).PartialErrors);
        }
コード例 #2
0
        // Deletes shared entities such as negative keyword lists from the account's library. 

        private async Task<IList<BatchError>> DeleteSharedEntitiesAsync(IList<SharedEntity> sharedEntities)
        {
            var request = new DeleteSharedEntitiesRequest
            {
                SharedEntities = sharedEntities
            };

            return (await Service.CallAsync((s, r) => s.DeleteSharedEntitiesAsync(r), request)).PartialErrors;
        }