Hello,
I'm trying to programmatically updates page_feed_assets. I'm following the
documentation here:
https://developers.google.com/google-ads/api/reference/rpc/v10/AssetOperation
As noted in the documentation: "Update operation: The asset is expected to
have a valid resource name in this format:
customers/{customer_id}/assets/{asset_id}"
I'm not sure how add the resource name. I've tried something like this:
```
operation = client.get_type("AssetOperation")
page_feed_asset = operation.update.page_feed_asset
page_feed_asset.resource_name = "customers/xxxx/assets/xxxx"
page_feed_asset.labels.append('test')
operation
```
This gives me the error "AttributeError: Unknown field for PageFeedAsset:
resource_name".
Any help would be appreciated.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/c1821183-85c5-453b-babd-102046c3998bn%40googlegroups.com.