Here's what I've done. I'm using Python programming language.

res = requests.put(     url='https://graph.facebook.com/v13.0/messages/wamid.HBgMOTE4NzgwNDk1ODA0FQIAEhggQkU2OURGQUYyMzdCNDlBRkQ1QUI4RERBNDdENDBBOEIA',      header = {         "Authorization": "Bearer my-auth-token",         "Content-Type": "application/json"     },      data=json.dumps({"status": "read"}) ) print(res.json()) 

Output:

{'error': {'message': 'Unknown path components: /wamid.HBgMOTE4NzgwNDk1ODA0FQIAEhggQkU2OURGQUYyMzdCNDlBRkQ1QUI4RERBNDdENDBBOEIA', 'type': 'OAuthException', 'code': 2500, 'fbtrace_id': 'A6f8nCvHOSXSZcAGmevCGeJ'}} 

I need some help.

As described in the Title, the Google AdsMob does not work properly.

I built the app according to the tutorial, however i receive the above mentioned error plist:

<key>GADApplicationIdentifier</key> <string>app id from google</string> 

Viewcontroller:

private let banner: GADBannerView = {     let banner = GADBannerView()     banner.adUnitID = Banner ID     banner.load(GADRequest())     banner.backgroundColor = .secondarySystemBackground     return banner }() viewDidLoad(){ banner.rootViewController = self         view.addSubview(banner) } 

It seems that it doesn't matter wether the banner.view is created or not. The app shows a black screen an error message is:

[I-ACS025031] AdMob App ID changed. Original, new: (nil),

I am working with a Macbook Air M1

In Google's Click Conversion object documentation, they do not describe the conversionValue parameter very well. They say it must be a numerical value. However, often times with numerical values in programming, there are some issues with numbers being passed that become floats and the precision can sometimes be lost, giving you an unexpected output compared to your input. For instance, in some eCommerce APIs, they want you to overcome this float problem by passing monetary values by multiplying the value by 100. So, let's say I want to pass '0.01' in this field. Is the API flexible enough if I pass it as 0.01 and not in a string? Or if I wrap it as a string like '0.01', will it automatically compute its numerical value with no float precision issue? Or, do I need to treat it like many eCommerce APIs and multiply it by 100 and pass it as (0.01*100) or 1?

I'm using the REST API for posting click conversions to Google Ads. I need to know how to specify the numerical value for conversionValue, and need to know that if I pass it as "0.01" as a double-quoted string in the JSON, if it will work or if it will compute it as zero because it wasn't a numerical value?

Note also that this SO article doesn't really answer because it's talking about the value as a tracking pixel version of posting the conversion to Google, and not a JSON API value used for posting offline conversions. It was interesting to note that this SO poster seemed to have some kind of proof that Google stores this value as a Double, although I don't see any documentation for this. I also don't know how the API treats a string of "0.01" when being passed to this value, and whether it converts it to 0.01 in a Double format in such a way that it won't lose precision on that data.

Can someone please clarify which is the correct WhatsApp Business Account ID to use to access the WhatsApp cloud API?

I have properly set up my webhook and can receive messages. However when I try to send a message using the WhatsApp Business Account ID (marked as number 1 in the attached image) provided here, I get the following error:

error: {     message:       "Unsupported post request. Object with ID '< my app id>' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",     type: "GraphMethodException",     code: 100,     error_subcode: 33,     fbtrace_id: "AQXqjuSJKTWBnyJdUK_W-jj", },  

However when I switch to the second WhatsApp Business Account ID in the curl command (marked as number 2 in the attached image), it works.

What confuses me is that the incoming message has the first WhatsApp Business Account ID (marked number 1 in the attached image) like so:

message: {   object: "whatsapp_business_account",   entry: [     {       id: "xxxxxxxxxxxxxxx",  // This matches the first       changes: [           ...       ],     },   ], }; 

I am using the current api v14.0. Is there some setting I need to change?

I'm developing an application for a client that needs to be hosted in one of their systems.
I already have a developer token and a functioning API but it has access to every ad account I own under my MCC.

I would like to have a token that only has access to a restricted subset of ad accounts, as I obviously cannot share my full token with the client.

I have already tried the service account authentication but it doesn't anwswer my needs.

edit: any tips on sharing secrets is welcome if the functionality is not natively supported by the API