Re: Issues trying to create a template ad with API (PHP)

2011-11-28 Thread Eric Koleda
Hi Lorenzo, Thanks for following up, and I apologize for the hassle. I just submitted a patch that should fix a problem with using the same object multiple times: http://code.google.com/p/google-api-adwords-php/source/detail?r=223 Sync to trunk and let me know if this resolves your problem. B

Re: Issues trying to create a template ad with API (PHP)

2011-11-23 Thread Zeelot
Ok, I found the issue. I cannot simply use the $image object 3 times... if I clone it for the other 2 image fields to use, then it works well... thanks for your time :) Lorenzo Pisani On Nov 23, 5:30 pm, Zeelot wrote: > Ok I went into the Logger class and manually saved the logs with > file_put

Re: Issues trying to create a template ad with API (PHP)

2011-11-23 Thread Zeelot
Ok I went into the Logger class and manually saved the logs with file_put_contents()... here is the xml it is trying to send (I think): https://s3-us-west-1.amazonaws.com/zeelot/soap_xml Is that what you needed? It's pretty big because there are images in there as well. On Nov 23, 4:23 pm, Zeelot

Re: Issues trying to create a template ad with API (PHP)

2011-11-23 Thread Zeelot
Yeah so I can't figure out how to log anything... the library is like a maze and I did `$user->LogsAll();` but the logs directory remains empty after my calls. Could you help me understand how I can configure where logs are written or help me understand where the code that writes the logs is? Many

Re: Issues trying to create a template ad with API (PHP)

2011-11-09 Thread Danial Klimkin
Hello Lorenzo, I can't immediately see any issue with this code. Please enable logging and send us the SOAP request. Please refer to the README file on how to enable logging: http://code.google.com/p/google-api-adwords-php/source/browse/trunk/README -Danial, AdWords API Team. -- =~=~=~=~

Issues trying to create a template ad with API (PHP)

2011-11-07 Thread Zeelot
I'm using the PHP library and I was able to get most of the methods I need to work but I cannot figure out how to properly create a template ad (the example for the template ad words but I am changing the templade id) Here is my code: public function action_create_template_ad() {