Hi Ray, 
thanks for pointing me out this.

I got a bit further with this project but I have some problems managing 
feeds,

I have opened a new post,

https://groups.google.com/forum/#!searchin/adwords-api/Luca$20Fiaschi/adwords-api/5gd-ACmM1I4/cMNm2LI4QDUJ




On Wednesday, March 5, 2014 11:25:38 PM UTC+1, Ray Tsang (AdWords API Team) 
wrote:
>
> Luca,
>
> Please see the announcement on migrating to the 
> feeds<http://googleadsdeveloper.blogspot.com/2013/08/adwords-api-upgrading-your-ad.html>
> .
>
> Thanks,
>
> Ray
>
> On Wednesday, March 5, 2014 3:54:26 PM UTC-5, Luca Fiaschi wrote:
>>
>> Hi,
>> I am trying to add a sitelink to my campaign using the  the following 
>> code:
>>
>>         template = { "campaignId" : campaignId,
>>                      "xsi_type": "CampaignAdExtension",
>>                      "adExtension":  {
>>                          "xsi_type": "SitelinksExtension",
>>                          "sitelinks": [ {  "xsi_type": "Sitelink",
>>                                           "displayText": "Home",
>>                                           "destinationUrl": "
>> www.banana.com"
>>                                         }]
>>                      }
>>
>>         }
>>
>>         extension_service = client.GetCampaignAdExtensionService(version='
>> v201306')
>>         operations = []
>>         for c in added_campaigns:
>>
>>             sitelink = DefaultSitelink(c['id'])
>>             operations.append({
>>             'operator': 'ADD',
>>             'operand':  template
>>             }
>>             )
>>         result = extension_service.mutate(operations)[0]
>>
>> However I get  AdExtensionError.INVALID_ADEXTENSION_TYPE as response.
>>
>> Does anybody knows what is going wrong ? This extension type should be 
>> correctly defined 
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to