Parameters

userCredential: the client user credential.

requestedLocale: optional locale to use for this request.

partitionName: optional name of the campaign partition to use.

reference: optional reference for the component or template that the metadata should be bound to. If not supplied, the created metadata definition is global. If the reference is supplied, but not valid, then throws InvalidComponentException.

attributeMetadata: an array of attribute metadata definitions to bind. If one or more of the specified metadata already is bound to the component, that is, the name is not unique, then throw AttributeExistsException. Throws InvalidAttributeException if there is a problem with one or more of the specified metadata, that is, it is internally inconsistent.