Hello Justinas,

As you've mentioned, ads can be created and removed only. They can be 
modified via SET (except for their statuses).
Once your ads are removed and created, all your stats belonging to those 
ads *will not* go to the new ads.
However, you can still access those old ads' stats by specifying the 
predicate STATUS 
<https://developers.google.com/adwords/api/docs/reference/v201601/AdGroupAdService.AdGroupAd#status>
 
= DISABLED in case of reporting.

Cheers,
Thanet, AdWords API Team

On Wednesday, March 9, 2016 at 6:36:13 PM UTC+9, Justinas Ringaila wrote:
>
>
> Strangely I was not able to reproduce it today.... By the way any 
> suggestions how remove and create ads without risking to loose any kind of 
> data? I'm trying to set trackingUrlTemplate
>
> On Wednesday, 9 March 2016 04:40:35 UTC+2, Thanet Knack Praneenararat 
> (AdWords API Team) wrote:
>>
>> Hi Justinas,
>>
>> Yes, SET operation for AdGroupAdService is supposed to use for changing 
>> the status of ads only.
>> If you omit the setting of status, *[RequiredError.REQUIRED @ 
>> operations[0].operand.status]* should be thrown.
>>
>> If you happen to be able to set other fields, like displayUrl or 
>> finalUrls, could you please send the SOAP logs to us via *Reply 
>> privately to author*?
>>
>> Cheers,
>> Thanet, AdWords API Team
>>
>> On Wednesday, March 9, 2016 at 6:22:58 AM UTC+9, Justinas Ringaila wrote:
>>>
>>> Hi,
>>> I'm trying to edit ad. According to your documentation 
>>> https://developers.google.com/adwords/api/docs/reference/v201601/AdGroupAdService.Ad
>>>  
>>> it is not possible to do so.
>>> As it was stated there I need to remove the ad and add new one
>>>
>>> Despite the fact I tried to do it in this way;
>>>             AdGroupAd textAdGroupAd = new AdGroupAd();
>>>             textAdGroupAd.adGroupId = adGroupId; //Id of existing ad 
>>> group
>>>             textAdGroupAd.ad = textAd; //Id of  existing ad that I want 
>>> to be altered
>>>
>>>             // Create the operation.
>>>             AdGroupAdOperation operation = new AdGroupAdOperation();
>>>             operation.@operator = Operator.SET;
>>>             operation.operand = textAdGroupAd;
>>>
>>> And actually it was a success. In history I see that the ad was removed 
>>> and added a new one. As I understood the removal process was made under the 
>>> hood.
>>> Is it ok to do so? Or I'm misusing the 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/953f12c2-c358-403f-ac03-a01265f61ce8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How ... Justinas Ringaila
    • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
      • ... Justinas Ringaila
        • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
          • ... Justinas Ringaila

Reply via email to