[Ads API] Features in IMAGE_CONVERSATION

api-access
whitelisting

#1

In POST accounts/:account_id/cards/image_conversation
I have an error: Saving value IMAGE_CONVERSATION to field CARD_TYPE requires one of these account features: CONVERSATIONAL_CARD
I dont know how to add this feature (CONVERSATIONAL_CARD) to my account.


#2

Can you provide the request and response for me to look at/reproduce?

https://dev.twitter.com/ads/overview/partner-inbounds

Thanks!


#3

I have the same problem as him.
This is my request and response:

Request:
twurl -H ads-api.twitter.com “/0/accounts/ftr8ac/cards/image_conversation” -d “name=abc&title=title&first_cta=#abc&first_cta_tweet=abc&thank_you_text=thank_you&thank_you_url=https://google.com&image_media_id=683924062544900096”

Response:
{“errors”:[{“code”:“INVALID”,“message”:“Saving value IMAGE_CONVERSATION to field CARD_TYPE requires one of these account features: CONVERSATIONAL_CARD”,“attribute”:“card_type”}],“request”:{“params”:{“name”:“abc”,“first_cta”:"#abc",“thank_you_text”:“thank_you”,“thank_you_url”:“https://google.com”,“account_id”:“ftr8ac”,“first_cta_tweet”:“abc”,“title”:“title”}}}

I dont know what it’s mean. Please help me. Thank you.


#4

@DucNguyenCBR as the error message indicates, the advertiser account you’re using doesn’t have access to this feature yet. The conversation card creative types are a beta feature not yet available to all advertisers.

You can programmatically check your access to beta features like this via the GET /accounts/:account_id/features endpoint. In this case, you would need to have the value CONVERSATIONAL_CARD in the feature list for you to be able to use this creative type.


#5

@brandonmblack thank you. I understand why I had that error.
Now, how can I add the value CONVERSATIONAL_CARD in the feature list of my account?
Can you suggest me a way to add that feature to my account?

I read ads api document and see only GET /accounts/:account_id/features but not “POST features”


#6

Getting the same error in Unit Test.
Working in Sandbox

`Account account = client.getAccount(ACCOUNT_ID);
client.setSandbox(true);
client.setTrace(true);

	ImageConversationCard imageConversationCard = new ImageConversationCard(account);

	imageConversationCard.setName("Advertiser Image Conversation Card Sample");
	imageConversationCard.setTitle("Tell the world");
	imageConversationCard.setFirst_cta("#ShareNow");
	imageConversationCard.setFirst_cta_tweet("I #Heart @AdsAPI!");
	imageConversationCard.setThank_you_text("Thank You");
	imageConversationCard.setThank_you_url("https://example.com/thankyou");
	imageConversationCard.setImage_media_id(imageMediaId);
	imageConversationCard.setCard_type("IMAGE_CONVERSATION");
	imageConversationCard.save();
	assertTrue("ImageConversationCard has an id generated", imageConversationCard.toString().contains("id"));
	// clean up
	imageConversationCard.delete();
	assertTrue("imageConversationCard has been deleted", imageConversationCard.getDeleted());	`

I then get an error stack :
Saving value IMAGE_CONVERSATION to field CARD_TYPE requires one of these account features: CONVERSATIONAL_CARD",“attribute”:“card_type”}

Is there a workaround ? Can we enable an account in Sandbox, to add features for testing ?

Thanks so much

Marc