Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdWords.v201809.PolicyViolationError Class Reference

Represents violations of a single policy by some text in a field. Violations of a single policy by the same string in multiple places within a field is reported in one instance of this class and only one exemption needs to be filed. Violations of a single policy by two different strings is reported as two separate instances of this class. e.g. If 'ACME' violates 'capitalization' and occurs twice in a text ad it would be represented by one instance. If the ad also contains 'INC' which also violates 'capitalization' it would be represented in a separate instance. More...

Inheritance diagram for Google.Api.Ads.AdWords.v201809.PolicyViolationError:
Google.Api.Ads.AdWords.v201809.ApiError Google.Api.Ads.AdWords.v201809.AdParamPolicyError Google.Api.Ads.AdWords.v201809.CriterionPolicyError

Classes

class  Fields
 List of all supported fields for the PolicyViolationError class. More...
 
class  FilterableFields
 List of all supported filterable fields for the PolicyViolationError class. More...
 
class  SelectableFields
 List of all supported selectable fields for the PolicyViolationError class. More...
 

Properties

PolicyViolationKey key [get, set]
 Unique identifier for the violation. More...
 
string externalPolicyName [get, set]
 Name of policy suitable for display to users. In the user's preferred language. More...
 
string externalPolicyUrl [get, set]
 Url with writeup about the policy. More...
 
string externalPolicyDescription [get, set]
 Localized description of the violation. More...
 
bool isExemptable [get, set]
 Whether user can file an exemption request for this violation. More...
 
bool isExemptableSpecified [get, set]
 
PolicyViolationErrorPart[] violatingParts [get, set]
 Lists the parts that violate the policy. More...
 
- Properties inherited from Google.Api.Ads.AdWords.v201809.ApiError
string fieldPath [get, set]
 The OGNL field path to identify cause of error. More...
 
FieldPathElement[] fieldPathElements [get, set]
 A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. More...
 
string trigger [get, set]
 The data that caused the error. More...
 
string errorString [get, set]
 A simple string representation of the error and reason. More...
 
string ApiErrorType [get, set]
 Indicates that this instance is a subtype of ApiError. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead. More...
 

Additional Inherited Members

- Public Member Functions inherited from Google.Api.Ads.AdWords.v201809.ApiError
int GetOperationIndex ()
 Gets the index of the operation. More...
 
int GetFieldPathIndex (string field)
 Gets the index of a field in a field path expression. More...
 
override string ToString ()
 Returns a System.String that represents this instance. More...
 

Detailed Description

Represents violations of a single policy by some text in a field. Violations of a single policy by the same string in multiple places within a field is reported in one instance of this class and only one exemption needs to be filed. Violations of a single policy by two different strings is reported as two separate instances of this class. e.g. If 'ACME' violates 'capitalization' and occurs twice in a text ad it would be represented by one instance. If the ad also contains 'INC' which also violates 'capitalization' it would be represented in a separate instance.

Property Documentation

string Google.Api.Ads.AdWords.v201809.PolicyViolationError.externalPolicyDescription
getset

Localized description of the violation.

string Google.Api.Ads.AdWords.v201809.PolicyViolationError.externalPolicyName
getset

Name of policy suitable for display to users. In the user's preferred language.

string Google.Api.Ads.AdWords.v201809.PolicyViolationError.externalPolicyUrl
getset

Url with writeup about the policy.

bool Google.Api.Ads.AdWords.v201809.PolicyViolationError.isExemptable
getset

Whether user can file an exemption request for this violation.

bool Google.Api.Ads.AdWords.v201809.PolicyViolationError.isExemptableSpecified
getset

true, if a value is specified for isExemptable, false otherwise.

PolicyViolationKey Google.Api.Ads.AdWords.v201809.PolicyViolationError.key
getset

Unique identifier for the violation.

PolicyViolationErrorPart [] Google.Api.Ads.AdWords.v201809.PolicyViolationError.violatingParts
getset

Lists the parts that violate the policy.


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