Posts tagged with ads

I'd like to get the number of click for each campaign on my account. For display campaign, I use the AdsApp.campaigns collection, and then call the targeting function for each campaign. It works fine.

But pour Performance Max Campaign, I see in the documentation that there is no targeting function for item in AdsApp.performanceMaxCampaign. I can just call the getStatsFor function for the campaign, not for each zone. Is there a way to do something similar to the classic campaign ?

Thanks for your help

Vincent

I configured the purchase tag in google tag manager

I also configured the remarketing tags:

add_to_cart purchase view_item view_item_list

I want to use max performance

Should I use the conversion label of my purchase conversion action present in Google Ads for all my Google Tag Manager remarketing tags?

Should I create a conversion action in Google Ads for each remarketing tag and add a different conversion label for each remarketing tag in Google Tag Manager?

Or should I leave the field empty for each conversion label of each of my remarketing tags in google tag manager?

Please enlighten me

THANKS

I don't know how to fill out my conversion labels of my remarketing tags in my google tag manager to advertise google ads

I am facing ANR (Application Not Responding) issues in my Android application related to the initialization of the Mobile Ads SDK. I have a class named GoogleAdsManager where I perform the initialization in the initAds() function, and this function is called in the onCreate() method of the main Application class.

Here is a simplified version of my code:

class GoogleAdsManager {     fun initAds(context: Context) {         // Other initialization tasks         MobileAds.initialize(context)     } } 

And in my Application class:

class MyApplication : Application() {     override fun onCreate() {         super.onCreate()         val googleAdsManager = GoogleAdsManager()         googleAdsManager.initAds(this)     } } 

The issue is that I am receiving ANR reports on various devices, but I am unable to reproduce it on my own device. Firebase Crashlytics reports indicate that this ANR occurs more frequently than usual.

I suspect that the MobileAds.initialize(context) call might be the culprit. However, since I cannot reproduce the issue locally, I am seeking advice on how to investigate and resolve ANR issues related to the Mobile Ads SDK initialization.

Has anyone experienced similar ANR issues with MobileAds.initialize()? Are there specific scenarios or devices where such ANRs are more likely to occur? Are there alternative approaches or best practices for initializing Mobile Ads SDK to avoid ANR issues? Any insights or suggestions on how to address this ANR issue would be greatly appreciated. Thank you!

This is what the google ads team sent me when i tried running my ads. " Investigation:

Post consulting with the wider team, we found that the site has been disabled because we can still find a bad link in the latest system scan.

Below is the link that we’ve detected:

‘amam-zlon[.]com’ " because of which my website has been marked as malicious website.

Guys i have been working on this project past a really long time and when everything got set finally this is what i got from google i tried checking my c pannel scanning each file one by one but after 2 days of tireless scannin i still just got to 10% of the files. How to fix this problem please help me..

I am using this script based on the documentation: https://developers.google.com/google-ads/api/samples/add-image-extension

def create_image_extensions(df):     for index,row in df.iterrows():         extension_feed_item_service =              client.get_service("ExtensionFeedItemService")         extension_feed_item_operation =              client.get_type("ExtensionFeedItemOperation")         extension_feed_item = extension_feed_item_operation.create         extension_feed_item.image_feed_item.image_asset =               client.get_service("AssetService").asset_path(account_id,                  row.asset_id)         response = extension_feed_item_service.mutate_extension_feed_items(customer_id=account_id, operations=\[extension_feed_item_operation\])         image_resource_name = response.results\[0\].resource_name         print("Created an image extension with resource name: "f"'{image_resource_name}'")             campaign_extension_setting_service = client.get_service("CampaignExtensionSettingService")         campaign_extension_setting_operation = client.get_type("CampaignExtensionSettingOperation")         ces = campaign_extension_setting_operation.create         ces.campaign = client.get_service("CampaignService").campaign_path(account_id, row.campaign_id)         ces.extension_type = client.enums.ExtensionTypeEnum.IMAGE         ces.extension_feed_items.append(image_resource_name)              response = (             campaign_extension_setting_service.mutate_campaign_extension_settings(                 customer_id=account_id,                 operations=[campaign_extension_setting_operation],             )         )         print("Created a campaign extension setting with resource name: "f"'{response.results[0].resource_name}'")` 

But running into an error now:

Method: /google.ads.googleads.v15.services.ExtensionFeedItemService/MutateExtensionFeedItems, RequestId: B5OFT8TdalKrrmx0lEdMkA, IsFault: True, FaultMessage: Feed-based extension is read-only for this extension type. error_code {     feed_error: LEGACY_EXTENSION_TYPE_READ_ONLY   }   message: "Feed-based extension is read-only for this extension type."