// Gets associations between a campaign and a shared entity such as a negative keyword list. // You can request associations by associated entity identifiers. private async Task <GetSharedEntityAssociationsByEntityIdsResponse> GetSharedEntityAssociationsByEntityIdsAsync( IList <long> entityIds, string entityType, string sharedEntityType) { var request = new GetSharedEntityAssociationsByEntityIdsRequest { EntityIds = entityIds, EntityType = entityType, SharedEntityType = sharedEntityType }; return(await Service.CallAsync((s, r) => s.GetSharedEntityAssociationsByEntityIdsAsync(r), request)); }
// Gets associations between a campaign and a shared entity such as a negative keyword list. // You can request associations by associated entity identifiers. private async Task<GetSharedEntityAssociationsByEntityIdsResponse> GetSharedEntityAssociationsByEntityIdsAsync( IList<long> entityIds, string entityType, string sharedEntityType) { var request = new GetSharedEntityAssociationsByEntityIdsRequest { EntityIds = entityIds, EntityType = entityType, SharedEntityType = sharedEntityType }; return (await Service.CallAsync((s, r) => s.GetSharedEntityAssociationsByEntityIdsAsync(r), request)); }