I tried
$recommendedAd->getRecommendedExtensions()->getLine1Unwrapped();//##`*Fatal
error*: Uncaught Error: Call to undefined method
Google\Protobuf\Internal\RepeatedField::getLine1Unwrapped()`
which doesn't show that method linked, however if I use
`$recommendedAd->getRecommendedExtensions()
Thank you for the enums list, it solved most of the issues I had, but there
is a function getType() which always returns 11 integer value and I can't
relate to it for the label part.
For example
foreach ($response->iterateAllElements() as $googleAdsRow) {
/** @var GoogleAdsRow $goog
Also in the above code example I do not know how to match
`$recommendedAd->getMatchType()` numeric value to its actual text value
like (2=> Exact, 4 => Broad).
On Tuesday, May 5, 2020 at 10:45:37 PM UTC+5:30, Shiv Kumar wrote:
>
> The issue I am facing is that the google PHP
The issue I am facing is that the google PHP library wrapper doesn't tell
which function to use for each type of recommendation report for example :
foreach ($response->iterateAllElements() as $googleAdsRow) {
/** @var GoogleAdsRow $googleAdsRow */
$recommendation = $goog
It would be great if someone point me to the PHP client library
documentation for google ads API for retrieving data for all recommendation
types.
I really find it hard as the basic examples provided or the documentation
of the API or the PHP library doesn't even specify which class methods to