Skip to content

Commit

Permalink
Changes for release 2.4. (#114)
Browse files Browse the repository at this point in the history
* Changes for release 2.4.

* Changes for release 2.4.
  • Loading branch information
CoryLiseno authored Aug 26, 2019
1 parent 667cf43 commit 0acc66a
Show file tree
Hide file tree
Showing 47 changed files with 8,526 additions and 1,790 deletions.
17 changes: 14 additions & 3 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
2.4.0
=====
- Added support for Google Ads API v2.1. See release notes:
https://developers.google.com/google-ads/api/docs/release-notes#210_beta_2019-08-08
- Added Channel Caching
- Fixed Partial failure support for Google.Ads.GoogleAds.Logging.LoggingInterceptor
- Updated Timeouts to align with server-side configuration
- Added ability to override call settings
- Increase grpc.max_metadata_size to 16MB and grpc.max_receive_message_length to 64MB
- LRO Credential bug fixed

2.3.0
=====
- Added support for Google Ads API v2.0. See release notes:
Expand All @@ -24,7 +35,7 @@
- Ported HttpUtilities and MediaUtilities from the AdWords API library. These utilities simplify
code when working with Media assets.


2.1.0
=====
- Added support for Google Ads API v1.3. See release notes:
Expand All @@ -41,7 +52,7 @@
https://ads-developers.googleblog.com/2019/03/upgrade-to-new-google-ads-api-to-get.html
- Made a major version bump due to removal of support for v0.
- Updated all nuget dependencies to the latest stable versions.

1.1.0
=====
- Added support for Google Ads API v1.1 See release notes:
Expand Down Expand Up @@ -89,7 +100,7 @@ https://developers.google.com/google-ads/api/docs/release-notes#070_2019-01-30
-- AccountManagement/CreateCustomer.cs
-- Planning/GenerateKeywordIdeas.cs
-- Planning/AddKeywordPlan.cs
-- Planning/GenerateForecastMetrics.cs
-- Planning/GenerateForecastMetrics.cs
- Fixed a file encoding issue with Targeting/AddCampaignTargetingCriteria.cs example.

0.7.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<ItemGroup>
<!-- Include local projects over nuget dependencies if available -->
<ProjectReference Condition="Exists('..\..\..\src\Google.Ads.GoogleAds.csproj')" Include="..\..\..\src\Google.Ads.GoogleAds.csproj" />
<Reference Condition="!Exists('..\..\..\src\Google.Ads.GoogleAds.csproj')" Include="Google.Ads.GoogleAds, Version=2.3.0.0, Culture=neutral, PublicKeyToken=52807268f2b614dc, processorArchitecture=MSIL">
<Reference Condition="!Exists('..\..\..\src\Google.Ads.GoogleAds.csproj')" Include="Google.Ads.GoogleAds, Version=2.4.0.0, Culture=neutral, PublicKeyToken=52807268f2b614dc, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Google.Ads.GoogleAds.2.2.0\lib\net452\Google.Ads.GoogleAds.dll</HintPath>
</Reference>
</ItemGroup>
Expand Down Expand Up @@ -196,11 +196,11 @@
<Error Condition="!Exists('..\..\..\packages\Microsoft.Net.Compilers.3.0.0\build\Microsoft.Net.Compilers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.Net.Compilers.3.0.0\build\Microsoft.Net.Compilers.props'))" />
</Target>
<Import Project="..\..\..\packages\Grpc.Core.1.20.1\build\net45\Grpc.Core.targets" Condition="Exists('..\..\..\packages\Grpc.Core.1.20.1\build\net45\Grpc.Core.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Google.Ads.GoogleAds" version="2.3.0" targetFramework="net452" />
<package id="Google.Ads.GoogleAds" version="2.4.0" targetFramework="net452" />
<package id="Google.Api.CommonProtos" version="1.6.0" targetFramework="net452" />
<package id="Google.Api.Gax" version="2.7.0" targetFramework="net452" />
<package id="Google.Api.Gax.Grpc" version="2.7.0" targetFramework="net452" />
Expand Down Expand Up @@ -51,4 +51,4 @@
<package id="System.Threading.Timer" version="4.3.0" targetFramework="net452" />
<package id="System.Xml.ReaderWriter" version="4.3.1" targetFramework="net452" />
<package id="System.Xml.XDocument" version="4.3.0" targetFramework="net452" />
</packages>
</packages>
4 changes: 2 additions & 2 deletions examples/Google.Ads.GoogleAds.Examples.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<None Remove="Migration\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Google.Ads.GoogleAds" Version="2.3.0" />
<PackageReference Include="Google.Ads.GoogleAds" Version="2.4.0" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Web" />
Expand All @@ -36,4 +36,4 @@
<SubType>Designer</SubType>
</None>
</ItemGroup>
</Project>
</Project>
6 changes: 3 additions & 3 deletions src/Google.Ads.GoogleAds.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Title>Google Ads API Dotnet Client Library</Title>
<PackageId>Google.Ads.GoogleAds</PackageId>
<Version>2.3.0</Version>
<Version>2.4.0</Version>
<Description>This library provides you with functionality to access the Google Ads API.</Description>
<PackageReleaseNotes>https://github.com/googleads/google-ads-dotnet/blob/master/ChangeLog</PackageReleaseNotes>
<PackageTags>GoogleAds Google</PackageTags>
Expand Down Expand Up @@ -31,8 +31,8 @@
<IncludeSource>true</IncludeSource>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AssemblyVersion>2.3.0.0</AssemblyVersion>
<FileVersion>2.3.0.0</FileVersion>
<AssemblyVersion>2.4.0.0</AssemblyVersion>
<FileVersion>2.4.0.0</FileVersion>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
Expand Down
6 changes: 5 additions & 1 deletion src/Util/Examples/ExampleRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,16 @@ public void LoadCodeExamples(Assembly assembly)
{
SystemType[] types = assembly.GetTypes();

ExampleBase codeExample = null;
foreach (SystemType type in types)
{
if (type.IsSubclassOf(typeof(ExampleBase)))
{
ExampleBase example = (ExampleBase) Activator.CreateInstance(type);
codeExampleMap.Add(example.Name, example);
if (!codeExampleMap.TryGetValue(example.Name, out codeExample))
{
codeExampleMap.Add(example.Name, example);
}
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/V2/ServiceExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public abstract partial class ParentalStatusViewServiceClient : GoogleAdsService
public abstract partial class PaymentsAccountServiceClient : GoogleAdsServiceClientBase {}
public abstract partial class ProductBiddingCategoryConstantServiceClient : GoogleAdsServiceClientBase {}
public abstract partial class ProductGroupViewServiceClient : GoogleAdsServiceClientBase {}
public abstract partial class ReachPlanServiceClient : GoogleAdsServiceClientBase {}
public abstract partial class RecommendationServiceClient : GoogleAdsServiceClientBase {}
public abstract partial class RemarketingActionServiceClient : GoogleAdsServiceClientBase {}
public abstract partial class SearchTermViewServiceClient : GoogleAdsServiceClientBase {}
Expand Down
7 changes: 7 additions & 0 deletions src/V2/Services.V2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,13 @@ public class V2
public static readonly ServiceTemplate<ProductGroupViewServiceClient, ProductGroupViewServiceSettings> ProductGroupViewService;


/// <summary>
/// See https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v2.services#google.ads.googleads.v2.services.ReachPlanService
/// for details.
/// </summary>
public static readonly ServiceTemplate<ReachPlanServiceClient, ReachPlanServiceSettings> ReachPlanService;


/// <summary>
/// See https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v2.services#google.ads.googleads.v2.services.RecommendationService
/// for details.
Expand Down
Loading

0 comments on commit 0acc66a

Please sign in to comment.