// Gets the reasons why the specified extension failed editorial when // in the context of an associated campaign or ad group. private async Task <IList <AdExtensionEditorialReasonCollection> > GetAdExtensionsEditorialReasons( long accountId, IList <AdExtensionIdToEntityIdAssociation> associations, AssociationType associationType) { var request = new GetAdExtensionsEditorialReasonsRequest { AccountId = accountId, AdExtensionIdToEntityIdAssociations = associations, AssociationType = associationType }; return((await CampaignService.CallAsync( (s, r) => s.GetAdExtensionsEditorialReasonsAsync(r), request)).EditorialReasons); }
// Gets the reasons why the specified extension failed editorial when // in the context of an associated campaign or ad group. private async Task<IList<AdExtensionEditorialReasonCollection>> GetAdExtensionsEditorialReasons( long accountId, IList<AdExtensionIdToEntityIdAssociation> associations, AssociationType associationType) { var request = new GetAdExtensionsEditorialReasonsRequest { AccountId = accountId, AdExtensionIdToEntityIdAssociations = associations, AssociationType = associationType }; return (await CampaignService.CallAsync( (s, r) => s.GetAdExtensionsEditorialReasonsAsync(r), request)).EditorialReasons; }