Hi Smitty,

Just wondering if your wamp installation has different php.ini for
command line and apache configurations? curl could be enabled in only
one of them. Calling phpinfo() before running the example should give
you more details.

You can retrieve the campaign statistics by adding statsSelector field
to CampaignSelector when retrieving the campaigns. See
http://code.google.com/apis/adwords/docs/reference/latest/CampaignService.CampaignSelector.html#statsSelector
for details.

You can udpate the budget by setting a new Budget object to the budget
field and then updating the campaign. See
http://code.google.com/apis/adwords/docs/reference/latest/CampaignService.Campaign.html#budget
for details. You can also refer to
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201008/UpdateCampaign.php?r=116
for details on how budget can be updated.


Cheers,
Anash P. Oommen,
AdWords API Advisor.


On Jan 6, 10:51 am, Smitty Isidhore <smitty.isidh...@gmail.com> wrote:
> Hi
>
> I want to manage my adword campaign through application program. I
> wish to reset the budget for both daily and monthly as well as i wish
> to retrieve informations such as number of clicks/day and amount spend
> per day  through my application program. Can this possible? I already
> have a campaign in adwords. I wish to do application program in php, i
> downloaded the php client library and installed. Now im trying some
> examples in v200909 sandbox. My php version is 5.3.0. When i tried
> getAllCamaigns.php in examples im getting an error telling "
> Fatal error: Call to undefined function curl_init() in C:\wamp\www
> \aw_api_php_li
> b_2.4.0\src\Google\Api\Ads\Common\Util\AuthToken.php on line 114".
> curl is enabled. any suggestion to resolve this problem?

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