Im new to Google adwords - My client center. I want to view and add campaigns with this. I searched for the google adwords api client library and found the following "http://code.google.com/p/google-api-adwords-php/downloads/list". After that, downloaded the aw_api_php_lib_3.2.2.tar.gz and placed that code in "mysite/protected/" folder. And i have modified configuration in "mysite/protected/adwords/src/Google/Api/Ads/AdWords/auth.ini" file.
I can able to view all the campaigns. Now i want to add campaign with My client center. My code is,
Yii::import('application.adwords.*');
require_once('examples/v201206/BasicOperations/AddCampaigns.php');
$user = new AdWordsUser();
$user->LogAll();
AddCampaignsExample($user, $campaign_name, $period, $budget, $delmethod, $status, $stdate, $enddate, $impressions, $timeunit, $level);
I have passed the appropriate values in the $campaign_name,$period,$budget..etc,. Its working well.
But i want to add all the fields available in Google adwords add campaign like "Type, Location options (advanced), Languages, Ad extensions, Advanced settings, etc.,". How can i add these fields with Google adwords API - Client library. Please advice.