https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/webhooks#step-2--enable-page-subscriptions
See reference and API I enabled page subscriptions via , but the Instagram Story Insights webhook was never sent to the expected callback URL.
POST
"https://graph.facebook.com/v19.0/{page-id}/subscribed_apps?subscribed_fields=feed&access_token={page-access-token}
Add prerequisites. - "Configure Webhooks Product" completed - "story_insights" is already subscribed - App mode is "Development" - The application for "Advanced access" in "Permissions and Functions" has not been completed.
I don't know if the request parameters for "enable page subscription" are different, if the target endpoint is different, or if the settings are missing, so please help me.

we are using an app for Facebook Business Manager that allows us to manipulate users' catalogs, enabling us to dynamically add products to their Meta catalog. We are looking to use the "commerce_account_read_settings" permission to determine which of their catalogs is linked to their store. However, this permission does not provide an option for an advanced access request, which means it can be used only by users within this app. Is there a way to submit an advanced access request for this permission so that we can interact with all users and not just those within our business manager?

I do not know where the OAuth error comes from, when I use a wrong ID or access token i get a different error.

curl -i -X POST "https://graph.threads.net/v1.0/user_id_placeholder/threads" -d "media_type=IMAGE" -d "image_url=https://i.postimg.cc/7LLYvNSq/pexels-ozanculha-17858988.jpg" -d "text=#BronzFonz" -d "access_token=placeholder" 
{"error":{"message":"An unexpected error has occurred. Please retry your request later.","type":"OAuthException","is_transient":true,"code":2,"fbtrace_id":"AuXxSa8ftZnjb-aSSAuGr_O"}} 

I want to create a campaign through the Google Ads API. And I've successfully created a campaign. But when I compared it with the UI created one, I realized that I didn't choose a custom goal. In the UI I'll set it up like this. enter image description here

I can get all the custom goals via GAQL.

SELECT    custom_conversion_goal.resource_name,    custom_conversion_goal.id,    custom_conversion_goal.name,    custom_conversion_goal.conversion_actions,    custom_conversion_goal.status,    customer.id  FROM custom_conversion_goal  WHERE custom_conversion_goal.name='xxx' 

This is shown in the figure below.enter image description here

Now, I want to select the custom goal from the query while creating a campaign using google ads api.How should I write my python code?

Reference document link

Also, I've attached the sample code for the base campaign that I've successfully created, it's not much different from what's in the documentation.

import sys from google.ads.googleads.client import GoogleAdsClient from google.ads.googleads.errors import GoogleAdsException _DATE_FORMAT = "%Y%m%d" def handle_googleads_exception(exception):     print(         f'Request with ID "{exception.request_id}" failed with status '         f'"{exception.error.code().name}" and includes the following errors:'     )     for error in exception.failure.errors:         print(f'\tError with message "{error.message}".')         if error.location:             for field_path_element in error.location.field_path_elements:                 print(f"\t\tOn field: {field_path_element.field_name}")     sys.exit(1) def create_campaign(client, customer_id):     campaign_budget_service = client.get_service("CampaignBudgetService")     campaign_service = client.get_service("CampaignService")     campaign_budget_operation = client.get_type("CampaignBudgetOperation")     campaign_budget = campaign_budget_operation.create     ampaign_budget.amount_micros = 50000000     campaign_budget.explicitly_shared = False     campaign_budget_response = None     try:         campaign_budget_response = campaign_budget_service.mutate_campaign_budgets(             customer_id=customer_id, operations=[campaign_budget_operation]         )     except GoogleAdsException as e:         handle_googleads_exception(e)     campaign_operation = client.get_type("CampaignOperation")     campaign = campaign_operation.create     campaign.name = 'campaign-test1'     campaign.status = client.enums.CampaignStatusEnum.PAUSED campaign.tracking_url_template = "{...}"     campaign.advertising_channel_type = client.enums.AdvertisingChannelTypeEnum.DISPLAY     campaign.targeting_setting.target_restrictions.targeting_dimension = client.enums.TargetingDimensionEnum.AUDIENCE     campaign.targeting_setting.target_restrictions.bid_only = False     campaign.audience_setting.use_audience_grouped = False     campaign.geo_target_type_setting.positive_geo_target_type = client.enums.PositiveGeoTargetTypeEnum.PRESENCE     campaign.geo_target_type_setting.negative_geo_target_type = client.enums.NegativeGeoTargetTypeEnum.PRESENCE     campaign.target_cpa.target_cpa_micros = 100000     campaign.campaign_budget = campaign_budget_response.results[0].resource_name     # Setting the specified custom goal but with an error     # AttributeError: Unknown field for Campaign: conversion_goal_campaign_config     campaign.conversion_goal_campaign_config.custom_conversion_goal = "customers/xxxx/customConversionGoals/xxxxx"     try:         campaign_response = campaign_service.mutate_campaigns(             customer_id=customer_id, operations=[campaign_operation]         )         print(f"Created campaign {campaign_response.results[0].resource_name}.")     except GoogleAdsException as ex:         handle_googleads_exception(ex) if __name__ == '__main__':     googleads_client = GoogleAdsClient.load_from_storage(         path=r"./google-ads-th.yaml",         version="v17"     )     customer_id = "xxxx"     create_campaign(googleads_client, customer_id) 

I never found in the documentation how to select a custom goal when creating campaign.and I had to specify the campaign type as DISPLAY. It can't be a performance max campaign or an app campaign. Both campaigns can specify a custom goal. Because it is clearly stated in the documentation.

Hi there, The specifications for the Reel specify a limit of 1 GB. https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media
but when trying to upload a video greater than 180 MB but less than 1 GB (716 MB in the example), (https://static.elecktra.net/organic/ZQfyoNKU8hBb5aLoVB6L-yMo-Bw=) we got an internal error 2207053 is returned.
The error is :
"error_subcode": 2207053,
"is_transient": false,
"error_user_title": "",
"error_user_msg": "unknown upload error",
"fbtrace_id": "",
"StatusCode": 0,
"RecommendedSolution": "An unknown error occurred during upload. Generate a new container and use it to try again. This should only affect video uploads.",
Note that we also tried the new flow resumable uploading but it does not work https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/content-publishing#resumable-upload-protocol here is our request
curl --location --request POST 'https://rupload.facebook.com/ig-api-upload/v20.0/18032195951319562' \
--header 'Authorization: OAuth {my_token}' \
--header 'file_url: https://static.elecktra.net/organic/ZQfyoNKU8hBb5aLoVB6L-yMo-Bw=' \
--header 'Content-Type: text/plain'
and we got result
{
"debug_info": {
"retriable": false,
"type": "ProcessingFailedError",
"message": "Request processing failed"
}
}
with status of the init container - 18032195951319562 is
{
"id": "18032195951319562",
"status": "In Progress: Media is still being processed.",
"status_code": "IN_PROGRESS",
"video_status": {
"uploading_phase": {
"status": "error",
"bytes_transferred": 0,
"source_file_size": 0,
"errors": [
{
"code": 1363008,
"message": "File not found"
}
]
},
"processing_phase": {
"status": "error"
}
}
}
So I want to confirm that reels actually support a maximum of 1Gb or this is a bug?