Hi,

It looks like that example is outdated. I'll speak with the owner of that 
library to have that fixed.

In the meantime, could you try making the following changes and let me know 
if you still run into errors?

   1. Specify sitelinkFinalUrls 
   
<https://developers.google.com/adwords/api/docs/reference/v201506/CampaignExtensionSettingService.SitelinkFeedItem#sitelinkFinalUrls>
 instead 
   of *sitelinkUrl*
   2. Set *sitelinkFinalUrls* to an *array* containing your final URL

Thanks,
Josh, AdWords API Team

On Monday, August 31, 2015 at 2:49:03 PM UTC-4, A Neuen wrote:
>
> I am getting the same error using version v201502:
>
>
> Are the examples here:
>
> https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201502/extensions/add_site_links.py#L55
>
> wrong?
>
> I tried to replace with sitelinkFinalUrls 
> <https://developers.google.com/adwords/api/docs/reference/v201506/CampaignExtensionSettingService.SitelinkFeedItem#sitelinkFinalUrls>
>  as 
> suggested in an answer and I get the same as a user below:
> suds.WebFault: Server raised fault: 'Unmarshalling Error: 
> cvc-complex-type.2.3: Element 'ns0:sitelinkFinalUrls' cannot have character 
> [children], because the type's content type is element-only. '
>
>
> On Tuesday, 14 July 2015 08:35:16 UTC+2, MCC Test wrote:
>>
>> Hello All,
>>
>> From Past few days I am getting error like *WRITE_ACCESS_DENIED* while 
>> posting new sitelinks via adwords api.I am using 
>> *AdGroupExtensionSettingService 
>> *to create new sitelinks under adgroups.
>>
>> "[Jul 14 2015 02:23:27.000000 - ERROR] effectiveUser=xxx-xxx-xxxx 
>> service=AdGroupExtensionSettingService method=mutate operators={ADD: 4} 
>> operations=4 units= server=adwords.google.com isFault=true 
>> faultMessage=[EntityAccessDenied.WRITE_ACCESS_DENIED @ 
>> operations[0].operand.extensionSetting.extensions, 
>> EntityAccessDenied.WRITE_ACCESS_DENIED @ 
>> operations[1].operand.extensionSetting.extensions, 
>> EntityAccessDenied.WRITE_ACCESS_DENIED @ 
>> operations[2].operand.extensionSetting.extensions, 
>> EntityAccessDenied.WRITE_ACCESS_DENIED @ 
>> operations[3].operand.extensionSetting.extensions]"
>>
>> Before few days it was all working good suddenly recently started getting 
>> error.
>>
>> Please look into this.
>>
>> Thanks,
>> Ronak Shah
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/24ad6dc8-295d-48ff-ab82-25eff12fe572%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to