Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.Common.Logging.AdsFeatureUsageRegistry Class Reference

A utility class for tracking the usage of various features in the client library. More...

Public Types

enum  Features {
  Features.Unknown, Features.SelectorBuilder, Features.SelectorField, Features.ReportDownloader,
  Features.ProductPartitionTree, Features.BatchJobHelper, Features.StatementBuilder, Features.OAuthServiceAccountFlow,
  Features.OAuthApplicationFlow, Features.Logging
}
 The list of features we need to track. More...
 

Public Member Functions

void MarkUsage (Features featureName)
 Marks the usage of a feature. More...
 
void Clear ()
 Clears the feature usage registry records. More...
 

Properties

static AdsFeatureUsageRegistry Instance [get]
 Gets the feature usage tracker instance. More...
 
string Text [get]
 Gets a comma separated list of features that have been used. More...
 

Detailed Description

A utility class for tracking the usage of various features in the client library.

Member Enumeration Documentation

The list of features we need to track.

Enumerator
Unknown 

Default value.

SelectorBuilder 

Group of features used to build selectors in AdWords library. This includes extension methods in Paging, OrderBy and Predicate classes.

SelectorField 

The selector field enums generated by stub code generator.

ReportDownloader 

All classes derived from AdsReportUtilities.

ProductPartitionTree 

ProductPartitionTree and associated classes in AdWords API.

BatchJobHelper 

BatchJobUtilities and associated classes in AdWords API.

StatementBuilder 

StatementBuilder class in DFP API.

OAuthServiceAccountFlow 

Classes that provide OAuth service account flow in AdWords and DFP API.

OAuthApplicationFlow 

Classes that provide OAuth installed application and web account flows in AdWords and DFP API.

Logging 

Classes that provide logging functionality.

Member Function Documentation

void Google.Api.Ads.Common.Logging.AdsFeatureUsageRegistry.Clear ( )
inline

Clears the feature usage registry records.

void Google.Api.Ads.Common.Logging.AdsFeatureUsageRegistry.MarkUsage ( Features  featureName)
inline

Marks the usage of a feature.

Parameters
featureNameName of the feature.
Exceptions
System.ArgumentExceptionIf the feature is unregistered.

Property Documentation

AdsFeatureUsageRegistry Google.Api.Ads.Common.Logging.AdsFeatureUsageRegistry.Instance
staticget

Gets the feature usage tracker instance.

string Google.Api.Ads.Common.Logging.AdsFeatureUsageRegistry.Text
get

Gets a comma separated list of features that have been used.


The documentation for this class was generated from the following file: