편집

다음을 통해 공유


MediaAssociation Data Object - Campaign Management

Defines an object that represents the identified media and an associated entity, for example media associated with an ad group.

You can get this object by calling GetMediaAssociations, and then use the media identifier with GetMediaMetaDataByIds, for example.

Syntax

<xs:complexType name="MediaAssociation" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="EntityId" type="xs:long" />
    <xs:element minOccurs="0" name="MediaEnabledEntity" type="tns:MediaEnabledEntityFilter" />
    <xs:element minOccurs="0" name="MediaId" type="xs:long" />
  </xs:sequence>
</xs:complexType>

Elements

The MediaAssociation object has the following elements: EntityId, MediaEnabledEntity, MediaId.

Element Description Data Type
EntityId The system identifier of the media enabled entity, for example the identifier of an ImageAdExtension. long
MediaEnabledEntity Determines the type of media to get.

Currently only ImageAdExtension is supported.
MediaEnabledEntityFilter
MediaId The system identifier of the media. long

Requirements

Service: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13

Used By

GetMediaAssociations