Hello Matt,

here is my comment from the Python client library GitHub issue:
*****

Same issue here. In fact, I can confirm it's not only Sitelinks, but other 
extensions as well (my example uses Promotion Extensions).
*Batch job #0 has a status "Field 'resource_name' cannot be modified by 
'CREATE' operation., at 
mutate_operations[0].extension_feed_item_operation.create.resource_name" 
and response type "N/A"*
*Batch job #1 has a status "Multiple errors in ‘details’. First error: 
Field must be set., at 
mutate_operations[1].ad_group_extension_setting_operation" and response 
type "N/A" *

I didn't try going with setting the .id property, but that should not be 
the solution as described in:
https://developers.google.com/google-ads/api/docs/batch-processing/temporary-ids

The operations list looks like this:
*[extension_feed_item_operation { create { resource_name: 
"customers/1234567890/extensionFeedItems/-2" promotion_feed_item { 
discount_modifier: UP_TO occasion: SUMMER_SALE promotion_target: 
"Heisenberg Goodies" percent_off: 17 final_urls: 
"http://www.example.com/sale"; } extension_type: PROMOTION 
targeted_ad_group: "customers/1234567890/adGroups/987654321098" } } , 
ad_group_extension_setting_operation { create { extension_type: PROMOTION 
ad_group: "customers/1234567890/adGroups/987654321098" 
extension_feed_items: "customers/1234567890/extensionFeedItems/-2" } } ] *

This should work, but it does not.

On Thursday, March 4, 2021 at 12:09:24 AM UTC+1 Antoni Martyniuk wrote:

> Hello Matt!
>
> Here is the operation:
>
> ad_group_extension_setting_operation { create { extension_type: SITELINK 
> ad_group: "customers/<hidden>/adGroups/-27" extension_feed_items: 
> "customers/<hidden>/extensionFeedItems/-34" } }
>
> Looks like it's not just me 
> https://github.com/googleads/google-ads-python/issues/386#issuecomment-789543456
>
> środa, 3 marca 2021 o 16:20:40 UTC+1 adsapiforumadvisor napisał(a):
>
>> Hello,
>>
>> My name is Matt and I work alongside Ernie. Thanks for providing the 
>> errors from the operation at index, 51. Would it be possible for you to 
>> send us the operation that gave you the error you mentioned?
>>
>> Thanks,
>> Matt
>> Google Ads API Team
>>
>> [image: Google Logo] 
>> Matt 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2DJguC:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2a821920-e4a6-40a3-a03f-16abb78f5cc1n%40googlegroups.com.

Reply via email to