Hi Shiv,
This issue appears to be related to the client library so I would recommend
posting it on the GitHub Issues page here. Their team will be more equipped to
assist you.
Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5004Q1zK8TD:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
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()
Hi Shiv,
I'm glad the protos helped! For your first issue, could you please provide the
complete detailed request and response logs for the call via Reply privately to
author so I can further investigate the issue? You can find information on
enabling logging here.
For the sitelink extension r
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
Hi Shiv,
For your first question, you can find this information in the resource of the
desired recommendation type. For the example of keyword recommendations, you
can retrieve the values available in KeywordRecommendation and for text ad
recommendations, TextAdRecommendation.
To understand th
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 library wrapper does
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
Hi Shiv,
Thank you for reaching out. You can see here for an example of getting all Text
Ad recommendations. This example uses the recommendation report so you can
modify it by using the different attributes listed there. For example, to get
recommendations of type KEYWORD, you can change 'WHER
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