Re: creating a bumper video ad via api

2023-09-05 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for returning to our team.

Please note that our team can only provide support to Google Ads API-related 
concerns and technical implementations. That being said, since this is specific 
to creating a video ad via Google Ads Scripts, then I would suggest reaching 
out to the Google Ads Scripts team via this link 
(https://developers.google.com/google-ads/scripts/docs/support/get-help) as 
they are better equipped to provide assistance to this matter.
This message is in relation to case "ref:_00D1U1174p._5004Q2oApJq:ref"

Thanks,

Google Ads API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/iS8vC0S0ITAQ00HNIg5D03SKeAQxuiIKhSHA%40sfdc.net.


Re: creating a bumper video ad via api

2023-09-05 Thread Dennis R
Can you give me a specific example of how to create a video ad via Google 
Ads Scripts and/or Bulk Actions Uploads (Excel or CSV)?

Regards

Google Ads API Forum Advisor schrieb am Dienstag, 5. September 2023 um 
13:52:31 UTC+2:

> Hi,
>
> Thank you for reaching out to the Google Ads API Forum.
>
> I can see that you are trying to create a video ad via API. However, 
> please note that as per this documentation (
> *https://developers.google.com/google-ads/api/docs/ads/ad-types#ad_type_compatibility*
>  
> ),
>  
> the Google Ads API permits only *reporting* of video ads. Video campaigns 
> must be created using the *UI* 
>  or *Google Ads 
> scripts*. Video ads and video campaigns are currently not mutable in 
> Google Ads API. With this, our team has already raised a feature request 
> for this subject for review. What we can do is to advise you to keep an eye 
> on our *blog post* and *release notes* for the updates and releases.
>
> *Reference Links:*
>
>- *reporting*: 
>*https://developers.google.com/google-ads/api/fields/v14/video* 
> 
>- *Google Ads scripts: *
>
> *https://developers.google.com/google-ads/scripts/docs/features/video-campaigns*
>  
>
> 
>  
>- *blog post* - 
>https://ads-developers.googleblog.com/search/label/google_ads_api 
>- *release notes - *
>https://developers.google.com/google-ads/api/docs/release-notes  
>
> This message is in relation to case "ref:_00D1U1174p._5004Q2oApJq:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4e8f7213-9bbc-4ae7-9083-820f561491e8n%40googlegroups.com.


RE: creating a bumper video ad via api

2023-09-05 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to the Google Ads API Forum.

I can see that you are trying to create a video ad via API. However, please 
note that as per this documentation 
(https://developers.google.com/google-ads/api/docs/ads/ad-types#ad_type_compatibility),
 the Google Ads API permits only reporting of video ads. Video campaigns must 
be created using the UI or Google Ads scripts. Video ads and video campaigns 
are currently not mutable in Google Ads API. With this, our team has already 
raised a feature request for this subject for review. What we can do is to 
advise you to keep an eye on our blog post and release notes for the updates 
and releases.

Reference Links:

reporting: https://developers.google.com/google-ads/api/fields/v14/video
Google Ads scripts: 
https://developers.google.com/google-ads/scripts/docs/features/video-campaigns
blog post - https://ads-developers.googleblog.com/search/label/google_ads_api
release notes - https://developers.google.com/google-ads/api/docs/release-notes

This message is in relation to case "ref:_00D1U1174p._5004Q2oApJq:ref"

Thanks,

Google Ads API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/hRwpB0S0IGYW00lhA3GcU6TtOkB3fsON1xqg%40sfdc.net.


Creating a bumper video ad via api

2023-09-05 Thread Dennis R
I am currently trying to create a Bumper-Ad(Class: 
VideoBumperInStreamAdInfo) via the API.I am aware that a corresponding 
campaign and AdGroup cannot be created via the API, however I have already 
found posts here in the forum that indicate that it is possible to create 
bumper ads via the API. For example here: 
https://groups.google.com/g/adwords-api/c/wD6U0cpAmOk/m/0g7V8CDABQAJI have 
already created the campaign and AdGroup manually, so they already exist. 
However, it is unfortunately not possible for me to create the ad. I get 
the following error message:
Request with ID 'YBFjGTZSFDqguaoSBlXjXQ' has failed.
Mutates are not allowed for the requested resource.This is the code I am 
trying to use:

$asset = new Asset([ 'name' => 'Test Asset', 'type' => 
AssetType::YOUTUBE_VIDEO, 'youtube_video_asset' => new YoutubeVideoAsset([ 
'youtube_video_id' => 'YKsQJVzr3a8', ]), ]); $createAsset = (new 
AssetOperation())->setCreate($asset); $assetResponse = 
$this->GoogleAdsClient()->getAssetServiceClient()->mutateAssets( USERID, 
[$createAsset] ); $asset = $assetResponse->getResults()[0]; $adGroupAd = ( 
new AdGroupAd([ 'ad_group' => $adGroup->getResourceName(), 'status' => 
AdGroupAdStatus::PAUSED, ]) ) ->setAd(new Ad([ 'display_url' => '
https://www.mydomain.de', 'name' => 'Test', 'final_urls' => ['
https://www.mydomain.de'], 'video_ad' => new VideoAdInfo([ 'video' => new 
AdVideoAsset([ 'asset' => $asset->getResourceName(), ]), 'bumper' => new 
VideoBumperInStreamAdInfo([ 'action_button_label' => 'testbtnlbl', 
'action_headline' => 'testheadline', ]), ]), ])); $createAdGroupAd = (new 
AdGroupAdOperation())->setCreate($adGroupAd); $adGroupAdResponse = 
$this->GoogleAdsClient()->getAdGroupAdServiceClient()->mutateAdGroupAds( 
USERID, [$createAdGroupAd] ); $adGroupAd = 
$adGroupAdResponse->getResults()[0]; 
Now how is it possible to add a bumper ad to an AdGroup via the API?If it 
is not possible via the API, is it possible via the "Bulk Actions Uploads" 
and if so, how?Many thanks in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/718da455-5ea3-4f9e-aaa1-9bdff2ac7376n%40googlegroups.com.