You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`$name_post = "accounts/xxxx/locations/xxxx/localPosts/xxxx";
$post_body = new \Google_Service_MyBusiness_LocalPost;
$post_body->setLanguageCode('en');
$post_body->setSummary('test_new'); // post text
$call = new \Google_Service_MyBusiness_CallToAction;
$call->setActionType('LEARN_MORE');
$call->setUrl('https://www.xyz.net/'); // URL to link to
$post_body->setCallToAction($call);
$media = new \Google_Service_MyBusiness_MediaItem;
$media->setMediaFormat('PHOTO');
$media->setSourceUrl('https://www.xyz.net/modules/images/home.jpg');
$post_body->setMedia($media);
try {
Kindly provide examples of edit and delete the post from Google My Business
The text was updated successfully, but these errors were encountered: