In reference to this post:
http://groups.google.com/group/adwords-api/browse_thread/thread/8db67387b91b9053/79813ba7f65f4d6d?lnk=gst&q=Parsing+WSDL#79813ba7f65f4d6d

I received the same error but am including the service inside of the
loop.  The error occurs occasionally but when you said
"We recommend that you create the service only once outside of the
loop and reuse it for every request."

Given this code:

[start of loop]
$adGroupAdService = $user->GetAdGroupAdService('v200909');
$adGroupId = (float) $adGroup->id;
$selector = new AdGroupAdSelector();
...
[end of loop]

- which parts need to be outside the loop (above the [start of loop])?
- does this apply for all types of operations?  (e.g.
campaignselector, adgroupselector, adgroupoperation,
getcampaignservice, etc)
- can i just clarify them all at the very top like a variable?

Thanks for your help!

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

Reply via email to