Excellent, thank you :)
On Thursday, 5 October 2017 20:10:03 UTC+1, Zac Hillier wrote:
>
> Hi
>
> I'm migrating to the new Adwords API and trying to create a text label. At
> the bottom my code, but this gives an error
>
> *Fatal error*: Cannot access empty property in
> *[..]/Google/AdsApi/AdWo
Hi Zac,
Could you try using the code snippet provided below:
public function createLabel($name){
$service = $this->adWordsServices->get($this->session, LabelService::
class);
$operations = [];
$txt = new TextLabel();
$txt->setName($name);
$operation = new La
Hi
I'm migrating to the new Adwords API and trying to create a text label. At
the bottom my code, but this gives an error
*Fatal error*: Cannot access empty property in
*[..]/Google/AdsApi/AdWords/v201708/cm/Label.php* on line *172*
Which relates to:
public function __set($var, $value)
{