コード例 #1
0
        // Removes the target association from the specified ad group.
        // Does not delete the target or the ad group.
        private async Task DeleteTargetFromAdGroupAsync(long adGroupId)
        {
            var request = new DeleteTargetFromAdGroupRequest
            {
                AdGroupId = adGroupId
            };

            await Service.CallAsync((s, r) => s.DeleteTargetFromAdGroupAsync(r), request);
        }
コード例 #2
0
        // Removes the target association from the specified ad group. 
        // Does not delete the target or the ad group.
        private void DeleteTargetFromAdGroupAsync(long adGroupId)
        {
            var request = new DeleteTargetFromAdGroupRequest
            {
                AdGroupId = adGroupId
            };

            Service.CallAsync((s, r) => s.DeleteTargetFromAdGroupAsync(r), request);
        }