Hi there.
I was wandering how you upon creation of Ad Group match the AdGroup
elements from the return value to the AdGroup elements already in memory.
I need the id’s to properly commit Ads and Keywords. Right now I am working
under the assumption that the return values come in the same order as in
the array I sent to Google AdWords.
Specifically, I do this
AdGroupReturnValue retVal = adGroupService.mutate(operations);
foreach (AdGroup adGroup in retVal.value)
{
groups.ElementAt(i).id = adGroup.id;
i++;
}
I thought some of you might have a better or prettier solution.
Have a nice Friday.
(Not that it is important, but I use C# and the official AdWords library
for .Net.)
Rasmus Ladekjær Pedersen
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.