Teilweiser Ausfallshare-external
adcreatives API failing while creating an Ad on the ADs platform.
1

I'm trying to create an Ad on Meta Ads for an asset uploaded from local using the Graph APIs. I am sending the following payload to the adcreatives API, The Ads account I'm using is linked to an instagram account. On the Meta Business Suite, the facebook page and instagram account are linked. The API Call fails with the following error,

==== Access Token Info
  {
    "perms": [
      "pages_show_list",
      "ads_management",
      "ads_read",
      "business_management",
      "instagram_basic",
      "instagram_manage_insights",
      "instagram_content_publish",
      "pages_read_engagement",
      "pages_manage_ads",
      "pages_manage_posts",
      "public_profile"
    ],
    "user_id": "<user-id>",
    "app_id": <app-id>
  }
==== Parameters
- POST Parameters
{
  "name": "Unpublished Video Creative",
  "object_story_spec": {
    "video_data": {
      "call_to_action": {
        "type": "LEARN_MORE",
        "value": {
          "link": "<insert-link>"
        }
      },
      "message": "Test Ad message or description",
      "title": "Test Ad Title",
      "video_id": "<video-id>"
    }
  },
  "page_id": "<facebook-page-id>"
}
==== Response
  {
    "error": {
      "message": "Invalid parameter",
      "type": "OAuthException",
      "code": 100,
      "error_subcode": 1443121,
      "is_transient": false,
      "error_user_title": "Facebook Page is Missing",
      "error_user_msg": "Select a Facebook Page to represent your business.",
    }
  }

Any ideas on what I might be doing wrong?

Manav
Gefragt vor etwa 2 Wochen