HI all,
I have an app that stores sitelinks for various accounts in sql, then
when you run the app, it checks for sitelinks to push live. The
problem I have is not all accounts will have the same number of
sitelinks to push live e.g. account 1 may have 5 sitelinks, then
account 2 may have 3 sitelinks.
The function that pushes the sitelinks live works in a for loop so
need to work out a way to dynamically set the number of sitelinks
going live depending on the number of sitelinks for each account.
The bit of code that adds sitelinks:
siteLinkExtension.sitelinks = new Sitelink[] { siteLink1, siteLink2,
siteLink3 };
will only allow a v201101.Sitelink so can't use a dynamic string
array!
Any ideas if it's at all possible, would be great.
Thanks
Paigey
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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