title: facebook-business-sdk AdImage creation
body: <p>I can't create  AdImage correctly using facebook-business-sdk V12.0.1.
  Trying:</p>
  <pre class="lang-php prettyprint-override"><code>use FacebookAds\Object\AdImage;
  use FacebookAds\Object\Fields\AdImageFields;
  $image = new AdImage(null, $account-&gt;id);
  $image-&gt;{AdImageFields::FILENAME} = $img_url;
  $image-&gt;create();
  </code></pre>
  <p>It works, <code>$image-&gt;hash</code> is valid, but I get 3 Deprecated messages:</p>
  <blockquote>
  <p>Deprecated: $parent_id as a parameter of constructor is being deprecated, please try not to use this in new code. in FacebookAds\vendor\facebook\php-business-sdk\src\FacebookAds\Object\AbstractCrudObject.php on line 86</p>
  </blockquote>
  <blockquote>
  <p>Deprecated: assureParentId is being deprecated, please try not to use this in new code. in FacebookAds\vendor\facebook\php-business-sdk\src\FacebookAds\Object\AbstractCrudObject.php on line 157</p>
  </blockquote>
  <blockquote>
  <p>Deprecated: getParentId is being deprecated, please try not to use this in new code. in FacebookAds\vendor\facebook\php-business-sdk\src\FacebookAds\Object\AbstractCrudObject.php on line 146</p>
  </blockquote>
  <p>Trying:</p>
  <pre class="lang-php prettyprint-override"><code>$image = $account-&gt;createAdImage(
    array(),
    array(
      AdImageFields::FILENAME =&gt; $imgname,
    )
  );
  </code></pre>
  <p>I don't get error messages, but it don't works: at the end <code>$image-&gt;hash</code> is empty.</p>
  <p>What's the correct way to create ImageAd nowadays?</p>