Home » Tags

Tags

Tags can be added and deleted for advertiser, campaign and creatives.

Tags can be assigned using tags[ ], while deletion of tags is done using deleteTags[ ].

If a tag needs to be deleted, it should first be removed from tags[ ] and then added to deleteTags[ ].

If a tag needs to be edited, the old tag has to be added to deleteTags[ ] and the new tag should be added to tags[ ].

For example: Consider two tags are created for entity advertiser/campaign/creative say, tag1 and tag2 with values value1 and value2 respectively.

So tags[ ] response of advertiser/campaign/creative will contain the above 2 tags.

Now for update, say:

tag2 needs to be deleted , then tags[ ] should contain only tag1 and deleteTags[ ] should contain tag2.

tag3 needs to be added, then tags[ ] should contain only tag1 and tag3.

Value of tag1 i.e. value1 needs to be edited to value8, then tags[ ] should contain only  tag3, and tag1 with new value i.e. value8 and deleteTags[ ] should contain tag1 with old value i.e. value1.

FieldTypeDescriptionRequiredAccepted value
nameStringName of the tagTrueA valid tag name
valueStringValue of the tagTrueA valid tag value