Invalid View Tags 1487248 - facebook

when we create view_tags,
6042082954722?view_tags=["https://da.info.co/tr?key=view_tags"]
We get this error :
{
"error": {
"message": "Invalid parameter",
"type": "FacebookApiException",
"code": 100,
"error_subcode": 1487248,
"is_transient": false,
"error_user_title": "Invalid View Tags",
"error_user_msg": "The view tags are invalid.",
"fbtrace_id": "FxlLxqGwwC4"
},
"__fb_trace_id__": "FxlLxqGwwC4"
}

You cannot just use any tag for Facebook, only certified tags. It looks like this one is not a valid domain to be used.

Related

What does Facebook error code "-1" subcode "2018012" error_key "E-1_S2018012"mean?

I received this error from Facebook, for a specific guest user:
"message": "[FacebookClient] response",
"status": 400,
"request": {
"baseURL": "https://graph.facebook.com/v8.0/",
"url": "/me/messages?access_token=EAAT9ZAq9Nm..."
},
"data": {
"error": {
"message": "(#-1) Unexpected internal error",
"type": "OAuthException",
"code": -1,
"error_subcode": 2018012,
"fbtrace_id": "AJcFpXZa28zOMut3XAUxorW"
}
},
....
"error_key": "E-1_S2018012"
Facebook documentation did not mention anything about this error. And very few info from Internet with reasons (not encode as unicode, send same payload messages in same time and timezone) that are not applicable to me.
Pls help me what it is and how to solve? Thank a lot!

How can I generate a ad preview without requiring the ad account id in the Facebook Ads API?

Though it is mentioned in the docs about generating a preview without requiring the ad_account_id (https://developers.facebook.com/docs/marketing-api/generatepreview/v13.0). I even follow the parameters required. However, I keep getting this error (even though the endpoint was mentioned in the docs)
"error": {
"message": "Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33,
"fbtrace_id": "--"
}
Endpoint:
https://graph.facebook.com/<API_VERSION>/generatepreviews?ad_format=RIGHT_COLUMN_STANDARD&creative={
"object_story_spec": {
"link_data": {
"description": "Description",
"link": "<URL>",
"message": "Message",
"name": "Name"
}
}
}&access_token=<Access_Token>
However, It works when using the same endpoint but with the ad_account_id on it and with the same set of test data. So I assume there is no issue with my set of test data.
https://graph.facebook.com/<API_VERSION>/act_<ad_account_id>/generatepreviews?ad_format=RIGHT_COLUMN_STANDARD&creative={
"object_story_spec": {
"link_data": {
"description": "Description",
"link": "<URL>",
"message": "Message",
"name": "Name"
}
}
}&access_token=<Access_Token>
Maybe I'm missing something? Not really sure.
Thanks in Advance.

Facebook graph api filtering nested object

How to filter by creativeid on Ads using facebook graph api.
I tried below query but it is not working.
act_xxxxxx/ads?fields=creative{id}&filtering=[{field: "creative",operator:"EQUAL", value:"id_of_creative"}]
act_xxxxxx/ads?fields=creative{id}&filtering=[{field: "ad.creative.id",operator:"EQUAL", value:"id_of_creative"}]
act_xxxxxx/ads?fields=creative{id}&filtering=[{field: "creative.id",operator:"EQUAL", value:"id_of_creative"}]
But for all above response is
{ "error": { "message": "(#100) Filtering field 'creative.' with operation 'equal' is not supported", "type": "OAuthException", "code": 100, "error_data": "An unknown error occurred", "fbtrace_id": "AlWsddsx" } }

How to delete a facebook marketing lead form using graph api

According to the facebook documentation here Deleting a Lead Form
this is how you do it:
Send a delete http request to https://graph.facebook.com/v2.10/formId?access_token=the_access_token.
However I get the error below when I try the above:
{
"error": {
"message": "(#210) This call requires a Page access token.",
"type": "OAuthException",
"code": 210,
"fbtrace_id": "ABC123/xyz"
}
}
When I use a Page access token (as suggest by the error response) this is what I get:
{
"error": {
"message": "(#3) Subject must be on whitelist",
"type": "OAuthException",
"code": 3,
"fbtrace_id": "IJK123/uvw"
}
}
If it matters the accessToken initially used is the same token used to create the leadform.
How can I get this to work? What am I missing?

Invalid View Tags

I am trying to add view tags to ad group, and I am always receiving the same response:
{
"error": {
"message": "Invalid parameter",
"type": "FacebookApiException",
"code": 100,
"error_subcode": 1487248,
"is_transient": false,
"error_user_title": "Invalid View Tags",
"error_user_msg": "The view tags are invalid."
}
}
I make a POST request to https://graph.facebook.com/<AD_GROUP_ID> with view_tags=["https://cdn.thenextad.com/1.php"]
The pixel seems to satisfy all requirements from here.
Do you have any ideas that might help?