Hello,
I am trying to download a campaign report using the ads api reporting feature, using PHP. Among other information I would like to download also the UrlCustomParameters from the campaign, but I am unsure how to build the query for the output. For all other fields I have no issue, for example the following work fine:
$campaign->getEndDate()->getValue()
$campaign->getServingStatus()
$campaign->getStatus()
$metrics->getImpressions()->getValue()
However, for the UrlCustomParamters I get the error "Call to undefined method", when I use the following:
$campaign->getUrlCustomParameters()->getValue()
$campaign->getUrlCustomParameters()->getKey()
What would be the correct query?
Many thanks in advance!
Kind regards,
Christoph