Hello Don, The ad_group_ad.ad.url_custom_parameters field will populate the list of key-value pair of custom parameters in the urlCustomParameters part of the response. You may not see this parameter in the response if your Ad does not have any custom parameters. I ran a test with the same query mentioned and got the custom parameter shown in the response under "urlCustomParameters", attached request and response REST logs (redacted sensitive data) for your reference. If the problem persists, please share the SOAP logs (request and response) without redacting any data. You could use reply privately to author option while sharing.
Regards, Sai Teja, AdWords API Team. On Friday, August 3, 2018 at 10:33:21 AM UTC-4, Don Mitchell wrote: > > For a field like `ad_group_ad.ad.url_custom_parameters` which is a > repeated field of objects, will `GoogleAds.search` return a list of objects > if queried like that or does your code need to query ` > ad_group_ad.ad.url_custom_parameters.key, > ad_group_ad.ad.url_custom_parameters.value` and then zip the results? > > Fuller example fwiw > ``` > > select ad_group_ad.ad.type, ad_group_ad.ad_group, ad_group_ad.ad.id, > ad_group_ad.ad.url_custom_parameters, ad_group_ad.status, > ad_group_ad.ad.final_urls > > from ad_group_ad where campaign.id = ####### > > ``` > > In this case, `ad_group_ad.ad.final_urls` comes back as a list of strings, > but so far I've not gotten anything back for > ad_group_ad.ad.url_custom_parameters > > > Side beef: I tried many incantations for the `where` clause and kept getting > internal errors from google. I tried `ad_group.campaign = resource_name, > > ad_group.campaign.resource_name, ad_group_ad.campaign.resource_name` and kept > getting completely unhelpful internal errors. > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e0a5e5ec-07a3-4cbe-bb6f-fc30a1e1610f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Request and Response logs
Description: Binary data
