haive / google-api-adwords-php

Automatically exported from code.google.com/p/google-api-adwords-php
Apache License 2.0
0 stars 0 forks source link

Short description of the bug #80

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of the library are you using?
201206

Which version of PHP are you using?
PHP 5.3.3-7

What steps will reproduce the problem?
Running /BasicOperations/AddCampaigns.php

What is the expected output? What do you see instead?
Instead of seeing it work correctly i see the following parse error

public_html/examples/v201206/BasicOperations# php AddCampaigns.php
PHP Parse error:  syntax error, unexpected T_VARIABLE in 
/home/googleapi/public_html/examples/v201206/BasicOperations/AddCampaigns.php 
on line 97

The issue is a missing semicolon at line 93
$campaign->settings[] = $targetRestrictSetting

adding the semicolon fixes the issue.

Original issue reported on code.google.com by nico...@wendell.com.au on 17 Sep 2012 at 10:09

GoogleCodeExporter commented 8 years ago
This is now resolved in the latest version of the library.

Thank you for your bug report.

Original comment by pmatth...@google.com on 26 Sep 2012 at 3:15

GoogleCodeExporter commented 8 years ago
Fixed in Rev #279

Original comment by api.pmat...@gmail.com on 10 Oct 2012 at 12:18