Hi Eric,

thank you for your answer.
I still have problem retrieving Campaign information, even using admin
account credentials.

Cannot get any campaign info, always getting null.
Can you give me a hint how to solve this problem?

SOAP request/response:

[22 Apr 2010 18:06:08,250 - DEBUG]
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance"><soapenv:Header><ns1:RequestHeader
soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/
adwords/cm/v200909"><ns1:authToken xmlns:ns1="https://
adwords.google.com/api/adwords/cm/v200909">******</
ns1:authToken><ns1:clientEmail>*...@****.de</
ns1:clientEmail><ns1:developerToken>**********************</
ns1:developerToken><ns1:userAgent>AdWords API Java Client Library***</
ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly></
ns1:RequestHeader></soapenv:Header><soapenv:Body><get xmlns="https://
adwords.google.com/api/adwords/cm/v200909"><selector/></get></
soapenv:Body></soapenv:Envelope>
[22 Apr 2010 18:06:08,250 - DEBUG]
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/"><soap:Header><ResponseHeader xmlns="https://
adwords.google.com/api/adwords/cm/
v200909"><requestId>aa9701f12d6dbc7411ad37a0d1f84600</
requestId><operations>1</operations><responseTime>347</
responseTime><units>1</units></ResponseHeader></
soap:Header><soap:Body><getResponse xmlns="https://adwords.google.com/
api/adwords/cm/v200909"><rval><totalNumEntries>0</
totalNumEntries><Page.Type>CampaignPage</
Page.Type><totalBudget><period>DAILY</
period><amount><ComparableValue.Type>Money</
ComparableValue.Type><microAmount>0</microAmount></
amount><deliveryMethod>STANDARD</deliveryMethod></totalBudget></rval></
getResponse></soap:Body></soap:Envelope>

Internal log:
AdWordsUser com.google.api.adwords.lib.adwordsu...@caf0ed
campaignService
com.google.api.adwords.v200909.cm.campaignservicesoapbindings...@14bc4e6
CampaignSelector com.google.api.adwords.v200909.cm.campaignselec...@1
CampaignPage com.google.api.adwords.v200909.cm.campaignp...@99444938
CampaignPage page = campaignService.get(selector);
page.getEntries() = null
No campaigns were found.


Thanks,
Olek

On 22 Apr., 17:52, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hi Olek,
>
> The clientEmail field must contain the login for an AdWords account,
> not an MCC account.  More information on the headers is available
> here:
>
>  http://code.google.com/apis/adwords/v2009/docs/headers.html
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Apr 22, 4:34 am, LeXeR <lex...@googlemail.com> wrote:
>
>
>
> > Hi community, Hi AdWords API Advisor
>
> > using CampaignServiceInterface and CampaignSelector I can retrieve all
> > my campaigns from sandbox. But while running the same code against
> > production web service (https://adwords.google.com/api/adwords/cm/
> > v200909/CampaignService) I cannot get any of my campaigns,
> > CampaignPage always returns null.
> > Do you have any solution for that?
>
> > Currently I'm using my management account to create and control
> > campaigns over AdWords web-interface and another non-admin developer
> > account for API access. The developer token is registered to the
> > developer account, but belongs to the same company.
> > Putting the developer account information into email and clientEmail
> > field seems not working for me. Should the email account owner also
> > being owner of the created campaigns?
> > Which account information shoul I provide in email and clientEmail
> > fields (manager or developer)?
>
> > Regadrs,
> > Olek
>
> > --
> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> > Have you migrated to v200909 yet?
> > The v13 sunset is on April 22, 2010.
>
> > Also find us on our blog and discussion 
> > group:http://adwordsapi.blogspot.comhttp://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 
> > athttp://groups.google.com/group/adwords-api?hl=en
>
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Have you migrated to v200909 yet?
> The v13 sunset is on April 22, 2010.
>
> Also find us on our blog and discussion 
> group:http://adwordsapi.blogspot.comhttp://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 
> athttp://groups.google.com/group/adwords-api?hl=en

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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