Hi Steven,
Thank you for posting your concern. Allow me to provide support to your concern.
As for creating expanding text ads, you may refer to this
sample code. With regard to concern about adding label to ads, I am afraid that there is currently no sample code or implementation for this. However, let me discuss how to assign label on ads based on this
document. To assign labels to an ad, you may pass one or more
AdGroupAdLabelOperation to
AdGroupAdLabelService.MutateAdGroupAdLabels. Each
AdGroupAdLabelOperation includes an
AdGroupAdLabel instance, which contains:
label - The ID of a label.
{ad_group_id} - The ad group ID where ad belong
{ad_id} - Ad ID where label will be assigned
You will need to create a
AdGroupAdLabel instance for each label/ad pair, wrap it in a
AdGroupAdLabelOperation with the create operation, and send it to
AdGroupAdLabelService.MutateAdGroupAdLabels.
Hope this will help. Let me know if you have further questions.
Regards,
 |
| Ernie John Blanca Tacata |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q2GJJyB:ref