Provide standard access of Google Ads Api

2024-05-30 Thread Siebert Looije
Hi,

I'v applied for the standard access two weeks ago but I still didn't get 
any response back on this? The message said that there is a waiting time of 
3 business days but I got no response yet.

MCC account:  574-926-4595.

Is there also a place where I can see what the status is of the request?

Kind regards,

Siebert Looije

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9e6c85df-e7f1-481a-8710-bbec55978114n%40googlegroups.com.


after mutateAdGroups , how can i get group id

2024-05-30 Thread 'sun zhujian' via Google Ads API and AdWords API Forum
response without group id , where can i get group id 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/281a1fcc-07a4-4eb8-a881-2b9f76f801d4n%40googlegroups.com.


RE: issue with creating camp display upload ad in google ads api v14 - python

2024-05-30 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 support team.

I understand that you've encountered the error "MUTATE_NOT_ALLOWED " when 
trying to create a display upload ad. Could you please confirm if the 
recommended format / specifications for the HTML_5_UPLOAD_AD's media_bundle, 
discussed here, was applied prior to using it for creating the said ad?

I could see that you are using the 'v14'  which is deprecated and about sunset 
on the 5 June 2024. After this date, all v14 API requests will begin to fail. I 
would recommend migrating to the latest version v16 and you may follow this 
link to Upgrade to the latest version.

Please note that provided sample code is not sufficient to investigate the 
issue further. To replicate the issue from our end, provide us with the 
complete API logs (request and response with request-id and request header) 
generated at your end.

Since you are using a Python client library, I would request you to enable 
logging for the Python client library that you are using. You can refer to the 
guide Python to enable logging at your end.

You can send the details via Reply privately to the author option, or direct 
private reply to this email.
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ8RQ:ref" 
(ADR-00237148)

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/gMNfK0SEB0DD00cIyLBd4TTNq5xeLoMs499A%40sfdc.net.


RE: any convenient way to verify legal ad text and asset?

2024-05-30 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 support team.

Yes, you need to create adGroup first. If you would like to verify this, you 
need to upload an asset first then validate the ad with existing campaign or 
adGroup.

If you encounter any issue/error, please provide us with the complete API logs 
(request and response with request-id and request header) generated at your end.

If you are using a client library and haven't enabled the logging yet, I would 
request you to enable logging for the specific client library that you are 
using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to 
enable logging at your end. For REST interface requests, you can enable logging 
via the curl command by using the -i flag.

This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ8RL:ref" 
(ADR-00237147)

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/T9i1z0SEB0B700tIZwSgGuQO2WV_1uiKNnng%40sfdc.net.


RE: error: marketing image asset for a valid asset group is not enough.

2024-05-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Ayang,

Thank you for reaching out to the Google Ads API support team.

Upon checking your concern, I understand that you are getting an error 
"asset_group_error" while making the request to MutateAssetGroups. Kindly note 
that the AssetGroup within a Performance Max campaign necessitates an initial 
minimum assortment of assets. These assets may comprise pre-existing ones 
utilized in other campaigns or newly created assets tailored specifically for 
an AssetGroup within a Performance Max campaign. These errors might occur when 
asset requirements are not met. Kindly follow this guide to Ensure minimum 
asset requirements are met.

Kindly note that you have not shared the complete API logs as it doesn't 
contain the request body of what you are passing in your API request. In order 
to further investigate your issue, kindly share the complete updated API logs 
(request and response logs with request-id and request header) generated at 
your end to better assist you further.

If you are using a client library and haven't enabled the logging yet, I would 
request you to enable logging for the specific client library that you are 
using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to 
enable logging at your end. For REST interface requests, you can enable logging 
via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct 
private reply to this email.
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ8am:ref" 
(ADR-00237200)

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/LycC00SEAXAR00BLhjqYLVSK2MueT9LuMbaw%40sfdc.net.


ERROR: Marketing image asset for a valid asset group is not enough.

2024-05-30 Thread surya sun
Hi,

I am trying to clone an existing PMax campaign through Google Ads API by 
using all of its values in creating a new PMax campaign, including asset 
groups if there's any. When I am trying to duplicate the asset groups of 
the existing campaign and link it to the new campaign, I am fetching all 
the asset details of the existing campaign from the asset group asset table 
and using it to create a new asset resource name and asset operation, just 
like this in github repo 
.
 
But I am getting errors in mutating asset group operations. 

   asset_group_error: NOT_ENOUGH_MARKETING_IMAGE_ASSET
  }
  message: "Marketing image asset for a valid asset group is not enough."
  trigger {
string_value: "Asset type: marketing image"
  }
  location {
field_path_elements {
  field_name: "mutate_operations"
  index: 5
}
field_path_elements {
  field_name: "asset_group_asset_operation"
}
  }
}
errors {
  error_code {
asset_group_error: NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET
  }
  message: "Square marketing image asset for a valid asset group is not 
enough."
  trigger {
string_value: "Asset type: square marketing image"
  }
  location {
field_path_elements {
  field_name: "mutate_operations"
  index: 5
}
field_path_elements {
  field_name: "asset_group_asset_operation"
}
  }
}
errors {
  error_code {
asset_group_error: NOT_ENOUGH_LOGO_ASSET
  }
  message: "Logo asset for a valid asset group is not enough."
  trigger {
string_value: "Asset type: logo"
  }
  location {
field_path_elements {
  field_name: "mutate_operations"
  index: 5
}
field_path_elements {
  field_name: "asset_group_asset_operation"
}
  }

For your information, I am using exactly the values retrieved from 
assetgroupasset table in this query builder link 
.
 
For ex, the image full size, image height, width, url etc. The below is the 
asset field type and the count retrieved from GAds for an existing campaign 
and an asset group.

asset_field_type:
BUSINESS_NAME - 1
DESCRIPTION - 5
HEADLINE -15
LANDSCAPE_LOGO - 1
LOGO - 4
LONG_HEADLINE -   5
MARKETING_IMAGE - 5
PORTRAIT_MARKETING_IMAGE - 1
SQUARE_MARKETING_IMAGE - 14
YOUTUBE_VIDEO - 5

Kindly give me the reason why I am not able to duplicate asset group using 
the same asset details of an existing asset group. 
Thank you.

Regards,
Ayang

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cbe2b25b-48a4-4208-a23f-0b4ea09158ban%40googlegroups.com.


Unable to get the click view data, the response body is always empty

2024-05-30 Thread kkll qi
Hi,

I tried to get the report for the click_view resource through the google 
ads api, but the response body kept being empty
The query is:
```
{
"query": "SELECT click_view.gclid, click_view.ad_group_ad FROM 
click_view WHERE segments.date = '2024-05-29'
}
```
response:
```
{
"fieldMask": "clickView.gclid,clickView.adGroupAd,campaign.id"
}
```

It is validated in query validator. However, no matter what dates or 
customer_ids I tried, it always return an empty result. 

I tried postman's direct request, but I don't know what materials I need to 
provide so that you can better help me.


   - 
   
   Please contact me as soon as possible. Thank you very much
   

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0032155d-efdf-4f92-a8c8-9aa6917f5996n%40googlegroups.com.


Issue with Creating camp Display Upload Ad in Google Ads API v14 - python

2024-05-30 Thread Antony Kiên
I'm trying to create an display upload ad in Google Ads API v14, but I'm 
encountering issues. Specifically, I'm getting an "INVALID_ARGUMENT" error 
with the message "Mutates are not allowed for the requested resource."

def create_display_upload_ad_group_ad(
client, customer_id, ad_group_id, ad_asset_resource_name
):
"""Creates a new HTML5 display upload ad and adds it to the given ad 
group.

Args:
client: An initialized Google Ads client.
customer_id: The Google Ads customer ID.
ad_group_id: The ID of the ad group to which the new ad will be 
added.
ad_asset_resource_name: The resource name of the media bundle 
containing
the HTML5 components.
"""
# Get the AdGroupAdService client.
ad_group_ad_service = client.get_service("AdGroupAdService")

# Create an AdGroupAdOperation.
ad_group_ad_operation = client.get_type("AdGroupAdOperation")

# Configure the ad group ad fields.
ad_group_ad = ad_group_ad_operation.create
ad_group_ad.status = client.enums.AdGroupAdStatusEnum.PAUSED
ad_group_ad.ad_group = client.get_service("AdGroupService"
).ad_group_path(
customer_id, ad_group_id
)

# Configured the ad as a display upload ad.
display_upload_ad = ad_group_ad.ad
display_upload_ad.name = "Ad for HTML5"
display_upload_ad.final_urls.append("http://example.com/html5";)
# Exactly one of the ad_data "oneof" fields must be included to specify 
the
# ad type. See: 
https://developers.google.com/google-ads/api/reference/rpc/latest/Ad for
# the full list of available types. By setting a "display_upload_ad"
# subfield it sets that as the "oneof" field for the Ad.
display_upload_ad.display_upload_ad.media_bundle.asset = (
ad_asset_resource_name
)
display_upload_ad.display_upload_ad.display_upload_product_type = (
client.enums.DisplayUploadProductTypeEnum.HTML5_UPLOAD_AD
)
# Add the ad group ad to the client account and display the resulting
# ad's resource name.
mutate_ad_group_ads_response = ad_group_ad_service.mutate_ad_group_ads(
customer_id=customer_id, operations=[ad_group_ad_operation]
)
print(
"Created new ad group ad with resource name "
f"'{mutate_ad_group_ads_response.results[0].resource_name}'."
)

Error Message: Request with ID "xKDxTq8R83Lu7ElSsLBwYw" failed with status 
"INVALID_ARGUMENT" and includes the following errors: Error with message 
"Mutates 
are not allowed for the requested resource.". On field: operations On 
field: create On field: ad 

file was uploaded and returned the path Uploaded file with resource name 
'customers/12344/assets/12234' and I entered it in the function's 
ad_asset_resource_name
i try to v14

Despite these checks, I'm still encountering the same error. Any insights 
or suggestions on what might be going wrong would be greatly appreciated.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e45ec101-7afd-452e-a774-c9117e8bd740n%40googlegroups.com.


Any convenient way to verify legal ad text and asset?

2024-05-30 Thread Spike
Hi, I wonder if there is a convenient way to verify the text in ad and 
asset. I found this  example use validate only mode : 
https://developers.google.com/google-ads/api/samples/validate-ad
But does it mean to use validate only mode to verify ad text, I should 
create an ad group actually first? 
And by the way, I want to also verify the text in the asset since it 
sometimes rejected by the system. But this only occurs when try to link 
asset to campaign(or group), so does that mean if I want to verify this, I 
should upload the asset actually first, then use validate mode to link it 
with an existing campaign(or group)?

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cbec7b11-2520-48c4-9959-cfc73a568acan%40googlegroups.com.