Hi,
Thank you for reaching out. To retrieve the values for a specific resource, you could query the resource_name of that resource and then map the corresponding attributes from that resource. For example, from the ad_group_criterion.resource_name we could tell that the returned values would match `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` so you could easily get the values of {customer_id}, {ad_group_id} and {criterion_id}. You would also be able to query these attributes directly from the ad_group_criterion resource.
Thanks and regards,
Xiaoming, Google Ads API Team
|
||||||
Hi,
Thank you for reaching out. You could query the resource name of the specific resource to fetch all the values and the resource name as a whole. You could also use the specific function from the ResourceNames class to form and return the resource name.
Thanks and regards,
Xiaoming, Google Ads API Team