before v13
using Apiv13 = Google.Api.Ads.AdWords.v13;
Apiv13.AccountService _AccountService =
User.GetService(ApiLib.AdWordsService.v13.AccountService) as
Apiv13.AccountService;
_AccountService.clientEmailValue.Value =
_AccountService.getClientAccounts();
Apiv13.AccountInfo[] aAccount =
this.AccountServiceInstance.getAccountInfo();
after v201206
using Apiv201206 = Google.Api.Ads.AdWords.v201206;
Apiv201206.ManagedCustomerService _CustomerService =
User.GetService(ApiLib.AdWordsService.v201206.ManagedCustomerService) as
Apiv201206.ManagedCustomerService;
// liste of account
Apiv201206.Selector selectorlst = new Apiv201206.Selector();
selectorlst .fields = new String[] { "CustomerId"};
Apiv201206.ManagedCustomerPage oLstAccounts =
CustomerServiceInstance.get(selectorlst);
// gets accounts
Apiv201206.Selector selector = new Apiv201206.Selector();
selector.fields = new string[] { "Login", "CustomerId", "Name",
"CompanyName", "CanManageClients", "CurrencyCode", "DateTimeZone" };
Apiv201206.Predicate predicate = new Apiv201206.Predicate();
predicate.field = "CustomerId";
predicate.@operator = Apiv201206.PredicateOperator.IN;
predicate.values = oLstAccounts.links;
selector.predicates = new Apiv201206.Predicate[] { predicate };
//résult
Apiv201206.ManagedCustomerPage oAccounts =
CustomerServiceInstance.get(selector);
There is not in it?
billingAddress
primaryAddress
emailPromotionsPreferences
defaultNetworkTargeting
etc..
On Wednesday, August 1, 2012 1:06:32 PM UTC+2, ChristianFR wrote:
>
> Hello
> We work to stop using the v13
>
> In the v201206:
>
> How to retrieve the details of our accounts? example, the status,
> addresses, fax, phone etc. ..
>
> I can not find information in ManagedCustomer and ManagedCustomerService.
>
> you have a sample code?
> thank you
>
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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