https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201705/ErrorHandling/HandlePolicyViolationError.php
In this sample code, I am testing to get an error.
Despite sending the title where an error occurs,
PolicyViolationError.isExemptable = true
The second mutate will be executed and an error will result.
In other words,
"All the operations were invalid with non-exemptable errors. \ N"
It will not be.
If expected behavior can not be exempted from application, no policy
exemption request is made,
ExternalPolicyDescription, ExternalPolicyName, ViolatingText
And so on.
Help me.
[2017-09-13 18:44:13] AW_SOAP.WARNING: clientCustomerId=000-000-0000
operations=0 service=AdGroupAdService method=mutate responseTime=275
requestId=0000000000000000000000000000000 server=adwords.google.com
isFault=1
faultMessage=[PolicyViolationError{super=PolicyViolationError.POLICY_ERROR
@ operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=!!},
externalPolicyName=句点記, externalPolicyUrl=,
externalPolicyDescription=Google 広で、次よに読や号過に無味)使こは可れせ。<ul><li>広見し感符使こや1
つ広で数感符使こ</li><li>句点記をりすと「!!!!無!!!」な)</li><li>本とな意合で字使こ(「39セルな)</li><li>一的使さな記(「~」、「*」な)をうとな、企名含れ場や業の準な用法「5*
ホルな)に当る合除)</li></ul><a
href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポシ全をる/a>, isExemtable=true, violatingParts=[Part{index=10,
length=2}]}, PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @
operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=WEB広も時稿!},
externalPolicyName=句点記, externalPolicyUrl=,
externalPolicyDescription=Google 広で、次よに読や号過に無味)使こは可れせ。<ul><li>広見し感符使こや1
つ広で数感符使こ</li><li>句点記をりすと「!!!!無!!!」な)</li><li>本とな意合で字使こ(「39セルな)</li><li>一的使さな記(「~」、「*」な)をうとな、企名含れ場や業の準な用法「5*
ホルな)に当る合除)</li></ul><a
href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポシ全をる/a>, isExemtable=true, violatingParts=[Part{index=0,
length=12}]}, PolicyViolationError{super=PolicyViolationError.POLICY_ERROR
@ operations[0].operand.ad.finalUrls,
key=PolicyViolationKey{policyName=weapons,violatingText=bazooka},
externalPolicyName=Google AdWords, externalPolicyUrl=,
externalPolicyDescription=こ広まはーーは掲前審をけ必がりす, isExemtable=true,
violatingParts=[Part{index=3, length=7}]}]
[2017-09-13 18:44:13] AW_SOAP.NOTICE: POST
/api/adwords/cm/v201705/AdGroupAdService?wsdl HTTP/1.1
Host: adwords.google.com
Connection: close
User-Agent: PHP-SOAP/5.6.31
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 1209
Authorization: REDACTED
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201705"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header><ns1:RequestHeader><ns1:clientCustomerId>000-000-0000</ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:userAgent>EXSAMPLE
(AwApi-PHP, googleads-php-lib/29.0.0,
PHP/5.6.31)</ns1:userAgent><ns1:validateOnly>true</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:mutate><ns1:operations><ns1:operator>ADD</ns1:operator><ns1:operand><ns1:adGroupId>00000000000</ns1:adGroupId><ns1:ad
xsi:type="ns1:ExpandedTextAd"><ns1:finalUrls>https://exsample.com/about</ns1:finalUrls><ns1:headlinePart1>高力レリーPRバー</ns1:headlinePart1><ns1:headlinePart2>WEB広も時稿!</ns1:headlinePart2><ns1:description>無でレリー配&WEB広出新ースPRバー」をリス/ns1:description></ns1:ad></ns1:operand></ns1:operations></ns1:mutate></SOAP-ENV:Body></SOAP-ENV:Envelope>
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Wed, 13 Sep 2017 09:44:13 GMT
Expires: Wed, 13 Sep 2017 09:44:13 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35"
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader
xmlns="https://adwords.google.com/api/adwords/cm/v201705"><requestId>0000000000000000000000000000000</requestId><serviceName>AdGroupAdService</serviceName><methodName>mutate</methodName><operations>0</operations><responseTime>275</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[PolicyViolationError{super=PolicyViolationError.POLICY_ERROR
@ operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=!!},
externalPolicyName=句読点と記号, externalPolicyUrl=,
externalPolicyDescription=Google 広告では、次 のように句読点や記号を過剰に(無意味に)使うことは許可されません。
<ul>
<li>広告見出しで感嘆符を使うことや、1 つの広告で複数の感嘆符を使うこと</li>
<li>句読点や記号を繰り返すこと(「!!!!無料!!!」など)</li>
<li>本来と異なる意味合いで文字を使うこと(「39セール」など)</li>
<li>一般的に使用されない記号(「~」、「*」など)を使うこと(なお、企業名に含まれる場合や、業界の標準的な使用方法(「5*
ホテル」など)に該当する場合を除く)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a>, isExemtable=true,
violatingParts=[Part{index=10, length=2}]},
PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @
operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=WEB広告も同時出稿!!},
externalPolicyName=句読点と記号, externalPolicyUrl=,
externalPolicyDescription=Google 広告では、次のように句読点や記号を過剰に(無意味に)使うことは許可されません。
<ul>
<li>広告見出しで感嘆符を使うことや、1 つの広告で複数の感嘆符を使うこと</li>
<li>句読点や記号を繰り返すこと(「!!!!無料!!!」など)</li>
<li>本来と異なる意味合いで文字を使うこと(「39セール」など)</li>
<li>一般的に使用されない記号(「~」、「*」など)を使うこと(なお、企業名に含まれる場合や、業界の標準的な使用方法(「5*
ホテル」など)に該当する場合を除く)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a>, isExemtable=true,
violatingParts=[Part{index=0, length=12}]},
PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @
operations[0].operand.ad.finalUrls,
key=PolicyViolationKey{policyName=weapons,violatingText=bazooka},
externalPolicyName=Google AdWords, externalPolicyUrl=,
externalPolicyDescription=この広告またはキーワードは、掲載前に審査を受ける必要があります。,
isExemtable=true, violatingParts=[Part{index=3,
length=7}]}]</faultstring><detail><ApiExceptionFault
xmlns="https://adwords.google.com/api/adwords/cm/v201705"><message>[PolicyViolationError{super=PolicyViolationError.POLICY_ERROR
@ operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=!!},
externalPolicyName=句点記, externalPolicyUrl=,
externalPolicyDescription=Google 広で、次よに読や号過に無味)使こは可れせ。
<ul>
<li>広見し感符使こや1 つ広で数感符使こ</li>
<li>句点記をりすと「!!!!無!!!」な)</li>
<li>本とな意合で字使こ(「39セルな)</li>
<li>一的使さな記(「~」、「*」な)をうとな、企名含れ場や業の準な用法「5* ホルな)に当る合除)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポシ全をるlt;/a>, isExemtable=true,
violatingParts=[Part{index=10, length=2}]},
PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @
operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=WEB広も時稿!},
externalPolicyName=句点記, externalPolicyUrl=,
externalPolicyDescription=Google 広で、次よに読や号過に無味)使こは可れせ。
<ul>
<li>広見し感符使こや1 つ広で数感符使こ</li>
<li>句点記をりすと「!!!!無!!!」な)</li>
<li>本とな意合で字使こ(「39セルな)</li>
<li>一的使さな記(「~」、「*」な)をうとな、企名含れ場や業の準な用法「5* ホルな)に当る合除)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a>, isExemtable=true,
violatingParts=[Part{index=0, length=12}]},
PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @
operations[0].operand.ad.finalUrls,
key=PolicyViolationKey{policyName=weapons,violatingText=bazooka},
externalPolicyName=Google AdWords, externalPolicyUrl=,
externalPolicyDescription=この広告またはキーワードは、掲載前に審査を受ける必要があります。,
isExemtable=true, violatingParts=[Part{index=3,
length=7}]}]</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="PolicyViolationError"><fieldPath>operations[0].operand.ad.headlinePart2</fieldPath><fieldPathElements><field>operations</field><index>0</index></fieldPathElements><fieldPathElements><field>operand</field></fieldPathElements><fieldPathElements><field>ad</field></fieldPathElements><fieldPathElements><field>headlinePart2</field></fieldPathElements><trigger></trigger><errorString>PolicyViolationError.POLICY_ERROR</errorString><ApiError.Type>PolicyViolationError</ApiError.Type><key><policyName>nonstandard_punctuation</policyName><violatingText>!!</violatingText></key><externalPolicyName>句読点と記号</externalPolicyName><externalPolicyUrl></externalPolicyUrl><externalPolicyDescription>Google
広告では、次のように句読点や記号を過剰に(無意味に) 使うことは許可されません。
<ul>
<li>広告見出しで感嘆符を使うことや、1 つの広告で複数の感嘆符を使うこと</li>
<li>句読点や記号を繰り返すこと(「!!!!無料!!!」など)</li>
<li>本来と異なる意味合いで文字を使うこと(「39セール」など)</li>
<li>一般的に使用されない記号(「~」、「*」など)を使うこと(なお、企業名に含まれる場合や、業界の標準的な使用方法(「5*
ホテル」など)に該当する場合を除く)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a></externalPolicyDescription><isExemptable>true</isExemptable><violatingParts><index>10</index><length>2</length></violatingParts></errors><errors
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="PolicyViolationError"><fieldPath>operations[0].operand.ad.headlinePart2</fieldPath><fieldPathElements><field>operations</field><index>0</index></fieldPathElements><fieldPathElements><field>operand</field></fieldPathElements><fieldPathElements><field>ad</field></fieldPathElements><fieldPathElements><field>headlinePart2</field></fieldPathElements><trigger></trigger><errorString>PolicyViolationError.POLICY_ERROR</errorString><ApiError.Type>PolicyViolationError</ApiError.Type><key><policyName>nonstandard_punctuation</policyName><violatingText>WEB広告も同時出稿!!</violatingText></key><externalPolicyName>句読点と記号</externalPolicyName><externalPolicyUrl></externalPolicyUrl><externalPolicyDescription>Google
広告では、次のように句読点や記号を過剰に(無意味に)使うことは許可されません。
<ul>
<li>広告見出しで感嘆符を使うことや、1 つの広告で複数の感嘆符を使うこと</li>
<li>句読点や記号を繰り返すこと(「!!!!無料!!!」など)</li>
<li>本来と異なる意味合いで文字を使うこと(「39セール」など)</li>
<li>一般的に使用されない記号(「~」、「*」など)を使うこと(なお、企業名に含まれる場合や、業界の標準的な使用方法(「5*
ホテル」など)に該当する場合を除く)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a></externalPolicyDescription><isExemptable>true</isExemptable><violatingParts><index>0</index><length>12</length></violatingParts></errors><errors
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="PolicyViolationError"><fieldPath>operations[0].operand.ad.finalUrls</fieldPath><fieldPathElements><field>operations</field><index>0</index></fieldPathElements><fieldPathElements><field>operand</field></fieldPathElements><fieldPathElements><field>ad</field></fieldPathElements><fieldPathElements><field>finalUrls</field></fieldPathElements><trigger></trigger><errorString>PolicyViolationError.POLICY_ERROR</errorString><ApiError.Type>PolicyViolationError</ApiError.Type><key><policyName>weapons</policyName><violatingText>bazooka</violatingText></key><externalPolicyName>Google
AdWords</externalPolicyName><externalPolicyUrl></externalPolicyUrl><externalPolicyDescription>この広告またはキーワードは、掲載前に審査を受ける必要があります。</externalPolicyDescription><isExemptable>true</isExemptable><violatingParts><index>3</index><length>7</length></violatingParts></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
[2017-09-13 18:44:13] AW_SOAP.WARNING: clientCustomerId=000-000-0000
operations=1 service=AdGroupAdService method=mutate responseTime=301
requestId=000000000000000000000000000000 server=adwords.google.com
isFault=1
faultMessage=[PolicyViolationError{super=PolicyViolationError.POLICY_ERROR
@ operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=!!},
externalPolicyName=句読点と記号, externalPolicyUrl=,
externalPolicyDescription=Google
広告では、次のように句読点や記号を過剰に(無意味に)使うことは許可されません。<ul><li>広告見出しで感嘆符を使うことや、1
つの広告で複数の感嘆符を使うこと</li><li>句読点や記号を繰り返すこと(「!!!!無料!!!」など)</li><li>本来と異なる意味
合いで文字を使うこと(「39セール」など)</li><li>一般的に使用されない記号(「~」、「*」など)を使うこと(なお、企業名に含まれる場合や、業界の標準的な使用方法(「5*
ホテル」など)に該当する場合を除く)</li></ul><a
href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a>, isExemtable=true,
violatingParts=[Part{index=10, length=2}]},
PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @
operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=WEB広告も同時出稿!!},
externalPolicyName=句読点と記号, externalPolicyUrl=,
externalPolicyDescription=Google
広告では、次のように句読点や記号を過剰に(無意味に)使うことは許可されません。<ul><li>広告見出しで感嘆符を使うことや、1
つの広告で複数の感嘆符を使うこと</li><li>句読点や記号を繰り返すこと(「!!!!無料!!!」など)</li><li>本来と異なる意味合いで文字を使うこと(「39セール」など)</li><li>一般的に使用されない記号(「~」、「*」など)を使うこと(なお、企業名に含まれる場合や、業界の標準的な使用方法(「5*
ホテル」など)に該当する場合を除く)</li></ul><a
href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a>, isExemtable=true,
violatingParts=[Part{index=0, length=12}]}]
[2017-09-13 18:44:13] AW_SOAP.NOTICE: POST
/api/adwords/cm/v201705/AdGroupAdService?wsdl HTTP/1.1
Host: adwords.google.com
Connection: close
User-Agent: PHP-SOAP/5.6.31
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 1362
Authorization: REDACTED
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201705"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header><ns1:RequestHeader><ns1:clientCustomerId>000-000-0000</ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:userAgent>EXSAMPLE
(AwApi-PHP, googleads-php-lib/29.0.0,
PHP/5.6.31)</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:mutate><ns1:operations><ns1:operator>ADD</ns1:operator><ns1:operand><ns1:adGroupId>00000000000</ns1:adGroupId><ns1:ad
xsi:type="ns1:ExpandedTextAd"><ns1:finalUrls>https://exsample.com/about</ns1:finalUrls><ns1:headlinePart1>高火力プレスリリースPRバズーカ</ns1:headlinePart1><ns1:headlinePart2>WEB広告も同時出稿!!</ns1:headlinePart2><ns1:description>無料でプレスリリース配信&WEB広告出稿新サービス「PRバズーカ」をリリース</ns1:description></ns1:ad></ns1:operand><ns1:exemptionRequests><ns1:key><ns1:policyName>weapons</ns1:policyName><ns1:violatingText>bazooka</ns1:violatingText></ns1:key></ns1:exemptionRequests></ns1:operations></ns1:mutate></SOAP-ENV:Body></SOAP-ENV:Envelope>
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Wed, 13 Sep 2017 09:44:13 GMT
Expires: Wed, 13 Sep 2017 09:44:13 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35"
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader
xmlns="https://adwords.google.com/api/adwords/cm/v201705"><requestId>000000000000000000000000000000</requestId><serviceName>AdGroupAdService</serviceName><methodName>mutate</methodName><operations>1</operations><responseTime>301</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[PolicyViolationError{super=PolicyViolationError.POLICY_ERROR
@ operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=!!},
externalPolicyName=句点記, externalPolicyUrl=,
externalPolicyDescription=Google 広で、次よに読や号過に無味)使こは可れせ。
<ul>
<li>広見し感符使こや1 つ広で数感符使こ</li>
<li>句点記をりすと「!!!!無!!!」な)</li>
<li>本とな意合で字使こ(「39セルな)</li>
<li>一的使さな記(「~」、「*」な)をうとな、企名含れ場や業の準な用法「5* ホルな)に当る合除)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポシ全をるlt;/a>, isExemtable=true,
violatingParts=[Part{index=10, length=2}]},
PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @
operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=WEB広も時稿!},
externalPolicyName=句点記, externalPolicyUrl=,
externalPolicyDescription=Google 広で、次よに読や号過に無味)使こは可れせ。
<ul>
<li>広見し感符使こや1 つ広で数感符使こ</li>
<li>句点記をりすと「!!!!無!!!」な)</li>
<li>本とな意合で字使こ(「39セルな)</li>
<li>一的使さな記(「~」、「*」な)をうとな、企名含れ場や業の準な用法「5* ホルな)に当る合除)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポシ全をるlt;/a>, isExemtable=true,
violatingParts=[Part{index=0,
length=12}]}]</faultstring><detail><ApiExceptionFault
xmlns="https://adwords.google.com/api/adwords/cm/v201705"><message>[PolicyViolationError{super=PolicyViolationError.POLICY_ERROR
@ operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=!!},
externalPolicyName=句点記, externalPolicyUrl=,
externalPolicyDescription=Google 広で、次よに読や号過に無味)使こは可れせ。
<ul>
<li>広見し感符使こや1 つ広で数感符使こ</li>
<li>句点記をりすと「!!!!無!!!」な)</li>
<li>本とな意合で字使こ(「39セルな)</li>
<li>一的使さな記(「~」、「*」な)をうとな、企名含れ場や業の準な用法「5* ホルな)に当る合除)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a>, isExemtable=true,
violatingParts=[Part{index=10, length=2}]},
PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @
operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=WEB広告も同時出稿!!},
externalPolicyName=句読点と記号, externalPolicyUrl=,
externalPolicyDescription=Google 広告では、次のように句読点や記号を過剰に(無意味に)使うことは許可されません。
<ul>
<li>広告見出しで感嘆符を使うことや、1 つの広告で複数の感嘆符を使うこと</li>
<li>句読点や記号を繰り返すこと(「!!!!無料!!!」など)</li>
<li>本来と異なる意味合いで文字を使うこと(「39セール」など)</li>
<li>一般的に使用されない記号(「~」、「*」など)を使うこと(なお、企業名に含まれる場合や、業界の標準的な使用方法(「5*
ホテル」など)に該当する場合を除く)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a>, isExemtable=true,
violatingParts=[Part{index=0,
length=12}]}]</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="PolicyViolationError"><fieldPath>operations[0].operand.ad.headlinePart2</fieldPath><fieldPathElements><field>operations</field><index>0</index></fieldPathElements><fieldPathElements><field>operand</field></fieldPathElements><fieldPathElements><field>ad</field></fieldPathElements><fieldPathElements><field>headlinePart2</field></fieldPathElements><trigger></trigger><errorString>PolicyViolationError.POLICY_ERROR</errorString><ApiError.Type>PolicyViolationError</ApiError.Type><key><policyName>nonstandard_punctuation</policyName><violatingText>!!</violatingText></key><externalPolicyName>句読点と記号</externalPolicyName><externalPolicyUrl></externalPolicyUrl><externalPolicyDescription>Google
広告では、次のように句読点や記号を過剰に(無意味に)使うことは許可されません。
<ul>
<li>広告見出しで感嘆符を使うことや、1 つの広告で複数の感嘆符を使うこと</li>
<li>句読点や記号を繰り返すこと(「!!!!無料!!!」など)</li>
<li>本来と異なる意味合いで文字を使うこと(「39セール」など)</li>
<li>一般的に使用されない記号(「~」、「*」など)を使うこと(なお、企業名に含まれる場合や、業界の標準的な使用方法(「5*
ホテル」など)に該当する場合を除く)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a></externalPolicyDescription><isExemptable>true</isExemptable><violatingParts><index>10</index><length>2</length></violatingParts></errors><errors
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="PolicyViolationError"><fieldPath>operations[0].operand.ad.headlinePart2</fieldPath><fieldPathElements><field>operations</field><index>0</index></fieldPathElements><fieldPathElements><field>operand</field></fieldPathElements><fieldPathElements><field>ad</field></fieldPathElements><fieldPathElements><field>headlinePart2</field></fieldPathElements><trigger></trigger><errorString>PolicyViolationError.POLICY_ERROR</errorString><ApiError.Type>PolicyViolationError</ApiError.Type><key><policyName>nonstandard_punctuation</policyName><violatingText>WEB広告も同時出稿!!</violatingText></key><externalPolicyName>句読点と記号</externalPolicyName><externalPolicyUrl></externalPolicyUrl><externalPolicyDescription>Google
広告では、次のように句読点や記号を過剰に(無意味に)使うことは許可されません。
<ul>
<li>広告見出しで感嘆符を使うことや、1 つの広告で複数の感嘆符を使うこと</li>
<li>句読点や記号を繰り返すこと(「!!!!無料!!!」など)</li>
<li>本来と異なる意味合いで文字を使うこと(「39セール」など)</li>
<li>一般的に使用されない記号(「~」、「*」など)を使うこと(なお、企業名に含まれる場合や、業界の標準的な使用方法(「5*
ホテル」など)に該当する場合を除く)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a></externalPolicyDescription><isExemptable>true</isExemptable><violatingParts><index>0</index><length>12</length></violatingParts></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
Error: [PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @
operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=!!},
externalPolicyName=句読点と記号, externalPolicyUrl=,
externalPolicyDescription=Google 広告では、次のように句読点や記号を過剰に(無意味に)使うことは許可されません。
<ul>
<li>広告見出しで感嘆符を使うことや、1 つの広告で複数の感嘆符を使うこと</li>
<li>句読点や記号を繰り返すこと(「!!!!無料!!!」など)</li>
<li>本来と異なる意味合いで文字を使うこと(「39セール」など)</li>
<li>一般的に使用されない記号(「~」、「*」など)を使うこと(なお、企業名に含まれる場合や、業界の標準的な使用方法(「5*
ホテル」など)に該当する場合を除く)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a>, isExemtable=true,
violatingParts=[Part{index=10, length=2}]},
PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @
operations[0].operand.ad.headlinePart2,
key=PolicyViolationKey{policyName=nonstandard_punctuation,violatingText=WEB広告も同時出稿!!},
externalPolicyName=句読点と記号, externalPolicyUrl=,
externalPolicyDescription=Google 広告では、次のように句読点や記号を過剰に(無意味に)使うことは許可されません。
<ul>
<li>広告見出しで感嘆符を使うことや、1 つの広告で複数の感嘆符を使うこと</li>
<li>句読点や記号を繰り返すこと(「!!!!無料!!!」など)</li>
<li>本来と異なる意味合いで文字を使うこと(「39セール」など)</li>
<li>一般的に使用されない記号(「~」、「*」など)を使うこと(なお、企業名に含まれる場合や、業界の標準的な使用方法(「5*
ホテル」など)に該当する場合を除く)</li>
</ul>
<a href="https://support.google.com/adwordspolicy/answer/6021546#048"
target="_blank">ポリシー全文を見る</a>, isExemtable=true,
violatingParts=[Part{index=0, length=12}]}]
#0
/var/www/html/exsample/vendors/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(39):
ReflectionClass->newInstanceArgs(Array)
#1
/var/www/html/exsample/vendors/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(165):
Google\AdsApi\Common\Util\Reflection->createInstance('Google\\AdsApi\\A...',
'[PolicyViolatio...')
#2
/var/www/html/exsample/vendors/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(130):
Google\AdsApi\Common\AdsSoapClient->parseApiExceptionFromSoapFault(Object(SoapFault))
#3
/var/www/html/exsample/vendors/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201705/cm/AdGroupAdService.php(190):
Google\AdsApi\Common\AdsSoapClient->__soapCall('mutate', Array)
#4 /var/www/html/exsample/app/Plugin/Members/Model/Adwords.php(719):
Google\AdsApi\AdWords\v201705\cm\AdGroupAdService->mutate(Array)
#5 /var/www/html/exsample/app/Console/Command/TestShell.php(32):
Adwords->HandlePolicyViolationError(Array)
#6 /var/www/html/exsample/lib/Cake/Console/Shell.php(440): TestShell->main()
#7 /var/www/html/exsample/lib/Cake/Console/ShellDispatcher.php(209):
Shell->runCommand(NULL, Array)
#8 /var/www/html/exsample/lib/Cake/Console/ShellDispatcher.php(66):
ShellDispatcher->dispatch()
#9 /var/www/html/exsample/app/Console/cake.php(47):
ShellDispatcher::run(Array)
#10 {main}
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/992cd1c6-62ef-4c54-93f4-04e706bbc27f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.