Добрый день, у меня проблема при создании объвления. Посыляю запрос на создание: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409"> <soapenv:Header> <v20:RequestHeader> <v20:clientCustomerId>ххх-ххх-хххх</v20:clientCustomerId> <v20:developerToken>хххххххххххххххххххххх</v20:developerToken> <v20:userAgent>хххххххх</v20:userAgent> <v20:validateOnly>false</v20:validateOnly> <v20:partialFailure>false</v20:partialFailure> </v20:RequestHeader> </soapenv:Header> <soapenv:Body> <v20:mutate xmlns="https://adwords.google.com/api/adwords/cm/v201409"> <v20:operations xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <v20:operator>ADD</v20:operator> <v20:operand> <v20:adGroupId>16040997913</v20:adGroupId> <ad xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201409" i:type="ns2:TextAd"> <v20:url>http://treto.ru</v20:url> <v20:displayUrl>http://treto.ru/plitka/Elios/Riflessi</v20:displayUrl> <v20:headline>Плитка Riflessi</v20:headline> <v20:description1>Низкие цены!</v20:description1> <v20:description2>Каталог плитки</v20:description2> </ad> <v20:status>ENABLED</v20:status> <v20:approvalStatus>APPROVED</v20:approvalStatus> </v20:operand> </v20:operations> </v20:mutate> </soapenv:Body> </soapenv:Envelope>
В ответ получаю: -<ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201409"> <message>[PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @ operations[0].operand.ad.headline, key=PolicyViolationKey{policyName=weapons,violatingText=Riflessi}, externalPolicyName=Google AdWords, externalPolicyUrl=, externalPolicyDescription=This ad or keyword requires review before it can run., isExemtable=true, violatingParts=[Part{index=7, length=8}]}]</message> <ApplicationException.Type>ApiException</ApplicationException.Type> -<errors xsi:type="PolicyViolationError" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <fieldPath>operations[0].operand.ad.headline</fieldPath> <trigger/> <errorString>PolicyViolationError.POLICY_ERROR</errorString> <ApiError.Type>PolicyViolationError</ApiError.Type> +<key> <externalPolicyName>Google AdWords</externalPolicyName> <externalPolicyUrl/> <externalPolicyDescription>This ad or keyword requires review before it can run.</externalPolicyDescription> <isExemptable>true</isExemptable> -<violatingParts> <index>7</index> <length>8</length> </violatingParts> </errors> </ApiExceptionFault> Т.е. "Это объявление или ключевое слово требует пересмотра, прежде чем он может работать" Что не так в моем запросе? Или проблема не в самом запросе? Может кто-то что-то посоветует? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/9d2e196a-bed1-4544-8eea-0ded80c035ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
