AdWords API More PHP Samples

2009-11-05 Thread Priyantha Gunawardena
Hi All,

Replace this with the google client library you will find more samples. Some
of the cords may not clear. I wrote this for some testing purposes.

-- 
...
Priyantha Gunawardena
__
{Web Designer / Developer}
Tel: +94 038-228-4323
Mobi: +94 077-393-8516
Blog: http://www.pgdesigning.com
IM : pgdesigning
...

--

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-...@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.




aw_api_php_lib_1.1.0_src.rar
Description: Binary data


AdWords API Sample code to get keywords in PHP

2009-11-03 Thread Priyantha Gunawardena
Hi All,

I hope you guys find this helpful.

http://www.pgdesigning.com/php/2009/11/03/get-all-keywords-in-adword-v200909-in-php/

Cheers,
-- 
...
Priyantha Gunawardena
__
{Web Designer / Developer}
Tel: +94 038-228-4323
Mobi: +94 077-393-8516
Blog: http://www.pgdesigning.com
IM : pgdesigning
...

--

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-...@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.




AdWords API Serah Keword Idea

2009-10-29 Thread Priyantha Gunawardena
Hi Any one has an example how to get keyword search Ideas in v200909. given
below is my code sample but having error in it.

try {
// Get AdWordsUser from credentials in ../auth.ini
// relative to the AdWordsUser.php file's directory.
$user = new AdWordsUser();

// Log SOAP XML request and response.
$user-LogDefaults();

// Get the CampaignService.
$targettingIdeaService = $user-GetTargetingIdeaService();
 $searchParameters = array (
new KeywordMatchTypeSearchParameter(array('PHRASE'), 'key word here')
);
 // Get all campaigns.
$targettingIdeaPage = $targettingIdeaService-get(new TargetingIdeaSelector(
$searchParameters, 'KEYWORD', 'IDEAS', array('KEYWORD')), 100  ) ;
 // Display campaigns.
if (isset($targettingIdeaPage-entries)) {
foreach ($targettingIdeaPage-entries as $targettingIdea) {
 var_dump($targettingIdea);
 }
} else {
print No campaigns found.\n;
}
} catch (Exception $e) {
print_r($e);
}

-- 
...
Priyantha Gunawardena
__
{Web Designer / Developer}
Tel: +94 038-228-4323
Mobi: +94 077-393-8516
Blog: http://www.pgdesigning.com
IM : pgdesigning
...

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