Sitelinks upgraded URLS

34 views
Skip to first unread message

Francesco Della Vedova

unread,
Jun 30, 2015, 7:20:30 AM6/30/15
to adwor...@googlegroups.com
Hi,

I'm trying to upload sitelinks with upgraded urls via ExtensionSettingsService.

the operation looks something like the following (python)

'campaignId': CAMPAIGN_ID,
          'extensionType': 'SITELINK',
          'extensionSetting': {
          'extensions': [{
                  'xsi_type': 'SitelinkFeedItem',
                  'sitelinkText': TEXT,
                  'sitelinkFinalUrls': {'urls': [URL]},
              }],
            }

I'm getting INVALID_URL error, for the following test url: "http://www.example.com/"

any idea what's wrong with the above url?

Anthony Madrigal

unread,
Jun 30, 2015, 9:38:29 AM6/30/15
to adwor...@googlegroups.com, francesco....@rocket-internet.de
Hi,

Could you try using sitelinkUrl instead of sitelinkFinalUrls? The URL you provided should not be giving an error.

Also, please make sure you are using the CampaignExtensionSettingService. You could check our Python sitelink example as a reference. 

Regards,
Anthony
AdWords API Team

Francesco Della Vedova

unread,
Jun 30, 2015, 10:11:32 AM6/30/15
to adwor...@googlegroups.com, francesco....@rocket-internet.de
Hello Anthony,

the service is the CampaignExtensionSettingService, the url works fine with 'sitelinkUrl', in fact I'm just upgrading due to the deprecation. All im doing is moving the url from 'sitelinkUrl' to 'sitelinkFinalUrls'.
Is this a possible bug?

Josh Radcliff (AdWords API Team)

unread,
Jun 30, 2015, 12:08:17 PM6/30/15
to adwor...@googlegroups.com, francesco....@rocket-internet.de
Hi,

Do you have the requestId from the SOAP response for a request where you encountered the INVALID_URL error? If so, please send that over so I can investigate further.

Thanks,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages