"Array to string conversion" error

100 views
Skip to first unread message

Marcos Gil Fuertes

unread,
Sep 11, 2019, 1:38:21 PM9/11/19
to AdWords API and Google Ads API Forum
Hi,

I'm trying the TargetingIdeaService through the PHP library and get this error:

Array to string conversion
File: .../googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php
Line: 152

Specifically on the $output_headers var at this call:

$response = parent::__soapCall(
    $function_name
,
    $arguments
,
    $options
,
    $input_headers
,
    $output_headers  
// <====
);

It seems to happen when "a lot" of keywords are used... is there any limit?

Regards

Google Ads API Forum Advisor Prod

unread,
Sep 11, 2019, 3:35:54 PM9/11/19
to marcos.gi...@gmail.com, adwor...@googlegroups.com

Hi Marcos,

Thank you for reaching out. Could you please share the error you are receiving while using TargetingIdeaService? Also, you may refer to this guide for more information on the various system limits for targeting ideas via API.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UHGT7m:ref
Reply all
Reply to author
Forward
0 new messages