I almost have this working, I can now populate the oauth info inside my User object, so far my user looks like this, right before I try the request (get adgroups):
AdWordsUser Object ( [email:AdWordsUser:private] => [password:AdWordsUser:private] => [requestHeaderElements:AdsUser:private] => Array ( [authToken] => [userAgent] => AwApi-PHP-2.6.2- [clientCustomerId] => [clientEmail] => [email protected] [developerToken] => KXC..UiA [applicationToken] => ) [defaultServer:AdsUser:private] => https://adwords.google.com [defaultVersion:AdsUser:private] => v201101 [logsDirectory:AdsUser:private] => /v....s/logs [soapCompression:AdsUser:private] => 1 [soapCompressionLevel:AdsUser:private] => 1 [wsdlCache:AdsUser:private] => 0 [authServer:AdsUser:private] => https://www.google.com [oauthInfo:AdsUser:private] => Array ( [oauth_consumer_key] => dev.....net [oauth_consumer_secret] => n..X [oauth_token] => 1...YNc [oauth_token_secret] => vfx..MVV ) [oauthHandler:AdsUser:private] => AndySmithOAuthHandler Object ( ) ) AdGroupPage Object ( [entries] => [totalNumEntries] => 0 [PageType] => AdGroupPage [_parameterMap:Page:private] => Array ( [Page.Type] => PageType ) ) No ad groups were found. [] I commented out all of my credentials / info. For some reason I am getting No adgroups were found. I'm not sure why, inside my actual adwords account I have two adgroups, all my campaigns are paused, could this be causing an issue? I seem to have gotten rid of all the errors when I make the request, and the "No adgroups were found" message looks promising. Can somebody tell me how my user object looks? Is there anything missing or malformed? Any advice would really be helpful, please help! Regards, Doug -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
