Are there existing any Google ads api v10 in order to get "Original ad ID" of variations ads

253 views
Skip to first unread message

pn...@yrglm-vn.com

unread,
Jul 13, 2022, 6:59:33 AM7/13/22
to Google Ads API and AdWords API Forum
Hi Google ads api team,

On Google ads management screen, with variations ads, I can see "Original ad ID" of variations ads.

Now, I need get "Original ad ID" of variations ads via Google ads api v10. So my question as below:

Are there existing any Google ads api v10 in order to get "Original ad ID" of variations ads ?

ask_google_ads_api_team.png

I used service "ad_group_ad" + "Google Ads Query Builder" (LINK) to get "Attribute Resource Fields" but up to now, I can't get "Original ad ID" . So please support answer my question above.

query_builder_ad_group_ad.png

Thanks you so much.

Google Ads API Forum Advisor

unread,
Jul 13, 2022, 11:23:47 AM7/13/22
to pn...@yrglm-vn.com, adwor...@googlegroups.com
Hi,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.

Moving forward to your concern. We can confirm that you can get the ad_id using the ad_group_ad query report. Did you add the ad_group_ad.ad.id as an attribute resource field? If yes, then can you please provide us the complete request and response logs with request ID and request header generated on your end? You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com. If you haven't enabled the logging yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


ref:_00D1U1174p._5004Q2cVXpX:ref

pn...@yrglm-vn.com

unread,
Jul 14, 2022, 3:19:50 AM7/14/22
to Google Ads API and AdWords API Forum
Hi Google ads api team,

Thank you so much for your answer. But, it is not the answer that I want, I'm so sorry for my unclear question.

Please let me explain my purpose so that you can understand my question.
I want to know Ads which have Variation Ads via Google ads api v10. Now, I can get Ad list through  Google API v10 by using service "ad_group_ad" but I can not find out the relationship between Original Ad and Variation Ad. 
=> Can I use any way via Google ads API v10 to get this pair "Original ad ID" and "Modified ad ID" ? (Description at image: LINK) ?

Please feel free to ask me if you have any unclear point.
Thank you so much

-------------------------------
* P/S:
I backup explain as below in case you still don't understand my question, I'm so sorry for long explain content:
1. First, step by step that I created ads data on Google ads management screen:
- Step 1: I created one RSA (Call is "A" for short name)
- Step 2: I created one setting for variations ads for scope RSA base on guidline  (Call is "B" for short name)
- Step 3: Google ads will auto create variations ads A' of A base on setting variations ads "B" (B was created step 2 above)
Result: After I do step 1 -> step 3 above, on Google ads management screen, variations ad A' (A' was created at step 3 above) have 1 column "Original ad ID " (As I know, Original ad ID is ad ID of A, description image -> LINK)

2. Second, I want to know relationship between ad A (A was created at step 1 above) and variations ad A' (A' was created at step 3 above) 
- Actual: Up to now, I haven't yet found any way to get this pair "Original ad ID" and "Modified ad ID" of A' via Google ads api v10
- Expected: I can get this pair "Original ad ID" and "Modified ad ID" of A' via Google ads api v10
----------------------------

Google Ads API Forum Advisor

unread,
Jul 14, 2022, 10:50:10 AM7/14/22
to pn...@yrglm-vn.com, adwor...@googlegroups.com
Hi,

Thank you for the reply.

For you to get the asking information, you may still use the ad_group_ad report. You may need to set this ad_group_ad.ad.system_managed_resource_source field to AD_VARIATIONS.

Moving forward, You may note that Ad variations allow you to easily create and test variations of your ads across multiple campaigns or your entire account. Creating and managing ad variations is currently not supported in Google Ads API, but you can identify the experimental ads created by the ad variations feature using one of the following methods. Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2cVXpX:ref

pn...@yrglm-vn.com

unread,
Jul 15, 2022, 7:47:21 AM7/15/22
to Google Ads API and AdWords API Forum
Hi Google ads api team,

Thank you for the reply.

==============================================================================
1. I followed your guidline, I created query as below to get variations ad data via Google ads api V10
==============================================================================
SELECT
  ad_group.id,
  ad_group_ad.ad.id,
  ad_group_ad.ad.name,
  ad_group_ad.ad.type,
  ad_group_ad.status,
  ad_group_ad.ad.device_preference,
  ad_group_ad.ad.final_app_urls,
  ad_group_ad.ad.final_mobile_urls,
  ad_group_ad.ad.final_urls,
  ad_group_ad.ad.final_url_suffix,
  ad_group_ad.ad.tracking_url_template,
  ad_group_ad.ad.url_custom_parameters,
  ad_group_ad.ad.display_url,
  ad_group_ad.ad.text_ad.headline,
  ad_group_ad.ad.text_ad.description2,
  ad_group_ad.ad.text_ad.description1,
  ad_group_ad.ad.expanded_text_ad.headline_part1,
  ad_group_ad.ad.expanded_text_ad.headline_part2,
  ad_group_ad.ad.expanded_text_ad.headline_part3,
  ad_group_ad.ad.expanded_text_ad.description,
  ad_group_ad.ad.expanded_text_ad.description2,
  ad_group_ad.ad.expanded_text_ad.path1,
  ad_group_ad.ad.expanded_text_ad.path2,
  ad_group_ad.ad.image_ad.name,
  ad_group_ad.ad.image_ad.image_url,
  ad_group_ad.ad.responsive_display_ad.accent_color,
  ad_group_ad.ad.responsive_display_ad.allow_flexible_color,
  ad_group_ad.ad.responsive_display_ad.business_name,
  ad_group_ad.ad.responsive_display_ad.call_to_action_text,
  ad_group_ad.ad.responsive_display_ad.control_spec.enable_asset_enhancements,
  ad_group_ad.ad.responsive_display_ad.control_spec.enable_autogen_video,
  ad_group_ad.ad.responsive_display_ad.descriptions,
  ad_group_ad.ad.responsive_display_ad.format_setting,
  ad_group_ad.ad.responsive_display_ad.headlines,
  ad_group_ad.ad.responsive_display_ad.logo_images,
  ad_group_ad.ad.responsive_display_ad.long_headline,
  ad_group_ad.ad.responsive_display_ad.main_color,
  ad_group_ad.ad.responsive_display_ad.marketing_images,
  ad_group_ad.ad.responsive_display_ad.price_prefix,
  ad_group_ad.ad.responsive_display_ad.promo_text,
  ad_group_ad.ad.responsive_display_ad.square_logo_images,
  ad_group_ad.ad.responsive_display_ad.square_marketing_images,
  ad_group_ad.ad.responsive_display_ad.youtube_videos,
  ad_group_ad.ad.responsive_search_ad.descriptions,
  ad_group_ad.ad.responsive_search_ad.headlines,
  ad_group_ad.ad.responsive_search_ad.path1,
  ad_group_ad.ad.responsive_search_ad.path2,
  ad_group_ad.ad.call_ad.country_code,
  ad_group_ad.ad.call_ad.phone_number,
  ad_group_ad.ad.call_ad.business_name,
  ad_group_ad.ad.call_ad.description1,
  ad_group_ad.ad.call_ad.description2,
  ad_group_ad.ad.call_ad.phone_number_verification_url,
  ad_group_ad.ad.system_managed_resource_source
FROM
  ad_group_ad
WHERE
  ad_group_ad.status IN ('ENABLED', 'PAUSED')
  AND ad_group.id IN (136661421074)
  AND ad_group_ad.ad.system_managed_resource_source = 'AD_VARIATIONS'


==========================
2. Output after I run query above:
==========================
[ad_group {
  resource_name: "customers/xxxx/adGroups/136661421074"
  id: 136661421074
}
ad_group_ad {
  resource_name: "customers/xxxx/adGroupAds/136661421074~609081688452"
  status: PAUSED
  ad {
    type: RESPONSIVE_SEARCH_AD
    responsive_search_ad {
      headlines {
        text: "12"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
      headlines {
        text: "34"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
      headlines {
        text: "56"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
      headlines {
        text: "78"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
      headlines {
        text: "varitant"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
      descriptions {
        text: "90"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
      descriptions {
        text: "456"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
    }
    system_managed_resource_source: AD_VARIATIONS
    resource_name: "customers/xxxx/ads/609081688452"
    id: 609081688452
    final_urls: "https://www.facebook.com/"
  }
}
]

* Note: xxx is my Google ads id, so I hide it. 
======================================================================================

=> So I've just wonder, How can I get "Original ad ID" with out variations ad data above ? Please support me.

Thank you so much

Google Ads API Forum Advisor

unread,
Jul 15, 2022, 4:16:08 PM7/15/22
to pn...@yrglm-vn.com, adwor...@googlegroups.com

Hi,

Thanks for getting back to us.

Kindly note that when you don’t include the below filter in your query, then your API response gives 2 results, one for the original Ad and another for the AD_VARIATIONS as modified Ad. That said, you may consider removing the below filter from your GAQL to get both Original Ad ID and Modified Ad ID in your response.

AND ad_group_ad.ad.system_managed_resource_source = 'AD_VARIATIONS'

You may use updated GAQL below:
 

Let me know if this helps.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2cVXpX:ref

pn...@yrglm-vn.com

unread,
Jul 19, 2022, 2:32:59 AM7/19/22
to Google Ads API and AdWords API Forum

Hi Google ads api team,

Thank you so much for your answer,

I follow your guidline, I don’t include the below filter in my query, then my API response gives 2 results, one for the original Ad and another for the AD_VARIATIONS as modified Ad.

AND ad_group_ad.ad.system_managed_resource_source = 'AD_VARIATIONS'

========================================
1. My query as below run with Google ads api V10
========================================

SELECT
  ad_group_ad.action_items,
  ad_group_ad.ad.added_by_google_ads,
  ad_group_ad.ad.app_ad.descriptions,
  ad_group_ad.ad.app_ad.headlines,
  ad_group_ad.ad.app_ad.html5_media_bundles,
  ad_group_ad.ad.app_ad.images,
  ad_group_ad.ad.app_ad.mandatory_ad_text,
  ad_group_ad.ad.app_ad.youtube_videos,
  ad_group_ad.ad.app_engagement_ad.descriptions,
  ad_group_ad.ad.app_engagement_ad.headlines,
  ad_group_ad.ad.app_engagement_ad.images,
  ad_group_ad.ad.app_engagement_ad.videos,
  ad_group_ad.ad.app_pre_registration_ad.descriptions,
  ad_group_ad.ad.app_pre_registration_ad.headlines,
  ad_group_ad.ad.app_pre_registration_ad.images,
  ad_group_ad.ad.app_pre_registration_ad.youtube_videos,
  ad_group_ad.ad.call_ad.business_name,
  ad_group_ad.ad.call_ad.call_tracked,
  ad_group_ad.ad.call_ad.conversion_action,
  ad_group_ad.ad.call_ad.conversion_reporting_state,
  ad_group_ad.ad.call_ad.country_code,
  ad_group_ad.ad.call_ad.description1,
  ad_group_ad.ad.call_ad.description2,
  ad_group_ad.ad.call_ad.disable_call_conversion,
  ad_group_ad.ad.call_ad.headline1,
  ad_group_ad.ad.call_ad.headline2,
  ad_group_ad.ad.call_ad.path1,
  ad_group_ad.ad.call_ad.path2,
  ad_group_ad.ad.call_ad.phone_number,
  ad_group_ad.ad.call_ad.phone_number_verification_url,
  ad_group_ad.ad.device_preference,
  ad_group_ad.ad.discovery_carousel_ad.business_name,
  ad_group_ad.ad.discovery_carousel_ad.call_to_action_text,
  ad_group_ad.ad.discovery_carousel_ad.carousel_cards,
  ad_group_ad.ad.discovery_carousel_ad.description,
  ad_group_ad.ad.discovery_carousel_ad.headline,
  ad_group_ad.ad.discovery_carousel_ad.logo_image,
  ad_group_ad.ad.discovery_multi_asset_ad.business_name,
  ad_group_ad.ad.discovery_multi_asset_ad.call_to_action_text,
  ad_group_ad.ad.discovery_multi_asset_ad.descriptions,
  ad_group_ad.ad.discovery_multi_asset_ad.headlines,
  ad_group_ad.ad.discovery_multi_asset_ad.lead_form_only,
  ad_group_ad.ad.discovery_multi_asset_ad.logo_images,
  ad_group_ad.ad.discovery_multi_asset_ad.marketing_images,
  ad_group_ad.ad.discovery_multi_asset_ad.portrait_marketing_images,
  ad_group_ad.ad.discovery_multi_asset_ad.square_marketing_images,
  ad_group_ad.ad.display_upload_ad.display_upload_product_type,
  ad_group_ad.ad.display_upload_ad.media_bundle,
  ad_group_ad.ad.display_url,
  ad_group_ad.ad.expanded_dynamic_search_ad.description,
  ad_group_ad.ad.expanded_dynamic_search_ad.description2,
  ad_group_ad.ad.expanded_text_ad.description,
  ad_group_ad.ad.expanded_text_ad.description2,
  ad_group_ad.ad.expanded_text_ad.headline_part1,
  ad_group_ad.ad.expanded_text_ad.headline_part2,
  ad_group_ad.ad.expanded_text_ad.headline_part3,
  ad_group_ad.ad.expanded_text_ad.path1,
  ad_group_ad.ad.expanded_text_ad.path2,
  ad_group_ad.ad.final_app_urls,
  ad_group_ad.ad.final_mobile_urls,
  ad_group_ad.ad.final_url_suffix,
  ad_group_ad.ad.final_urls,
  ad_group_ad.ad.gmail_ad.header_image,
  ad_group_ad.ad.gmail_ad.marketing_image,
  ad_group_ad.ad.gmail_ad.marketing_image_description,
  ad_group_ad.ad.gmail_ad.marketing_image_display_call_to_action.text,
  ad_group_ad.ad.gmail_ad.marketing_image_display_call_to_action.text_color,
  ad_group_ad.ad.gmail_ad.marketing_image_display_call_to_action.url_collection_id,
  ad_group_ad.ad.gmail_ad.marketing_image_headline,
  ad_group_ad.ad.gmail_ad.product_images,
  ad_group_ad.ad.gmail_ad.product_videos,
  ad_group_ad.ad.gmail_ad.teaser.business_name,
  ad_group_ad.ad.gmail_ad.teaser.description,
  ad_group_ad.ad.gmail_ad.teaser.headline,
  ad_group_ad.ad.gmail_ad.teaser.logo_image,
  ad_group_ad.ad.hotel_ad,
  ad_group_ad.ad.id,
  ad_group_ad.ad.image_ad.image_url,
  ad_group_ad.ad.image_ad.mime_type,
  ad_group_ad.ad.image_ad.name,
  ad_group_ad.ad.image_ad.pixel_height,
  ad_group_ad.ad.image_ad.pixel_width,
  ad_group_ad.ad.image_ad.preview_image_url,
  ad_group_ad.ad.image_ad.preview_pixel_height,
  ad_group_ad.ad.image_ad.preview_pixel_width,
  ad_group_ad.ad.legacy_app_install_ad,
  ad_group_ad.ad.legacy_responsive_display_ad.accent_color,
  ad_group_ad.ad.legacy_responsive_display_ad.allow_flexible_color,
  ad_group_ad.ad.legacy_responsive_display_ad.business_name,
  ad_group_ad.ad.legacy_responsive_display_ad.call_to_action_text,
  ad_group_ad.ad.legacy_responsive_display_ad.description,
  ad_group_ad.ad.legacy_responsive_display_ad.format_setting,
  ad_group_ad.ad.legacy_responsive_display_ad.logo_image,
  ad_group_ad.ad.legacy_responsive_display_ad.long_headline,
  ad_group_ad.ad.legacy_responsive_display_ad.main_color,
  ad_group_ad.ad.legacy_responsive_display_ad.marketing_image,
  ad_group_ad.ad.legacy_responsive_display_ad.price_prefix,
  ad_group_ad.ad.legacy_responsive_display_ad.promo_text,
  ad_group_ad.ad.legacy_responsive_display_ad.short_headline,
  ad_group_ad.ad.legacy_responsive_display_ad.square_logo_image,
  ad_group_ad.ad.legacy_responsive_display_ad.square_marketing_image,
  ad_group_ad.ad.local_ad.call_to_actions,
  ad_group_ad.ad.local_ad.descriptions,
  ad_group_ad.ad.local_ad.headlines,
  ad_group_ad.ad.local_ad.logo_images,
  ad_group_ad.ad.local_ad.marketing_images,
  ad_group_ad.ad.local_ad.path1,
  ad_group_ad.ad.local_ad.path2,
  ad_group_ad.ad.local_ad.videos,
  ad_group_ad.ad.name,
  ad_group_ad.ad.resource_name,
  ad_group_ad.ad.responsive_display_ad.accent_color,
  ad_group_ad.ad.responsive_display_ad.allow_flexible_color,
  ad_group_ad.ad.responsive_display_ad.business_name,
  ad_group_ad.ad.responsive_display_ad.call_to_action_text,
  ad_group_ad.ad.responsive_display_ad.control_spec.enable_asset_enhancements,
  ad_group_ad.ad.responsive_display_ad.control_spec.enable_autogen_video,
  ad_group_ad.ad.responsive_display_ad.descriptions,
  ad_group_ad.ad.responsive_display_ad.format_setting,
  ad_group_ad.ad.responsive_display_ad.headlines,
  ad_group_ad.ad.responsive_display_ad.logo_images,
  ad_group_ad.ad.responsive_display_ad.long_headline,
  ad_group_ad.ad.responsive_display_ad.main_color,
  ad_group_ad.ad.responsive_display_ad.marketing_images,
  ad_group_ad.ad.responsive_display_ad.price_prefix,
  ad_group_ad.ad.responsive_display_ad.promo_text,
  ad_group_ad.ad.responsive_display_ad.square_logo_images,
  ad_group_ad.ad.responsive_display_ad.square_marketing_images,
  ad_group_ad.ad.responsive_display_ad.youtube_videos,
  ad_group_ad.ad.responsive_search_ad.descriptions,
  ad_group_ad.ad.responsive_search_ad.headlines,
  ad_group_ad.ad.responsive_search_ad.path1,
  ad_group_ad.ad.responsive_search_ad.path2,
  ad_group_ad.ad.shopping_comparison_listing_ad.headline,
  ad_group_ad.ad.shopping_product_ad,
  ad_group_ad.ad.shopping_smart_ad,
  ad_group_ad.ad.smart_campaign_ad.descriptions,
  ad_group_ad.ad.smart_campaign_ad.headlines,
  ad_group_ad.ad.system_managed_resource_source,
  ad_group_ad.ad.text_ad.description1,
  ad_group_ad.ad.text_ad.description2,
  ad_group_ad.ad.text_ad.headline,
  ad_group_ad.ad.tracking_url_template,
  ad_group_ad.ad.type,
  ad_group_ad.ad.url_collections,
  ad_group_ad.ad.url_custom_parameters,
  ad_group_ad.ad.video_ad.bumper.companion_banner.asset,
  ad_group_ad.ad.video_ad.in_feed.description1,
  ad_group_ad.ad.video_ad.in_feed.description2,
  ad_group_ad.ad.video_ad.in_feed.headline,
  ad_group_ad.ad.video_ad.in_feed.thumbnail,
  ad_group_ad.ad.video_ad.in_stream.action_button_label,
  ad_group_ad.ad.video_ad.in_stream.action_headline,
  ad_group_ad.ad.video_ad.in_stream.companion_banner.asset,
  ad_group_ad.ad.video_ad.non_skippable.action_button_label,
  ad_group_ad.ad.video_ad.non_skippable.action_headline,
  ad_group_ad.ad.video_ad.non_skippable.companion_banner.asset,
  ad_group_ad.ad.video_ad.out_stream.description,
  ad_group_ad.ad.video_ad.out_stream.headline,
  ad_group_ad.ad.video_ad.video.asset,
  ad_group_ad.ad.video_responsive_ad.breadcrumb1,
  ad_group_ad.ad.video_responsive_ad.breadcrumb2,
  ad_group_ad.ad.video_responsive_ad.call_to_actions,
  ad_group_ad.ad.video_responsive_ad.companion_banners,
  ad_group_ad.ad.video_responsive_ad.descriptions,
  ad_group_ad.ad.video_responsive_ad.headlines,
  ad_group_ad.ad.video_responsive_ad.long_headlines,
  ad_group_ad.ad.video_responsive_ad.videos,
  ad_group_ad.ad_group,
  ad_group_ad.ad_strength,
  ad_group_ad.labels,
  ad_group_ad.policy_summary.approval_status,
  ad_group_ad.policy_summary.policy_topic_entries,
  ad_group_ad.policy_summary.review_status,
  ad_group_ad.resource_name,
  ad_group_ad.status
FROM
  ad_group_ad
WHERE
  ad_group_ad.status IN ('ENABLED', 'PAUSED')
  AND ad_group.id IN (136661421074)


==========================
2. Output after I run query above:
==========================
=============
2.1 Original ads
=============

ad_group_ad {
  resource_name: "customers/xxx/adGroupAds/136661421074~583446390893"

  status: PAUSED
  ad {
    type: RESPONSIVE_SEARCH_AD
    responsive_search_ad {
      headlines {
        text: "12"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
      headlines {
        text: "34"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
      headlines {
        text: "56"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
      headlines {
        text: "78"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
      descriptions {
        text: "90"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
      descriptions {
        text: "456"
        asset_performance_label: PENDING
        policy_summary_info {
          review_status: REVIEW_IN_PROGRESS
        }
      }
    }
    resource_name: "customers/xxx/ads/583446390893"
    id: 583446390893
    final_urls: "https://www.facebook.com/"
    added_by_google_ads: false
  }
  policy_summary {
    review_status: REVIEW_IN_PROGRESS
    approval_status: UNKNOWN
  }
  ad_strength: PENDING
  ad_group: "customers/xxx/adGroups/136661421074"
}

=============================
2.2 AD_VARIATIONS as modified Ad
=============================

ad_group_ad {
  resource_name: "customers/xxx/adGroupAds/136661421074~609081688452"
    resource_name: "customers/xxx/ads/609081688452"

    id: 609081688452
    final_urls: "https://www.facebook.com/"
    added_by_google_ads: false
  }
  policy_summary {
    review_status: REVIEW_IN_PROGRESS
    approval_status: UNKNOWN
  }
  ad_strength: PENDING
  ad_group: "customers/xxx/adGroups/136661421074"
}

* Note: xxx is my Google ads id, so I hide it. 
======================================================================================

=> So I've just wonder, How can I find relationship between Original ads (Section 2.1 above) and  AD_VARIATIONS as modified Ad  (Section 2.2 above) ? Please support me.


* P/S: I guess (maybe wrong) to find out the relationship between Orginal ads and AD_VARIATIONS
AD_VARIATIONS have 1 field 'original_ad_id' to know that this variations ads was created from 1 original ad that have original_ad.id = AD_VARIATIONS.original_ad_id 
but with output ads data above (Section 2.1 & section 2.2), I can't find out this relationship.

Thank you so much

Google Ads API Forum Advisor

unread,
Jul 19, 2022, 4:33:08 PM7/19/22
to pn...@yrglm-vn.com, adwor...@googlegroups.com
Hi,

Thank you for raising your concern.

I am afraid that there is no dedicated field to know the relation of the original ad and the modified ad due to ad variation. However, you can utilize the ad group id which can be returned using the ad_group_ad.ad.id field as it id the common field for those ads. Let me know if this will work with you.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2cVXpX:ref
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

tanph...@gmail.com

unread,
Jul 22, 2022, 11:38:32 AM7/22/22
to Google Ads API and AdWords API Forum
Hi Google ads api team,

Thank you so much for your answer.  I'm so sorry about long content but please support me. About your suggestion:


> However, you can utilize the ad group id which can be returned using the ad_group_ad.ad.id field as it id the common field for those ads. Let me know if this will work with you.

I use Google ads api V10 to update tracking_template URL for Ads except Variations AD & its parent Ad (original ad).
Problem that I got is:
within API response' AD attribute, I can know Variations AD but can't not find which one is it's parent AD (original ad)

* Example here:

Group:
|_ A1 (It's not a variations ad)
|_ A2 (It's not a variations ad)
|_ A1' (It's a variations ad. It's create from original ad A1)
|_ B (It's not a variations ad)
|_ C (It's not a variations ad)

Please let me know there are any way to find a parent ad (original ad) of an Variations AD ? I could not use comparing condition like the same headline1,2 to find parent ad.

Thank you so much. 

Google Ads API Forum Advisor

unread,
Jul 22, 2022, 2:06:58 PM7/22/22
to pn...@yrglm-vn.com, adwor...@googlegroups.com
Hi,

Thank you for your reply.

Extracting the relationship or association of the parent ad and its variation is unfortunately not currently supported in the Google Ads API. My colleagues have already raised a feature request for this information's availability in the ad_group_ad report.

For now, we recommend that you keep an eye on our blog for updates and announcements.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2cVXpX:ref
Reply all
Reply to author
Forward
0 new messages