Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error upon updating the AdSet flexible_spec when it contains inactive Ads #62

Closed
aamorozov opened this issue Jul 2, 2018 · 3 comments
Closed
Labels

Comments

@aamorozov
Copy link

I'm updating a bunch of adsets, and not sure why the part of them is throwing the error on update. I haven't found the description of this error in facebook docs nor here hence opening an issue. My use case is to remove flexible_spec field, so I'm pushing an empty array as a value of the property. It works for most of my adset updates but there are certain cases when it doesn't. Thank you for taking a look

Error

  status: 400,
  response:
   { error:
      { message: 'Invalid parameter',
        type: 'OAuthException',
        code: 100,
        error_subcode: 1885502,
        is_transient: false,
        error_user_title: 'Unable To Generate Display Formats',
        error_user_msg: 'Could not generate display formats for this ad',
        fbtrace_id: 'CIWB3GjOsxv' } },
  method: 'POST',
  url:
   'GRAPH_API_URL',
  data:
   { id: 'ID',
     targeting:
      { age_max: 55,
        age_min: 30,
        flexible_spec: [],
        geo_locations: [Object],
        targeting_optimization: 'expansion_all',
        publisher_platforms: [Array],
        facebook_positions: [Array],
        instagram_positions: [Array],
        device_platforms: [Array],
        custom_audiences: [Array] } } }
@aamorozov
Copy link
Author

aamorozov commented Jul 3, 2018

I was able to narrow it down a bit - the AdSets that were throwing an error upon update had inactive/paused Ads within them. I think the error message could be more descriptive, but besides that, is expected behavior to not be able to update the AdSet flexible_spec if said AdSet contains inactive Ads?

@aamorozov aamorozov changed the title Error upon updating the AdSet flexible_spec Error upon updating the AdSet flexible_spec when it contains inactive Ads Jul 3, 2018
@stale
Copy link

stale bot commented Jan 14, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Jan 14, 2020
@stale
Copy link

stale bot commented Jan 21, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant