OK. Let's try to use StartDate and print_r(*$campaign*). To check what 
fields are returned from API.

On Monday, February 4, 2013 9:35:34 PM UTC+4, Alan Coleman wrote:
>
> Here's the error passed back when I try to use startDate  An error has 
> occurred: [SelectorError.INVALID_FIELD_NAME @ serviceSelector; 
> trigger:'startDate']
>
> On Monday, February 4, 2013 4:46:10 PM UTC, Alan Coleman wrote:
>>
>> Hello everyone,
>>
>> I'm using GetCampaigns.php and am having trouble with $selector->fields. 
>> I'm selecting the following:
>>
>> *$selector->fields = array('Id', 'Name', 'Status', 'StartDate');*
>>
>> and writing them out like this: 
>>
>> *printf("<td>%s</td>"."\n",$campaign->id);*
>> *printf("<td>%s</td>"."\n",$campaign->name);*
>> *printf("<td>%s</td>"."\n",$campaign->status);*
>> *printf("<td>%s</td>"."\n",$campaign->startdate);*
>> *
>> *
>> An error is telling me that StartDate is an undefined property. I'm* 
>> *confused 
>> because I'm* not* getting the INVALID_FIELD_NAME error.
>>
>> As always, any help would be gratefully appreciated.
>>
>>
>>
>>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to