주요 콘텐츠로 건너뛰기

Hub profile display for custom attributes

What's new

Campaign custom attributes accept an optional, nullable profile_display object that controls how the attribute is presented on the hub profile. It holds a display_name, an icon_url, and a value_format of string, number, or currency — the format is applied to the value, or to each element of a list value.

Impact

An attribute that was previously shown only by its raw name can now be given a player-facing label, an icon, and a value format, without any change to how the attribute itself is stored or evaluated. Attributes without profile_display are unaffected.

Changes

ResourceChange
create_campaign, update_campaignAdded optional profile_display to each entry of custom_attributes in the request body
get_campaigns, get_campaign, get_campaigns_by_ids, update_campaign_graphAdded profile_display to custom attributes in campaign responses
ComponentsAdded the ProfileDisplay and ProfileValueFormat schemas

Upgrade

  • No action required. Omit profile_display — or send null — to keep the current presentation.

도움이 필요하세요?
통합팀에 문의하십시오 integration@aghanim.com