Skip to content

Commit

Permalink
Commit AdWords API legacy .net library (v17.2.0) to github.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnashOommen committed Jul 23, 2014
1 parent 38996f7 commit 8be0567
Show file tree
Hide file tree
Showing 287 changed files with 7,356 additions and 63,520 deletions.
5 changes: 5 additions & 0 deletions legacy/adwords/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
17.2.0
- Removed support for AdWords API v201309.
- Added support for AdWords For Video API v201406.
- Code examples no longer rename AdGroups and Campaigns when removing them.

17.1.0
- Fixed issue 8 (https://github.com/googleads/googleads-adwords-dotnet-lib/issues/8)
on github. The fix is based on contribution by bosak (https://github.com/bosak).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,82 +52,6 @@
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Properties.cs" />
<Compile Include="v201309\AccountManagement\CreateAccount.cs" />
<Compile Include="v201309\AccountManagement\GetAccountAlerts.cs" />
<Compile Include="v201309\AccountManagement\GetAccountChanges.cs" />
<Compile Include="v201309\AccountManagement\GetAccountHierarchy.cs" />
<Compile Include="v201309\AdvancedOperations\AddAdGroupBidModifier.cs" />
<Compile Include="v201309\AdvancedOperations\AddClickToDownloadAd.cs" />
<Compile Include="v201309\AdvancedOperations\AddSiteLinks.cs" />
<Compile Include="v201309\AdvancedOperations\GetAdGroupBidModifiers.cs" />
<Compile Include="v201309\AdvancedOperations\UploadOfflineConversions.cs" />
<Compile Include="v201309\AdvancedOperations\UseSharedBiddingStrategy.cs" />
<Compile Include="v201309\AdWordsForVideo\AddTargetingGroup.cs" />
<Compile Include="v201309\AdWordsForVideo\AddTargetingGroupCriteria.cs" />
<Compile Include="v201309\AdWordsForVideo\AddVideoAd.cs" />
<Compile Include="v201309\AdWordsForVideo\AddVideoCallToAction.cs" />
<Compile Include="v201309\AdWordsForVideo\AddVideoCampaign.cs" />
<Compile Include="v201309\AdWordsForVideo\AddVideoCampaignCriteria.cs" />
<Compile Include="v201309\AdWordsForVideo\FindVideos.cs" />
<Compile Include="v201309\AdWordsForVideo\GetKeywordCriteria.cs" />
<Compile Include="v201309\AdWordsForVideo\GetTargetingGroups.cs" />
<Compile Include="v201309\AdWordsForVideo\GetVideoCampaignCriteria.cs" />
<Compile Include="v201309\AdWordsForVideo\GetVideoCampaigns.cs" />
<Compile Include="v201309\AdWordsForVideo\GetVideoCampaignStats.cs" />
<Compile Include="v201309\BasicOperations\AddAdGroupDemographicCriteria.cs" />
<Compile Include="v201309\BasicOperations\AddAdGroups.cs" />
<Compile Include="v201309\BasicOperations\AddCampaigns.cs" />
<Compile Include="v201309\BasicOperations\AddKeywords.cs" />
<Compile Include="v201309\BasicOperations\AddTextAds.cs" />
<Compile Include="v201309\BasicOperations\DeleteAd.cs" />
<Compile Include="v201309\BasicOperations\DeleteAdGroup.cs" />
<Compile Include="v201309\BasicOperations\DeleteCampaign.cs" />
<Compile Include="v201309\BasicOperations\DeleteKeyword.cs" />
<Compile Include="v201309\BasicOperations\GetAdGroups.cs" />
<Compile Include="v201309\BasicOperations\GetCampaigns.cs" />
<Compile Include="v201309\BasicOperations\GetCampaignsWithAwql.cs" />
<Compile Include="v201309\BasicOperations\GetKeywords.cs" />
<Compile Include="v201309\BasicOperations\GetTextAds.cs" />
<Compile Include="v201309\BasicOperations\PauseAd.cs" />
<Compile Include="v201309\BasicOperations\UpdateAdGroup.cs" />
<Compile Include="v201309\BasicOperations\UpdateCampaign.cs" />
<Compile Include="v201309\BasicOperations\UpdateKeyword.cs" />
<Compile Include="v201309\CampaignManagement\AddExperiment.cs" />
<Compile Include="v201309\CampaignManagement\AddKeywordsInBulk.cs" />
<Compile Include="v201309\CampaignManagement\AddLocationExtension.cs" />
<Compile Include="v201309\CampaignManagement\GetAllDisapprovedAds.cs" />
<Compile Include="v201309\CampaignManagement\GetAllDisapprovedAdsWihAwql.cs" />
<Compile Include="v201309\CampaignManagement\PromoteExperiment.cs" />
<Compile Include="v201309\CampaignManagement\SetAdParameters.cs" />
<Compile Include="v201309\CampaignManagement\SetBidModifier.cs" />
<Compile Include="v201309\CampaignManagement\ValidateTextAd.cs" />
<Compile Include="v201309\ErrorHandling\HandlePartialFailures.cs" />
<Compile Include="v201309\ErrorHandling\HandlePolicyViolationError.cs" />
<Compile Include="v201309\ErrorHandling\HandleRateExceededError.cs" />
<Compile Include="v201309\ErrorHandling\HandleTwoFactorAuthorizationError.cs" />
<Compile Include="v201309\Express\AddExpressBusinesses.cs" />
<Compile Include="v201309\Express\AddPromotion.cs" />
<Compile Include="v201309\Express\GetExpressBusinesses.cs" />
<Compile Include="v201309\Express\GetProductServices.cs" />
<Compile Include="v201309\Express\GetPromotions.cs" />
<Compile Include="v201309\Express\UpdateExpressBusiness.cs" />
<Compile Include="v201309\Express\UpdatePromotion.cs" />
<Compile Include="v201309\Miscellaneous\GetAllVideosAndImages.cs" />
<Compile Include="v201309\Miscellaneous\UploadImage.cs" />
<Compile Include="v201309\Optimization\EstimateKeywordTraffic.cs" />
<Compile Include="v201309\Optimization\GetAdGroupBidSimulations.cs" />
<Compile Include="v201309\Optimization\GetKeywordBidSimulations.cs" />
<Compile Include="v201309\Optimization\GetKeywordIdeas.cs" />
<Compile Include="v201309\Optimization\GetPlacementIdeas.cs" />
<Compile Include="v201309\Remarketing\AddAudience.cs" />
<Compile Include="v201309\Remarketing\AddConversionTracker.cs" />
<Compile Include="v201309\Reporting\DownloadCriteriaReport.cs" />
<Compile Include="v201309\Reporting\DownloadCriteriaReportWithAwql.cs" />
<Compile Include="v201309\Reporting\GetReportFields.cs" />
<Compile Include="v201309\Targeting\AddCampaignTargetingCriteria.cs" />
<Compile Include="v201309\Targeting\GetCampaignTargetingCriteria.cs" />
<Compile Include="v201309\Targeting\GetTargetableLanguagesAndCarriers.cs" />
<Compile Include="v201309\Targeting\LookupLocation.cs" />
<Compile Include="v201402\AccountManagement\CreateAccount.cs" />
<Compile Include="v201402\AccountManagement\GetAccountAlerts.cs" />
<Compile Include="v201402\AccountManagement\GetAccountChanges.cs" />
Expand Down Expand Up @@ -222,6 +146,18 @@
<Compile Include="v201406\AdvancedOperations\GetAdGroupBidModifiers.cs" />
<Compile Include="v201406\AdvancedOperations\UploadOfflineConversions.cs" />
<Compile Include="v201406\AdvancedOperations\UseSharedBiddingStrategy.cs" />
<Compile Include="v201406\AdWordsForVideo\AddTargetingGroup.cs" />
<Compile Include="v201406\AdWordsForVideo\AddTargetingGroupCriteria.cs" />
<Compile Include="v201406\AdWordsForVideo\AddVideoAd.cs" />
<Compile Include="v201406\AdWordsForVideo\AddVideoCallToAction.cs" />
<Compile Include="v201406\AdWordsForVideo\AddVideoCampaign.cs" />
<Compile Include="v201406\AdWordsForVideo\AddVideoCampaignCriteria.cs" />
<Compile Include="v201406\AdWordsForVideo\FindVideos.cs" />
<Compile Include="v201406\AdWordsForVideo\GetKeywordCriteria.cs" />
<Compile Include="v201406\AdWordsForVideo\GetTargetingGroups.cs" />
<Compile Include="v201406\AdWordsForVideo\GetVideoCampaignCriteria.cs" />
<Compile Include="v201406\AdWordsForVideo\GetVideoCampaigns.cs" />
<Compile Include="v201406\AdWordsForVideo\GetVideoCampaignStats.cs" />
<Compile Include="v201406\BasicOperations\AddAdGroupDemographicCriteria.cs" />
<Compile Include="v201406\BasicOperations\AddAdGroups.cs" />
<Compile Include="v201406\BasicOperations\AddCampaigns.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// Author: [email protected] (Anash P. Oommen)

using Google.Api.Ads.AdWords.Lib;
using Google.Api.Ads.AdWords.v201309;
using Google.Api.Ads.AdWords.v201406;
using Google.Api.Ads.Common.Lib;

using System;
Expand Down Expand Up @@ -74,7 +74,7 @@ static void Main(string[] args) {

// Get the CampaignService.
CampaignService campaignService =
(CampaignService) user.GetService(AdWordsService.v201309.CampaignService);
(CampaignService) user.GetService(AdWordsService.v201406.CampaignService);

// Create the selector.
Selector selector = new Selector();
Expand Down
8 changes: 4 additions & 4 deletions legacy/adwords/examples/adwords/CSharp/OAuth/Default.aspx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

using Google.Api.Ads.AdWords.Lib;
using Google.Api.Ads.AdWords.Util.Reports;
using Google.Api.Ads.AdWords.v201309;
using Google.Api.Ads.AdWords.v201406;
using Google.Api.Ads.Common.Lib;

using System;
Expand Down Expand Up @@ -104,7 +104,7 @@ protected void OnDownloadReportButtonClick(object sender, EventArgs e) {
// If you know that your report is small enough to fit in memory, then
// you can instead use
// ReportUtilities utilities = new ReportUtilities(user);
// utilities.ReportVersion = "v201309";
// utilities.ReportVersion = "v201406";
// ClientReport report = utilities.GetClientReport(definition);
//
// // Get the text report directly if you requested a text format
Expand All @@ -122,7 +122,7 @@ protected void OnDownloadReportButtonClick(object sender, EventArgs e) {
// Set the customer id.
(user.Config as AdWordsAppConfig).ClientCustomerId = txtCustomerId.Text;
ReportUtilities utilities = new ReportUtilities(user);
utilities.ReportVersion = "v201309";
utilities.ReportVersion = "v201406";
utilities.DownloadClientReport(definition, filePath);
} catch (Exception ex) {
throw new System.ApplicationException("Failed to download report.", ex);
Expand Down Expand Up @@ -155,7 +155,7 @@ protected void OnGetCampaignsButtonClick(object sender, EventArgs e) {

try {
CampaignService service =
(CampaignService) user.GetService(AdWordsService.v201309.CampaignService);
(CampaignService) user.GetService(AdWordsService.v201406.CampaignService);

CampaignPage page = service.get(selector);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
[assembly: AssemblyProduct("AdWords API DotNet Client Library")]
[assembly: AssemblyCopyright("Copyright 2011, Google Inc. All Rights Reserved.")]

[assembly: AssemblyVersion("17.1.0.0")]
[assembly: AssemblyFileVersion("17.1.0.0")]
[assembly: AssemblyVersion("17.2.0.0")]
[assembly: AssemblyFileVersion("17.2.0.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
[assembly: AssemblyProduct("AdWords API DotNet Client Library")]
[assembly: AssemblyCopyright("Copyright 2011, Google Inc. All Rights Reserved.")]

[assembly: AssemblyVersion("17.1.0.0")]
[assembly: AssemblyFileVersion("17.1.0.0")]
[assembly: AssemblyVersion("17.2.0.0")]
[assembly: AssemblyFileVersion("17.2.0.0")]

This file was deleted.

Loading

0 comments on commit 8be0567

Please sign in to comment.