Re: AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD

2013-09-10 Thread Danial Klimkin
Hello Jeremy,


I still can't reproduce the issue following these steps. Can you please 
collect logs for both the get call and the subsequent mutate call, and 
send them to me over email (Reply to author button)?


-Danial, AdWords API Team.


On Monday, September 9, 2013 9:19:16 PM UTC+4, Jeremy Aube wrote:

 Hi Danial,

 Here are the steps we're taking:

 Create ad in AdWords interface

- - Ad is enabled 
- - Ad group is enabled 
- - Campaign is enabled 


 Using Java API v201306


 A report is downloaded using ReportDownloader:

 Fields: CampaignStatus, AdGroupStatus, Status, 
 CreativeApprovalStatus, AdGroupId, Id, CampaignName, AdGroupName, 
 Headline, Description1, Description2, DisplayUrl, Url

 Date range type: ReportDefinitionDateRangeType.TODAY

 Include zero impressions: true

 Download format: TSV

 Predicates:

 - CampaignStatus NOT_IN DELETED

 - AdGroupStatus NOT_IN DELETED

 - Status NOT_IN DISABLED

 - AdType IN TEXT_AD


 This is parsed into a collection of existing ads which can be found by 
 AdGroupID-ID.  Each of the existing ads is augmented with the updated 
 destination URL.


 AdGroupAds are downloaded via adGroupAdService.get:

 [09 Sep 2013 10:31:57,040-requestInfoLogger:INFO:AWT-EventQueue-0] Request 
 made: Service: AdGroupAdServiceInterfacePort Method: get URL: 
 https://adwords.google.com/api/adwords/cm/v201306/AdGroupAdService;

 Fields: Id, AdGroupId, Status, DevicePreference

 Ordering: OrderBy(Id, SortOrder.ASCENDING)

 Predicates:

- - Status NOT_IN DISABLED 
- - Id IN array of IDs of ads that will be updated 


 Operations are added:

- - For each AdGroupAd 
   - o Update the destination URL 
   - o Add an ADD operation for the AdGroupAd to the operations array 
   - o Add a REMOVE operation for the AdGroupAd to the operations array 
   - o Call mutate on operations array 


 [09 Sep 2013 10:31:57,565-requestInfoLogger:INFO:AWT-EventQueue-0] Request 
 made: Service: AdGroupAdServiceInterfacePort Method: mutate URL: 
 https://adwords.google.com/api/adwords/cm/v201306/AdGroupAdService;

 [09 Sep 2013 10:31:57,930-requestInfoLogger:INFO:AWT-EventQueue-0] Request 
 made: Service: AdGroupAdServiceInterfacePort Method: mutate URL: 
 https://adwords.google.com/api/adwords/cm/v201306/AdGroupAdService;


 SOAP request/response as shown in previous post is in stack trace from 
 caught exception

 On Friday, September 6, 2013 10:47:19 AM UTC-4, Danial Klimkin wrote:

 Hello Jeremy,


 I tried to reproduce this in several configurations but was able to get 
 this error only when removing an ad which is already in state DISABLED.

 Please double-check the status before removal, and the fact the request 
 is sent only once. If you can provide exact steps to reproduce the issue, 
 please send us requests for the full sequence (starting with adding an ad).


 -Danial, AdWords API Team.



 On Wednesday, August 28, 2013 4:46:19 PM UTC+4, Jeremy Aube wrote:

 As far as I can tell the ads were both active. In the interface there 
 are two ads before the request is made, and after there are still two ads, 
 but the destination URLs have been updated.

 We've also tried just deleting the ads and we get the same error, after 
 which the ads are both delete in the interface. So we seem to have the 
 right ads since they're getting deleted, but we still get that error 
 message for them.

 On Wednesday, August 28, 2013 6:44:56 AM UTC-4, Danial Klimkin wrote:

 Hello Jeremy,


 This error is expected if you try to delete an already-deleted ad. 
 Are you sure both ads were active before this request?


 -Danial, AdWords API Team.


 On Wednesday, August 21, 2013 10:02:33 PM UTC+4, Jeremy Aube wrote:

 We've started getting 
 AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD errors whenever 
 updating 
 ads. The update still works, but the error is disconcerting. 

 Any idea why this is happening? Here's the log:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201306; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerId460-887-8120/ns1:clientCustomerId
 ns1:developerToken/ns1:developerToken
 ns1:userAgentINSERT_USERAGENT_HERE (AwApi-Java, 
 AdWords-Axis/1.18.1, Common-Java/1.18.1, Axis/1.4, Java/1.6.0_51, 
 maven)/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=
 https://adwords.google.com/api/adwords/cm/v201306;
 operations
 operatorREMOVE/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns2=
 https

Re: AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD

2013-09-10 Thread Jeremy Aube
While collecting the logs for the get and mutate calls, we figured out what 
the issue was. We were getting two mutate calls instead of one due to not 
properly handling the case where there were no policy violations on any of 
the ads in the mutate request.

Thanks for your help with this!

On Tuesday, September 10, 2013 9:08:12 AM UTC-4, Danial Klimkin wrote:

 Hello Jeremy,


 I still can't reproduce the issue following these steps. Can you please 
 collect logs for both the get call and the subsequent mutate call, and 
 send them to me over email (Reply to author button)?


 -Danial, AdWords API Team.


 On Monday, September 9, 2013 9:19:16 PM UTC+4, Jeremy Aube wrote:

 Hi Danial,

 Here are the steps we're taking:

 Create ad in AdWords interface

- - Ad is enabled 
- - Ad group is enabled 
- - Campaign is enabled 


 Using Java API v201306


 A report is downloaded using ReportDownloader:

 Fields: CampaignStatus, AdGroupStatus, Status, 
 CreativeApprovalStatus, AdGroupId, Id, CampaignName, AdGroupName, 
 Headline, Description1, Description2, DisplayUrl, Url

 Date range type: ReportDefinitionDateRangeType.TODAY

 Include zero impressions: true

 Download format: TSV

 Predicates:

 - CampaignStatus NOT_IN DELETED

 - AdGroupStatus NOT_IN DELETED

 - Status NOT_IN DISABLED

 - AdType IN TEXT_AD


 This is parsed into a collection of existing ads which can be found by 
 AdGroupID-ID.  Each of the existing ads is augmented with the updated 
 destination URL.


 AdGroupAds are downloaded via adGroupAdService.get:

 [09 Sep 2013 10:31:57,040-requestInfoLogger:INFO:AWT-EventQueue-0] 
 Request made: Service: AdGroupAdServiceInterfacePort Method: get URL: 
 https://adwords.google.com/api/adwords/cm/v201306/AdGroupAdService;

 Fields: Id, AdGroupId, Status, DevicePreference

 Ordering: OrderBy(Id, SortOrder.ASCENDING)

 Predicates:

- - Status NOT_IN DISABLED 
- - Id IN array of IDs of ads that will be updated 


 Operations are added:

- - For each AdGroupAd 
   - o Update the destination URL 
   - o Add an ADD operation for the AdGroupAd to the operations array 
   - o Add a REMOVE operation for the AdGroupAd to the operations 
   array 
   - o Call mutate on operations array 


 [09 Sep 2013 10:31:57,565-requestInfoLogger:INFO:AWT-EventQueue-0] 
 Request made: Service: AdGroupAdServiceInterfacePort Method: mutate 
 URL: https://adwords.google.com/api/adwords/cm/v201306/AdGroupAdService;

 [09 Sep 2013 10:31:57,930-requestInfoLogger:INFO:AWT-EventQueue-0] 
 Request made: Service: AdGroupAdServiceInterfacePort Method: mutate 
 URL: https://adwords.google.com/api/adwords/cm/v201306/AdGroupAdService;


 SOAP request/response as shown in previous post is in stack trace from 
 caught exception

 On Friday, September 6, 2013 10:47:19 AM UTC-4, Danial Klimkin wrote:

 Hello Jeremy,


 I tried to reproduce this in several configurations but was able to get 
 this error only when removing an ad which is already in state DISABLED.

 Please double-check the status before removal, and the fact the request 
 is sent only once. If you can provide exact steps to reproduce the issue, 
 please send us requests for the full sequence (starting with adding an ad).


 -Danial, AdWords API Team.



 On Wednesday, August 28, 2013 4:46:19 PM UTC+4, Jeremy Aube wrote:

 As far as I can tell the ads were both active. In the interface there 
 are two ads before the request is made, and after there are still two ads, 
 but the destination URLs have been updated.

 We've also tried just deleting the ads and we get the same error, after 
 which the ads are both delete in the interface. So we seem to have the 
 right ads since they're getting deleted, but we still get that error 
 message for them.

 On Wednesday, August 28, 2013 6:44:56 AM UTC-4, Danial Klimkin wrote:

 Hello Jeremy,


 This error is expected if you try to delete an already-deleted ad. 
 Are you sure both ads were active before this request?


 -Danial, AdWords API Team.


 On Wednesday, August 21, 2013 10:02:33 PM UTC+4, Jeremy Aube wrote:

 We've started getting 
 AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD errors whenever 
 updating 
 ads. The update still works, but the error is disconcerting. 

 Any idea why this is happening? Here's the log:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201306; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerId460-887-8120/ns1:clientCustomerId
 ns1:developerToken/ns1:developerToken
 ns1:userAgentINSERT_USERAGENT_HERE (AwApi-Java, 
 AdWords-Axis/1.18.1, Common-Java/1.18.1, Axis/1.4, Java/1.6.0_51, 
 maven)/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly

Re: AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD

2013-09-09 Thread Jeremy Aube
Hi Danial,

Here are the steps we're taking:

Create ad in AdWords interface

   - - Ad is enabled 
   - - Ad group is enabled 
   - - Campaign is enabled 


Using Java API v201306


A report is downloaded using ReportDownloader:

Fields: CampaignStatus, AdGroupStatus, Status, 
CreativeApprovalStatus, AdGroupId, Id, CampaignName, AdGroupName, 
Headline, Description1, Description2, DisplayUrl, Url

Date range type: ReportDefinitionDateRangeType.TODAY

Include zero impressions: true

Download format: TSV

Predicates:

- CampaignStatus NOT_IN DELETED

- AdGroupStatus NOT_IN DELETED

- Status NOT_IN DISABLED

- AdType IN TEXT_AD


This is parsed into a collection of existing ads which can be found by 
AdGroupID-ID.  Each of the existing ads is augmented with the updated 
destination URL.


AdGroupAds are downloaded via adGroupAdService.get:

[09 Sep 2013 10:31:57,040-requestInfoLogger:INFO:AWT-EventQueue-0] Request 
made: Service: AdGroupAdServiceInterfacePort Method: get URL: 
https://adwords.google.com/api/adwords/cm/v201306/AdGroupAdService;

Fields: Id, AdGroupId, Status, DevicePreference

Ordering: OrderBy(Id, SortOrder.ASCENDING)

Predicates:

   - - Status NOT_IN DISABLED 
   - - Id IN array of IDs of ads that will be updated 


Operations are added:

   - - For each AdGroupAd 
  - o Update the destination URL 
  - o Add an ADD operation for the AdGroupAd to the operations array 
  - o Add a REMOVE operation for the AdGroupAd to the operations array 
  - o Call mutate on operations array 
   

[09 Sep 2013 10:31:57,565-requestInfoLogger:INFO:AWT-EventQueue-0] Request 
made: Service: AdGroupAdServiceInterfacePort Method: mutate URL: 
https://adwords.google.com/api/adwords/cm/v201306/AdGroupAdService;

[09 Sep 2013 10:31:57,930-requestInfoLogger:INFO:AWT-EventQueue-0] Request 
made: Service: AdGroupAdServiceInterfacePort Method: mutate URL: 
https://adwords.google.com/api/adwords/cm/v201306/AdGroupAdService;


SOAP request/response as shown in previous post is in stack trace from 
caught exception

On Friday, September 6, 2013 10:47:19 AM UTC-4, Danial Klimkin wrote:

 Hello Jeremy,


 I tried to reproduce this in several configurations but was able to get 
 this error only when removing an ad which is already in state DISABLED.

 Please double-check the status before removal, and the fact the request is 
 sent only once. If you can provide exact steps to reproduce the issue, 
 please send us requests for the full sequence (starting with adding an ad).


 -Danial, AdWords API Team.



 On Wednesday, August 28, 2013 4:46:19 PM UTC+4, Jeremy Aube wrote:

 As far as I can tell the ads were both active. In the interface there are 
 two ads before the request is made, and after there are still two ads, but 
 the destination URLs have been updated.

 We've also tried just deleting the ads and we get the same error, after 
 which the ads are both delete in the interface. So we seem to have the 
 right ads since they're getting deleted, but we still get that error 
 message for them.

 On Wednesday, August 28, 2013 6:44:56 AM UTC-4, Danial Klimkin wrote:

 Hello Jeremy,


 This error is expected if you try to delete an already-deleted ad. Are 
 you sure both ads were active before this request?


 -Danial, AdWords API Team.


 On Wednesday, August 21, 2013 10:02:33 PM UTC+4, Jeremy Aube wrote:

 We've started getting 
 AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD errors whenever 
 updating 
 ads. The update still works, but the error is disconcerting. 

 Any idea why this is happening? Here's the log:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201306; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerId460-887-8120/ns1:clientCustomerId
 ns1:developerToken/ns1:developerToken
 ns1:userAgentINSERT_USERAGENT_HERE (AwApi-Java, 
 AdWords-Axis/1.18.1, Common-Java/1.18.1, Axis/1.4, Java/1.6.0_51, 
 maven)/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=
 https://adwords.google.com/api/adwords/cm/v201306;
 operations
 operatorREMOVE/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201306; 
 xsi:type=ns2:TextAd
 ns2:id26524386916/ns2:id
 /ad
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId7081656796/adGroupId
 ad

Re: AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD

2013-09-06 Thread Danial Klimkin
Hello Jeremy,


I tried to reproduce this in several configurations but was able to get 
this error only when removing an ad which is already in state DISABLED.

Please double-check the status before removal, and the fact the request is 
sent only once. If you can provide exact steps to reproduce the issue, 
please send us requests for the full sequence (starting with adding an ad).


-Danial, AdWords API Team.



On Wednesday, August 28, 2013 4:46:19 PM UTC+4, Jeremy Aube wrote:

 As far as I can tell the ads were both active. In the interface there are 
 two ads before the request is made, and after there are still two ads, but 
 the destination URLs have been updated.

 We've also tried just deleting the ads and we get the same error, after 
 which the ads are both delete in the interface. So we seem to have the 
 right ads since they're getting deleted, but we still get that error 
 message for them.

 On Wednesday, August 28, 2013 6:44:56 AM UTC-4, Danial Klimkin wrote:

 Hello Jeremy,


 This error is expected if you try to delete an already-deleted ad. Are 
 you sure both ads were active before this request?


 -Danial, AdWords API Team.


 On Wednesday, August 21, 2013 10:02:33 PM UTC+4, Jeremy Aube wrote:

 We've started getting AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD 
 errors whenever updating ads. The update still works, but the error is 
 disconcerting. 

 Any idea why this is happening? Here's the log:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201306; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerId460-887-8120/ns1:clientCustomerId
 ns1:developerToken/ns1:developerToken
 ns1:userAgentINSERT_USERAGENT_HERE (AwApi-Java, 
 AdWords-Axis/1.18.1, Common-Java/1.18.1, Axis/1.4, Java/1.6.0_51, 
 maven)/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201306
 
 operations
 operatorREMOVE/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201306; 
 xsi:type=ns2:TextAd
 ns2:id26524386916/ns2:id
 /ad
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns3=
 https://adwords.google.com/api/adwords/cm/v201306; 
 xsi:type=ns3:TextAd
 ns3:urlhttp://www.purple.com/?/ns3:url
 ns3:displayUrlwww.purple.com//ns3:displayUrl
 ns3:Ad.TypeTextAd/ns3:Ad.Type
 ns3:headlineExcessive 
 Capitalization/ns3:headline
 ns3:description1Desc 1/ns3:description1
 ns3:description2Desc 2/ns3:description2
 /ad
 statusENABLED/status
 approvalStatusFAMILY_SAFE/approvalStatus
 trademarkDisapprovedfalse/trademarkDisapproved
 stats
 networkSEARCH/network
 Stats.TypeAdStats/Stats.Type
 percentServed0.0/percentServed
 /stats
 /operand
 /operations
 operations
 operatorREMOVE/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns4=
 https://adwords.google.com/api/adwords/cm/v201306; 
 xsi:type=ns4:TextAd
 ns4:id26524387036/ns4:id
 /ad
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns5=
 https://adwords.google.com/api/adwords/cm/v201306; 
 xsi:type=ns5:TextAd
 ns5:urlhttp://www.purple.com/?/ns5:url
 ns5:displayUrlwww.purple.com//ns5:displayUrl
 
 ns5:devicePreference30001/ns5:devicePreference
 ns5:Ad.TypeTextAd/ns5:Ad.Type
 ns5:headlineExcessive 
 Capitalization/ns5:headline
 ns5:description1Desc 1 - M/ns5:description1
 ns5:description2Desc 2 - M/ns5:description2
 /ad
 statusENABLED/status

Re: AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD

2013-08-28 Thread Danial Klimkin
Hello Jeremy,


This error is expected if you try to delete an already-deleted ad. Are 
you sure both ads were active before this request?


-Danial, AdWords API Team.


On Wednesday, August 21, 2013 10:02:33 PM UTC+4, Jeremy Aube wrote:

 We've started getting AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD 
 errors whenever updating ads. The update still works, but the error is 
 disconcerting. 

 Any idea why this is happening? Here's the log:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
 xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201306; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerId460-887-8120/ns1:clientCustomerId
 ns1:developerToken/ns1:developerToken
 ns1:userAgentINSERT_USERAGENT_HERE (AwApi-Java, 
 AdWords-Axis/1.18.1, Common-Java/1.18.1, Axis/1.4, Java/1.6.0_51, 
 maven)/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201306;
 operations
 operatorREMOVE/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201306; xsi:type=ns2:TextAd
 ns2:id26524386916/ns2:id
 /ad
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns3=
 https://adwords.google.com/api/adwords/cm/v201306; xsi:type=ns3:TextAd
 ns3:urlhttp://www.purple.com/?/ns3:url
 ns3:displayUrlwww.purple.com//ns3:displayUrl
 ns3:Ad.TypeTextAd/ns3:Ad.Type
 ns3:headlineExcessive 
 Capitalization/ns3:headline
 ns3:description1Desc 1/ns3:description1
 ns3:description2Desc 2/ns3:description2
 /ad
 statusENABLED/status
 approvalStatusFAMILY_SAFE/approvalStatus
 trademarkDisapprovedfalse/trademarkDisapproved
 stats
 networkSEARCH/network
 Stats.TypeAdStats/Stats.Type
 percentServed0.0/percentServed
 /stats
 /operand
 /operations
 operations
 operatorREMOVE/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns4=
 https://adwords.google.com/api/adwords/cm/v201306; xsi:type=ns4:TextAd
 ns4:id26524387036/ns4:id
 /ad
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns5=
 https://adwords.google.com/api/adwords/cm/v201306; xsi:type=ns5:TextAd
 ns5:urlhttp://www.purple.com/?/ns5:url
 ns5:displayUrlwww.purple.com//ns5:displayUrl
 ns5:devicePreference30001/ns5:devicePreference
 ns5:Ad.TypeTextAd/ns5:Ad.Type
 ns5:headlineExcessive 
 Capitalization/ns5:headline
 ns5:description1Desc 1 - M/ns5:description1
 ns5:description2Desc 2 - M/ns5:description2
 /ad
 statusENABLED/status
 approvalStatusFAMILY_SAFE/approvalStatus
 trademarkDisapprovedfalse/trademarkDisapproved
 stats
 networkSEARCH/network
 Stats.TypeAdStats/Stats.Type
 percentServed0.0/percentServed
 /stats
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope

 [21 Aug 2013 13:51:57,633-soapXmlLogger:WARN:AWT-EventQueue-0] SOAP 
 Response:
 ?xml version=1.0 encoding=UTF-8?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201306;
 requestId0004e478d407a9780ae5ed0a4061/requestId
 serviceNameAdGroupAdService/serviceName
 methodNamemutate/methodName
 operations4/operations
 responseTime248/responseTime
 /ResponseHeader
 /soap:Header
 soap:Body

Re: AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD

2013-08-28 Thread Jeremy Aube
As far as I can tell the ads were both active. In the interface there are 
two ads before the request is made, and after there are still two ads, but 
the destination URLs have been updated.

We've also tried just deleting the ads and we get the same error, after 
which the ads are both delete in the interface. So we seem to have the 
right ads since they're getting deleted, but we still get that error 
message for them.

On Wednesday, August 28, 2013 6:44:56 AM UTC-4, Danial Klimkin wrote:

 Hello Jeremy,


 This error is expected if you try to delete an already-deleted ad. Are 
 you sure both ads were active before this request?


 -Danial, AdWords API Team.


 On Wednesday, August 21, 2013 10:02:33 PM UTC+4, Jeremy Aube wrote:

 We've started getting AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD 
 errors whenever updating ads. The update still works, but the error is 
 disconcerting. 

 Any idea why this is happening? Here's the log:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201306; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerId460-887-8120/ns1:clientCustomerId
 ns1:developerToken/ns1:developerToken
 ns1:userAgentINSERT_USERAGENT_HERE (AwApi-Java, 
 AdWords-Axis/1.18.1, Common-Java/1.18.1, Axis/1.4, Java/1.6.0_51, 
 maven)/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201306
 
 operations
 operatorREMOVE/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201306; xsi:type=ns2:TextAd
 ns2:id26524386916/ns2:id
 /ad
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns3=
 https://adwords.google.com/api/adwords/cm/v201306; xsi:type=ns3:TextAd
 ns3:urlhttp://www.purple.com/?/ns3:url
 ns3:displayUrlwww.purple.com//ns3:displayUrl
 ns3:Ad.TypeTextAd/ns3:Ad.Type
 ns3:headlineExcessive 
 Capitalization/ns3:headline
 ns3:description1Desc 1/ns3:description1
 ns3:description2Desc 2/ns3:description2
 /ad
 statusENABLED/status
 approvalStatusFAMILY_SAFE/approvalStatus
 trademarkDisapprovedfalse/trademarkDisapproved
 stats
 networkSEARCH/network
 Stats.TypeAdStats/Stats.Type
 percentServed0.0/percentServed
 /stats
 /operand
 /operations
 operations
 operatorREMOVE/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns4=
 https://adwords.google.com/api/adwords/cm/v201306; xsi:type=ns4:TextAd
 ns4:id26524387036/ns4:id
 /ad
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId7081656796/adGroupId
 ad xmlns:ns5=
 https://adwords.google.com/api/adwords/cm/v201306; xsi:type=ns5:TextAd
 ns5:urlhttp://www.purple.com/?/ns5:url
 ns5:displayUrlwww.purple.com//ns5:displayUrl
 ns5:devicePreference30001/ns5:devicePreference
 ns5:Ad.TypeTextAd/ns5:Ad.Type
 ns5:headlineExcessive 
 Capitalization/ns5:headline
 ns5:description1Desc 1 - M/ns5:description1
 ns5:description2Desc 2 - M/ns5:description2
 /ad
 statusENABLED/status
 approvalStatusFAMILY_SAFE/approvalStatus
 trademarkDisapprovedfalse/trademarkDisapproved
 stats
 networkSEARCH/network
 Stats.TypeAdStats/Stats.Type
 percentServed0.0/percentServed
 /stats
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope

 [21 Aug 2013 13:51:57,633-soapXmlLogger:WARN:AWT-EventQueue-0] SOAP

AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD

2013-08-21 Thread Jeremy Aube
We've started getting AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD 
errors whenever updating ads. The update still works, but the error is 
disconcerting. 

Any idea why this is happening? Here's the log:

?xml version=1.0 encoding=UTF-8?
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
soapenv:Header
ns1:RequestHeader 
xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201306; 
soapenv:mustUnderstand=0
ns1:clientCustomerId460-887-8120/ns1:clientCustomerId
ns1:developerToken/ns1:developerToken
ns1:userAgentINSERT_USERAGENT_HERE (AwApi-Java, 
AdWords-Axis/1.18.1, Common-Java/1.18.1, Axis/1.4, Java/1.6.0_51, 
maven)/ns1:userAgent
ns1:validateOnlyfalse/ns1:validateOnly
ns1:partialFailurefalse/ns1:partialFailure
/ns1:RequestHeader
/soapenv:Header
soapenv:Body
mutate xmlns=https://adwords.google.com/api/adwords/cm/v201306;
operations
operatorREMOVE/operator
operand
adGroupId7081656796/adGroupId
ad 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201306; 
xsi:type=ns2:TextAd
ns2:id26524386916/ns2:id
/ad
/operand
/operations
operations
operatorADD/operator
operand
adGroupId7081656796/adGroupId
ad 
xmlns:ns3=https://adwords.google.com/api/adwords/cm/v201306; 
xsi:type=ns3:TextAd
ns3:urlhttp://www.purple.com/?/ns3:url
ns3:displayUrlwww.purple.com//ns3:displayUrl
ns3:Ad.TypeTextAd/ns3:Ad.Type
ns3:headlineExcessive 
Capitalization/ns3:headline
ns3:description1Desc 1/ns3:description1
ns3:description2Desc 2/ns3:description2
/ad
statusENABLED/status
approvalStatusFAMILY_SAFE/approvalStatus
trademarkDisapprovedfalse/trademarkDisapproved
stats
networkSEARCH/network
Stats.TypeAdStats/Stats.Type
percentServed0.0/percentServed
/stats
/operand
/operations
operations
operatorREMOVE/operator
operand
adGroupId7081656796/adGroupId
ad 
xmlns:ns4=https://adwords.google.com/api/adwords/cm/v201306; 
xsi:type=ns4:TextAd
ns4:id26524387036/ns4:id
/ad
/operand
/operations
operations
operatorADD/operator
operand
adGroupId7081656796/adGroupId
ad 
xmlns:ns5=https://adwords.google.com/api/adwords/cm/v201306; 
xsi:type=ns5:TextAd
ns5:urlhttp://www.purple.com/?/ns5:url
ns5:displayUrlwww.purple.com//ns5:displayUrl
ns5:devicePreference30001/ns5:devicePreference
ns5:Ad.TypeTextAd/ns5:Ad.Type
ns5:headlineExcessive 
Capitalization/ns5:headline
ns5:description1Desc 1 - M/ns5:description1
ns5:description2Desc 2 - M/ns5:description2
/ad
statusENABLED/status
approvalStatusFAMILY_SAFE/approvalStatus
trademarkDisapprovedfalse/trademarkDisapproved
stats
networkSEARCH/network
Stats.TypeAdStats/Stats.Type
percentServed0.0/percentServed
/stats
/operand
/operations
/mutate
/soapenv:Body
/soapenv:Envelope

[21 Aug 2013 13:51:57,633-soapXmlLogger:WARN:AWT-EventQueue-0] SOAP 
Response:
?xml version=1.0 encoding=UTF-8?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/v201306;
requestId0004e478d407a9780ae5ed0a4061/requestId
serviceNameAdGroupAdService/serviceName
methodNamemutate/methodName
operations4/operations
responseTime248/responseTime
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode

faultstring[AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD @ 
operations[0].operand, AdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPAD @ 
operations[2].operand]/faultstring
detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api