Hi,
This doesn't seem to work for me. The attributes are not cleared, they are
set to CHF 0.00 (I also tried with USD).
Part of the request:
<ns0:attributeValues>
<ns0:feedAttributeId>25</ns0:feedAttributeId>
<ns0:moneyWithCurrencyValue>
<ns0:money>
<ns0:microAmount>0</ns0:microAmount>
</ns0:money>
<ns0:currencyCode>CHF</ns0:currencyCode>
</ns0:moneyWithCurrencyValue>
</ns0:attributeValues>
Part of the response relevant to this attribute:
<attributeValues>
<feedAttributeId>25</feedAttributeId>
<moneyWithCurrencyValue>
<ComparableValue.Type>MoneyWithCurrency</ComparableValue.Type>
<money>
<ComparableValue.Type>Money</ComparableValue.Type>
<microAmount>0</microAmount>
</money>
<currencyCode>CHF</currencyCode>
</moneyWithCurrencyValue>
</attributeValues>
In the interface I also see the prices set to *CHF0.00* and the extension
is disapproved (*Required field is missing*) because all the extension's
items I want to clear still have the price set to *CHF0.00*.
<https://lh3.googleusercontent.com/-pqI30UemvxE/WcoFkeL3gmI/AAAAAAAAA18/v_aYEyTfhAUtkDz5c-PpO1F-SQ8wPlBSgCLcBGAs/s1600/Screenshot%2B2017-09-26%2B09.42.04.png>
Regards,
Paco
On Monday, September 25, 2017 at 8:03:25 PM UTC+2, Shwetha Vastrad (AdWords
API Team) wrote:
>
> Hi,
>
> To clear out the moneyWithCurrencyValue attribute, you need to update the
> MoneyWithCurrency field to a Money
> <https://developers.google.com/adwords/api/docs/reference/v201708/FeedItemService.Money.html>
> object
> with microAmountset to 0 as shows below. Please try this out and let me
> know if it works.
>
> <operations>
> <operator>SET</operator>
> <operand>
> <feedId>YOUR_FEED_ID</feedId>
> <feedItemId>YOUR_FEED_ITEM_ID</feedItemId>
> <attributeValues>
> <feedAttributeId>7</feedAttributeId>
> <moneyWithCurrencyValue>
> <money>
> <microAmount>0</microAmount>
> </money>
> <currencyCode>USD</currencyCode>
> </moneyWithCurrencyValue>
> </attributeValues>
> </operand>
> </operations>
>
> Regards,
> Shwetha, AdWords API Team.
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/31e05e42-3cbd-4e7c-8309-b21ba32ac58c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.