Hello,

I am using this example : 
https://developers.google.com/adwords/api/docs/samples/php/basic-operations#get-expanded-text-ads-in-an-ad-group,
 
trying to get an url from an ad.

My selector looks like this : 
$selector->setFields(
            ['DisplayUrl', 'Url']
        );

Those 2 fields are said to be filterable : 
https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201809-AdGroupAdService

My problem is when i am using $adGroupAd->getAd()->getUrls 
or $adGroupAd->getAd()->getDisplayUrl() (see the example above), it always 
return NULL for both fields.

I am sure that the ads that i m requesting on, have urls, so i dont 
understand why ?


Thanks in advance.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/c8e55d55-5676-4eda-9b4d-7f1f6067e1ddn%40googlegroups.com.

Reply via email to