Hello Andras,

 Have you turned on SOAP logging in SOAPpy and taken a look at the
SOAP request you're sending to confirm that the email and clientEmail
headers both look correct?

 If the headers do look correct and yet your request is getting
flagged by the AdWords API for missing a header, could you please let
me know what the value of the requestId header is in the SOAP fault
you're getting back?

 If the headers in your request don't look correct and there's no
obvious cause for it in your code, then it sounds like SOAPpy is not
behaving properly. I know that ZSI is considered the current SOAP
library of choice in the Python community, in that it's actually still
supported and being developed, so perhaps that's a better option?

Cheers,
-Jeff Posnick, AdWords API Team


On Mar 10, 10:14 am, zodcode <zodc...@gmail.com> wrote:
> Hi!
>
> I'm getting all campaigns of a client, then trying to retrieve ad
> group stats for each campaign
> (with Python/SOAPpy).
>
> >>> adgroup_stats = adgroup_srv.getAdGroupStats(camp_id, adgroup_ids, date1, 
> >>> date2)
>
> I get the error 1 here, however.
>
> I supply the service object 'adgoup_srv' with the *same* header as the
> CampaignService
> object which I get 'camp_id' with.
> Then using this 'adgroup_srv' successfully to collect 'adgroup_ids'
> for the given campaign.
> The two email addresses in the header are correct (and certainly are
> in there).
> I wonder what I might be doing wrong.
>
> Can you give me a hint?
>
> Cheers,
> Andras
--~--~---------~--~----~------------~-------~--~----~
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