Hi,

ok i post on the given link.

Have a good day.

Regards,

Le vendredi 3 août 2018 04:40:19 UTC+3, Mnk a écrit :
>
> Hi All,
>
> First, excuse me for my english :)
>
> I try to use a basic operation with laravel. I don't have the problem with 
> my token because i use another option with the API and they working good.
>
> I configure all that i need :
>
> - adsapi_php ( with the developerToken etc)
>
> - Controller where i call the dependency 
>
> namespace App\Http\Controllers;
>
> use Illuminate\Http\Request;
> use Illuminate\Support\Facades\Auth;
> use Ixudra\Curl\Facades\Curl;
>
> use App\Services\GetCampaigns;  //the script from Adwords API for get all 
> the campaings
>
> create the function like :
>
>  public function montest()
>  {
>  
>  $result = GetCampaigns::main();
>  //return $result;
>  $data = [
>  'monitor'=> $result
>  ];
>  
>  return view('monitoring', compact('data'));
>  }
>
> - And the view. Easy just 
>
> {{ $data['monitor'] }}
>
>
> When i try i get this error ( you can see a print in attachment):
>
> htmlspecialchars() expects parameter 1 to be string, object given
>
>
> What i doing wrong ? The target is to get all the campaings on my adwords 
> account.
>
> Do you have an idea?
>
> Thanks for you help
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5b95686a-3d41-4d0c-9cee-3f47a1329f3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Mnk
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Mnk
        • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... Mnk

Reply via email to