Problem with sitelink extension feed - URLs empty

34 views
Skip to first unread message

Mirek Fidler

unread,
Oct 1, 2015, 1:11:40 PM10/1/15
to AdWords API Forum
This week, I got reported that sitelinks stopped working in our app - there are no errors reported by API, but URLs in web adwords are empty.

I have tried a couple of things (downgrading API, chaning http->https in link, add line1/line2 texts I do not normally use), nothing helped.

Here is the log of my requests:

POST /api/adwords/cm/v201506/FeedService HTTP/1.1
URL: http://adwords.google.com/api/adwords/cm/v201506/FeedService

<?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" xmlns:ns0="https://adwords.google.com/api/adwords/cm/v201506" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201506">
  <soapenv:Header>
    <ns1:RequestHeader soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0">
      <ns0:clientCustomerId>3767731236</ns0:clientCustomerId>
      <ns0:developerToken>****</ns0:developerToken>
      <ns0:userAgent>AdWordsApi Test</ns0:userAgent>
      <ns0:validateOnly>false</ns0:validateOnly>
      <ns0:partialFailure>false</ns0:partialFailure>
    </ns1:RequestHeader>
  </soapenv:Header>
  <soapenv:Body>
<ns1:mutate xmlns="https://adwords.google.com/api/adwords/cm/v201506">
    <operations>
        <ns0:operator>ADD</ns0:operator>
        <operand>
            <name>Feed for Nos Sitelink extension feed, 01.10.2015 18:06:30</name>
            <attributes>
                <name>Link text</name>
                <type>STRING</type>
            </attributes>
            <attributes>
                <name>Final urls</name>
                <type>URL_LIST</type>
            </attributes>
            <origin>USER</origin>
        </operand>
    </operations>
</ns1:mutate>
  </soapenv:Body>
</soapenv:Envelope>



POST /api/adwords/cm/v201506/FeedMappingService HTTP/1.1
URL: http://adwords.google.com/api/adwords/cm/v201506/FeedMappingService

<?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" xmlns:ns0="https://adwords.google.com/api/adwords/cm/v201506" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201506">
  <soapenv:Header>
    <ns1:RequestHeader soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0">
      <ns0:clientCustomerId>3767731236</ns0:clientCustomerId>
      <ns0:developerToken>****</ns0:developerToken>
      <ns0:userAgent>AdWordsApi Test</ns0:userAgent>
      <ns0:validateOnly>false</ns0:validateOnly>
      <ns0:partialFailure>false</ns0:partialFailure>
    </ns1:RequestHeader>
  </soapenv:Header>
  <soapenv:Body>
<ns1:mutate xmlns="https://adwords.google.com/api/adwords/cm/v201506">
    <operations>
        <ns0:operator>ADD</ns0:operator>
        <operand>
            <feedId>30344723</feedId>
            <placeholderType>1</placeholderType>
            <attributeFieldMappings>
                <feedAttributeId>1</feedAttributeId>
                <fieldId>1</fieldId>
            </attributeFieldMappings>
            <attributeFieldMappings>
                <feedAttributeId>2</feedAttributeId>
                <fieldId>5</fieldId>
            </attributeFieldMappings>
        </operand>
    </operations>
</ns1:mutate>
  </soapenv:Body>
</soapenv:Envelope>



POST /api/adwords/cm/v201506/FeedItemService HTTP/1.1
URL: http://adwords.google.com/api/adwords/cm/v201506/FeedItemService

<?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" xmlns:ns0="https://adwords.google.com/api/adwords/cm/v201506" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201506">
  <soapenv:Header>
    <ns1:RequestHeader soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0">
      <ns0:clientCustomerId>3767731236</ns0:clientCustomerId>
      <ns0:developerToken>****</ns0:developerToken>
      <ns0:userAgent>AdWordsApi Test</ns0:userAgent>
      <ns0:validateOnly>false</ns0:validateOnly>
      <ns0:partialFailure>false</ns0:partialFailure>
    </ns1:RequestHeader>
  </soapenv:Header>
  <soapenv:Body>
<ns1:mutate xmlns="https://adwords.google.com/api/adwords/cm/v201506">
    <operations>
        <ns0:operator>ADD</ns0:operator>
        <operand>
            <feedId>30344723</feedId>
            <attributeValues>
                <feedAttributeId>1</feedAttributeId>
                <stringValue>Pobočky</stringValue>
            </attributeValues>
            <attributeValues>
                <feedAttributeId>2</feedAttributeId>
                <stringValue>http://www.najisto.centrum.cz/13657/pobocky</stringValue>
            </attributeValues>
        </operand>
    </operations>
    <operations>
        <ns0:operator>ADD</ns0:operator>
        <operand>
            <feedId>30344723</feedId>
            <attributeValues>
                <feedAttributeId>1</feedAttributeId>
                <stringValue>Galerie</stringValue>
            </attributeValues>
            <attributeValues>
                <feedAttributeId>2</feedAttributeId>
                <stringValue>http://www.najisto.centrum.cz/13657/galerie</stringValue>
            </attributeValues>
        </operand>
    </operations>
</ns1:mutate>
  </soapenv:Body>
</soapenv:Envelope>




POST /api/adwords/cm/v201506/CampaignFeedService HTTP/1.1
URL: http://adwords.google.com/api/adwords/cm/v201506/CampaignFeedService

<?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" xmlns:ns0="https://adwords.google.com/api/adwords/cm/v201506" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201506">
  <soapenv:Header>
    <ns1:RequestHeader soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0">
      <ns0:clientCustomerId>3767731236</ns0:clientCustomerId>
      <ns0:developerToken>****</ns0:developerToken>
      <ns0:userAgent>AdWordsApi Test</ns0:userAgent>
      <ns0:validateOnly>false</ns0:validateOnly>
      <ns0:partialFailure>false</ns0:partialFailure>
    </ns1:RequestHeader>
  </soapenv:Header>
  <soapenv:Body>
<ns1:mutate xmlns="https://adwords.google.com/api/adwords/cm/v201506">
    <operations>
        <ns0:operator>ADD</ns0:operator>
        <operand>
            <feedId>30344723</feedId>
            <campaignId>297486764</campaignId>
            <matchingFunction>
                <operator>IN</operator>
                <lhsOperand xsi:type="RequestContextOperand">
                    <contextType>FEED_ITEM_ID</contextType>
                </lhsOperand>
                <rhsOperand xsi:type="ConstantOperand">
                    <type>LONG</type>
                    <longValue>2207378453</longValue>
                </rhsOperand>
                <rhsOperand xsi:type="ConstantOperand">
                    <type>LONG</type>
                    <longValue>2207378456</longValue>
                </rhsOperand>
            </matchingFunction>
            <placeholderTypes>1</placeholderTypes>
        </operand>
    </operations>
</ns1:mutate>
  </soapenv:Body>
</soapenv:Envelope>

Anthony Madrigal

unread,
Oct 1, 2015, 4:56:11 PM10/1/15
to AdWords API Forum
Hi Mirek,

Do you have any SOAP responses you can send me whether it be successful or failed? If so, could you please do so with the Reply privately to author option?

Thanks,
Anthony
AdWords API Team

Anthony Madrigal

unread,
Oct 5, 2015, 9:29:29 AM10/5/15
to AdWords API Forum
Hi Mirek,

Hope you had a good weekend! Based on your SOAP logs, it appears you are setting a string for final URLs. This may be causing the issue since you should be setting the stringValues, which is a list of strings, instead of setting the stringValue.

Regards,
Anthony
AdWords API Team

Mirek Fidler

unread,
Oct 5, 2015, 10:37:08 AM10/5/15
to AdWords API Forum
Hi Anthony,

Bingo! Now it works.

Thanks a lot,

Mirek

Dne pondělí 5. října 2015 15:29:29 UTC+2 Anthony Madrigal napsal(a):
Reply all
Reply to author
Forward
0 new messages