Hallo Leute,

ich versuche mir alle Emailadressen und alle CostumerIds geben zu lassen.
Leider ohne Erfolg, ich erhalte immer den Fehler: *SOAP-ERROR: Encoding: 
Error calling to_xml callback*

Ich möchte eben die Emailadressen der Accounts abgleichen, falls diese sich 
geändert haben.

Ich hatte es so versucht...

*$user = new AdWordsUser();

$user->LogDefault();

$AccountService = $user->GetService('ServicedAccountService', 'v201109');
$selector = new ServicedAccountSelector();
$page = $AccountService->get($selector);

foreach ($page->accounts as $account) {* *
print "Customer ID: {$account->customerId}\n";
**print "Customer Email: {$account->email}\n";*
* }*


Der User hat folgende Inhalte:

AdWordsUser Object
(
    [email:private] => Meine MCC Emailadresse
    [password:private] => Mein MCC Passwort
    [requestHeaderElements:private] => Array
        (
            [authToken] => 
            [userAgent] => AwApi-PHP-3.0.0-IMIQ-201109
            [clientCustomerId] => Meine CustomerID
            [developerToken] => Mein developerToken
            [applicationToken] => 
        )

    [defaultServer:private] => https://adwords.google.com
    [defaultVersion:private] => v201109
    [logsDirectory:private] => 
/var/www/tools/berichtsassistent/library/Google/Api/Ads/AdWords/Lib
    [soapCompression:private] => 1
    [soapCompressionLevel:private] => 1
    [wsdlCache:private] => 0
    [authServer:private] => https://www.google.com
    [oauthInfo:private] => 
    [oauthHandler:private] => AndySmithOAuthHandler Object
        (
        )

)


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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

Reply via email to