Hi Team
I have an existing lineitem which is associated with two creatives. I want to be able to re-associate that lineitem with two different creatives. I have tried just creating a new association however the two new creatives are of a different size (the lineitem was previously archived and I am resurrecting it with new name and all settings including the new creatives.
When I try to create a new association I get a SIZE_NOT_ALLOWED error for obvious reasons. The existing association are for creatives of a different size than the lineitem.
I figure the best way to do this is to deactivate those associations but am having difficulty in doing this using the updateLineItemCreativeAssociationsByStatement.
My questions are as follows:
1: What is the most efficient way of removing the existing associations and updating to a new association?
2: Should I deactivate the original ones first then create a new one for that lineitem?
3: As there are no association 'id' returned when using 'getLineItemCreativeAssociationsByStatement', what data (keys - values) are required to send into the update action in order to make this work?
Any assitance would be most appreciated.
Cheers
Mark