Hi,

I am guided by the usage flow 
(https://developers.google.cn/google-ads/api/docs/batch-processing/flow#php) 
and it works well.

But when I iterate over batch results I cannot access the ad and find out 
(for example) its id.

$batchJobResult->getMutateOperationResponse()->getResponse() // 'ad_result' 
(after update operation)

$batchJobResult->getMutateOperationResponse()->getAdResult() // 
{Google\Ads\GoogleAds\V5\Services\MutateAdResult} [0]

$batchJobResult->getMutateOperationResponse()->getAdResult()->getAd() // 
always null 

$batchJobResult->getMutateOperationResponse()->getAdResult()->getResourceName() 
// works well, but is this really the only way to get the id?

Help me please :)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/58fc0b04-6a4a-4970-b40a-d210a7dd30c9n%40googlegroups.com.

Reply via email to