// Adds a shared entity such as a negative keyword list to the account's library. // Lists in the account's library can be associated with any campaign within the account. private async Task <AddSharedEntityResponse> AddSharedEntityAsync( SharedEntity sharedEntity, IList <SharedListItem> listItems) { var request = new AddSharedEntityRequest { ListItems = listItems, SharedEntity = sharedEntity }; return(await Service.CallAsync((s, r) => s.AddSharedEntityAsync(r), request)); }
// Adds a shared entity such as a negative keyword list to the account's library. // Lists in the account's library can be associated with any campaign within the account. private async Task<AddSharedEntityResponse> AddSharedEntityAsync( SharedEntity sharedEntity, IList<SharedListItem> listItems) { var request = new AddSharedEntityRequest { ListItems = listItems, SharedEntity = sharedEntity }; return (await Service.CallAsync((s, r) => s.AddSharedEntityAsync(r), request)); }