I am trying to create a workflow where based on user queries we send some products from the Facebook business catalog to WhatsApp as a single product and list product card as mentioned in the below link: https://developers.facebook.com/docs/whatsapp/guides/commerce-guides/share-products-with-customers

I have created a permanent access token using the system user and I am able to access the catalog and also the products inside the catalog with the access token.

Also using the same token I am able to send normal text and images on whatsapp. Now the issue is when I am trying to send specifically a product as an interactive card, I am getting the below mentioned issue.

{   "error": {     "message": "(#131009) Parameter value is not valid",     "type": "OAuthException",     "code": 131009,     "error_data": {       "messaging_product": "whatsapp",       "details": "Invalid catalog_id."     },     "error_subcode": 2494010,     "fbtrace_id": "AgVHaK1LySusku-_NFpkCNR"   } } 

But the catalog exists and I am also able to access products inside this catalog.

Fetching all the catalogs

Fetching products inside a catalog

Sending Messages as an interactive card for the catalog

I am working with Google Ads API. Based on my use case, I need to get the impressions, clicks, and other statistics about the products based on location(Without creating the campaign).

I contacted the Google Ads API team to address the issue but the doc reference they provided me didn't work in my case. (I'm not using keywords also)

  1. generate forecast metrics

And also the query I used to access the data is...

public void queryTest(long customerId,String campaignId) {     try (GoogleAdsServiceClient googleAdsServiceClient =                  googleAdsClient.getLatestVersion().createGoogleAdsServiceClient()) {         SearchGoogleAdsStreamRequest request =                 SearchGoogleAdsStreamRequest.newBuilder()                         .setCustomerId(Long.toString(customerId))                         .setQuery("SELECT metrics.clicks, metrics.impressions,geographic_view.country_criterion_id FROM geographic_view WHERE geographic_view.country_criterion_id = 1009919")                         .build();         ServerStream<SearchGoogleAdsStreamResponse> stream =                 googleAdsServiceClient.searchStreamCallable().call(request);         for (SearchGoogleAdsStreamResponse response : stream) {             for (GoogleAdsRow googleAdsRow : response.getResultsList()) {                 System.out.println("outPut"+googleAdsRow.getGeographicView());             }         }     } } 

Can someone please help me to resolve this issue?? Thank you!!

I am trying to create ads in Google using REST Api. As per the REST API documentation passing the following request body.

{ "operations": [     {         "create": {             "adGroup": "customers/*********/adGroups/*********",             "status": "PAUSED",             "ad": {                 "expandedTextAd": {                     "headlinePart1": "Example heading",                     "headlinePart2": "Exmaple heading 2",                     "description": "Sample description about ad"                 },                 "finalUrls": [                     "https://www.example.com"                 ]             }         }     } ], "partialFailure": false, "validateOnly": true } 

Endpoint: https://googleads.googleapis.com/v11/customers/{customer_id}/adGroupAds:mutate

Anyone can suggest what I am missing?