RE: Object of class Google\Protobuf\StringValue could not be converted to string - PHP - Google Ads API (BETA)

2019-11-04 Thread Google Ads API Forum Advisor Prod
Hi Dan,

You may find this example useful. If you continue to face issues, I'd recommend 
creating an issue on our the client library since this is not API specific.

Regards,
Anthony
Google Ads API Team
ref:_00D1U1174p._5001UMW7re:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1hWgB0Q0GOZO005zO_8opzSPKsEDCFfxfEoQ%40sfdc.net.


Object of class Google\Protobuf\StringValue could not be converted to string - PHP - Google Ads API (BETA)

2019-11-04 Thread Dan GTD
Hi,

When I get back a CampaignCriterion using the PHP lib I get the following 
error:

Object of class Google\Protobuf\StringValue could not be converted to string



How do I correctly access that private StringValue object returned from the 
campaign criterion using php? An example would be great.

Thanks

Dan.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/78b88dd8-de4d-4c6f-9d08-0e89787921af%40googlegroups.com.