Hi everybody, We are having some random problems publishing certain campaigns for Twitter and we want to profit from your wisdom and experience.
The case is that we are trying to publish a campaign that has a website card, and we are sending the image_media_id as the parameter for the card (this id we extract from Twitter’s response to after uploading the image at Twitter). When we do this, we receive an error message:
“error”:[{“code”:“NOT_FOUND”,“message”:“1034441989754896384 was not found”,“parameter”:“image_media_id”}],
Just to clarify, this problem only appears when we try to publish this type of campaign for this specific account. We have no problem in publishing campaigns with the same parameters/type for other accounts.
Is it possible that we are receiving this error message because we have not “anchored” this resource/media to the media library of the account we are trying to publish this campaign (with a card) for?
based on: https://developer.twitter.com/en/docs/ads/creatives/api-reference/media-library
In general the process that we do is: we upload resources (images, gif or videos) in Twitter and we receive a response like the one posted below:
{
“media_id”: 961587887656525800,
“media_id_string”: “961587887656525825”,
“media_key”: “7_961587887656525825”,
“size”: 36474082,
“expires_after_secs”: 86399,
…
}
Immediately after that to publish the campaign with the card we define the parameter in image_media_id:961587887656525825. We have even tried image_media_id=7_961587887656525825. None of the Id’s are recognized as valid.
Can you provide any help and guidance in this. It will be greatly appreciated.
Thanks. Best,