So, I successfully create price extension via google ads api v4 (we are
planning to upgrade to version 6, but for now I have to cope with v4)
Request for creating price extension looks like this:
customer_id: "3084105835"
operations {
create {
price_feed_item {
type: BRANDS
language_code {
value: "en"
}
price_offerings {
header {
value: "Some header 1"
}
description {
value: "Some description 1"
}
price {
currency_code {
value: "RUB"
}
amount_micros {
value: 10000
}
}
unit: PER_YEAR
final_urls {
value: "http://elama.global"
}
}
price_offerings {
header {
value: "Some header 2"
}
description {
value: "Some description 2"
}
price {
currency_code {
value: "RUB"
}
amount_micros {
value: 10000
}
}
unit: PER_YEAR
final_urls {
value: "http://elama.global"
}
}
price_offerings {
header {
value: "Some header 3"
}
description {
value: "Some description 3"
}
price {
currency_code {
value: "RUB"
}
amount_micros {
value: 10000
}
}
unit: PER_YEAR
final_urls {
value: "http://elama.global"
}
}
}
extension_type: PRICE
}
}
The created item reference:
"'customers/3084105835/extensionFeedItems/146825616700'"
Then I try to create customer extension setting with this price extension
via CustomerExtensionSettingService, and I get a 500 Internal server error
Request looks like this:
customer_id: "3084105835"
operations {
create {
resource_name: "customers/3084105835/customerExtensionSettings/PRICE"
extension_type: PRICE
extension_feed_items {
value: "customers/3084105835/extensionFeedItems/146825616700"
}
device: DESKTOP
}
}
What am I doing wrong?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/e6b4a188-8818-4eb9-9efc-32cc91fe0407n%40googlegroups.com.