Si,

This should help you out:
http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/examples/csharp/v201101/AddSiteLinks.cs

Pete

On Aug 17, 4:13 am, Paigey <[email protected]> wrote:
> Hi Pete,
>
> Thanks for the info! I'll look into using arrays. Would you be able to
> point me in the direction of any examples in C#?
>
> Kind regards
>
> Si
>
> On Aug 11, 1:52 pm, "Pete Lavetsky (AdWords API Guru)"
>
>
>
>
>
>
>
> <[email protected]> wrote:
> > Hi,
>
> > Whatever array of Sitelinks you set on the SitelinksExtension is what
> > gets set.  So, you don't add / remove Sitelinks, you just set what
> > should be active.
>
> > If you initially set your Sitelinks as an array [ "1", "2", "3" ] but
> > want to remove the "3", you just send a new array to the service as
> > [ "1", "2" ]
>
> > Pete
>
> > On Aug 11, 4:47 am, Paigey <[email protected]> wrote:
>
> > > Hi all,
>
> > > I've seen a few examples of how you can add/remove sitelinks for a
> > > campaign using the CampaignAdExtensionService but it seems to only
> > > allow the removal or adding of all sitelinks at one time.
>
> > > If a campaign has say 4 sitelinks, is it possible to just delete one
> > > and add a new one via the api or do all sitelinks have to be removed
> > > then re added? Looking at the info you can pull out of the api for
> > > sitelinks it only contains the sitelink name and url but no sitelink
> > > id to query against!
>
> > > Thanks
>
> > > Si- Hide quoted text -
>
> > - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to