Hi Jerry,

The following article provides some information about how to use the
API in PHP without the client library:

  http://code.google.com/p/google-api-adwords-php/wiki/NoClientLibrary

Best,
- Eric Koleda, AdWords API Team

On Apr 15, 11:51 am, JerryGarcia <beauchamp....@gmail.com> wrote:
> Hi,
>
> I'm battling thru this new api service.
>
> Since my client hasn't upgraded to PHP5 (i hate them for that) I have
> a question
> on the new format of a call to set a Campaign to pause using PHP 4.
> This is what i Have so far
>
> $headers =
>   '<email>' . $email . '</email>'.
>   '<password>' . $password . '</password>' .
>   '<clientEmail>' . $client_email . '</clientEmail>' .
>   '<useragent>' . $useragent . '</useragent>' .
>   '<developerToken>' . $developer_token . '</developerToken>' .
>   '<applicationToken>' . $application_token . '</applicationToken>';
>
> # Set up service connection. To view XML request/response, change
> value of
> # $debug to 1. To send requests to production environment, replace
> # "sandbox.google.com" with "adwords.google.com".
> $namespace = 'https://adwords.google.com/api/adwords/cm/v200909';
> $campaign_service =
>   new soapclient($namespace . 'CampaignService', 'wsdl');
> $campaign_service->setHeaders($headers);
> $debug = 1;
>
> $request_xml =
> '<campaign>'.
> '<id>123456789</id>'.
> '<status>ACTIVE</status>'.
> '</campaign>';
>
> $campaign = $campaign_service->call('Campaign', $request_xml);
>
> It doesn't like this request.  Can someone point me in the right
> direction with what I'm doing wrong?
>
> J

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