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 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/b12d60b9-132c-4569-a59d-a55c9b9c6bc3%40googlegroups.com.
