Hi Peter,
The GetGeoLocationInfo code example demonstrates what I was talking about:
http://www.google.com/codesearch/p?hl=en#Fu0vUbQ37f4/trunk/examples/v201101/GetGeoLocationInfo.php&q=instanceof%20package:http://google-api-adwords-php%5C.googlecode%5C.com&sa=N&cd=2&ct=rc
The code examples hav
HI Kevin
Thanks for the info, though I'm not too sure what you mean?
I apologise but my php knowledge is quite limited at the moment! Could you
elaborate further? I would appreciate it.
Thanks
Peter
On 27 Apr 2011, at 15:05, Kevin Winter wrote:
> Hi Peter,
> In the foreach loop over $page->e
Hi Peter,
In the foreach loop over $page->entries you should be able to do an
instanceof to verify that the result is a TextAd and then pull out the
headline like this: $adGroupAd->ad->headline
-Kevin Winter
AdWords API Team
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on
error_reporting(E_STRICT | E_ALL);
// You can set the include path to src directory or reference
// AdWordsUser.php directly via require_once.
// $path = '/path/to/aw_api_php_lib/src';
$path = dirname(__FILE__) . '/../../src';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
requir
However I am trying to download all the ads into a csv and I am having
difficulty implementing the report service. Could someone explain firstly
how I get to print out all the ads onto the screen (at the moment I have
just Ad with id etc showing, not the headline etc that I have chosen as
It's ok! Everyone sit back down! I realised I had to amend
$adGroupIdPredicate to lose the array($adgroupId) and change the
$selector->predicates=array($statusPredicate) and lose the $adGroupId
variable.
At least, I think that's what I had to do. It's worked anyway!
--
=~=~=~=~=~=~=~=~=~=~=~=
HI all
I'm trying to run the GetAllAds.php example in version V201101 and I
get [SelectorError.INVALID_PREDICATE_VALUE @ serviceSelector;
errorDetails:] error
I have $adGroupId=(float) commented out as I want to retrieve all ads.
Can anyone help?
Thanks