awPolicyViolationErrorRepresents 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 instace 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.
Located in /classes/cm/PolicyViolationError.php
awComplexObject | --awApiError | --awPolicyViolationError
| Class | Description |
|---|---|
awCriterionPolicyError
|
Contains the policy violations for a single BiddableAdGroupCriterion. |
awAdParamPolicyError
|
Policy violation for an AdParam. |
string
$externalPolicyDescription
Localized description of the violation.
string
$externalPolicyName
Name of policy suitable for display to users. In the user's preferred language.
string
$externalPolicyUrl
Url with writeup about the policy.
bool
$isExemptable
Whether user can file an exemption request for this violation.
awPolicyViolationKey
$key
Unique identifier for the violation.
awPolicyViolationError_Part[]
$violatingParts
Lists the parts that violate the policy.
mixed
$_checkFields
= array(Inherited from awApiError
awApiError::$errorString
awApiError::$fieldPath
awApiError::$trigger
Inherited from awComplexObject
awComplexObject::$_cachedCheckFields
awComplexObject::$_row
Inherited From awApiError
awApiError::factory()
Inherited From awComplexObject
awComplexObject::__construct()
awComplexObject::factory()
awComplexObject::get()
awComplexObject::getAsObj()
awComplexObject::getCheckFields()
awComplexObject::getRow()
awComplexObject::getSoapVars()
awComplexObject::getXml()
awComplexObject::isEmpty()
awComplexObject::remove()
awComplexObject::set()
awComplexObject::setRow()
Documentation generated on Fri, 23 Mar 2012 13:44:08 +0200 by phpDocumentor 1.4.3