Hello,

I previously used the newest apility lib to handle my api calls with
php, but since Google upgraded the v13 version, its not working
anymore. Im only updating the campaign status, can anybody tell me
what to change that it works again? Code as following:


require_once('apility.php');
$apilityUser = new APIlityUser();
$campaigns = $apilityUser->getAllCampaigns();


$campaigns[4]->setStatus("Active");
$campaigns[0]->setStatus("Active");

OR

$campaigns[4]->setStatus("Paused");
$campaigns[0]->setStatus("Paused");


Now I get the error when setting status: PHP Fatal error:  Call to a
member function setStatus() on a non-object in C:\inetpub\wwwroot
\datamanager\adwapi\adwabgleich.php

Has anybody a hint what to change?

sincerely
Aunse

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