Hi,
You will be able to fetch all the ads of different types in one query but if
you would like to fetch SHOPPING_PRODUCT_AD only, specify ad_group_ad.ad.type =
“SHOPPING_PRODUCT_AD” in the WHERE clause.
Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001USx07w:ref
--
--
Hi,
So It would not possible to get all the AdType in one query?
Like I do have Gmail ads, video ads, image ads, text ads, expanded text
ads, I do need to go individually for all those ad types?
Thanks,
On Wednesday, 29 January 2020 02:01:38 UTC+5:30, adsapiforumadvisor wrote:
>
> Hi,
>
>
Hi,
When you query for the shopping product ad, you need to specify the type by
adding ad_group_ad.ad.type = “SHOPPING_PRODUCT_AD” in the WHERE clause. Please
let me know if you have any further questions.
Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001USx07w:ref
--
I was using like this
$googleAdsRow->getAdGroupAd()->getAd()->getShoppingProductAd();
Thanks
On Tuesday, 28 January 2020 14:52:48 UTC+5:30, cv wrote:
>
> Hi,
>
> My query looks like
>
> $query = "SELECT
> segments.date,
>
> campaign.id,
>
Hi,
My query looks like
$query = "SELECT
segments.date,
campaign.id,
campaign.name,
campaign.status,
ad_group.id,
ad_group.name,
ad_group.status,
Hi Xiaoming,
Thank you for your response.
I would also like to say that does I need to pass ad_group.type =
SHOPPING_PRODUCT_ADS otherwise it is giving
Segmentation fault (core dumped).
Thanks
On Tuesday, 28 January 2020 01:52:02 UTC+5:30, adsapiforumadvisor wrote:
>
> Hi,
>
> Thanks for
Hi,
Thanks for reaching out. You would be able to fetch data for ShoppingProduct
Ads by querying the ad_group_ad resource and use code similar to this example
query. Please let me know if you have any further questions.
Thanks and regards,
Xiaoming, Google Ads API Team