Hi,
I'm trying to update Ad (actually to remove it and recreate new one with
updated fields).
I created two operations:
operations = new[]
{
new AdGroupAdOperation
{
@operator = Operator.ADD,
operand = adGroupAd
},
new AdGroupAdOperation
{
@operator = Operator.REMOVE,
operand = new AdGroupAd
{
adGroupId = adGroupAd.adGroupId,
ad = new Ad {id = oldId}
},
}
};
Then the array of these operations is sent through BatchJobService at once
(will be generated one batch job Id). I want to be sure that before
removing the ad, the new one was created. In case of failure to create Ad I
don't want to remove the old one. Is it possible to achieve it using just
one batch job call to Adwords api?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/58913f01-4da3-41d6-abd4-7cdb9ed9318f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.