CustomerSyncService return data

17 views
Skip to first unread message

Максим Мазурок

unread,
Oct 3, 2017, 5:22:19 PM10/3/17
to AdWords API Forum
Hey,
I have problems interpreting return data from CustomerSyncService.
The problem is, return data contains Ids, which were not changed during the requested period of time.
For both, keywords and ads. I compare it to Change history in AdWords UI and to Change colums in Campaign/AdGroups tabs.
How can this extra ids get into my response? Am i missing something?
Help me please.

Request xml:
    '<?xml version="1.0" encoding="UTF-8"?>' +
    '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201708" xmlns:ns2="https://adwords.google.com/api/adwords/ch/v201708" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">' +
    '<SOAP-ENV:Header>' +
    '<ns2:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201708" xsi:type="ns1:RequestHeader">' +
    '<ns1:authToken>TOKEN</ns1:authToken>' +
    '<ns1:clientCustomerId>CUST_ID_PH</ns1:clientCustomerId>' +
    '<ns1:developerToken>DEVTOKEN</ns1:developerToken>' +
    '<ns1:userAgent>CHANGES</ns1:userAgent>' +
    '</ns2:RequestHeader>' +
    '</SOAP-ENV:Header>' +
    '<SOAP-ENV:Body>' +
    '<ns2:get>' +
    '<ns2:selector xmlns:ns2="https://adwords.google.com/api/adwords/ch/v201708" xsi:type="ns2:CustomerSyncSelector">' +
    '<ns2:dateTimeRange xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201708" xsi:type="ns1:DateTimeRange">' +
    '<ns1:min>START_DATE_PH 000000 America/New_York</ns1:min>' +
    '<ns1:max>END_DATE_PH 235959 America/New_York</ns1:max>' +
    '</ns2:dateTimeRange>' +
    '<ns2:campaignIds>CAMP_ID_PH</ns2:campaignIds>' +
    '</ns2:selector>' +
    '</ns2:get>' +
    '</SOAP-ENV:Body>' +
    '</SOAP-ENV:Envelope>';

Peter Oliquino

unread,
Oct 4, 2017, 1:40:52 AM10/4/17
to AdWords API Forum
Hi,

To further investigate, could you provide your clientCustomerId and the complete SOAP request and response generated when you encountered the issue? You may reply using the Reply privately to author option.

Thanks and regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages