Hey Guys,

Just to update this, the problem appears to be an intermittent one on
your end, sometimes it is returning values other times it isn't.
In the case below it appears to have returned the changes with a delay
of some sort. I really don't have a problem with this data taking time
to be available.
What makes it very difficult to work with is not knowing how long of a
delay there is and having data available selectively in a given time
range.
It means that we will end up missing changes after we mark a certain
time duration as having been checked for changes (when the changes
start popping up retroactively).
If that is in fact what is happening.
See the example below where you report something as added and deleted
but then when we goto get the data for the added extension it turns
out it's status is deleted, which seems a little bit off.

*** Outgoing HTTP headers
**********************************************
User-Agent: ZSI 2.0.0 (http://pywebsvcs.sf.net);
xml.etree.cElementTree v1.0.6
************************************************************************
*** Outgoing SOAP
******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/
encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ZSI="http://www.zolera.com/schemas/ZSI/"; xmlns:xsd="http://
www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance">
  <SOAP-ENV:Header>
    <RequestHeader xmlns="https://adwords.google.com/api/adwords/ch/
v201101" xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v201101">
      <ns1:authToken>xxxxxx</ns1:authToken>
      <ns1:userAgent>AwApi-Python-14.2.3|Test Client</ns1:userAgent>
      <ns1:developerToken>xxxxxx</ns1:developerToken>
    </RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body xmlns:ns1="https://adwords.google.com/api/adwords/ch/
v201101">
    <ns1:get xmlns:ns1="https://adwords.google.com/api/adwords/ch/
v201101">
      <ns1:selector xsi:type="ns1:CustomerSyncSelector">
        <ns1:dateTimeRange xmlns:ns2="https://adwords.google.com/api/
adwords/cm/v201101" xsi:type="ns2:DateTimeRange">
          <ns2:min>20110926 082030 UTC</ns2:min>
          <ns2:max>20110928 090204 UTC</ns2:max>
        </ns1:dateTimeRange>
        <ns1:campaignIds>69797055</ns1:campaignIds>
      </ns1:selector>
    </ns1:get>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
************************************************************************
*** Incoming HTTP headers
**********************************************
200 OK
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Mon, 26 Sep 2011 09:02:10 GMT
Expires: Mon, 26 Sep 2011 09:02:10 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 413
Server: GSE
************************************************************************
*** Incoming SOAP
******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ns2:ResponseHeader xmlns:ns2="https://adwords.google.com/api/
adwords/ch/v201101" xmlns="https://adwords.google.com/api/adwords/cm/
v201101">
      <requestId>0004add46a04dc100a4248a7242fd3cb</requestId>
      <operations>0</operations>
      <responseTime>270</responseTime>
      <units>0</units>
    </ns2:ResponseHeader>
  </soap:Header>
  <soap:Body>
    <ns2:getResponse xmlns="https://adwords.google.com/api/adwords/cm/
v201101" xmlns:ns2="https://adwords.google.com/api/adwords/ch/
v201101">
      <ns2:rval>
        <ns2:changedCampaigns>
          <ns2:campaignId>69797055</ns2:campaignId>
          <ns2:campaignChangeStatus>FIELDS_UNCHANGED</
ns2:campaignChangeStatus>
          <ns2:addedAdExtensions>62977455</ns2:addedAdExtensions>
          <ns2:deletedAdExtensions>62976495</ns2:deletedAdExtensions>
          <ns2:campaignTargetingChanged>false</
ns2:campaignTargetingChanged>
        </ns2:changedCampaigns>
        <ns2:lastChangeTimestamp>20110926 090135 UTC</
ns2:lastChangeTimestamp>
      </ns2:rval>
    </ns2:getResponse>
  </soap:Body>
</soap:Envelope>
************************************************************************
EndTime: 2011-09-26 18:02:05
[2011-09-26 18:02:06,121::WARNING::AwApi-Python-14.2.3] StartTime:
2011-09-26 18:02:05
*** Outgoing HTTP headers
**********************************************
User-Agent: ZSI 2.0.0 (http://pywebsvcs.sf.net);
xml.etree.cElementTree v1.0.6
************************************************************************
*** Outgoing SOAP
******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/
encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ZSI="http://www.zolera.com/schemas/ZSI/"; xmlns:xsd="http://
www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance">
  <SOAP-ENV:Header>
    <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/
v201101">
      <authToken>xxxxxx</authToken>
      <userAgent>AwApi-Python-14.2.3|Test Client</userAgent>
      <developerToken>xxxxxx</developerToken>
    </RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v201101">
    <ns1:get xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v201101">
      <ns1:serviceSelector xsi:type="ns1:Selector">
        <ns1:fields>AdExtensionId</ns1:fields>
        <ns1:fields>CampaignId</ns1:fields>
        <ns1:fields>Status</ns1:fields>
        <ns1:predicates xsi:type="ns1:Predicate">
          <ns1:field>CampaignId</ns1:field>
          <ns1:operator>IN</ns1:operator>
          <ns1:values>69797055</ns1:values>
        </ns1:predicates>
        <ns1:predicates xsi:type="ns1:Predicate">
          <ns1:field>AdExtensionId</ns1:field>
          <ns1:operator>IN</ns1:operator>
          <ns1:values>62977455</ns1:values>
        </ns1:predicates>
      </ns1:serviceSelector>
    </ns1:get>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
************************************************************************
*** Incoming HTTP headers
**********************************************
200 OK
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Mon, 26 Sep 2011 09:02:11 GMT
Expires: Mon, 26 Sep 2011 09:02:11 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 502
Server: GSE
************************************************************************
*** Incoming SOAP
******************************************************
<?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/
v201101">
      <requestId>0004add46a11bcf00a4211480000263e</requestId>
      <operations>1</operations>
      <responseTime>73</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <getResponse xmlns="https://adwords.google.com/api/adwords/cm/
v201101">
      <rval>
        <totalNumEntries>1</totalNumEntries>
        <Page.Type>CampaignAdExtensionPage</Page.Type>
        <entries>
          <campaignId>69797055</campaignId>
          <adExtension xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:type="SitelinksExtension">
            <id>62977455</id>
            <AdExtension.Type>SitelinksExtension</AdExtension.Type>
            <sitelinks>
              <displayText>Fat Cow Nut</displayText>
              <destinationUrl>http://www.cow.com</destinationUrl>
            </sitelinks>
            <sitelinks>
              <displayText>More Milk for Me</displayText>
              <destinationUrl>http://www.milk.com</destinationUrl>
            </sitelinks>
          </adExtension>
          <status>DELETED</status>
          <stats>
            <network>ALL</network>
            <Stats.Type>CampaignAdExtensionStats</Stats.Type>
          </stats>
        </entries>
      </rval>
    </getResponse>
  </soap:Body>
</soap:Envelope>
************************************************************************
EndTime: 2011-09-26 18:02:06

Thanks,

Peter

On Sep 26, 4:29 pm, Peter <peterswans...@gmail.com> wrote:
> Hello AdwordsAPI Team,
>
> I've been trying to use find out which AdExtensions were deleted using
> the deletedAdExtensions field on CampaignChangeData but it doesn't not
> appear to be populating.
>
> Take for example the following data from my SOAP log. One the AdWords
> website I changed the text on a sitelink for a sitelink extension.
> This causes the old one to be deleted and a new one to be created.
> Presumably at the same time. When I issue a request to the
> CustomerSyncService I am only getting the value for created entry and
> the deletedAdExtensions field is not populating.
>
> [2011-09-26 15:23:44,339::WARNING::AwApi-Python-14.2.3] StartTime:
> 2011-09-26 15:23:43
> *** Outgoing HTTP headers
> **********************************************
> User-Agent: ZSI 2.0.0 (http://pywebsvcs.sf.net);
> xml.etree.cElementTree v1.0.6
> ************************************************************************
> *** Outgoing SOAP
> ******************************************************
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/
> encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:ZSI="http://www.zolera.com/schemas/ZSI/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance">
>   <SOAP-ENV:Header>
>     <RequestHeader xmlns="https://adwords.google.com/api/adwords/ch/
> v201101" xmlns:ns1="https://adwords.google.com/api/adwords/cm/
> v201101">
>       <ns1:authToken>xxxxxx</ns1:authToken>
>       <ns1:userAgent>AwApi-Python-14.2.3|Test Client</ns1:userAgent>
>       <ns1:developerToken>xxxxxxxxxx</ns1:developerToken>
>     </RequestHeader>
>   </SOAP-ENV:Header>
>   <SOAP-ENV:Body xmlns:ns1="https://adwords.google.com/api/adwords/ch/
> v201101">
>     <ns1:get xmlns:ns1="https://adwords.google.com/api/adwords/ch/
> v201101">
>       <ns1:selector xsi:type="ns1:CustomerSyncSelector">
>         <ns1:dateTimeRange xmlns:ns2="https://adwords.google.com/api/
> adwords/cm/v201101" xsi:type="ns2:DateTimeRange">
>           <ns2:min>20110926 061810 UTC</ns2:min>
>           <ns2:max>20110928 062339 UTC</ns2:max>
>         </ns1:dateTimeRange>
>         <ns1:campaignIds>69797055</ns1:campaignIds>
>       </ns1:selector>
>     </ns1:get>
>   </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> ************************************************************************
> *** Incoming HTTP headers
> **********************************************
> 200 OK
> Content-Type: text/xml; charset=UTF-8
> Content-Encoding: gzip
> Date: Mon, 26 Sep 2011 06:23:48 GMT
> Expires: Mon, 26 Sep 2011 06:23:48 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> X-XSS-Protection: 1; mode=block
> Content-Length: 400
> Server: GSE
> ************************************************************************
> *** Incoming SOAP
> ******************************************************
> <?xml version="1.0" encoding="UTF-8"?>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>   <soap:Header>
>     <ns2:ResponseHeader xmlns:ns2="https://adwords.google.com/api/
> adwords/ch/v201101" xmlns="https://adwords.google.com/api/adwords/cm/
> v201101">
>       <requestId>0004add2339f83c00a4248a7242fd3cb</requestId>
>       <operations>0</operations>
>       <responseTime>239</responseTime>
>       <units>0</units>
>     </ns2:ResponseHeader>
>   </soap:Header>
>   <soap:Body>
>     <ns2:getResponse xmlns="https://adwords.google.com/api/adwords/cm/
> v201101" xmlns:ns2="https://adwords.google.com/api/adwords/ch/
> v201101">
>       <ns2:rval>
>         <ns2:changedCampaigns>
>           <ns2:campaignId>69797055</ns2:campaignId>
>           <ns2:campaignChangeStatus>FIELDS_UNCHANGED</
> ns2:campaignChangeStatus>
>           <ns2:addedAdExtensions>62968095</ns2:addedAdExtensions>
>           <ns2:campaignTargetingChanged>false</
> ns2:campaignTargetingChanged>
>         </ns2:changedCampaigns>
>         <ns2:lastChangeTimestamp>20110926 062220 UTC</
> ns2:lastChangeTimestamp>
>       </ns2:rval>
>     </ns2:getResponse>
>   </soap:Body>
> </soap:Envelope>
> ************************************************************************
> EndTime: 2011-09-26 15:23:44
>
> Notice the range <ns2:min>20110926 061810 UTC</ns2:min> and
> <ns2:max>20110928 062339 UTC</ns2:max> and
> <ns2:lastChangeTimestamp>20110926 062220 UTC</
> ns2:lastChangeTimestamp>. Then notice only addedAdExtensions is
> populated.
>
> Please let me know what's going on here and if I am doing something
> wrong. If it is a problem on your end if you could provide some
> estimate for when this might be fixed, it would be really
> appreciated.
>
> Thanks,
>
> Peter

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to