facebookarchive / php-graph-sdk

The Facebook SDK for PHP provides a native interface to the Graph API and Facebook Login. https://developers.facebook.com/docs/php
Other
3.18k stars 1.96k forks source link

Ads creative post was created by an app that is in development mode error #1125

Open lavorato opened 5 years ago

lavorato commented 5 years ago

Hello guys! We are experiencing an issue using the 3.3 API version with SDK. We've an Sandbox enviroment witch use an associated page that are was created by the user Sandbox Ad Account Owner.

We're receiving the error below when we are in the "creative" step (we already created the adset and campaing with success). The error message is: "Ads creative post was created by an app that is in development mode. It must be in public to create this ad" with the error code 100 and error subcode 1885183.

Do you guys already have experienced this error? Thanks!

Stathismi commented 5 years ago

Hi Lavorato , i am experiencing the same problem, have you found a solution to this? thanks

lavorato commented 5 years ago

Hello,

Not yet… We’re trying to use the OpenGraph insted the SDK but unfortunately we have not found a solution.

On 3 Jun 2019, at 06:58, Stathismi notifications@github.com wrote:

Hi Lavorato , i am experiencing the same problem, have you found a solution to this? thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/facebook/php-graph-sdk/issues/1125?email_source=notifications&email_token=ABUVFRN542WUAEHQ3TTJ643PYTTLPA5CNFSM4HQQMNBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWY5DSY#issuecomment-498192843, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUVFRM2ZWRBC3FO4JJBZDLPYTTLPANCNFSM4HQQMNBA.

alpeshrajodiya94 commented 5 years ago

Hi,

I am also getting the same error. have you found any solution?

Thanks.

tanhy76 commented 5 years ago

Hi, Anyone found a solution or explanation? I hit the same error by using Java SDK for Facebook Marketing API v3.3, using Sandbox ad account.

tanhy76 commented 5 years ago

Found that it is a known issue by FB. See the link https://developers.facebook.com/support/bugs/405618393319208/

dynamicfun commented 5 years ago

I have the same problem and tried to follow the suggestion: "create a screencast of an user creating a campaign -> adset -> ad and hardcode the ID of an existing creative"

But how can I get a valid creative ID?

I tried to create "by hand" in the business manager and then copy from here

but the facebook api call to create the Ad answers with error:

Do you have any suggest? Many thanks

Kaspler commented 5 years ago

@dynamicfun ,

The ID you are trying to copy is probably an ID on an Ad, not a Creative.

You can fetch all your creatives using Facebook API: Get: act_ACCOUNT_ID/adcreatives

https://developers.facebook.com/tools/explorer/?method=GET&path=act_ACCOUNT_ID%2Fadcreatives&version=v4.0&classic=0

The workaround worked for me: I was able to create an add, using ID of a creative that I created manually.