예제 #1
0
        // Removes the association between a shared entity such as a negative keyword list and an entity such as a campaign.

        private async Task <IList <BatchError> > DeleteSharedEntityAssociationsAsync(IList <SharedEntityAssociation> associations)
        {
            var request = new DeleteSharedEntityAssociationsRequest
            {
                Associations = associations
            };

            return((await Service.CallAsync((s, r) => s.DeleteSharedEntityAssociationsAsync(r), request)).PartialErrors);
        }
        // Removes the association between a shared entity such as a negative keyword list and an entity such as a campaign. 

        private async Task<IList<BatchError>> DeleteSharedEntityAssociationsAsync(IList<SharedEntityAssociation> associations)
        {
            var request = new DeleteSharedEntityAssociationsRequest
            {
                Associations = associations
            };

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