Не подскажите как мне изменить текст запроса , чтоб он заработал?
четверг, 6 августа 2015 г., 9:11:13 UTC+3 пользователь Thanet Knack Praneenararat (AdWords API Team) написал: > > Hi Kio, > > Sorry that I can answer questions in English. > It seems you're trying to modify the attributeValues > <https://developers.google.com/adwords/api/docs/reference/v201502/FeedItemService.FeedItem#attributeValues> > field > of FeedItem > <https://developers.google.com/adwords/api/docs/reference/v201502/FeedItemService.FeedItem> > > corresponding to a column with a mapping for a sitelink URL > <https://developers.google.com/adwords/api/docs/appendix/placeholders#sitelinks> > . > This resulted in WRITE_ACCESS_DENIED error, as a sitelink URL > <https://developers.google.com/adwords/api/docs/appendix/placeholders#sitelinks> > was > made read-only > <http://googleadsdeveloper.blogspot.jp/2015/05/reminder-adwords-destination-urls-will.html> > > starting from July 1. > > Please migrate to use final URLs > <https://developers.google.com/adwords/api/docs/guides/upgraded-urls> > instead. > > Cheers, > Thanet, AdWords API Team > > On Wednesday, August 5, 2015 at 10:01:19 PM UTC+9, Kio Mat wrote: >> >> Добрый день! Посылаю запрос к сервису FeedItemService (mutate), вида: >> >> <?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/v201502"> >> <soapenv:Header> >> <v20:RequestHeader> >> <v20:clientCustomerId>ххх-ххх-хххх</v20:clientCustomerId> >> <v20:developerToken>ххххххххххххх</v20:developerToken> >> <v20:userAgent>AdWords</v20:userAgent> >> <v20:validateOnly>false</v20:validateOnly> >> <v20:partialFailure>false</v20:partialFailure> >> </v20:RequestHeader> >> </soapenv:Header> >> <soapenv:Body> >> <v20:mutate> >> <v20:operations> >> <v20:operator>ADD</v20:operator> >> <v20:operand> >> <v20:feedId>665013</v20:feedId> >> >> <v20:status>ENABLED</v20:status> >> <v20:attributeValues> >> <v20:feedAttributeId>1</v20:feedAttributeId> >> <v20:stringValue>Creation z Fanal od 13 >> €</v20:stringValue> >> </v20:attributeValues> >> <v20:attributeValues> >> <v20:feedAttributeId>2</v20:feedAttributeId> >> <v20:stringValue> >> http://tile.expert/en/tile/Fanal/Creation</v20:stringValue> >> </v20:attributeValues> >> </v20:operand> >> </v20:operations> >> </v20:mutate> >> </soapenv:Body> >> </soapenv:Envelope> >> >> раньше все работало хорошо, но вот недавно я стал получать ошибку: >> >> <soap:Envelope >> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader >> >> xmlns="https://adwords.google.com/api/adwords/cm/v201502"><requestId>00051c8f2e11ae480ac41b84a500214a</requestId><serviceName>FeedItemService</serviceName><methodName>mutate</methodName><operations>1</operations><responseTime>117</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[EntityAccessDenied.WRITE_ACCESS_DENIED >> >> @ >> operations[0].operand.attributeValues]</faultstring><detail><ApiExceptionFault >> >> xmlns="https://adwords.google.com/api/adwords/cm/v201502"><message>[EntityAccessDenied.WRITE_ACCESS_DENIED >> >> @ >> operations[0].operand.attributeValues]</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors >> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:type="EntityAccessDenied"><fieldPath>operations[0].operand.attributeValues</fieldPath><trigger></trigger><errorString>EntityAccessDenied.WRITE_ACCESS_DENIED</errorString><ApiError.Type>EntityAccessDenied</ApiError.Type><reason>WRITE_ACCESS_DENIED</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope> >> >> В чем проблема? Видимо связано с переходом на новый АПИ? >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. 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/b8318f49-4bac-43a2-ae7e-d0b30f817438%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.