Hello,

I'm trying to pull a report for Ads, and I'm having difficulty getting URLs 
and text for image and headline assets. I'm able to get the resource names 
for them, but have been unable to pull actual image urls and the actual 
headlines. 

I've tried a few of approaches and have been scouring the php library but 
can't seem to find what I need. 

1. $googleAdsRow->getAdGroupAd()->getAd()->getImageAd() - Returns null
1.a. getImageAd is supposed to return an ImageAdInfo object that has a 
getImageUrl method on it, but sincee ImageAdInfo is null, I cant' use it.
2. $googleAdsRow->getAdGroupAd()->getAd()->getResponsiveDisplayAd() returns 
iterator 
2.a Iterate over return from 2 and use getAsset(), returns resource name

I've faced similar issues w/ text ads.

So a few questions:
i. Is what I'm trying to do possible? (seems like it should be)
ii. What do I need to do?

Thanks for your help!

Best,
Matt

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e4385bc3-d9ff-494f-9e5a-8b78a78d5633n%40googlegroups.com.
  • Ho... MATTHEW Dworkin
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to